lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 24 Oct 2007 19:22:10 -0400 (EDT)
From:	Parag Warudkar <kernel-stuff@...cast.net>
To:	linux-kernel@...r.kernel.org
cc:	rt2400-devel@...ts.sourceforge.net
Subject: [PATCH] rt2500usb - Don't claim 050d:705{0/a}

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 <kernel-stuff@...cast.net>

--- 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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