Ok, the problem is the same that I ecountered developing the file
upload for the powershot USB driver performing a bulk write with
a big data size, but this time it is present even reading.
s10sh reads 0x1400 bytes at once downloading jpges from the
digicam, but the ioctl() that performs the bulk read fails with 2.4
using this size. If I resize it (for example to 0x300) it works without
problems (with high performace penality, of course, 60% of slow-down).
I don't know why. I checked at the time of the file upload the kernel
code finding nothing.
Anyway with the old releases of the USB subsystem libusb failed to
initialize the camera some time, now it seems fixed.
For the users: just edit usb.c and check the function USB_get_data(),
substituting all the occurrence of 0x1400 to 0x300 as a work-around.
Please CC: me since I'm not subscribed to the list.
-- Salvatore Sanfilippo | <email@example.com> http://www.kyuzz.org/antirez | PGP: finger firstname.lastname@example.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com Please read the FAQ at http://www.tux.org/lkml/