Summary: | [usb8] DVD drive detects as 'da' device | ||
---|---|---|---|
Product: | Base System | Reporter: | M. Warner Losh <imp> |
Component: | usb | Assignee: | freebsd-usb (Nobody) <usb> |
Status: | Open --- | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | 8.0-CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
M. Warner Losh
2009-01-02 19:30:04 UTC
Maybe the AutoInstall CD detecter is interfering with your device. Can you use "usbconfig" to dump the device and config descriptors of your CD device? You can also try: kldload usb2_quirk usbconfig add_dev_quirk_vplh <vid> <pid> <lo_rev> <hi_rev> UQ_CFG_INDEX_0 --HPS : Maybe the AutoInstall CD detecter is interfering with your device. Hmmm... : Can you use "usbconfig" to dump the device and config descriptors of your CD : device? How? : You can also try: : : kldload usb2_quirk : usbconfig add_dev_quirk_vplh <vid> <pid> <lo_rev> <hi_rev> UQ_CFG_INDEX_0 What the heck are these different fields? vid, pid, etc? Warner > : Can you use "usbconfig" to dump the device and config descriptors of your > : CD device? > > How? Run "usbconfig -h". usbconfig -u xxx -a yyy dump_curr_config_desc usbconfig -u xxx -a yyy dump_device_desc > > : You can also try: > : > : kldload usb2_quirk > : usbconfig add_dev_quirk_vplh <vid> <pid> <lo_rev> <hi_rev> UQ_CFG_INDEX_0 > > What the heck are these different fields? vid, pid, etc? Vendor ID, product ID, lower inclusive revision number, higher inclusive revision numer that is used when matching the quirk. --HPS : Run "usbconfig -h". That doesn't tell me enough to know what you need to diagnose this problem. : usbconfig -u xxx -a yyy dump_curr_config_desc : usbconfig -u xxx -a yyy dump_device_desc How do I know the address? Is it the .Y in ugenX.Y? If so, here's what you requested: ugen0.3: <USB Mass Storage Device Myson Century, Inc.> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0020 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0004 <USB Mass Storage> bmAttributes = 0x00c0 bMaxPower = 0x0005 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x0008 bInterfaceSubClass = 0x0005 bInterfaceProtocol = 0x0050 iInterface = 0x0005 <Mass Storage Class> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0003 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0084 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 ugen0.3: <USB Mass Storage Device Myson Century, Inc.> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x04cf idProduct = 0x8818 bcdDevice = 0xb007 iManufacturer = 0x0001 <Myson Century, Inc.> iProduct = 0x0002 <USB Mass Storage Device> iSerialNumber = 0x0003 <100> bNumConfigurations = 0x0001 : > : > : You can also try: : > : : > : kldload usb2_quirk : > : usbconfig add_dev_quirk_vplh <vid> <pid> <lo_rev> <hi_rev> UQ_CFG_INDEX_0 : > : > What the heck are these different fields? vid, pid, etc? : : Vendor ID, product ID, lower inclusive revision number, higher inclusive : revision numer that is used when matching the quirk. I'll give it a try... Warner > How do I know the address? Is it the .Y in ugenX.Y? Yes. > If so, here's what you requested: I see that your CD-rom device is quirked to the wrong subclass (SCSI) in usb2/storage/umass2.c: #define UISUBCLASS_SFF8070I 5 #define UISUBCLASS_SCSI 6 bInterfaceSubClass = 0x0005 #define UIPROTO_MASS_BBB_OLD 2 /* Not in the spec anymore */ #define UIPROTO_MASS_BBB 80 /* 'P' for the Iomega Zip drive */ bInterfaceProtocol = 0x0050 Solution: Try removing or limiting the following quirk: {USB_VENDOR_MYSON, USB_PRODUCT_MYSON_HEDEN, RID_WILDCARD, UMASS_PROTO_SCSI | UMASS_PROTO_BBB, NO_INQUIRY | IGNORE_RESIDUE }, --HPS On Saturday 03 January 2009, M. Warner Losh wrote:
> In message: <200901030028.38064.hselasky@c2i.net>
I think this issue might be fixed in -current now, as of today.
Please give it a spin.
--HPS
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped |