bing wrote: > Hi, > > I am trying to use wireless USB driver for Cable Unlimited adaptor. > > When I do > > echo 00 11 22 33 44 55 66 77 88 99 aa bb cc dd ee ff > /sys/class/uwb_rc/uwb0/wusbhc/wusb_chid > > I got kernel message > 539.936114] uwb_rc uwb0: DRP Avail Notification filter: IE length > [65528 bytes] does not match actual length [36 bytes]. > [ 539.936132] uwb_rc uwb0: BUG: Unable to filter event (0x00/0007/00) > from device. > [ 541.128180] hwa-hc 1-3:1.0: Cannot set DNTS parameters: -110 > [ 541.132042] uwb_rc uwb0: SET-DRP-IE: timeout > [ 541.264172] hwa-hc 1-3:1.0: Cannot set WUSB stream index: -110 > [ 543.128238] hwa-hc 1-3:1.0: Cannot set WUSB stream index: -110 > > Do you know what it wrong? This patch might help a bit. Be aware that DWAs (Wireless USB hubs) aren't supported by Linux so you probably won't have anything to talk to. David -- David Vrabel, Senior Software Engineer, Drivers CSR, Churchill House, Cambridge Business Park, Tel: +44 (0)1223 692562 Cowley Road, Cambridge, CB4 0WZ http://www.csr.com/ Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
uwb: assume all HWAs require the WHCI quirk It appears that all HWAs devices require the radio controller quirk for WHCI-format commands and events instead of those defined by the Wireless USB 1.0 specification. Signed-off-by: David Vrabel <david.vrabel@xxxxxxx> diff --git a/drivers/uwb/hwa-rc.c b/drivers/uwb/hwa-rc.c index 2babcd4..ed1bc75 100644 --- a/drivers/uwb/hwa-rc.c +++ b/drivers/uwb/hwa-rc.c @@ -893,14 +893,10 @@ static int hwarc_post_reset(struct usb_interface *iface) /** USB device ID's that we handle */ static const struct usb_device_id hwarc_id_table[] = { - /* D-Link DUB-1210 */ - { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x3d02, 0xe0, 0x01, 0x02), + /* Generic match for the Radio Control interface. It appears + * that all HWA devices require the WHCI quirk. */ + { USB_INTERFACE_INFO(0xe0, 0x01, 0x02), .driver_info = WUSB_QUIRK_WHCI_CMD_EVT }, - /* Intel i1480 (using firmware 1.3PA2-20070828) */ - { USB_DEVICE_AND_INTERFACE_INFO(0x8086, 0x0c3b, 0xe0, 0x01, 0x02), - .driver_info = WUSB_QUIRK_WHCI_CMD_EVT }, - /* Generic match for the Radio Control interface */ - { USB_INTERFACE_INFO(0xe0, 0x01, 0x02), }, { }, }; MODULE_DEVICE_TABLE(usb, hwarc_id_table);