| Electronics > Repair |
| Trying to troubleshoot a main board with Rockchip RK3288 microprocessor |
| << < (6/7) > >> |
| Nominal Animal:
--- Quote from: jboy32 on January 19, 2022, 07:59:43 am ---I emailed AKAI support to get a fix but no possibility to get any software assistance, just send the unit back on my own cost then they will have a look to fix it. --- End quote --- Yeah; sorry if I sounded too angry there, but this is the case with way too many Linux-based appliances. Way too many routers for example are vulnerable to attacks and are easily subverted to become a part of a botnet –– but not because Linux is inherently vulnerable or needs to be constant updates to stay secure, but more because most of the software that implements the appliance is just so full of security holes it is ridiculous. To me, it is like seeing someone smear shit on the walls and laugh. Also, to be clear: Tux is my mascot, not my idol; and I'm not a GPL zealot. I use a lot of different licenses, including CC-1.0 for my code examples, proprietary licenses for commercial work, BSD/MIT/Apache for some libraries, and GPL only when doing either already-GPL-licensed stuff or when I deem it the most appropriate for the product at hand. License is just one of the tools for me. Seeing others misuse them is like seeing people try to hammer screws in. --- Quote from: jboy32 on January 19, 2022, 07:59:43 am ---[ 1.812699] dwc2 ff540000.usb: DWC OTG Controller [ 1.812714] dwc2 ff540000.usb: new USB bus registered, assigned bus number 1 [ 1.812851] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04 [ 1.812857] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.812861] usb usb1: Product: DWC OTG Controller [ 1.812864] usb usb1: Manufacturer: Linux 5.4.115-inmusic-2021-04-30-rt56 dwc2_hsotg [ 1.812867] usb usb1: SerialNumber: ff540000.usb [ 1.813152] hub 1-0:1.0: USB hub found [ 1.813174] hub 1-0:1.0: 1 port detected --- End quote --- That means usb1 is the USB On-The-Go port, using a DesignWare chip (not the USB5537), and works fine. (In other words, the On-The-Go port should work fine.) --- Quote from: jboy32 on January 19, 2022, 07:59:43 am ---[ 1.935665] dwc2 ff580000.usb: new USB bus registered, assigned bus number 2 [ 1.935773] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04 [ 1.935778] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.935782] usb usb2: Product: DWC OTG Controller [ 1.935785] usb usb2: Manufacturer: Linux 5.4.115-inmusic-2021-04-30-rt56 dwc2_hsotg [ 1.935788] usb usb2: SerialNumber: ff580000.usb [ 1.936093] hub 2-0:1.0: USB hub found [ 1.936113] hub 2-0:1.0: 1 port detected --- End quote --- Funky; it has two USB On-The-Go ports! Both should be working just fine. --- Quote from: jboy32 on January 19, 2022, 07:59:43 am ---Bus 003 Device 001: ID 1d6b:0002 Bus 001 Device 001: ID 1d6b:0002 Bus 001 Device 002: ID 0763:0016 Bus 002 Device 001: ID 1d6b:0002 --- End quote --- Now, this one is very useful. From the above, we already know that Bus 001 Device 001 and Bus 002 Device 001 are USB On-The-Go ports using the standard kernel dwc2 driver (for DesignWare high-speed On-The-Go USB controllers); it looks like there is even a third one, heh –– which makes sense, actually; parts cost and whatnot. (1d6b:0002 just means generic USB 2.0 root hub; the 1d6b identifier is "Linux Foundation".) There is only one USB device connected, and that is to the first on-the-go bus: ID 0736:0016 0763:0016. 0736 is the Manufacturer ID for M-Audio, but its product 0016 is not listed in the Linux USB device ID list. Could you run lsusb -vvv (as root on the device), and copy the part that begins with Bus 001 Device 002: ID 0763:0016 until an empty line? It would provide all information the kernel knows about the device. I am especially interested in the 'bDeviceClass', which I suspect to be '9 Hub', and this device be the actual USB5537B hub chip. (If so, it means the actual chip is not fully busted at least, because the chip that it is connected to still enumerates it just fine; it would be a very strong indicator that the issue is crappy code in usb5537.c that cannot deal with the normal age-related variances in system behaviour. Typical for thrown-together low-quality code!) |
| ounsatn:
Hello, I a new on this forum i was googling for MPC and find your post. On my side I own a MPC Akai Force with a customm Firmware allowing to connect on the SSH. All theses boards (Headrush Gigboard / Denon Prime or Akai MPC Live/Force share the same SOC with RK3288 . You can find useful information on this github : https://github.com/TheKikGen To connect via SSH instead of using serial cable, you can follow this guide : https://github.com/TheKikGen/MPC-LiveXplore/wiki/Enabling-SSH-on-the-MPC-Live-X-one-Force It should be the same way on the Headrush. Concerning the img file provided : You have a first .img which is packed, extract it with 7zip and you'll get another image file which approx 300/400 mb. You can still open it with 7zip and extract the content. You will find more information there too : https://github.com/TheKikGen/MPC-LiveXplore/wiki/How-to-extract-the-2.6-rootfs-img-from-the-update.img You can explore the file and find useful information. Scripts allow to configure the board, and Evil is the main program for the Gigboard. you can try to run it mannualy ( cd /usr/Evil , then ./Evil ) To restore your board, did you try to press the "recover" switch on the board ? Normally when you press it and start the board, this one switches to a special mode which allow you to restore a firmware on a USB Stick. The request was not for me but fyi here is my full lsusb -vvv --- Quote ---# lsusb -vvv Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 bDeviceProtocol 1 Single TT bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0002 2.0 root hub bcdDevice 5.04 iManufacturer 3 Linux 5.4.130-inmusic-2021-07-08-rt59 dwc2_hsotg iProduct 2 DWC OTG Controller iSerial 1 ff580000.usb bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0019 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 1 wHubCharacteristic 0x0008 Ganged power switching Per-port overcurrent protection TT think time 8 FS bits bPwrOn2PwrGood 1 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x00 PortPwrCtrlMask 0xff Hub Port Status: Port 1: 0000.0000 can't get device qualifier: Resource temporarily unavailable can't get debug descriptor: Resource temporarily unavailable Device Status: 0x0001 Self Powered Bus 002 Device 003: ID 09e8:0040 AKAI Professional M.I. Corp. Akai Pro Force Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x09e8 AKAI Professional M.I. Corp. idProduct 0x0040 bcdDevice 0.43 iManufacturer 1 Akai Pro iProduct 2 Akai Pro Force iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0078 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 1 Audio bInterfaceSubClass 1 Control Device bInterfaceProtocol 0 iInterface 0 AudioControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 1 (HEADER) bcdADC 1.00 wTotalLength 0x0009 bInCollection 1 baInterfaceNr(0) 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 1 Audio bInterfaceSubClass 3 MIDI Streaming bInterfaceProtocol 0 iInterface 0 MIDIStreaming Interface Descriptor: bLength 7 bDescriptorType 36 bDescriptorSubtype 1 (HEADER) bcdADC 1.00 wTotalLength 0x0054 MIDIStreaming Interface Descriptor: bLength 6 bDescriptorType 36 bDescriptorSubtype 2 (MIDI_IN_JACK) bJackType 1 Embedded bJackID 1 iJack 6 (error) MIDIStreaming Interface Descriptor: bLength 6 bDescriptorType 36 bDescriptorSubtype 2 (MIDI_IN_JACK) bJackType 1 Embedded bJackID 2 iJack 7 (error) MIDIStreaming Interface Descriptor: bLength 6 bDescriptorType 36 bDescriptorSubtype 2 (MIDI_IN_JACK) bJackType 1 Embedded bJackID 3 iJack 8 (error) MIDIStreaming Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 3 (MIDI_OUT_JACK) bJackType 1 Embedded bJackID 4 bNrInputPins 1 baSourceID( 0) 1 BaSourcePin( 0) 1 iJack 22 (error) MIDIStreaming Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 3 (MIDI_OUT_JACK) bJackType 1 Embedded bJackID 5 bNrInputPins 1 baSourceID( 0) 2 BaSourcePin( 0) 1 iJack 23 (error) MIDIStreaming Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 3 (MIDI_OUT_JACK) bJackType 1 Embedded bJackID 6 bNrInputPins 1 baSourceID( 0) 3 BaSourcePin( 0) 1 iJack 24 (error) Endpoint Descriptor: bLength 9 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 bRefresh 0 bSynchAddress 0 MIDIStreaming Endpoint Descriptor: bLength 7 bDescriptorType 37 bDescriptorSubtype 1 (GENERAL) bNumEmbMIDIJack 3 baAssocJackID( 0) 1 baAssocJackID( 1) 2 baAssocJackID( 2) 3 Endpoint Descriptor: bLength 9 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 bRefresh 0 bSynchAddress 0 MIDIStreaming Endpoint Descriptor: bLength 7 bDescriptorType 37 bDescriptorSubtype 1 (GENERAL) bNumEmbMIDIJack 3 baAssocJackID( 0) 4 baAssocJackID( 1) 5 baAssocJackID( 2) 6 can't get device qualifier: Resource temporarily unavailable can't get debug descriptor: Resource temporarily unavailable Device Status: 0x0001 Self Powered Bus 002 Device 006: ID 09e8:703b AKAI Professional M.I. Corp. Card Reader Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.10 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x09e8 AKAI Professional M.I. Corp. idProduct 0x703b bcdDevice 8.28 iManufacturer 3 Akai MPC iProduct 4 Card Reader iSerial 5 000000000014 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0020 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Binary Object Store Descriptor: bLength 5 bDescriptorType 15 wTotalLength 0x002a bNumDeviceCaps 3 USB 2.0 Extension Device Capability: bLength 7 bDescriptorType 16 bDevCapabilityType 2 bmAttributes 0x00000f0e BESL Link Power Management (LPM) Supported BESL value 3840 us SuperSpeed USB Device Capability: bLength 10 bDescriptorType 16 bDevCapabilityType 3 bmAttributes 0x00 wSpeedsSupported 0x000e Device can operate at Full Speed (12Mbps) Device can operate at High Speed (480Mbps) Device can operate at SuperSpeed (5Gbps) bFunctionalitySupport 1 Lowest fully-functional device speed is Full Speed (12Mbps) bU1DevExitLat 10 micro seconds bU2DevExitLat 2047 micro seconds Container ID Device Capability: bLength 20 bDescriptorType 16 bDevCapabilityType 4 bReserved 0 ContainerID {8cf6c06a-4a90-f138-a5b1-4f6856b8ed90} can't get debug descriptor: Resource temporarily unavailable Device Status: 0x0000 (Bus Powered) Bus 002 Device 005: ID 13e0:2517 TSE Inc. USB Mass Storage Device Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x13e0 idProduct 0x2517 bcdDevice 1.00 iManufacturer 1 TSE Inc. iProduct 4 USB Mass Storage Device iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0020 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 5 SFF-8070i bInterfaceProtocol 80 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 can't get debug descriptor: Resource temporarily unavailable Device Status: 0x0000 (Bus Powered) Bus 002 Device 004: ID 13e0:2515 TSE Inc. USB Embedded Hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 bDeviceProtocol 1 Single TT bMaxPacketSize0 64 idVendor 0x13e0 idProduct 0x2515 bcdDevice 1.00 iManufacturer 1 TSE Inc. iProduct 3 USB Embedded Hub iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0022 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 12 ** UNRECOGNIZED: 09 29 01 0d 00 32 64 02 ff Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 1 wHubCharacteristic 0x000d Per-port power switching Compound device Per-port overcurrent protection TT think time 8 FS bits bPwrOn2PwrGood 50 * 2 milli seconds bHubContrCurrent 100 milli Ampere DeviceRemovable 0x02 PortPwrCtrlMask 0xff Hub Port Status: Port 1: 0000.0503 highspeed power enable connect Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 bNumConfigurations 1 can't get debug descriptor: Resource temporarily unavailable Device Status: 0x0001 Self Powered Bus 002 Device 002: ID 09e8:5040 AKAI Professional M.I. Corp. Force Hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.10 bDeviceClass 9 Hub bDeviceSubClass 0 bDeviceProtocol 2 TT per port bMaxPacketSize0 64 idVendor 0x09e8 AKAI Professional M.I. Corp. idProduct 0x5040 bcdDevice 50.00 iManufacturer 1 Akai Professional iProduct 2 Force Hub iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0029 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 bInterfaceProtocol 1 Single TT iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 12 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 1 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 bInterfaceProtocol 2 TT per port iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 12 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 7 wHubCharacteristic 0x000d Per-port power switching Compound device Per-port overcurrent protection TT think time 8 FS bits bPwrOn2PwrGood 50 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0xe0 PortPwrCtrlMask 0xff Hub Port Status: Port 1: 0000.0503 highspeed power enable connect Port 2: 0000.0100 power Port 3: 0000.0503 highspeed power enable connect Port 4: 0000.0100 power Port 5: 0000.0103 power enable connect Port 6: 0000.0100 power Port 7: 0000.0100 power Binary Object Store Descriptor: bLength 5 bDescriptorType 15 wTotalLength 0x002a bNumDeviceCaps 3 USB 2.0 Extension Device Capability: bLength 7 bDescriptorType 16 bDevCapabilityType 2 bmAttributes 0x00000002 HIRD Link Power Management (LPM) Supported SuperSpeed USB Device Capability: bLength 10 bDescriptorType 16 bDevCapabilityType 3 bmAttributes 0x00 wSpeedsSupported 0x000e Device can operate at Full Speed (12Mbps) Device can operate at High Speed (480Mbps) Device can operate at SuperSpeed (5Gbps) bFunctionalitySupport 1 Lowest fully-functional device speed is Full Speed (12Mbps) bU1DevExitLat 10 micro seconds bU2DevExitLat 231 micro seconds Container ID Device Capability: bLength 20 bDescriptorType 16 bDevCapabilityType 4 bReserved 0 ContainerID {63736d73-7835-7878-0000-002c11095b74} can't get debug descriptor: Resource temporarily unavailable Device Status: 0x0001 Self Powered Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0002 2.0 root hub bcdDevice 5.04 iManufacturer 3 Linux 5.4.130-inmusic-2021-07-08-rt59 ehci_hcd iProduct 2 EHCI Host Controller iSerial 1 ff500000.usb bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0019 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 1 wHubCharacteristic 0x0009 Per-port power switching Per-port overcurrent protection bPwrOn2PwrGood 10 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x00 PortPwrCtrlMask 0xff Hub Port Status: Port 1: 0000.0503 highspeed power enable connect can't get device qualifier: Resource temporarily unavailable can't get debug descriptor: Resource temporarily unavailable Device Status: 0x0001 Self Powered --- End quote --- It can be different on yours, because it's possible to forge usb devices with Linux Gadget modules ( google it ofr more details) Good luck :) :) |
| Nominal Animal:
--- Quote from: ounsatn on January 20, 2022, 08:09:07 am ---On my side I own a MPC Akai Force with a customm Firmware allowing to connect on the SSH. --- End quote --- Here is what the lsusb -vvv describes about the USB bus topology on that board (although order within each vertical segment is unspecified): --- Code: ---RK3288 │ ├─ Bus 001 Device 001: USB 2.0 hub based on a DesignWare On-The-Go chip, uses standard Linux kernel driver │ │ │ (no connected devices) │ └─ Bus 002 Device 001: USB 2.0 hub based on a DesignWare On-The-Go chip, uses standard Linux kernel driver │ └─ Bus 002 Device 002 (09e8:5040): AKAI Professional M.I. Corp. Force Hub │ ├─ Bus 002 Device 006 (09e8:703b): AKAI Professional M.I. Corp. Card Reader │ ├─ (not connected to any device) │ ├─ Bus 002 Device 004 (13e0:2515): TSE Inc. USB Embedded Hub │ │ │ └─ Bus 002 Device 005 (13e0:2517): TSE Inc. USB Mass Storage Device │ ├─ (not connected to any device) │ ├─ Bus 002 Device 003 (09e8:0040): AKAI Professional M.I. Corp. Akai Pro Force │ ├─ (not connected to any device) │ └─ (not connected to any device) --- End code --- The DesignWare chips are ubiquitous, and basically handle the On-The-Go functionality (fifth pin in USB micro connectors, telling whether this end should be the device or the host; the Linux side can use that to make the port either a host or a device using USB gadget drivers); very commonly used on SBCs where one or more ports can act as both host and device. This board has only two of them. Bus 001 Device 001 is the first On-The-Go USB "hub", with just one port. That port is not currently connected to anything. Bus 002 Device 002 is the second On-The-Go USB "hub", with just one port. It is connected to an AKAI-branded USB hub (Bus 002 Device 003), which is not listed in the Linux USB IDs list. I also cannot find the USB product number (5040 in hexadecimal, 20544 in decimal) anywhere in Linux USB hub drivers, so it looks like this hub also uses some proprietary driver that Akai is breaking the GPL license and copyright law with. Naughty, naughty. It does say it has seven USB ports, three of which are in use (first, third, and fifth), with the first two in high speed mode (480 Mbit/s), and the third in full speed mode (12 Mbit/s). Which one is which is my educated guess; the hierarchy is fully described under /sys/bus/usb/ but it isn't important enough to worry about here. Bus 002 Device 003 is the full-speed device (09e8:0040) connected to aforementioned Akai USB hub, and is a MIDI controller based on its endpoints: three MIDI IN jacks, and three MIDI OUT jacks, and a couple of general (control) endpoints. Basically a simple USB-MIDI interface, in other words. (USB ID not listed in Linux USB IDs list, so who knows what driver this uses.) Bus 002 Device 006 is a high-speed device (09e8:703b) connected to aforementioned Akai USB hub, and is a card reader. Again, USB ID not listed in Linux USB IDs list, so who knows what driver this one uses. Bus 002 Device 004 is a yet another hub, this time one manufactured by TSE Inc. It has only one port, which is connected to Bus 002 Device 005, an USB mass storage device also made by TSE Inc. I do believe these two are either connected or even on the same actual chip, with the hub part controlling the power delivery and upstream connectivity, and the mass storage device being a standard USB mass storage device (Flash storage, perhaps eMMC, perhaps something else) using standard Linux USB mass storage drivers. The USB ID, 13e0:2517, has been seen on old 1 GB USB sticks ("Flashdrive 1GB"). What does this tell us about these devices? * The topology is indeed one where at least one of the DWC OTG ports is connected to a "nonstandard" multi-port USB hub, like I suspected. In this particular device the hub is 09e8:5040, whereas jboy32 has 0763:0016. These numbers are unlikely to be spoofed, as they are usually provided by the USB hub itself, i.e. its own internal firmware. * The storage on this device is based on an existing USB storage chip seen on 1GB USB sticks. These devices do not have particularly good wear leveling, so depending on how the filesystem has been configured and mounted, might wear out. * Akai uses USB hub drivers not in official Linux sources, and seems to use other USB devices they use their own USB manufacturer ID for, too. This means that they have a custom Linux kernel tree to support those devices. Not providing those sources for their customers is a violation of the GPL license. Because violating that license means they do not have a license permitting them to distribute the Linux kernel as part of their device, they are breaking international copyright law and agreements.Naughty Akai, naughty. The funny thing here is that the driver code really isn't something you want or need to keep "secret". Akai wins absolutely nothing, and actually loses a lot (of experience and help from volunteers like myself who habitually fix bugs just as a hobby for example), by hiding the kernel sources. Only the crappy developers who they commissioned the drivers from benefit from keeping the sources hidden, as that way their crappiness is kept hidden, and not derided in public. I wish somebody would hit them with a copyright lawsuit, just to whack the Akai ossified officers with a clue bat. Note that there is nothing wrong in keeping the userspace code (the user interface et cetera) proprietary; that's theirs. But the kernel is not. |
| Nominal Animal:
If you do want the actual tree, use lsusb -t (as root) to display the physical USB hierarchy as a tree. Both of these, lsusb -t and lsusb -vvv are useful, but they do need to be listed separately. (That is, lsusb -t -vvv won't work.) |
| ounsatn:
Hello, Very interesting, i will do the command again soon because there is a sort of mux switch and when you change a certain value in a file, it will disconnect midi interfaces and allow the board to become a slave and to be seen as an usb drive when connected on a computer ( On these products : Akai/headrush/Denonprime, it's called " computer mode" ). The cons is when we are in computer mode , all the midi controller ( buttons , controls , fader etc ..) are disabled or inactive. (I am a bit deriving form the original subject :-// ). Another thing i saw is that you can use usb gadget to forge fake devices, it seems to be used on these boards. I'll post more details about later :) |
| Navigation |
| Message Index |
| Next page |
| Previous page |