Quantcast

defconfig for overo as usb gadget mass storage?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

defconfig for overo as usb gadget mass storage?

daveti
Hello,

I tried to hack the defconfig to enable the usb gadget mass storage for my overo on Palo35 card. I could build the g_mass_storage.ko successfully and even could I load this kmod. The only problem is my PC could not recognize the device as an usb mass storage. g_file_storage does not work either. Just wonder if anyone has successfully done that before? Would you please let me know the right defconfig to do this. The post (http://41j.com/blog/2011/11/gumstix-as-usb-storage-device/) does not work for me anyway. BTW, I am using latest yocto~

Thanks,
Dave
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: defconfig for overo as usb gadget mass storage?

adam
Hi Dave, I was able to get it working this morning - https://github.com/gumstix/Gumstix-YoctoProject-Repo/issues/35
If configured right, you should see a log message similar to this on your host machine: 

[2401884.860017] usb 1-2: new high-speed USB device number 20 using ehci-pci
[2401884.992856] usb 1-2: New USB device found, idVendor=0525, idProduct=a4a5
[2401884.992860] usb 1-2: New USB device strings: Mfr=2, Product=3, SerialNumber=0
[2401884.992862] usb 1-2: Product: Mass Storage Gadget

All I did was building the g_mass_storage as a kernel module. I will follow up with the image soon. In the mean while, take a look at the Github issue I created. It may give you some hint. 

Adam

On Thu, Mar 27, 2014 at 11:34 AM, daveti [via Gumstix] <[hidden email]> wrote:
Hello,

I tried to hack the defconfig to enable the usb gadget mass storage for my overo on Palo35 card. I could build the g_mass_storage.ko successfully and even could I load this kmod. The only problem is my PC could not recognize the device as an usb mass storage. g_file_storage does not work either. Just wonder if anyone has successfully done that before? Would you please let me know the right defconfig to do this. The post (http://41j.com/blog/2011/11/gumstix-as-usb-storage-device/) does not work for me anyway. BTW, I am using latest yocto~

Thanks,
Dave
 


If you reply to this email, your message will be added to the discussion below:
http://gumstix.8.x6.nabble.com/defconfig-for-overo-as-usb-gadget-mass-storage-tp4968995.html
To start a new topic under Gumstix, email [hidden email]
To unsubscribe from Gumstix, click here.
NAML

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: defconfig for overo as usb gadget mass storage?

daveti
[  117.255401] udc musb-hdrc: registering UDC driver [g_mass_storage]
[  117.255462]  gadget: adding config #1 'Linux File-Backed Storage'/bf13d680
[  117.255767]  lun0: open backing file: /home/root/daveti.img
[  117.256011]  gadget: Mass Storage Function, version: 2009/09/11
[  117.274444]  gadget: Number of LUNs=1
[  117.278350]  lun0: LUN: removable file: /home/root/daveti.img
[  117.293701]  gadget: I/O thread pid: 176
[  117.293792]  gadget: adding 'Mass Storage Function'/ce09f840 to config 'Linux File-Backed Storage'/bf13d680
[  117.293823]  gadget: cfg 1/bf13d680 speeds: high full
[  117.293853]  gadget:   interface 0 = Mass Storage Function/ce09f840
[  117.293884]  gadget: Mass Storage Gadget, version: 2009/09/11
[  117.305267]  gadget: userspace failed to provide iSerialNumber
[  117.311492]  gadget: g_mass_storage ready
[  117.337921] twl4030_usb twl4030_usb: twl4030_phy_resume
[  117.338012] musb-hdrc musb-hdrc: MUSB HDRC host driver
[  117.353363] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 2
[  117.369995] musb-hdrc musb-hdrc: supports USB remote wakeup
[  117.370147] usb usb2: default language 0x0409
[  117.370208] usb usb2: udev 1, busnum 2, minor = 128
[  117.370239] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[  117.382385] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  117.398040] usb usb2: Product: MUSB HDRC host driver
[  117.410827] usb usb2: Manufacturer: Linux 3.5.7-yocto-standard musb-hcd
[  117.421997] usb usb2: SerialNumber: musb-hdrc
[  117.437713] usb usb2: usb_probe_device
[  117.440338] usb usb2: configuration #1 chosen from 1 choice
[  117.440429] usb usb2: adding 2-0:1.0 (config #1, interface 0)
[  117.440734] hub 2-0:1.0: usb_probe_interface
[  117.440765] hub 2-0:1.0: usb_probe_interface - got id
[  117.440795] hub 2-0:1.0: USB hub found
[  117.444793] hub 2-0:1.0: 1 port detected
[  117.464294] hub 2-0:1.0: standalone hub
[  117.464355] hub 2-0:1.0: individual port power switching
[  117.464355] hub 2-0:1.0: no over-current protection
[  117.464385] hub 2-0:1.0: Single TT
[  117.464385] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)
[  117.464416] hub 2-0:1.0: power on to power good time: 10ms
[  117.464477] hub 2-0:1.0: 100mA bus power budget for each child
[  117.464508] hub 2-0:1.0: local power source is good
[  117.464538] hub 2-0:1.0: enabling power on all ports
[  117.563171] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
[  120.008392] hub 2-0:1.0: hub_suspend
[  120.008453] usb usb2: bus auto-suspend, wakeup 1
[  120.009521] twl4030_usb twl4030_usb: twl4030_phy_suspend
root@overo:/lib/modules/3.5.7-yocto-standard/kernel/drivers/usb/gadget$  


There should be sth wrong with hub2-0:1.0 config. It is suspended for certain reasons....
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: defconfig for overo as usb gadget mass storage?

adam


On Thu, Mar 27, 2014 at 12:37 PM, daveti <[hidden email]> wrote:
[  117.255401] udc musb-hdrc: registering UDC driver [g_mass_storage]
[  117.255462]  gadget: adding config #1 'Linux File-Backed
Storage'/bf13d680
[  117.255767]  lun0: open backing file: /home/root/daveti.img
[  117.256011]  gadget: Mass Storage Function, version: 2009/09/11
[  117.274444]  gadget: Number of LUNs=1
[  117.278350]  lun0: LUN: removable file: /home/root/daveti.img
[  117.293701]  gadget: I/O thread pid: 176
[  117.293792]  gadget: adding 'Mass Storage Function'/ce09f840 to config
'Linux File-Backed Storage'/bf13d680
[  117.293823]  gadget: cfg 1/bf13d680 speeds: high full
[  117.293853]  gadget:   interface 0 = Mass Storage Function/ce09f840
[  117.293884]  gadget: Mass Storage Gadget, version: 2009/09/11
[  117.305267]  gadget: userspace failed to provide iSerialNumber
[  117.311492]  gadget: g_mass_storage ready
[  117.337921] twl4030_usb twl4030_usb: twl4030_phy_resume
[  117.338012] musb-hdrc musb-hdrc: MUSB HDRC host driver
[  117.353363] musb-hdrc musb-hdrc: new USB bus registered, assigned bus
number 2
[  117.369995] musb-hdrc musb-hdrc: supports USB remote wakeup
[  117.370147] usb usb2: default language 0x0409
[  117.370208] usb usb2: udev 1, busnum 2, minor = 128
[  117.370239] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[  117.382385] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[  117.398040] usb usb2: Product: MUSB HDRC host driver
[  117.410827] usb usb2: Manufacturer: Linux 3.5.7-yocto-standard musb-hcd
[  117.421997] usb usb2: SerialNumber: musb-hdrc
[  117.437713] usb usb2: usb_probe_device
[  117.440338] usb usb2: configuration #1 chosen from 1 choice
[  117.440429] usb usb2: adding 2-0:1.0 (config #1, interface 0)
[  117.440734] hub 2-0:1.0: usb_probe_interface
[  117.440765] hub 2-0:1.0: usb_probe_interface - got id
[  117.440795] hub 2-0:1.0: USB hub found
[  117.444793] hub 2-0:1.0: 1 port detected
[  117.464294] hub 2-0:1.0: standalone hub
[  117.464355] hub 2-0:1.0: individual port power switching
[  117.464355] hub 2-0:1.0: no over-current protection
[  117.464385] hub 2-0:1.0: Single TT
[  117.464385] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)
[  117.464416] hub 2-0:1.0: power on to power good time: 10ms
[  117.464477] hub 2-0:1.0: 100mA bus power budget for each child
[  117.464508] hub 2-0:1.0: local power source is good
[  117.464538] hub 2-0:1.0: enabling power on all ports
[  117.563171] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
[  120.008392] hub 2-0:1.0: hub_suspend
[  120.008453] usb usb2: bus auto-suspend, wakeup 1
[  120.009521] twl4030_usb twl4030_usb: twl4030_phy_suspend
root@overo:/lib/modules/3.5.7-yocto-standard/kernel/drivers/usb/gadget$


There should be sth wrong with hub2-0:1.0 config. It is suspended for
certain reasons....




--
View this message in context: http://gumstix.8.x6.nabble.com/defconfig-for-overo-as-usb-gadget-mass-storage-tp4968995p4968998.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------

_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: defconfig for overo as usb gadget mass storage?

daveti
Thanks for your images. I am using it now. However, it does not work for me either~ As before, g_mass_storage could be loaded but hub is suspended....

[  317.898620]  gadget: Mass Storage Function, version: 2009/09/11
[  317.910369]  gadget: Number of LUNs=1
[  317.914276]  lun0: LUN: removable file: /home/root/daveti.img
[  317.925018]  gadget: Mass Storage Gadget, version: 2009/09/11
[  317.931121]  gadget: userspace failed to provide iSerialNumber
[  317.945343]  gadget: g_mass_storage ready
[  317.960998] twl4030_usb twl4030_usb: twl4030_phy_resume
[  317.961059] musb-hdrc musb-hdrc: MUSB HDRC host driver
[  317.976593] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 2
[  317.993011] musb-hdrc musb-hdrc: supports USB remote wakeup
[  317.993164] usb usb2: default language 0x0409
[  317.993225] usb usb2: udev 1, busnum 2, minor = 128
[  317.993255] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[  318.005523] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  318.021545] usb usb2: Product: MUSB HDRC host driver
[  318.034118] usb usb2: Manufacturer: Linux 3.5.7-yocto-standard musb-hcd
[  318.041137] usb usb2: SerialNumber: musb-hdrc
[  318.060882] usb usb2: usb_probe_device
[  318.060943] usb usb2: configuration #1 chosen from 1 choice
[  318.061035] usb usb2: adding 2-0:1.0 (config #1, interface 0)
[  318.061309] hub 2-0:1.0: usb_probe_interface
[  318.061340] hub 2-0:1.0: usb_probe_interface - got id
[  318.061370] hub 2-0:1.0: USB hub found
[  318.077789] hub 2-0:1.0: 1 port detected
[  318.087677] hub 2-0:1.0: standalone hub
[  318.087738] hub 2-0:1.0: individual port power switching
[  318.087738] hub 2-0:1.0: no over-current protection
[  318.087768] hub 2-0:1.0: Single TT
[  318.087768] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)
[  318.087799] hub 2-0:1.0: power on to power good time: 10ms
[  318.087860] hub 2-0:1.0: 100mA bus power budget for each child
[  318.087890] hub 2-0:1.0: local power source is good
[  318.087890] hub 2-0:1.0: enabling power on all ports
[  318.182830] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
[  320.182769] hub 2-0:1.0: hub_suspend
[  320.182830] usb usb2: bus auto-suspend, wakeup 1
[  320.184082] twl4030_usb twl4030_usb: twl4030_phy_suspend
root@overo:~$  
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: defconfig for overo as usb gadget mass storage?

adam

I think the hub_suspend is ok - I get that too. The following is the full dmesg since modprobe.

[   60.354309] musb-hdrc musb-hdrc: MUSB HDRC host driver
[   60.370056] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 2
[   60.386047] musb-hdrc musb-hdrc: supports USB remote wakeup
[   60.386169] usb usb2: default language 0x0409
[   60.386230] usb usb2: udev 1, busnum 2, minor = 128
[   60.386260] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[   60.398529] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   60.413909] usb usb2: Product: MUSB HDRC host driver
[   60.426940] usb usb2: Manufacturer: Linux 3.5.7-yocto-standard musb-hcd
[   60.437561] usb usb2: SerialNumber: musb-hdrc
[   60.453704] usb usb2: usb_probe_device
[   60.453735] usb usb2: configuration #1 chosen from 1 choice
[   60.453857] usb usb2: adding 2-0:1.0 (config #1, interface 0)
[   60.454132] hub 2-0:1.0: usb_probe_interface
[   60.454162] hub 2-0:1.0: usb_probe_interface - got id
[   60.454193] hub 2-0:1.0: USB hub found
[   60.458190] hub 2-0:1.0: 1 port detected
[   60.480194] hub 2-0:1.0: standalone hub
[   60.480224] hub 2-0:1.0: individual port power switching
[   60.480255] hub 2-0:1.0: no over-current protection
[   60.480255] hub 2-0:1.0: Single TT
[   60.480285] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)
[   60.480285] hub 2-0:1.0: power on to power good time: 10ms
[   60.480346] hub 2-0:1.0: 100mA bus power budget for each child
[   60.480377] hub 2-0:1.0: local power source is good
[   60.480407] hub 2-0:1.0: enabling power on all ports
[   60.569274] twl4030_usb twl4030_usb: HW_CONDITIONS 0x90/144; link 1
[   60.578887] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
[   60.883941] twl4030_usb twl4030_usb: HW_CONDITIONS 0x50/80; link 0
[   60.884857] twl4030_usb twl4030_usb: twl4030_phy_suspend
[   63.008697] hub 2-0:1.0: hub_suspend
[   63.008758] usb usb2: bus auto-suspend, wakeup 1
[   67.849029] twl4030_usb twl4030_usb: HW_CONDITIONS 0x90/144; link 1
[   67.852050] twl4030_usb twl4030_usb: twl4030_phy_resume
[   68.277435]  gadget: high-speed config #1: Linux File-Backed Storage
[   68.277435]  gadget: high-speed config #1: Linux File-Backed Storage
The last line above appears when I plug into my host machine.

Can you check the mode of USB OTG?

on before and after modprobe:

root@overo:/sys/devices/platform/musb-omap2430/musb-hdrc$  cat mode
b_idle

on connection to host:

root@overo:/sys/devices/platform/musb-omap2430/musb-hdrc$  cat mode
b_peripheral


On Thu, Mar 27, 2014 at 1:20 PM, daveti [via Gumstix] <[hidden email]> wrote:
Thanks for your images. I am using it now. However, it does not work for me either~ As before, g_mass_storage could be loaded but hub is suspended....

[  317.898620]  gadget: Mass Storage Function, version: 2009/09/11
[  317.910369]  gadget: Number of LUNs=1
[  317.914276]  lun0: LUN: removable file: /home/root/daveti.img
[  317.925018]  gadget: Mass Storage Gadget, version: 2009/09/11
[  317.931121]  gadget: userspace failed to provide iSerialNumber
[  317.945343]  gadget: g_mass_storage ready
[  317.960998] twl4030_usb twl4030_usb: twl4030_phy_resume
[  317.961059] musb-hdrc musb-hdrc: MUSB HDRC host driver
[  317.976593] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 2
[  317.993011] musb-hdrc musb-hdrc: supports USB remote wakeup
[  317.993164] usb usb2: default language 0x0409
[  317.993225] usb usb2: udev 1, busnum 2, minor = 128
[  317.993255] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[  318.005523] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  318.021545] usb usb2: Product: MUSB HDRC host driver
[  318.034118] usb usb2: Manufacturer: Linux 3.5.7-yocto-standard musb-hcd
[  318.041137] usb usb2: SerialNumber: musb-hdrc
[  318.060882] usb usb2: usb_probe_device
[  318.060943] usb usb2: configuration #1 chosen from 1 choice
[  318.061035] usb usb2: adding 2-0:1.0 (config #1, interface 0)
[  318.061309] hub 2-0:1.0: usb_probe_interface
[  318.061340] hub 2-0:1.0: usb_probe_interface - got id
[  318.061370] hub 2-0:1.0: USB hub found
[  318.077789] hub 2-0:1.0: 1 port detected
[  318.087677] hub 2-0:1.0: standalone hub
[  318.087738] hub 2-0:1.0: individual port power switching
[  318.087738] hub 2-0:1.0: no over-current protection
[  318.087768] hub 2-0:1.0: Single TT
[  318.087768] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)
[  318.087799] hub 2-0:1.0: power on to power good time: 10ms
[  318.087860] hub 2-0:1.0: 100mA bus power budget for each child
[  318.087890] hub 2-0:1.0: local power source is good
[  318.087890] hub 2-0:1.0: enabling power on all ports
[  318.182830] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
[  320.182769] hub 2-0:1.0: hub_suspend
[  320.182830] usb usb2: bus auto-suspend, wakeup 1
[  320.184082] twl4030_usb twl4030_usb: twl4030_phy_suspend
root@overo:~$  



If you reply to this email, your message will be added to the discussion below:
http://gumstix.8.x6.nabble.com/defconfig-for-overo-as-usb-gadget-mass-storage-tp4968995p4969000.html
To start a new topic under Gumstix, email [hidden email]
To unsubscribe from Gumstix, click here.
NAML

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: defconfig for overo as usb gadget mass storage?

adam
In reply to this post by daveti

I think the hub_suspend is ok - I get that too. The following is the full dmesg since modprobe.

[   60.354309] musb-hdrc musb-hdrc: MUSB HDRC host driver
[   60.370056] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 2
[   60.386047] musb-hdrc musb-hdrc: supports USB remote wakeup
[   60.386169] usb usb2: default language 0x0409
[   60.386230] usb usb2: udev 1, busnum 2, minor = 128
[   60.386260] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[   60.398529] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   60.413909] usb usb2: Product: MUSB HDRC host driver
[   60.426940] usb usb2: Manufacturer: Linux 3.5.7-yocto-standard musb-hcd
[   60.437561] usb usb2: SerialNumber: musb-hdrc
[   60.453704] usb usb2: usb_probe_device
[   60.453735] usb usb2: configuration #1 chosen from 1 choice
[   60.453857] usb usb2: adding 2-0:1.0 (config #1, interface 0)
[   60.454132] hub 2-0:1.0: usb_probe_interface
[   60.454162] hub 2-0:1.0: usb_probe_interface - got id
[   60.454193] hub 2-0:1.0: USB hub found
[   60.458190] hub 2-0:1.0: 1 port detected
[   60.480194] hub 2-0:1.0: standalone hub
[   60.480224] hub 2-0:1.0: individual port power switching
[   60.480255] hub 2-0:1.0: no over-current protection
[   60.480255] hub 2-0:1.0: Single TT
[   60.480285] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)
[   60.480285] hub 2-0:1.0: power on to power good time: 10ms
[   60.480346] hub 2-0:1.0: 100mA bus power budget for each child
[   60.480377] hub 2-0:1.0: local power source is good
[   60.480407] hub 2-0:1.0: enabling power on all ports
[   60.569274] twl4030_usb twl4030_usb: HW_CONDITIONS 0x90/144; link 1
[   60.578887] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
[   60.883941] twl4030_usb twl4030_usb: HW_CONDITIONS 0x50/80; link 0
[   60.884857] twl4030_usb twl4030_usb: twl4030_phy_suspend
[   63.008697] hub 2-0:1.0: hub_suspend
[   63.008758] usb usb2: bus auto-suspend, wakeup 1
[   67.849029] twl4030_usb twl4030_usb: HW_CONDITIONS 0x90/144; link 1
[   67.852050] twl4030_usb twl4030_usb: twl4030_phy_resume
[   68.277435]  gadget: high-speed config #1: Linux File-Backed Storage
[   68.277435]  gadget: high-speed config #1: Linux File-Backed Storage
The last line above appears when I plug into my host machine.

