Problem with usb stick



  • This post is deleted!


  • Untitled.png



  • @Milan-Vuckovic Seems like the Omega isn't plugged all the way into the dock. Can you plug it all the way in and see if that helps?



  • I can see it now. Thank you for your help.



  • @Milan-Vuckovic Awesome. Now try to plugin the USB stick and tell me the output that you see on the screen.



  • I can see the disk now, and I have successfully performed mount. And the serial console is now working too. Screen Shot 2015-12-04 at 19.32.33.png



  • @Milan-Vuckovic Awesome :) A picture is truly worth a thousand words!



  • Again, thank you for your help and I'm sorry for inconvenience. I was not really sure that omega should go all the way into the dock.



  • @Milan-Vuckovic That's what we're here for!



  • I have a problem with all USB devices. I've never been able to get any USB device to work. I figured it was a software/kernel issue and tried to work it out myself since I got the Omega about 2 weeks ago.

    Now that there's been a firmware update, I decided to give it another go. USB devices just don't connect. I tried to look up what the errors meant and read something about needing a Powered Hub. I hooked up one of those and there is no difference in the behavior.

    Below is the output of dmesg, when inserting 3 different USB storage devices. (USB v2 2gb, USB v3 16gb, and v2 card reader with a 4gb sdcard. All of these cards work fine in other PCs and on other development boards I own.

    Any ideas? I just tripple checked, the Omega is fully seated in the dock.

    USB 3 -

    [  231.990000] usb 1-1: new full-speed USB device number 6 using ehci-platform
    [  232.210000] usb 1-1: device descriptor read/64, error -71
    [  232.530000] usb 1-1: device descriptor read/64, error -71
    [  232.760000] usb 1-1: new full-speed USB device number 7 using ehci-platform
    [  232.980000] usb 1-1: device descriptor read/64, error -71
    [  233.300000] usb 1-1: device descriptor read/64, error -71
    [  233.530000] usb 1-1: new full-speed USB device number 8 using ehci-platform
    [  234.010000] usb 1-1: device not accepting address 8, error -71
    [  234.130000] usb 1-1: new full-speed USB device number 9 using ehci-platform
    [  234.610000] usb 1-1: device not accepting address 9, error -71
    [  234.610000] usb usb1-port1: unable to enumerate USB device
    

    USB 2 Card Reader w/ MicroSD Card

    [  501.280000] usb 1-1: new full-speed USB device number 14 using ehci-platform
    [  501.500000] usb 1-1: device descriptor read/64, error -71
    [  501.820000] usb 1-1: device descriptor read/64, error -71
    [  502.050000] usb 1-1: new full-speed USB device number 15 using ehci-platform
    [  502.270000] usb 1-1: device descriptor read/64, error -71
    [  502.590000] usb 1-1: device descriptor read/64, error -71
    [  502.820000] usb 1-1: new full-speed USB device number 16 using ehci-platform
    [  503.300000] usb 1-1: device not accepting address 16, error -71
    [  503.420000] usb 1-1: new full-speed USB device number 17 using ehci-platform
    [  503.900000] usb 1-1: device not accepting address 17, error -71
    [  503.900000] usb usb1-port1: unable to enumerate USB device
    

    USB 2 Drive, 2gb

    [  369.040000] usb 1-1: new full-speed USB device number 10 using ehci-platform
    [  369.260000] usb 1-1: device descriptor read/64, error -71
    [  369.580000] usb 1-1: device descriptor read/64, error -71
    [  369.810000] usb 1-1: new full-speed USB device number 11 using ehci-platform
    [  370.030000] usb 1-1: device descriptor read/64, error -71
    [  370.350000] usb 1-1: device descriptor read/64, error -71
    [  370.580000] usb 1-1: new full-speed USB device number 12 using ehci-platform
    [  371.060000] usb 1-1: device not accepting address 12, error -71
    [  371.180000] usb 1-1: new full-speed USB device number 13 using ehci-platform
    [  371.660000] usb 1-1: device not accepting address 13, error -71
    [  371.660000] usb usb1-port1: unable to enumerate USB device
    


  • Hi @Mike, I was doing some google search on this. Can you try to see if the following works:

    cd /sys/bus/pci/drivers/ath9k
    echo -n "0000:00:1d.7" > unbind
    


  • Hi @Boken-Lin.. I tried that an received the error "write error: No such device".

    I tried the same command in other USB related areas and didn't really make any progress. I don't know if it will help any, but here's 1,117 lines copied from my last terminal session. Taking shots in the dark for the most part..

    Here's the output of a few other commands..

    root@Omega-2101:/dev# lsusb
    Bus 001 Device 001: ID 1d6b:0002
    
    root@Omega-2101:/dev# df -h
    Filesystem                Size      Used Available Use% Mounted on
    rootfs                    8.2M    972.0K      7.2M  12% /
    /dev/root                 6.8M      6.8M         0 100% /rom
    tmpfs                    29.9M    456.0K     29.4M   1% /tmp
    /dev/mtdblock3            8.2M    972.0K      7.2M  12% /overlay
    overlayfs:/overlay        8.2M    972.0K      7.2M  12% /
    tmpfs                   512.0K         0    512.0K   0% /dev
    
    
    root@Omega-2101:/dev# ls
    bus                 mem                 mtd2ro              mtdblock0           network_throughput  shm
    console             memory_bandwidth    mtd3                mtdblock1           null                tty
    cpu_dma_latency     mtd0                mtd3ro              mtdblock2           port                ttyATH0
    full                mtd0ro              mtd4                mtdblock3           ppp                 ttyS0
    i2c-0               mtd1                mtd4ro              mtdblock4           ptmx                urandom
    kmsg                mtd1ro              mtd5                mtdblock5           pts                 watchdog
    log                 mtd2                mtd5ro              network_latency     random              zero
    


  • Hi @Mike, I did some more google searches, and apparently this fixes the problem (error -71) on Ubuntu. So please give it a try:

    echo Y > cat /sys/module/usbcore/parameters/old_scheme_first
    

    Please let me know if it fixes anything.



  • Hi @Boken-Lin,

    The command executed successfully, but after reboot the error still shows up.

    
    [    1.200000] 8021q: 802.1Q VLAN Support v1.8
    [    1.220000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
    [    1.220000] Freeing unused kernel memory: 236K (80375000 - 803b0000)
    [    2.690000] init: Console is alive
    [    2.690000] init: - watchdog -
    [    5.220000] usbcore: registered new interface driver usbfs
    [    5.230000] usbcore: registered new interface driver hub
    [    5.230000] usbcore: registered new device driver usb
    [    5.290000] SCSI subsystem initialized
    [    5.310000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    5.310000] ehci-platform: EHCI generic platform driver
    [    5.320000] ehci-platform ehci-platform: EHCI Host Controller
    [    5.320000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
    [    5.330000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
    [    5.360000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
    [    5.360000] hub 1-0:1.0: USB hub found
    [    5.360000] hub 1-0:1.0: 1 port detected
    [    5.380000] usbcore: registered new interface driver usb-storage
    [    5.690000] usb 1-1: new full-speed USB device number 2 using ehci-platform
    [    5.720000] init: - preinit -
    [    6.290000] usb 1-1: device descriptor read/64, error -71
    [    6.470000] random: procd urandom read with 13 bits of entropy available
    [    6.620000] usb 1-1: device descriptor read/64, error -71
    [    6.850000] usb 1-1: new full-speed USB device number 3 using ehci-platform
    [    7.070000] usb 1-1: device descriptor read/64, error -71
    [    7.390000] usb 1-1: device descriptor read/64, error -71
    [    7.620000] usb 1-1: new full-speed USB device number 4 using ehci-platform
    [    8.100000] usb 1-1: device not accepting address 4, error -71
    [    8.220000] usb 1-1: new full-speed USB device number 5 using ehci-platform
    [    8.700000] usb 1-1: device not accepting address 5, error -71
    [    8.700000] usb usb1-port1: unable to enumerate USB device
    [    9.640000] mount_root: loading kmods from internal overlay
    [   10.020000] jffs2: notice: (338) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [   10.030000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
    [   10.040000] block: extroot: not configured
    [   10.110000] jffs2: notice: (334) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [   10.300000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
    [   10.310000] block: extroot: not configured
    [   10.310000] mount_root: switching to jffs2 overlay
    [   10.380000] procd: - early -
    [   10.380000] procd: - watchdog -
    [   11.180000] procd: - ubus -
    [   12.200000] procd: - init -
    [   13.700000] NET: Registered protocol family 10
    [   13.720000] ntfs: driver 2.1.31 [Flags: R/O MODULE].
    [   13.750000] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   13.780000] i2c /dev entries driver
    [   13.780000] Custom GPIO-based I2C driver version 0.1.1
    [   13.790000] i2c-gpio i2c-gpio.0: using pins 21 (SDA) and 20 (SCL)
    [   13.830000] Linux video capture interface: v2.00
    [   13.850000] hidraw: raw HID events driver (C) Jiri Kosina
    [   13.880000] usbcore: registered new interface driver cdc_acm
    [   13.890000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   13.900000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
    [   13.900000] Backport generated by backports.git backports-20150129-0-gdd4a670
    [   13.920000] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   13.940000] nf_conntrack version 0.5.0 (955 buckets, 3820 max)
    [   13.990000] usbcore: registered new interface driver ums-alauda
    [   14.000000] usbcore: registered new interface driver ums-cypress
    [   14.010000] usbcore: registered new interface driver ums-datafab
    [   14.010000] usbcore: registered new interface driver ums-freecom
    [   14.020000] usbcore: registered new interface driver ums-isd200
    [   14.030000] usbcore: registered new interface driver ums-jumpshot
    [   14.040000] usbcore: registered new interface driver ums-karma
    [   14.040000] usbcore: registered new interface driver ums-sddr09
    [   14.050000] usbcore: registered new interface driver ums-sddr55
    [   14.060000] usbcore: registered new interface driver ums-usbat
    [   14.070000] usbcore: registered new interface driver usbhid
    [   14.070000] usbhid: USB HID core driver
    [   14.080000] usbcore: registered new interface driver usblp
    [   14.090000] usbcore: registered new interface driver usbserial
    [   14.100000] usbcore: registered new interface driver usbserial_generic
    [   14.110000] usbserial: USB Serial support registered for generic
    [   14.120000] usbcore: registered new interface driver uvcvideo
    [   14.130000] USB Video Class driver (1.1.1)
    [   14.160000] xt_time: kernel timezone is -0000
    [   14.200000] cfg80211: Calling CRDA to update world regulatory domain
    [   14.220000] usbcore: registered new interface driver ch341
    [   14.220000] usbserial: USB Serial support registered for ch341-uart
    [   14.230000] usbcore: registered new interface driver cp210x
    [   14.230000] usbserial: USB Serial support registered for cp210x
    [   14.240000] usbcore: registered new interface driver ftdi_sio
    [   14.250000] usbserial: USB Serial support registered for FTDI USB Serial Device
    [   14.270000] cfg80211: World regulatory domain updated:
    [   14.270000] cfg80211:  DFS Master region: unset
    [   14.270000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [   14.280000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [   14.290000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [   14.300000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [   14.310000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [   14.310000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [   14.320000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [   14.330000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [   14.340000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [   14.440000] usbcore: registered new interface driver pl2303
    [   14.450000] usbserial: USB Serial support registered for pl2303
    [   14.460000] PPP generic driver version 2.4.2
    [   14.470000] NET: Registered protocol family 24
    [   14.540000] ath: EEPROM regdomain: 0x0
    [   14.540000] ath: EEPROM indicates default country code should be used
    [   14.540000] ath: doing EEPROM country->regdmn map search
    [   14.540000] ath: country maps to regdmn code: 0x3a
    [   14.540000] ath: Country alpha2 being used: US
    [   14.540000] ath: Regpair used: 0x3a
    [   14.550000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
    [   14.560000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
    [   14.570000] cfg80211: Calling CRDA for country: US
    [   14.570000] cfg80211: Regulatory domain changed to country: US
    [   14.570000] cfg80211:  DFS Master region: FCC
    [   14.580000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [   14.590000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
    [   14.600000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
    [   14.610000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
    [   14.620000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
    [   14.620000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
    [   29.510000] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
    [   30.860000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   32.310000] wlan0: authenticate with ac:22:0b:e8:d9:90
    [   32.330000] wlan0: direct probe to ac:22:0b:e8:d9:90 (try 1/3)
    [   32.540000] wlan0: send auth to ac:22:0b:e8:d9:90 (try 2/3)
    [   32.550000] wlan0: authenticated
    [   32.560000] wlan0: associate with ac:22:0b:e8:d9:90 (try 1/3)
    [   32.560000] wlan0: RX AssocResp from ac:22:0b:e8:d9:90 (capab=0x411 status=0 aid=1)
    [   32.570000] wlan0: associated
    [   32.570000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [   33.730000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
    [   51.150000] random: nonblocking pool is initialized
    root@Omega-2101:~#
    
    


  • @Mike What happens if you execute the command, and plug in the USB key without rebooting?



  • @Boken-Lin -- Sorry for the delayed reply.. I removed the USB, ran the previous command, re-inserted the USB drive, and ran dmesg. The same "read/64, error -71" error shows up.

    [ 4309.190000] usb 1-1: new full-speed USB device number 6 using ehci-platform
    [ 4309.410000] usb 1-1: device descriptor read/64, error -71
    [ 4309.730000] usb 1-1: device descriptor read/64, error -71
    [ 4309.960000] usb 1-1: new full-speed USB device number 7 using ehci-platform
    [ 4310.180000] usb 1-1: device descriptor read/64, error -71
    [ 4310.500000] usb 1-1: device descriptor read/64, error -71
    [ 4310.730000] usb 1-1: new full-speed USB device number 8 using ehci-platform
    [ 4311.210000] usb 1-1: device not accepting address 8, error -71
    [ 4311.330000] usb 1-1: new full-speed USB device number 9 using ehci-platform
    [ 4311.810000] usb 1-1: device not accepting address 9, error -71
    [ 4311.810000] usb usb1-port1: unable to enumerate USB device
    

    Edit: I noticed the new firmware version b234. I ran oupgrade -force to bring the Omega up-to-date from b233.

    I ran the previous command (echo Y > cat /sys/module/usbcore/parameters/old_scheme_first) again, re-inserted the USB drive, and dmesg shows the same -71 error.

    [  255.130000] usb 1-1: new full-speed USB device number 6 using ehci-platform
    [  255.350000] usb 1-1: device descriptor read/64, error -71
    [  255.670000] usb 1-1: device descriptor read/64, error -71
    [  255.900000] usb 1-1: new full-speed USB device number 7 using ehci-platform
    [  256.120000] usb 1-1: device descriptor read/64, error -71
    [  256.440000] usb 1-1: device descriptor read/64, error -71
    [  256.670000] usb 1-1: new full-speed USB device number 8 using ehci-platform
    [  257.150000] usb 1-1: device not accepting address 8, error -71
    [  257.270000] usb 1-1: new full-speed USB device number 9 using ehci-platform
    [  257.750000] usb 1-1: device not accepting address 9, error -71
    [  257.750000] usb usb1-port1: unable to enumerate USB device
    


  • @Mike What a resistant issue! And we don't even know where to begin... The computer that you are testing it on, which operating system is it running?



  • @Boken-Lin -- Yes, it is! I'm SSH'ing in from different SSH clients on ChromeOS (Toshiba Chromebook 2), Windows 7 (Putty), and an Android phone (ConnectBot). I also get the same errors when connected via USB Serial with Putty on Windows 7.



  • @Mike I mean, you mentioned that your USB devices work on your other machines, which OS are those? Would you be able to set up a Ubuntu virtual machine to try out the USB drive? I'm guessing that the keys might not be set up properly. Do you know which filesystem you formatted the keys to?



  • @Boken-Lin - I've used the drives on all of my systems besides the Android Phone. They are formatted with FAT.

    I have Ubuntu running as chroot on my Chromebook. Here's the output from dmesg when connecting a USB drive to the Chromebook's Debian (Jessie) chroot.

    [14729.462277] xhci_hcd 0000:00:14.0: setting latency timer to 64
    [14729.899571] usb 1-2: new high-speed USB device number 25 using xhci_hcd
    [14729.914967] usb 1-2: New USB device found, idVendor=13fe, idProduct=3600
    [14729.914980] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [14729.914989] usb 1-2: Product: USB DISK 2.0
    [14729.914996] usb 1-2: Manufacturer:         
    [14729.915002] usb 1-2: SerialNumber: 7FB61C007B08005C
    [14729.916323] usb-storage 1-2:1.0: USB Mass Storage device detected
    [14729.916484] usb-storage 1-2:1.0: Quirks match for vid 13fe pid 3600: 4000
    [14729.916829] scsi8 : usb-storage 1-2:1.0
    [14730.943441] scsi 8:0:0:0: Direct-Access              USB DISK 2.0     DL07 PQ: 0 ANSI: 0 CCS
    [14731.334298] sd 8:0:0:0: [sda] 8028160 512-byte logical blocks: (4.11 GB/3.82 GiB)
    [14731.335365] sd 8:0:0:0: [sda] Write Protect is off
    [14731.335378] sd 8:0:0:0: [sda] Mode Sense: 23 00 00 00
    [14731.336453] sd 8:0:0:0: [sda] No Caching mode page found
    [14731.336464] sd 8:0:0:0: [sda] Assuming drive cache: write through
    [14731.340901] sd 8:0:0:0: [sda] No Caching mode page found
    [14731.340913] sd 8:0:0:0: [sda] Assuming drive cache: write through
    [14731.358413]  sda: sda1
    [14731.366815] sd 8:0:0:0: [sda] No Caching mode page found
    [14731.366828] sd 8:0:0:0: [sda] Assuming drive cache: write through
    [14731.366839] sd 8:0:0:0: [sda] Attached SCSI removable disk
    

    I also get the same read/64, error -71 error when connecting a webcam to the Onion.

    [ 2275.320000] usb 1-1: new full-speed USB device number 32 using ehci-platform
    [ 2275.540000] usb 1-1: device descriptor read/64, error -71
    [ 2275.860000] usb 1-1: device descriptor read/64, error -71
    [ 2276.090000] usb 1-1: new full-speed USB device number 33 using ehci-platform
    [ 2276.310000] usb 1-1: device descriptor read/64, error -71
    [ 2276.630000] usb 1-1: device descriptor read/64, error -71
    [ 2276.860000] usb 1-1: new full-speed USB device number 34 using ehci-platform
    [ 2277.340000] usb 1-1: device not accepting address 34, error -71
    [ 2277.460000] usb 1-1: new full-speed USB device number 35 using ehci-platform
    [ 2277.940000] usb 1-1: device not accepting address 35, error -71
    [ 2277.940000] usb usb1-port1: unable to enumerate USB device
    

Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.