Hii,
When i am trying to insert insmod /lib/modules/4.1.13-g8dc6617/kernel/drivers/usb/gadget/legacy/g_mass_storage.ko file=/dev/ram0 stall=0
I am getting like this
[ 65.702177] Mass Storage Function, version: 2009/09/11
[ 65.707593] LUN: removable file: (no medium)
[ 65.712003] LUN: file: /dev/ram0
[ 65.715243] Number of LUNs=1
[ 65.718399] Number of LUNs=1
[ 65.721418] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[ 65.728750] g_mass_storage gadget: userspace failed to provide iSerialNumber
[ 65.735830] g_mass_storage gadget: g_mass_storage ready
[ 65.741117] dwc3 488d0000.usb: otg: gadget gadget registered
[ 65.746916] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
root@am57xx-evm:~# [ 65.753356] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[ 65.762309] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
[ 65.771135] xhci-hcd xhci-hcd.1.auto: irq 429, io mem 0x488d0000
[ 65.777443] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 65.784264] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 65.791616] usb usb1: Product: xHCI Host Controller
[ 65.796573] usb usb1: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
[ 65.802781] usb usb1: SerialNumber: xhci-hcd.1.auto
[ 65.808437] hub 1-0:1.0: USB hub found
[ 65.812237] hub 1-0:1.0: 1 port detected
[ 65.816676] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 65.822210] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[ 65.830100] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 65.838373] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
I think usb is successfully initialised but no device is getting detected. What can be the reason?
Thanks & Regards,
N.V.Subbaiah