[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



Cyril Brulebois wrote:
> Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> (2014-10-29):
>> Cyril Brulebois wrote:
>>> So I've done that and Stanislaw replied[1] it would be nicer if the
>>> reporter could actually test the patch. Martin, any chance you could
>>> give it a shot to confirm?
>>>
>>>  1. http://marc.info/?l=linux-kernel&m=141458072930743&w=2
>>>
>>> It seems you already built a vanilla kernel but I could probably build
>>> a patched linux-image-3.16-3-amd64 package for you if needed.
>>
>>   OK, please send me a URL where to fetch the modified Debian kernel package.
>> Or a series of shell commands? ;-)
> 
> https://people.debian.org/~kibi/linux/ has the patched linux package,
> along with its sha1sum, and a GPG signature, and the source diff against
> the linux package currently in testing. I did check that the relevant
> line was present in the resulting package:
> 
>   alias=usb:v1B75pA200d*dc*dsc*dp*ic*isc*ip*in*

Hi Cyril,
  I patched manually 3.15.3 kernel and no longer need to force loading of the
rt2800usb driver in /etc/modprobe.d/ralink.conf nor explicitly call rt2800usb
in /etc/modules. Also I disabled in the RT2800 driver some option to support
loading of unsupported devices (don't have the .config handy to paste it correct
name).


Below is the dmesg showing the kernel loaded the driver based on the USB ID
seen:

[   72.406267] usb 1-1: new high-speed USB device number 5 using xhci_hcd
[   72.563323] usb 1-1: New USB device found, idVendor=1b75, idProduct=a200
[   72.563328] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   72.563331] usb 1-1: Product: 802.11 n WLAN
[   72.563334] usb 1-1: Manufacturer: Ralink
[   72.563337] usb 1-1: SerialNumber: 1.0
[   72.876831] usb 1-1: reset high-speed USB device number 5 using xhci_hcd
[   72.876855] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 5.
[   72.876859] usb 1-1: hub failed to enable device, error -22
[   72.996821] usb 1-1: reset high-speed USB device number 5 using xhci_hcd
[   72.996848] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 5.
[   72.996853] usb 1-1: hub failed to enable device, error -22
[   73.116928] usb 1-1: reset high-speed USB device number 5 using xhci_hcd
[   73.147949] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030f5e3a48
[   73.147954] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030f5e3a00
[   73.147957] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030f5e3a90
[   73.147960] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030f5e3ad8
[   73.147963] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030f5e3b20
[   73.147965] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030f5e3b68
[   73.147968] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88030f5e3bb0
[   73.148431] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
[   73.159431] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 0005 detected
[   73.160350] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   73.161318] usbcore: registered new interface driver rt2800usb
[   73.161788] ieee80211 phy1: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[   73.200659] ieee80211 phy1: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[   73.510984] /dev/vmnet: open called by PID 6278 (vmnet-bridge)
[   73.511001] /dev/vmnet: hub 0 does not exist, allocating memory.
[   73.511026] /dev/vmnet: port on hub 0 successfully opened
[   73.511108] bridge-wlan1: device is wireless, enabling SMAC
[   73.511115] bridge-wlan1: up
[   73.511129] bridge-wlan1: attached
[   73.511777] bridge-wlan1: disabling the bridge
[   73.547307] bridge-wlan1: down
[   73.547380] bridge-wlan1: detached
[   73.710799] userif-2: sent link down event.
[   73.710805] userif-2: sent link up event.


So, I conclude the patch works fine. You can add my 

Reported-and-Tested-by: Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>

Thank you,
Martin


Reply to: