lkml.org 
[lkml]   [2003]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectusb-storage fails to detect all luns after 2.4.19
Hi!

I've already mentioned this some time ago.

The problem: a multi device usb card reader is correctly detected with
its four subdevices with kernel 2.4.19(-acX). But any patch after this
fails to detect the subdevices.

Verbose output with 2.4.19-ac4 shows:
usb-storage: GetMaxLUN command result is 1, data is 3

2.4.21-pre4 gives:
usb-storage: GetMaxLUN command result is -32, data is 128
usb-storage: clearing endpoint halt for pipe 0x80000880

I tried to find the parts that changed between the version, but it seems
not to be rooted in usb-storage.

The call to usb_control_msg seems to timeout with the newer kernel
(just a wild guess!).

Finally I did a desparate modification: I return 3 from
usb_stor_Bulk_max_lun just before the endpoint is cleared. This got my
card reader up and running again, but it's very very dirty und certainly
breaks other usb storage devices (I don't own).

Anyone out there who knows the usb stuff better?

Regards,
Oliver.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.027 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site