On Mon, Feb 08, 2016 at 08:44:19PM +0200, Felipe Balbi wrote: > > Hi, > > Vishal Thanki <vishalthanki@xxxxxxxxx> writes: > > It is vanilla kernel v4.0, except for some ASoC patches and v5 of Dave's PM > > series from kernel v3.19-rc5 rebased to it. > > Care to try *real* vanilla v4.4 instead ? v4.5-rc3 would be even > better. Take *no* extra patches. > I tried on v4.4. I have to take the patches from Dave so that PM can work on am33xx platform. The patches are taken from here, and rebased to v4.4 vanilla kernel. https://github.com/dgerlach/linux-pm/commits/pm-v4.3-rc1-amx3-suspend > > If a USB storage device is plugged in before suspend and keep is plugged in > > during resume, the resume is taking ~15+ seconds. I noticed that it fails while > > sending USB control messages in hub_port_init(): > > > > http://lxr.free-electrons.com/source/drivers/usb/core/hub.c#L4390 > > > > After the failure, the USB device is logically disconnected and rediscovered > > again. So I can see the device mounted once the system is resumed, but it > > takes more time during resume. > > > > I observed that during system resume, there is a CONNECT interrupt received > > by MUSB controller: > > > > http://lxr.free-electrons.com/source/drivers/usb/musb/musb_core.c#L772 > > > > If the hub_port_init() is started before the CONNECT interrupt is > > served, I am hitting the issue. Almost every time the CONNECT > > interrupt is occurring ~150ms after musb_start() is invoked from > > musb_resume(). If I add a wait of ~200ms in musb_resume() just to make > > sure that CONNECT interrupt is received, I never hit the issue. > > interesting, sounds like a bug in the ordering of calls in > musb_resume(). Can you see if you're falling in either of these branches > on the failing case ? > > mask = MUSB_DEVCTL_BDEVICE | MUSB_DEVCTL_FSDEV | MUSB_DEVCTL_LSDEV; > if ((devctl & mask) != (musb->context.devctl & mask)) > musb->port1_status = 0; > if (musb->need_finish_resume) { > musb->need_finish_resume = 0; > schedule_delayed_work(&musb->finish_resume_work, > msecs_to_jiffies(USB_RESUME_TIMEOUT)); > } > > Any differences in this regard on the working case? In both, working and non-working case, the execution is not entering into any of the "if" blocks. I have made sure that by putting prints as can be seen in the attached patch. > > > I see that hub_port_init() is calling hub_port_reset before actually > > sending the USB > > control messages. The hub_port_reset() internally sets the RESET bit > > in MUSB POWER > > register, but I am not sure if that is a valid operation before > > getting the CONNECT interrupt. > > hub_port_reset(), IMO, shouldn't run before it knows there are devices > connected to the bus... > Hmm, I have attached the logs for kernel v4.4 for working and non-working case. I noticed that the CONNECT interrupt now comes a little late (not within ~200 ms). However in working case, it always occurs before the hub_port_reset(). > -- > balbi
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index ee9ff70..2095727 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -2503,13 +2503,17 @@ static int musb_resume(struct device *dev) * unconditionally. */ + dev_dbg(dev, "** Enter %s **\n", __func__); musb_restore_context(musb); devctl = musb_readb(musb->mregs, MUSB_DEVCTL); mask = MUSB_DEVCTL_BDEVICE | MUSB_DEVCTL_FSDEV | MUSB_DEVCTL_LSDEV; - if ((devctl & mask) != (musb->context.devctl & mask)) + if ((devctl & mask) != (musb->context.devctl & mask)) { musb->port1_status = 0; + dev_dbg(dev, "** cond 1 **\n"); + } if (musb->need_finish_resume) { + dev_dbg(dev, "** cond 2 **\n"); musb->need_finish_resume = 0; schedule_delayed_work(&musb->finish_resume_work, msecs_to_jiffies(USB_RESUME_TIMEOUT)); @@ -2524,7 +2528,9 @@ static int musb_resume(struct device *dev) pm_runtime_enable(dev); musb_start(musb); - + dev_dbg(dev, "** Entering 200 ms sleep **\n", __func__); + msleep(200); + dev_dbg(dev, "** Exit %s **\n", __func__); return 0; }
[ 37.652989] PM: Syncing filesystems ... done. [ 37.664416] PM: Preparing system for sleep (mem) [ 37.697492] Freezing user space processes ... (elapsed 0.003 seconds) done. [ 37.710139] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done. [ 37.721069] PM: Suspending system (mem) [ 37.728132] mwifiex_sdio mmc0:0001:1: None of the WOWLAN triggers enabled [ 37.736542] usb 1-1: usb suspend, wakeup 0 [ 37.743952] hub 1-0:1.0: hub_suspend [ 37.747118] musb-hdrc musb-hdrc.0.auto: Root port suspended, power f2 [ 37.761982] PM: suspend of devices complete after 35.862 msecs [ 37.775693] PM: late suspend of devices complete after 7.522 msecs [ 37.791111] PM: noirq suspend of devices complete after 8.782 msecs [ 37.797716] PM: Successfully put all powerdomains to target state [ 37.823260] PM: noirq resume of devices complete after 24.185 msecs [ 37.840683] PM: early resume of devices complete after 6.717 msecs [ 37.850534] net eth0: initializing cpsw version 1.12 (0) [ 37.929030] net eth0: phy found : id is : 0x4dd076 [ 37.934230] libphy: PHY 4a101000.mdio:05 not found [ 37.939561] net eth0: phy 4a101000.mdio:05 not found on slave 1 [ 37.954109] musb-hdrc musb-hdrc.0.auto: ** Enter musb_resume ** [ 37.954187] musb-hdrc musb-hdrc.0.auto: <== devctl 98 [ 37.954212] musb-hdrc musb-hdrc.0.auto: ** Entering 200 ms sleep ** [ 38.158472] musb-hdrc musb-hdrc.0.auto: ** Exit musb_resume ** [ 38.158567] musb-hdrc musb-hdrc.0.auto: root port reset stopped [ 38.170487] hub 1-0:1.0: hub_resume [ 38.170734] musb-hdrc musb-hdrc.0.auto: port status 00120507 [ 38.171665] usb usb1-port1: status 0507 change 0012 [ 38.171739] musb-hdrc musb-hdrc.0.auto: clear feature 17 [ 38.171851] musb-hdrc musb-hdrc.0.auto: clear feature 20 [ 38.213924] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0010 tx0000 rx0000 [ 38.213946] musb-hdrc musb-hdrc.0.auto: <== DevCtl=5d, int_usb=0x10 [ 38.214766] musb-hdrc musb-hdrc.0.auto: CONNECT (a_host) devctl 5d [ 38.279577] musb-hdrc musb-hdrc.0.auto: port status 00010105 [ 38.280371] musb-hdrc musb-hdrc.0.auto: clear feature 2 [ 38.280925] usb 1-1: usb resume [ 38.328505] musb-hdrc musb-hdrc.0.auto: port status 00010101 [ 38.348479] musb-hdrc musb-hdrc.0.auto: clear feature 16 [ 38.348563] usb 1-1: finish reset-resume [ 38.348762] musb-hdrc musb-hdrc.0.auto: set feature 4 [ 38.398521] musb-hdrc musb-hdrc.0.auto: root port reset stopped [ 38.398549] musb-hdrc musb-hdrc.0.auto: high-speed device connected [ 38.408568] musb-hdrc musb-hdrc.0.auto: port status 00120503 [ 38.409299] musb-hdrc musb-hdrc.0.auto: clear feature 20 [ 38.468518] usb 1-1: reset high-speed USB device number 2 using musb-hdrc [ 38.475735] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf ce0b2e80 [ 38.475772] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.490235] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.490257] musb-hdrc musb-hdrc.0.auto: RX ep0 fifo d098c420 count 18 buf ce0b2c00 [ 38.490300] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.490421] musb-hdrc musb-hdrc.0.auto: set feature 4 [ 38.538489] musb-hdrc musb-hdrc.0.auto: root port reset stopped [ 38.538509] musb-hdrc musb-hdrc.0.auto: high-speed device connected [ 38.548474] musb-hdrc musb-hdrc.0.auto: port status 00120503 [ 38.548578] musb-hdrc musb-hdrc.0.auto: clear feature 20 [ 38.608485] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf ce0b2c00 [ 38.608516] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.623667] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.638487] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf ce0b2e80 [ 38.638519] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.638825] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.638845] musb-hdrc musb-hdrc.0.auto: RX ep0 fifo d098c420 count 18 buf ce0b2c00 [ 38.638885] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.639026] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf ce0b2e80 [ 38.639058] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.639404] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.639424] musb-hdrc musb-hdrc.0.auto: RX ep0 fifo d098c420 count 32 buf ce0b2c00 [ 38.639464] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.639565] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf ce0b2e80 [ 38.639596] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.639945] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.639965] musb-hdrc musb-hdrc.0.auto: RX ep0 fifo d098c420 count 34 buf ce054800 [ 38.640005] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.640143] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf ce0b2c00 [ 38.640171] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.640222] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.640351] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf ce0b2e80 [ 38.640381] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.640449] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.640469] musb-hdrc musb-hdrc.0.auto: RX ep0 fifo d098c420 count 2 buf ce0b2c00 [ 38.640506] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 38.642193] PM: resume of devices complete after 794.968 msecs [ 38.654023] PM: Finishing wakeup. [ 38.654085] Restarting tasks ... [ 38.659927] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0002 [ 38.660250] musb-hdrc musb-hdrc.0.auto: port status 00020503 [ 38.660422] musb-hdrc musb-hdrc.0.auto: clear feature 17 [ 38.660534] usb usb1-port1: status 0503, change 0002, 480 Mb/s [ 38.669777] done. [ 42.969550] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 30.895212] PM: Syncing filesystems ... done. [ 30.906374] PM: Preparing system for sleep (mem) [ 30.937089] Freezing user space processes ... (elapsed 0.003 seconds) done. [ 30.949767] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done. [ 30.960686] PM: Suspending system (mem) [ 30.967738] mwifiex_sdio mmc0:0001:1: None of the WOWLAN triggers enabled [ 30.976161] usb 1-1: usb suspend, wakeup 0 [ 30.982876] hub 1-0:1.0: hub_suspend [ 30.986036] musb-hdrc musb-hdrc.0.auto: Root port suspended, power f2 [ 31.000079] PM: suspend of devices complete after 34.357 msecs [ 31.013868] PM: late suspend of devices complete after 7.600 msecs [ 31.029261] PM: noirq suspend of devices complete after 8.766 msecs [ 31.035972] PM: Successfully put all powerdomains to target state [ 31.062356] PM: noirq resume of devices complete after 25.146 msecs [ 31.079929] PM: early resume of devices complete after 6.806 msecs [ 31.089701] net eth0: initializing cpsw version 1.12 (0) [ 31.168977] net eth0: phy found : id is : 0x4dd076 [ 31.174193] libphy: PHY 4a101000.mdio:05 not found [ 31.179282] net eth0: phy 4a101000.mdio:05 not found on slave 1 [ 31.193804] musb-hdrc musb-hdrc.0.auto: ** Enter musb_resume ** [ 31.193880] musb-hdrc musb-hdrc.0.auto: <== devctl 98 [ 31.193904] musb-hdrc musb-hdrc.0.auto: ** Exit musb_resume ** [ 31.194026] musb-hdrc musb-hdrc.0.auto: root port reset stopped [ 31.194046] musb-hdrc musb-hdrc.0.auto: high-speed device connected [ 31.205853] hub 1-0:1.0: hub_resume [ 31.206105] musb-hdrc musb-hdrc.0.auto: port status 00120507 [ 31.207030] usb usb1-port1: status 0507 change 0012 [ 31.207100] musb-hdrc musb-hdrc.0.auto: clear feature 17 [ 31.207210] musb-hdrc musb-hdrc.0.auto: clear feature 20 [ 31.309957] musb-hdrc musb-hdrc.0.auto: port status 00000507 [ 31.310824] musb-hdrc musb-hdrc.0.auto: clear feature 2 [ 31.311377] usb 1-1: usb resume [ 31.358432] musb-hdrc musb-hdrc.0.auto: port status 00000503 [ 31.378399] usb 1-1: finish resume [ 31.378441] usb 1-1: retry with reset-resume [ 31.378637] musb-hdrc musb-hdrc.0.auto: set feature 4 [ 31.428451] musb-hdrc musb-hdrc.0.auto: root port reset stopped [ 31.438493] musb-hdrc musb-hdrc.0.auto: port status 00120503 [ 31.439233] musb-hdrc musb-hdrc.0.auto: clear feature 20 [ 31.453593] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0010 tx0000 rx0000 [ 31.453616] musb-hdrc musb-hdrc.0.auto: <== DevCtl=5d, int_usb=0x10 [ 31.453772] musb-hdrc musb-hdrc.0.auto: CONNECT (a_host) devctl 5d [ 31.498460] usb 1-1: reset high-speed USB device number 2 using musb-hdrc [ 31.505691] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf cf5fed40 [ 36.209411] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 36.499510] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf ce1078c0 [ 41.498604] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf ce1078c0 [ 46.498566] musb-hdrc musb-hdrc.0.auto: set feature 4 [ 46.548416] musb-hdrc musb-hdrc.0.auto: root port reset stopped [ 46.548436] musb-hdrc musb-hdrc.0.auto: high-speed device connected [ 46.558407] musb-hdrc musb-hdrc.0.auto: port status 00130503 [ 46.558560] musb-hdrc musb-hdrc.0.auto: clear feature 20 [ 46.558771] musb-hdrc musb-hdrc.0.auto: clear feature 1 [ 46.559684] usb usb1-port1: logical disconnect [ 46.559740] musb-hdrc musb-hdrc.0.auto: clear feature 1 [ 46.559834] usb 1-1: gone after usb resume? status -19 [ 46.559853] usb 1-1: can't resume, status -19 [ 46.559866] usb usb1-port1: logical disconnect [ 46.559894] musb-hdrc musb-hdrc.0.auto: clear feature 1 [ 46.561463] PM: resume of devices complete after 15474.992 msecs [ 46.573417] PM: Finishing wakeup. [ 46.573473] Restarting tasks ... [ 46.580731] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0002 [ 46.581071] musb-hdrc musb-hdrc.0.auto: port status 00030501 [ 46.581284] musb-hdrc musb-hdrc.0.auto: clear feature 16 [ 46.581386] musb-hdrc musb-hdrc.0.auto: clear feature 17 [ 46.581467] usb usb1-port1: status 0501, change 0003, 480 Mb/s [ 46.581498] usb 1-1: USB disconnect, device number 2 [ 46.586719] usb 1-1: unregistering device [ 46.602403] done. [ 46.841305] musb-hdrc musb-hdrc.0.auto: port status 00000501 [ 46.842627] udevd[250]: inotify_add_watch(5, /dev/sda, 10) failed: No such file or directory [ 46.878462] musb-hdrc musb-hdrc.0.auto: port status 00000501 [ 46.918465] musb-hdrc musb-hdrc.0.auto: port status 00000501 [ 46.958432] musb-hdrc musb-hdrc.0.auto: port status 00000501 [ 46.998420] musb-hdrc musb-hdrc.0.auto: port status 00000501 [ 46.998527] usb usb1-port1: debounce total 100ms stable 100ms status 0x501 [ 46.998644] musb-hdrc musb-hdrc.0.auto: set feature 4 [ 47.048440] musb-hdrc musb-hdrc.0.auto: root port reset stopped [ 47.048464] musb-hdrc musb-hdrc.0.auto: high-speed device connected [ 47.058424] musb-hdrc musb-hdrc.0.auto: port status 00120503 [ 47.059015] musb-hdrc musb-hdrc.0.auto: clear feature 20 [ 47.118422] usb 1-1: new high-speed USB device number 3 using musb-hdrc [ 47.125426] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf cf598bc0 [ 47.125466] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.132051] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.132078] musb-hdrc musb-hdrc.0.auto: RX ep0 fifo d098c420 count 18 buf cf598680 [ 47.132130] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.132251] musb-hdrc musb-hdrc.0.auto: set feature 4 [ 47.178433] musb-hdrc musb-hdrc.0.auto: root port reset stopped [ 47.178454] musb-hdrc musb-hdrc.0.auto: high-speed device connected [ 47.188739] musb-hdrc musb-hdrc.0.auto: port status 00120503 [ 47.188849] musb-hdrc musb-hdrc.0.auto: clear feature 20 [ 47.248433] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf cf598680 [ 47.248470] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.265454] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.278428] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf cf598bc0 [ 47.278461] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.278767] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.278790] musb-hdrc musb-hdrc.0.auto: RX ep0 fifo d098c420 count 18 buf cf598680 [ 47.278825] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.278967] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf cf598d40 [ 47.278996] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.279280] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.279300] musb-hdrc musb-hdrc.0.auto: RX ep0 fifo d098c420 count 9 buf cf598bc0 [ 47.279334] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.279417] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf cf598d00 [ 47.279447] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.279792] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.279811] musb-hdrc musb-hdrc.0.auto: RX ep0 fifo d098c420 count 32 buf cf598d40 [ 47.279847] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.279949] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf cf598bc0 [ 47.279980] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.280247] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.280267] musb-hdrc musb-hdrc.0.auto: RX ep0 fifo d098c420 count 4 buf cf6d1a00 [ 47.280301] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.280382] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf cf598bc0 [ 47.280409] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.280727] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.280747] musb-hdrc musb-hdrc.0.auto: RX ep0 fifo d098c420 count 22 buf cf6d1a00 [ 47.280782] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.280869] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf cf5988c0 [ 47.280898] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.281193] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.281213] musb-hdrc musb-hdrc.0.auto: RX ep0 fifo d098c420 count 8 buf cf6d1a00 [ 47.281246] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.281330] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf cf598fc0 [ 47.281359] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.281708] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.281727] musb-hdrc musb-hdrc.0.auto: RX ep0 fifo d098c420 count 34 buf cf6d1a00 [ 47.281763] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.281836] usb 1-1: udev 3, busnum 1, minor = 2 [ 47.281856] usb 1-1: New USB device found, idVendor=090c, idProduct=1000 [ 47.292749] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 47.300307] usb 1-1: Product: Flash Disk [ 47.304430] usb 1-1: Manufacturer: USB [ 47.308805] usb 1-1: SerialNumber: FBF1101121103636 [ 47.316426] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf cf598a00 [ 47.316484] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.316569] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 47.318088] usb-storage 1-1:1.0: USB Mass Storage device detected [ 47.326577] scsi host1: usb-storage 1-1:1.0 [ 47.342826] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 [ 47.342936] musb-hdrc musb-hdrc.0.auto: port status 00020503 [ 47.343082] usb usb1-port1: enable change, status 00000503 [ 47.343118] musb-hdrc musb-hdrc.0.auto: clear feature 17 [ 48.328504] musb-hdrc musb-hdrc.0.auto: TX ep0 fifo d098c420 count 8 buf cf580c00 [ 48.328578] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 48.328648] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 48.328671] musb-hdrc musb-hdrc.0.auto: RX ep0 fifo d098c420 count 1 buf d0990000 [ 48.328707] musb-hdrc musb-hdrc.0.auto: ** IRQ host usb0000 tx0001 rx0000 [ 48.661838] scsi 1:0:0:0: Direct-Access USB Flash Disk 1100 PQ: 0 ANSI: 0 CCS [ 48.693141] sd 1:0:0:0: [sda] 3915776 512-byte logical blocks: (2.00 GB/1.86 GiB) [ 48.716779] sd 1:0:0:0: [sda] Write Protect is off [ 48.722028] sd 1:0:0:0: [sda] Mode Sense: 43 00 00 00 [ 48.723147] sd 1:0:0:0: [sda] No Caching mode page found [ 48.729620] sd 1:0:0:0: [sda] Assuming drive cache: write through [ 48.749317] sda: sda1 [ 48.773211] sd 1:0:0:0: [sda] Attached SCSI removable disk