Can you check the mode of USB OTG?

on before and after modprobe:

root@overo:/sys/devices/platform/musb-omap2430/musb-hdrc$  cat mode
b_idle

on connection to host:

root@overo:/sys/devices/platform/musb-omap2430/musb-hdrc$  cat mode
b_peripheral


On Thu, Mar 27, 2014 at 1:20 PM, daveti [via Gumstix] <[hidden email]> wrote:
Thanks for your images. I am using it now. However, it does not work for me either~ As before, g_mass_storage could be loaded but hub is suspended....

[  317.898620]  gadget: Mass Storage Function, version: 2009/09/11
[  317.910369]  gadget: Number of LUNs=1
[  317.914276]  lun0: LUN: removable file: /home/root/daveti.img
[  317.925018]  gadget: Mass Storage Gadget, version: 2009/09/11
[  317.931121]  gadget: userspace failed to provide iSerialNumber
[  317.945343]  gadget: g_mass_storage ready
[  317.960998] twl4030_usb twl4030_usb: twl4030_phy_resume
[  317.961059] musb-hdrc musb-hdrc: MUSB HDRC host driver
[  317.976593] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 2
[  317.993011] musb-hdrc musb-hdrc: supports USB remote wakeup
[  317.993164] usb usb2: default language 0x0409
[  317.993225] usb usb2: udev 1, busnum 2, minor = 128
[  317.993255] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[  318.005523] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  318.021545] usb usb2: Product: MUSB HDRC host driver
[  318.034118] usb usb2: Manufacturer: Linux 3.5.7-yocto-standard musb-hcd
[  318.041137] usb usb2: SerialNumber: musb-hdrc
[  318.060882] usb usb2: usb_probe_device
[  318.060943] usb usb2: configuration #1 chosen from 1 choice
[  318.061035] usb usb2: adding 2-0:1.0 (config #1, interface 0)
[  318.061309] hub 2-0:1.0: usb_probe_interface
[  318.061340] hub 2-0:1.0: usb_probe_interface - got id
[  318.061370] hub 2-0:1.0: USB hub found
[  318.077789] hub 2-0:1.0: 1 port detected
[  318.087677] hub 2-0:1.0: standalone hub
[  318.087738] hub 2-0:1.0: individual port power switching
[  318.087738] hub 2-0:1.0: no over-current protection
[  318.087768] hub 2-0:1.0: Single TT
[  318.087768] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)
[  318.087799] hub 2-0:1.0: power on to power good time: 10ms
[  318.087860] hub 2-0:1.0: 100mA bus power budget for each child
[  318.087890] hub 2-0:1.0: local power source is good
[  318.087890] hub 2-0:1.0: enabling power on all ports
[  318.182830] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
[  320.182769] hub 2-0:1.0: hub_suspend
[  320.182830] usb usb2: bus auto-suspend, wakeup 1
[  320.184082] twl4030_usb twl4030_usb: twl4030_phy_suspend
root@overo:~$  



If you reply to this email, your message will be added to the discussion below:
http://gumstix.8.x6.nabble.com/defconfig-for-overo-as-usb-gadget-mass-storage-tp4968995p4969000.html
To start a new topic under Gumstix, email [hidden email]
To unsubscribe from Gumstix, click here.
NAML

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: defconfig for overo as usb gadget mass storage?

daveti
The mode is always b_idle even after the device is connected with my PC. Is there a special jumper to enable this USB OTG interface?
Loading...