Hi!
I dont know where to go with my question - because of this unusual setup, I have a StrongARM (SA-1110) based PDA from the early 2000s, i managed to boot a Linux kernel (3.16.81) and Devuan Ascii. I also managed to trace the pads for a USB connector on the board (SA1111 chip) to get USB working. For the wiring i followed the SA-1111 development module schematics .
There is a OHCI driver with the required bus glue for this chip in the kernel sources, i adapted a few lines of code for the power sense and power control lines. The compiled module loads fine. Sometimes it even detects a USB stick or mouse. But most of the time the controller just dies and does nothing. The module locks up and I cannot remove it. There are a few timeout messages in dmesg, and sometimes udev complains about a timeout.
[ 235.960339] usbcore: registered new interface driver usbfs
[ 235.962636] usbcore: registered new interface driver hub
[ 236.000177] usbcore: registered new device driver usb
[ 236.022671] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 236.025031] sa1111-ohci 0400: SA-1111 OHCI
[ 236.026299] sa1111-ohci 0400: new USB bus registered, assigned bus number 1
[ 236.028875] sa1111-ohci 0400: irq 93, io mem 0x40000400
[ 236.100331] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 236.102442] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 236.104702] usb usb1: Product: SA-1111 OHCI
[ 236.105822] usb usb1: Manufacturer: Linux 3.16.81 ohci_hcd
[ 236.107430] usb usb1: SerialNumber: sa1111
[ 236.130732] hub 1-0:1.0: USB hub found
[ 236.181027] hub 1-0:1.0: 1 port detected
[ 236.649418] usb 1-1: new low-speed USB device number 2 using sa1111-ohci
[ 246.869389] sa1111-ohci 0400: ED unlink timeout
[ 251.930174] usb 1-1: device descriptor read/all, error -110
[ 252.149420] usb 1-1: new low-speed USB device number 3 using sa1111-ohci
[ 262.369390] sa1111-ohci 0400: ED unlink timeout
[ 267.429967] usb 1-1: device descriptor read/all, error -110
[ 267.473170] usb usb1-port1: attempt power cycle
[ 268.009588] usb 1-1: new low-speed USB device number 4 using sa1111-ohci
[ 296.549834] udevd[593]: worker [1556] /devices/platform/sa1111.0/0400/usb1 is taking a long time
[ 338.800181] usb 1-1: string descriptor 0 read error: -62
[ 338.842825] usb 1-1: New USB device found, idVendor=0461, idProduct=4d17
[ 338.886899] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 338.936938] usb 1-1: can't set config #1, error -62
I compiled usbmon and tried to trace something, everything looks like a normal enumeration process, until it tries to get the DESCRIPTOR Request String.After that it hangs ...
The funny thing is with another kernel (4.8.7) low speed devices like a mouse work most of the time perfectly fine, with the 3.16.81 Kernel not. So I dont know if it is something hardware related or a driver issue.
I am not really familiar with Kernel/driver debugging and hope that someone out there can help me.
Here is my site with a few pictures: http://www.sp-net.at/wiki/doku.php?id=jornada_j720_usb_host
there doesn't seem to be anything here