* [PATCH] Add support for 2001:3c1e (D-Link DWA-125 rev B1) USB Wi-Fi adapter
@ 2012-12-09 9:07 Maia Kozheva
0 siblings, 0 replies; 4+ messages in thread
From: Maia Kozheva @ 2012-12-09 9:07 UTC (permalink / raw)
To: linux-wireless
Cc: Ivo van Doorn, Gertjan van Wingerde, Helmut Schaa, linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
D-Link DWA-125/B1 is a relatively new USB Wi-Fi adapter, using a Ralink chipset supported by the rt2800usb driver. Currently, to work around the problem (it's missing in all present kernel versions, up to and including 3.7.x), I had to add this to /etc/rc.local:
echo 2001 3c1e >> /sys/bus/usb/drivers/rt2800usb/new_id
After that, the device works without problems. Been using it for over a week with no bugs in sight.
The attached patch is trivial and simply adds the new USB ID to the list of devices handled by rt2800usb.
Signed-off-by: Maia Kozheva <sikon@ubuntu.com>
diff -uprN a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c
- --- a/drivers/net/wireless/rt2x00/rt2800usb.c 2012-12-09 15:30:39.051951506 +0700
+++ b/drivers/net/wireless/rt2x00/rt2800usb.c 2012-12-09 15:31:07.679951314 +0700
@@ -965,6 +965,7 @@ static struct usb_device_id rt2800usb_de
{ USB_DEVICE(0x07d1, 0x3c15) },
{ USB_DEVICE(0x07d1, 0x3c16) },
{ USB_DEVICE(0x2001, 0x3c1b) },
+ { USB_DEVICE(0x2001, 0x3c1e) },
/* Draytek */
{ USB_DEVICE(0x07fa, 0x7712) },
/* DVICO */
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iQEcBAEBCAAGBQJQxFTcAAoJEDqDNnQ69yYSg1IIAJbBDufuf1Jp+0flTqrEv9Ti
21g8xQA7f825GreObXW75BOYhP/qtiQm/cYwIBaKn9HsX3HIAShiHJPdlvU8I6hZ
XqOevb8xyqZTOHdub+hM+38eS8DFYiskD72FJL92W0I+/zAusPaos55lECQE8jK1
h+f81f3p97BjxoKgEaR75sDTEuN1NAaobQjbCEd2x12TQqEqBDq213b/VP3rPhBM
+G5mM3QgHYGu8lxndIEcftunRd6G7wrbWe6pU5O2OpkFrwL48ODgdqWCQY/JvHI4
C7kxYyb0e3D+CtAjIzDaTWi8VYlp4FbMcLO+HY0Idnm5EFgeakTCI6QkHjk41wM=
=v9kT
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Add support for 2001:3c1e (D-Link DWA-125 rev B1) USB Wi-Fi adapter
@ 2012-12-11 2:15 Xose Vazquez Perez
2012-12-11 4:38 ` [PATCH v2] " Maia Kozheva
0 siblings, 1 reply; 4+ messages in thread
From: Xose Vazquez Perez @ 2012-12-11 2:15 UTC (permalink / raw)
To: sikon, linux-wireless, users
Maia Kozheva wrote:
> D-Link DWA-125/B1 is a relatively new USB Wi-Fi adapter, using a Ralink chipset \
> supported by the rt2800usb driver. Currently, to work around the problem (it's \
> missing in all present kernel versions, up to and including 3.7.x), I had to add this \
> to /etc/rc.local:
>
> echo 2001 3c1e >> /sys/bus/usb/drivers/rt2800usb/new_id
>
> After that, the device works without problems. Been using it for over a week with no \
> bugs in sight.
>
> The attached patch is trivial and simply adds the new USB ID to the list of devices \
> handled by rt2800usb.
>
>
> Signed-off-by: Maia Kozheva <sikon@ubuntu.com>
> diff -uprN a/drivers/net/wireless/rt2x00/rt2800usb.c \
> b/drivers/net/wireless/rt2x00/rt2800usb.c
> - --- a/drivers/net/wireless/rt2x00/rt2800usb.c 2012-12-09 15:30:39.051951506 +0700
> +++ b/drivers/net/wireless/rt2x00/rt2800usb.c 2012-12-09 15:31:07.679951314 +0700
> @@ -965,6 +965,7 @@ static struct usb_device_id rt2800usb_de
> { USB_DEVICE(0x07d1, 0x3c15) },
> { USB_DEVICE(0x07d1, 0x3c16) },
> { USB_DEVICE(0x2001, 0x3c1b) },
> + { USB_DEVICE(0x2001, 0x3c1e) },
> /* Draytek */
> { USB_DEVICE(0x07fa, 0x7712) },
> /* DVICO */
It looks like it's a RT5370 device:
http://www.wikidevi.com/wiki/D-Link_DWA-125_rev_B1
It should go in CONFIG_RT2800USB_RT53XX
NACK
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2] Add support for 2001:3c1e (D-Link DWA-125 rev B1) USB Wi-Fi adapter
2012-12-11 2:15 [PATCH] Add support for 2001:3c1e (D-Link DWA-125 rev B1) USB Wi-Fi adapter Xose Vazquez Perez
@ 2012-12-11 4:38 ` Maia Kozheva
2012-12-11 15:21 ` Xose Vazquez Perez
0 siblings, 1 reply; 4+ messages in thread
From: Maia Kozheva @ 2012-12-11 4:38 UTC (permalink / raw)
To: Xose Vazquez Perez; +Cc: linux-wireless
Someone who physically disassembled the device confirms that its chipset is Ralink RT5370n.
Fixed the patch.
Signed-off-by: Maia Kozheva <sikon@ubuntu.com>
diff -uprN a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c
--- a/drivers/net/wireless/rt2x00/rt2800usb.c 2012-11-28 04:21:31.000000000 +0700
+++ b/drivers/net/wireless/rt2x00/rt2800usb.c 2012-12-11 11:34:35.889131671 +0700
@@ -1169,6 +1169,7 @@ static struct usb_device_id rt2800usb_de
{ USB_DEVICE(0x2001, 0x3c19) },
{ USB_DEVICE(0x2001, 0x3c1c) },
{ USB_DEVICE(0x2001, 0x3c1d) },
+ { USB_DEVICE(0x2001, 0x3c1e) },
/* LG innotek */
{ USB_DEVICE(0x043e, 0x7a22) },
/* Panasonic */
Op 11-12-12 09:15, Xose Vazquez Perez schreef:
> It looks like it's a RT5370 device:
> http://www.wikidevi.com/wiki/D-Link_DWA-125_rev_B1
>
> It should go in CONFIG_RT2800USB_RT53XX
>
> NACK
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] Add support for 2001:3c1e (D-Link DWA-125 rev B1) USB Wi-Fi adapter
2012-12-11 4:38 ` [PATCH v2] " Maia Kozheva
@ 2012-12-11 15:21 ` Xose Vazquez Perez
0 siblings, 0 replies; 4+ messages in thread
From: Xose Vazquez Perez @ 2012-12-11 15:21 UTC (permalink / raw)
To: Maia Kozheva; +Cc: linux-wireless, users
On 12/11/2012 05:38 AM, Maia Kozheva wrote:
> Someone who physically disassembled the device confirms that its chipset is Ralink RT5370n.
>
> Fixed the patch.
>
> Signed-off-by: Maia Kozheva <sikon@ubuntu.com>
> diff -uprN a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c
> --- a/drivers/net/wireless/rt2x00/rt2800usb.c 2012-11-28 04:21:31.000000000 +0700
> +++ b/drivers/net/wireless/rt2x00/rt2800usb.c 2012-12-11 11:34:35.889131671 +0700
> @@ -1169,6 +1169,7 @@ static struct usb_device_id rt2800usb_de
> { USB_DEVICE(0x2001, 0x3c19) },
> { USB_DEVICE(0x2001, 0x3c1c) },
> { USB_DEVICE(0x2001, 0x3c1d) },
> + { USB_DEVICE(0x2001, 0x3c1e) },
> /* LG innotek */
> { USB_DEVICE(0x043e, 0x7a22) },
> /* Panasonic */
>
>
Reviewed-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-12-11 15:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-11 2:15 [PATCH] Add support for 2001:3c1e (D-Link DWA-125 rev B1) USB Wi-Fi adapter Xose Vazquez Perez
2012-12-11 4:38 ` [PATCH v2] " Maia Kozheva
2012-12-11 15:21 ` Xose Vazquez Perez
-- strict thread matches above, loose matches on Subject: below --
2012-12-09 9:07 [PATCH] " Maia Kozheva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).