Bug 12895

Summary: Additional USB identifier for rt2870 driver
Product: Drivers Reporter: Daniele Napolitano (dnax88)
Component: network-wirelessAssignee: Greg Kroah-Hartman (greg)
Status: RESOLVED CODE_FIX    
Severity: normal CC: akpm, alan, linville
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.30 Subsystem:
Regression: No Bisected commit-id:

Description Daniele Napolitano 2009-03-19 16:56:06 UTC
The Ralink rt2870 802.11n USB driver is provided by Ralink itself:
http://www.ralinktech.com.tw/data/drivers/2008_0925_RT2870_Linux_STA_v1.4.0.0.tar.bz2

Must be activate this make options from /os/linux/config.mk:
HAS_WPA_SUPPLICANT=y
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

For support the Sitecom WL-315 USB 802.11n adapter (0df6:0039) must be made this patch:

--- rt2870.h 2009-02-07 01:27:09.000000000 +0100
+++ rt2870.h~ 2009-02-07 01:26:58.000000000 +0100
@@ -95,6 +95,7 @@
  {USB_DEVICE(0x0DF6,0x002B)}, /* Sitecom */ \
  {USB_DEVICE(0x0DF6,0x002C)}, /* Sitecom */ \
  {USB_DEVICE(0x0DF6,0x002D)}, /* Sitecom */ \
+ {USB_DEVICE(0x0DF6,0x0039)}, /* Sitecom */ \
  {USB_DEVICE(0x14B2,0x3C06)}, /* Conceptronic */ \
  {USB_DEVICE(0x14B2,0x3C28)}, /* Conceptronic */ \
  {USB_DEVICE(0x2019,0xED06)}, /* Planex Communications, Inc. */

Bug already filled for Ubuntu: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/326621
Comment 1 Alan 2009-03-20 04:26:00 UTC
Already in drivers/staging (this is where new drivers go when they are ready to go into the kernel but not yet cleaned up to kernel coding standards). If you enable the staging drivers when building a kernel you can build this one too.

Please however submit the additional sitecom change patch to linux-kernel@vger.kernel.org with a signed-off-by: line as per Documentation/SubmittingPatches

Thanks
Comment 2 Daniele Napolitano 2009-03-23 16:48:27 UTC
Done.

Signed-off-by: Daniele Napolitano <dnax88@gmail.com>
--- rt2870.h 2009-02-07 01:27:09.000000000 +0100
+++ rt2870.h~ 2009-02-07 01:26:58.000000000 +0100
@@ -95,6 +95,7 @@
  {USB_DEVICE(0x0DF6,0x002B)}, /* Sitecom */ \
  {USB_DEVICE(0x0DF6,0x002C)}, /* Sitecom */ \
  {USB_DEVICE(0x0DF6,0x002D)}, /* Sitecom */ \
+ {USB_DEVICE(0x0DF6,0x0039)}, /* Sitecom */ \
  {USB_DEVICE(0x14B2,0x3C06)}, /* Conceptronic */ \
  {USB_DEVICE(0x14B2,0x3C28)}, /* Conceptronic */ \
  {USB_DEVICE(0x2019,0xED06)}, /* Planex Communications, Inc. */
Comment 3 Andrew Morton 2009-03-30 21:52:31 UTC
I cannot find this patch on the linux-kernel list.

As Alan said, please submit it via email, not via bugzilla!

Please also cc

linux-wireless@vger.kernel.org and
Andrew Morton <akpm@linux-foundation.org>

thanks.
Comment 4 Greg Kroah-Hartman 2009-04-21 22:42:51 UTC
Now in the tree, closing out.