[PATCH] rt2500usb - Don't claim 050d:705{0/a}

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

 



I have a Belkin USB Wireless adapter with ID 050d:705a.
Both rt2500usb.c and rt73usb.c claim that they can drive the device with this ID.

When using the distro kernel as well as custom 2.4.24-rc1 both rt73usb and rt2500usb get loaded and fight for the register writes and fail. rt2500usb is not able to drive my device. So I have to manually rmmod/modprobe or delete rt2500usb.ko and depmod every time I get a new kernel.

If only rt73usb is loaded everything works well. To me it sounds like rt2500usb should not be driving 050d:705a.

There is another ID 050d:7050 which is also claimed to be handled by both rt3500usb and rt73usb. Assuming rt73usb can drive this as well (I have no way to be sure as I don't have device with this ID) the following patch makes sure only rt73usb claims the 2 devices.

Signed-off-by: Parag Warudkar <[email protected]>

--- linux-2.6-wk/drivers/net/wireless/rt2x00/rt2500usb.c.orig	2007-10-24 18:51:45.000000000 -0400
+++ linux-2.6-wk/drivers/net/wireless/rt2x00/rt2500usb.c	2007-10-24 18:52:31.000000000 -0400
@@ -1758,9 +1758,7 @@
 	{ USB_DEVICE(0x0b05, 0x1706), USB_DEVICE_DATA(&rt2500usb_ops) },
 	{ USB_DEVICE(0x0b05, 0x1707), USB_DEVICE_DATA(&rt2500usb_ops) },
 	/* Belkin */
-	{ USB_DEVICE(0x050d, 0x7050), USB_DEVICE_DATA(&rt2500usb_ops) },
 	{ USB_DEVICE(0x050d, 0x7051), USB_DEVICE_DATA(&rt2500usb_ops) },
-	{ USB_DEVICE(0x050d, 0x705a), USB_DEVICE_DATA(&rt2500usb_ops) },
 	/* Cisco Systems */
 	{ USB_DEVICE(0x13b1, 0x000d), USB_DEVICE_DATA(&rt2500usb_ops) },
 	{ USB_DEVICE(0x13b1, 0x0011), USB_DEVICE_DATA(&rt2500usb_ops) },




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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux