Great, thanks for this patch! I had some free time today and I have tried to connect three cradles/USB cables I own to my laptop:
- CE-ST7 (cradle, with an SL-5500)
- CE-ST8 (cradle, SL-A300)
- CE-UA1 (USB interface and cable, with an SL-5500, SL-B500/SL-5600, SL-6000N and an SL-A300)
My laptop is running Void Linux with kernel 5.10.20_1. I have managed to successfully connect the 5500 (with both its cradle and the cable), while the other 3 Zauruses show the same "bad CDC descriptors" error. I have also the SL-C clamshell models, I suspect they'll have the same issues. I guess they'll need a patch too, I'll see if I'll find some time to prepare one myself for them too, it would be very handy to be able to connect to all the Zauruses via USB.
Here's the output of dmesg for all the devices:
CE-ST7 (cradle) SL-5500:
[ 256.488449] usb 2-2: new full-speed USB device number 3 using xhci_hcd
[ 256.667755] usb 2-2: New USB device found, idVendor=04dd, idProduct=8004, bcdDevice= 0.00
[ 256.667763] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 256.667767] usb 2-2: Product: SL-5500
[ 256.667770] usb 2-2: Manufacturer: Sharp
[ 256.667773] usb 2-2: SerialNumber: 400002000001
[ 256.722789] usbcore: registered new interface driver cdc_ether
[ 256.744888] zaurus 2-2:1.0 usb0: register 'zaurus' at usb-0000:00:10.0-2, Sharp Zaurus SL-5x00, 4a:71:73:4d:b2:da
[ 256.752775] usbcore: registered new interface driver zaurus
[ 256.761554] zaurus 2-2:1.0 enp0s16u2: renamed from usb0
CE-ST8 (cradle) SL-A300:
[ 3289.448559] usb 2-2: new full-speed USB device number 29 using xhci_hcd
[ 3289.610845] usb 2-2: New USB device found, idVendor=04dd, idProduct=8005, bcdDevice= 0.00
[ 3289.610853] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3289.610857] usb 2-2: Product: SL-A300
[ 3289.610860] usb 2-2: Manufacturer: Sharp
[ 3289.634091] usb 2-2: bad CDC descriptors
CE-UA1 (cable)
--------------
SL-B500 (SL-5600):
[ 2318.272523] usb 2-2: new full-speed USB device number 26 using xhci_hcd
[ 2318.433237] usb 2-2: New USB device found, idVendor=04dd, idProduct=8006, bcdDevice= 0.00
[ 2318.433246] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2318.433250] usb 2-2: Product: SL-B500
[ 2318.433253] usb 2-2: Manufacturer: Sharp
[ 2318.456418] usb 2-2: bad CDC descriptors
SL-5500:
[ 2387.942100] usb 2-2: USB disconnect, device number 26
[ 2563.752533] usb 2-2: new full-speed USB device number 27 using xhci_hcd
[ 2563.930405] usb 2-2: New USB device found, idVendor=04dd, idProduct=8004, bcdDevice= 0.00
[ 2563.930413] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2563.930418] usb 2-2: Product: SL-5500
[ 2563.930421] usb 2-2: Manufacturer: Sharp
[ 2563.930424] usb 2-2: SerialNumber: 400002000001
[ 2563.957352] zaurus 2-2:1.0 usb0: register 'zaurus' at usb-0000:00:10.0-2, Sharp Zaurus SL-5x00, 4a:71:73:4d:b2:da
[ 2563.981569] zaurus 2-2:1.0 enp0s16u2: renamed from usb0
SL-6000N:
[ 3186.512562] usb 2-2: new full-speed USB device number 28 using xhci_hcd
[ 3186.674872] usb 2-2: New USB device found, idVendor=04dd, idProduct=9032, bcdDevice= 0.00
[ 3186.674880] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3186.674884] usb 2-2: Product: SL-6000
[ 3186.674887] usb 2-2: Manufacturer: Sharp
[ 3186.698092] usb 2-2: bad CDC descriptors
SL-A300:
[ 3289.448559] usb 2-2: new full-speed USB device number 29 using xhci_hcd
[ 3289.610845] usb 2-2: New USB device found, idVendor=04dd, idProduct=8005, bcdDevice= 0.00
[ 3289.610853] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3289.610857] usb 2-2: Product: SL-A300
[ 3289.610860] usb 2-2: Manufacturer: Sharp
[ 3289.634091] usb 2-2: bad CDC descriptors