AnsweredAssumed Answered

i.MX508 EVK Linux not loading USB drivers? How do I connect via SSH over USB? Where is device usb0?

Question asked by Stephen Luebkert on Jul 22, 2013
Latest reply on Sep 24, 2013 by jamesbone
Branched to a new discussion

Thanks in advance for any help. Boards are MCIMX50EVK and IMXEBOOKDC2. Booted via SD card.

 

Some hopefully useful command line info:

root@freescale ~$ uname -r

2.6.35.3-1129-g691c08a-gd988edf-dirty

root@freescale ~$ lsmod
Module                  Size  Used by
mxc_epdc_fb            31621  0
mxc_epdc_eink           9124  1 mxc_epdc_fb
root@freescale ~$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:04:9F:01:8D:8D
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          LOOPBACK  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@freescale ~$ lspci
lspci: /sys/bus/pci/devices: No such file or directory
root@freescale ~$ lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0002

root@freescale ~$ ifconfig usb0 10.0.0.2 up; route add default gw 10.0.0.1

ifconfig: SIOCSIFADDR: No such device

route: SIOCADDRT: Network is unreachable

root@freescale ~$ dmesg|grep usb

IMX usb wakeup probe

IMX usb wakeup probe

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

usbcore: registered new interface driver cdc_acm

usbcore: registered new interface driver usb-storage

usbcore: registered new interface driver uvcvideo

usbcore: registered new interface driver btusb

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

fsl-usb2-udc: bind to driver g_file_storage

root@freescale ~$ ll /dev/usb*
crw-rw----    1 root     root      189,   0 Aug 13 09:39 /dev/usbdev1.1
crw-rw----    1 root     root      189, 128 Aug 13 09:39 /dev/usbdev2.1
root@freescale ~$ ll /sys/devices/platform/usb*
/sys/devices/platform/usb_wakeup.0:
lrwxrwxrwx    1 root     root             0 Aug 13 10:13 driver -> ../../../bus/platform/drivers/usb_wakeup
-r--r--r--    1 root     root          4096 Aug 13 10:13 modalias
drwxr-xr-x    2 root     root             0 Aug 13 10:13 power
lrwxrwxrwx    1 root     root             0 Aug 13 10:13 subsystem -> ../../../bus/platform
-rw-r--r--    1 root     root          4096 Aug 13 09:39 uevent

/sys/devices/platform/usb_wakeup.1:
lrwxrwxrwx    1 root     root             0 Aug 13 10:13 driver -> ../../../bus/platform/drivers/usb_wakeup
-r--r--r--    1 root     root          4096 Aug 13 10:13 modalias
drwxr-xr-x    2 root     root             0 Aug 13 10:13 power
lrwxrwxrwx    1 root     root             0 Aug 13 10:13 subsystem -> ../../../bus/platform
-rw-r--r--    1 root     root          4096 Aug 13 09:39 uevent

Outcomes