Re: [PATCH 2.6.30 1/1] usb-storage: handle unusual dev Realtek Usb Card Reader (0x0bda:0x0152)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2 Jul 2009, Giacomo Lozito wrote:

> >The point of my question is: How does Windows know there are four LUNs?
> 
> I'd like to understand that, too.
> 
> Googling around I discovered a "Realtek RTS5101/RTS5111/RTS5116 Card Reader 
> driver" for windows containing a rtusbstor.inf that covers my model 
> (0bda:0152) and others from the same family.

> However, in my setup of windows vista the device is handled by usbstor.sys 
> (and works correctly) and there's no rtusbstor.sys, so I'd assume that the 
> standard usbstor.sys already includes the support required for these devices.
> 
> I'll gladly provide more information, if you can tell me where to look.

Try running SnoopyPro to capture the communication between Windows and 
the device.

> I also noticed that my model is a composite device (on windows, it uses MI_00 
> for the card reader and MI_01 for a hid).
> This can be seen in linux as well, in my /proc/bus/usb/devices .
> 
> Looking at the first post in this thread
> http://ubuntu-virginia.ubuntuforums.org/showthread.php?p=7452052
> it can be seen that the model 0bda:0151 correctly detects all of the four 
> slots without my patch.
> 
> From the rtusbstor.inf I discovered that 0bda:0152 (my model, which really 
> deserves the "unusual" adjective) is the only card reader model among those 
> which is also a composite usb device.
> This might be a clue to understand why it doesn't work out of the box like the 
> others.
> 
> Just wondering... could be that GetMaxLun is failing due to the fact that this 
> is a composite device where one interface is multi-lun and the other is not?
> (yes, I've seen that the multi-lun check is made separatedly for each 
> interface, so I'd blame the device)

All I can say is that t's failing because of a bug in the device.  But
the exact nature of that bug is impossible to determine.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux