On Wed, 1 Jul 2009, Giacomo Lozito wrote: > This patch adds support for a Realtek Usb Card Reader (0x0bda:0x0152), > treating it as unusual device. This card reader provides four slots to handle > different cards but only the first one (for compact flash) is detected, while the > others are not. This occurs due to the fact that the device doesn't seem to > provide correct information in GetMaxLUN and us->max_lun is set to 0. > The patch also provides a flag (US_FL_SKIP_MAX_LUN) needed to skip GetMaxLUN > and to allow us->max_lun to be set in its init function. The flag can > eventually be used for other devices that require the same handling. You don't actually need the new flag. Although it might be considered abuse, you can set the SINGLE_LUN flag for this device and then override the value in your initialization function. > This device is provided by Realtek for the desktop pc HP Pavilion m9567 (and > similar models, I suppose). The device is installed in the front bay but it's > actually a usb device (vid=0x0bda pid=0x0152). > > Looking around on the web, it seems that few linux users have run into this > device so far (there's no mention of it being supported or not, except for a > couple of cases about people with the same issue which stood unresolved). > So I decided to figure it out myself. Does this device work correctly under Windows? If so, how? 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