ARM64 – Odroid C2 – Patches for USB..

Thanks to Heiner Kallweit for info on two USB patches for the Odroid C2, and thanks to John Youn for the patches themselves..  They can be found at http://www.spinics.net/lists/linux-usb/msg151687.html and http://www.spinics.net/lists/linux-usb/msg151688.html .

I have applied these to Kernel 4.10-rc4 (including the Ethernet TX patch) and now USB is working, and detects/connects devices – sort of..

Plug in USB device, does not show up (same behaviour as before patch):

]# lsusb
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

But, do (as root)

# lsusb -v

then

# lsusb
Bus 001 Device 006: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Remove:

# usb 1-1.1: USB disconnect, device number 6

More than one device:

# lsusb
Bus 001 Device 008: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
Bus 001 Device 007: ID 248a:8566 Maxxter
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

USB ‘disk’:

usb 1-1.3: new high-speed USB device number 6 using dwc2
usb 1-1.3: New USB device found, idVendor=1b1c, idProduct=1a06
usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.3: Product: Slider 3.0
usb 1-1.3: Manufacturer: Corsair
usb 1-1.3: SerialNumber: 2310309051250017
usb-storage 1-1.3:1.0: USB Mass Storage device detected
scsi host0: usb-storage 1-1.3:1.0
scsi 0:0:0:0: Direct-Access Corsair Slider 3.0 1.00 PQ: 0 ANSI: 5
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 62746624 512-byte logical blocks: (32.1 GB/29.9 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
 sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk

So..  There is more testing to be done, but at least some more core functionality is available..    I also need to check the kernel config, to see if there is another option to be included, to make ‘detection’ work correctly..

As usual, it remains to be seen whether these particular USB patches make it into the mainline kernel tree..

Robert Gadsdon.   January 18, 2017.


Comments

ARM64 – Odroid C2 – Patches for USB.. — 1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *