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

Bug#766802: linux-image-amd64: rt2800usb driver does not include 1b75:a200 USB id's as a supported device



Package: linux-image-amd64
Version: 3.2+46
Severity: wishlist

Dear Maintainer,

   I tried an old-ish OvisLink WN-200USB WiFi USB dongle but it is not picked up
 by linux kernel (tried initially 3.2+46 provided by Wheezy but later tried even
 3.15.3 with same result. Thanks to Geoff Simmons I got it working. Below is
 whole recipe. Please contact linux kernel maintainers to add the missing id
 numbers.


<pre>
Hi Martin,

On Fri, Oct 17, 2014 at 11:20:03PM +0200, Martin Mokrejs wrote:
> while reading https://wiki.debian.org/rt2800usb#supported it seems this
> device is not picked up by the rt2800usb.

Your Ovislink Corp. AirLive WN-200USB wireless LAN adapter (USB ID 1b75:a200,
Ralink RT3070 chip) is not currently defined as a supported device in any
version of the rt2800usb Linux kernel driver code [1] at this time.

This would explain the lack of device interface.

> I just cannot force the 3.10.12 kernel to bind the driver to the device
> and therefore, "iwconfig" does not list ra0 interface.

See above; the driver needs to be informed that your device is supported.
Also, Linux 3.10.2 is not a Linux kernel version currently part of any
Debian release.

On Debian systems, the rt2800usb driver will create a wlanX interface (e.g.
wlan0) by default, not ra0.  ra0 was an interface created by earlier Ralink
drivers included in previous Debian releases.

> I created /etc/modprobe.d/ralink.conf file but no luck.

As your device should be supported, you can try using the following commands
(executed as root/superuser) as a workaround to enable device operation:

  # echo rt2800usb >> /etc/modules
  # echo 'install rt2800usb /sbin/modprobe --ignore-install rt2800usb $CMDLINE_OPTS && echo 1b75 a200 > /sys/bus/usb/drivers/rt2800usb/new_id' > /etc/modprobe.d/ralink.conf
.. then reload the rt2800usb driver:

  # modprobe -r rt2800usb ; modprobe rt2800usb

.. and reconnect this wireless LAN device.

Based on the manufacturing age of your device, this should allow for device
support with the Linux 3.2 kernel included as part of Debian 7 "Wheezy".

If the commands above are successful for enabling device support, please
consider filing a Debian wishlist bug against an installed Debian Linux
kernel package on your system (e.g. "reportbug linux-image-amd64").

When eventually fixed in Debian, your /etc/modprobe.d/ralink.conf file will
no longer be necessary.

Geoff

[1] https://github.com/torvalds/linux/blob/master/drivers/net/wireless/rt2x00/rt2800usb.c


</pre>


# dmesg (from vanilla 3.15.3 kernel)
[10082.528998] usb 1-1: new high-speed USB device number 9 using xhci_hcd
[10082.686052] usb 1-1: New USB device found, idVendor=1b75, idProduct=a200
[10082.686058] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[10082.686061] usb 1-1: Product: 802.11 n WLAN
[10082.686064] usb 1-1: Manufacturer: Ralink
[10082.686066] usb 1-1: SerialNumber: 1.0
[10082.859407] usb 1-1: reset high-speed USB device number 9 using xhci_hcd
[10082.859432] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 8.
[10082.859435] usb 1-1: hub failed to enable device, error -22
[10082.979381] usb 1-1: reset high-speed USB device number 9 using xhci_hcd
[10082.979401] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 8.
[10082.979405] usb 1-1: hub failed to enable device, error -22
[10083.099465] usb 1-1: reset high-speed USB device number 9 using xhci_hcd
[10083.130501] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d448
[10083.130507] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d400
[10083.130511] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d490
[10083.130514] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d4d8
[10083.130517] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d520
[10083.130520] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d568
[10083.130523] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d5b0
[10083.131107] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
[10083.142952] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 0005 detected
[10083.144431] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[10083.146537] ieee80211 phy1: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[10083.223515] ieee80211 phy1: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[10083.553859] bridge-wlan1: device is wireless, enabling SMAC
[10083.553866] bridge-wlan1: up
[10083.553882] bridge-wlan1: attached
[10083.555421] bridge-wlan1: disabling the bridge
[10083.753880] userif-2: sent link down event.
[10083.753887] userif-2: sent link up event.
[10084.240378] bridge-wlan1: down
[10084.240477] bridge-wlan1: detached
[10094.278447] ieee80211 phy1: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0xffffffff]
[10096.700581] usb 1-1: reset high-speed USB device number 9 using xhci_hcd
[10096.700602] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 8.
[10096.700605] usb 1-1: hub failed to enable device, error -22
[10096.820533] usb 1-1: reset high-speed USB device number 9 using xhci_hcd
[10096.820553] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 8.
[10096.820556] usb 1-1: hub failed to enable device, error -22
[10096.940625] usb 1-1: reset high-speed USB device number 9 using xhci_hcd
[10096.971664] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d448
[10096.971669] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d400
[10096.971672] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d490
[10096.971675] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d4d8
[10096.971678] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d520
[10096.971681] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d568
[10096.971684] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d5b0
[10097.110899] usb 1-1: reset high-speed USB device number 9 using xhci_hcd
[10097.110920] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 8.
[10097.110925] usb 1-1: hub failed to enable device, error -22
[10097.230873] usb 1-1: reset high-speed USB device number 9 using xhci_hcd
[10097.230891] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 8.
[10097.230894] usb 1-1: hub failed to enable device, error -22
[10097.350959] usb 1-1: reset high-speed USB device number 9 using xhci_hcd
[10097.381981] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d448
[10097.381986] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d400
[10097.381989] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d490
[10097.381992] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d4d8
[10097.381995] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d520
[10097.381998] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030e79d568
..
[10124.634478] ieee80211 phy2: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
[10124.647379] ieee80211 phy2: rt2x00_set_rf: Info - RF chipset 0005 detected
[10124.648024] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht'
[10124.652178] ieee80211 phy2: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[10124.652225] ieee80211 phy2: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[10124.987467] bridge-wlan1: device is wireless, enabling SMAC
[10124.987473] bridge-wlan1: up
[10124.987482] bridge-wlan1: attached
[10124.988856] bridge-wlan1: disabling the bridge
[10125.187487] userif-2: sent link down event.
[10125.187494] userif-2: sent link up event.
[10125.473678] bridge-wlan1: down
[10125.473691] bridge-wlan1: detached
[10229.618366] wlan0: authenticate with e8:39:df:0b:2e:e8
[10229.626589] wlan0: send auth to e8:39:df:0b:2e:e8 (try 1/3)
[10229.628472] wlan0: authenticated
[10229.628821] ath9k 0000:03:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[10229.637798] wlan0: associate with e8:39:df:0b:2e:e8 (try 1/3)
[10229.640466] wlan0: RX AssocResp from e8:39:df:0b:2e:e8 (capab=0x411 status=0 aid=1)
[10229.640709] wlan0: associated
[10230.730999] bridge-wlan0: device is wireless, enabling SMAC
[10230.731005] bridge-wlan0: up
[10230.731009] bridge-wlan0: attached
[10230.931148] userif-2: sent link down event.
[10230.931155] userif-2: sent link up event.
[10238.264953] userif-2: sent link down event.
[10238.264961] userif-2: sent link up event.








# lsusb

Bus 001 Device 009: ID 1b75:a200 Ovislink Corp. AirLive WN-200USB wireless 11b/g/n dongle
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x1b75 Ovislink Corp.
  idProduct          0xa200 AirLive WN-200USB wireless 11b/g/n dongle
  bcdDevice            1.01
  iManufacturer           1 Ralink
  iProduct                2 802.11 n WLAN
  iSerial                 3 1.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           67
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              450mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           7
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 1.0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)






Hope this helps,
Martin


-- System Information:
Debian Release: 7.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.15.3-default-pciehp (SMP w/4 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-amd64 depends on:
ii  linux-image-3.2.0-4-amd64  3.2.60-1+deb7u3

linux-image-amd64 recommends no packages.

linux-image-amd64 suggests no packages.

-- no debconf information


Reply to: