I have a somewhat uncommon USB WiFi device (in my case, a Hawking HWDN1), which, after doing the following, works with the rt2800usb
driver already in the kernel:
sudo modprobe rt2800usb
sudo bash -c "echo 0e66 0004 > /sys/bus/usb/drivers/rt2800/new_id"
I'm manually loading the driver (modprobe
), and then "binding" it to the device, i.e. telling it that it does indeed support that particular device (by the device id)
Unfortunately, this doesn't stick beyond a reboot. Is there a neat way (i.e. perhaps with a way other than just running a script on boot) to make it permanent?
Or, even better, how would I go about submitting the USB device ID to the maintainers of the rt2800usb
driver, so that it "just works" for everyone with the same device? A quick look through the driver source, confirms that my device is not in the device table (towards the middle of the file), however very simar ones (similar device id) are there - so that seems to suggest that I could just add the device id and it would "just work" for everyone - but I'm not sure.
The usual way to get a new usb.id included is to file a bug report. https://bugs.launchpad.net/ It may take some time to be released.
I suggest this method to add the usb.id to the usual new_id part of the driver.
Remove the device and in a terminal, do:
Add one long line:
Caps, brackets, punctuation, etc. are crucial. Proofread twice, save and close nano. Next:
Add one long single line:
Proofread twice, save and close nano. Insert the device. If it doesn't start immediately, you might have to do:
If it were in the device table in the driver included in your currently installed kernel version, then the driver would have recognized the device and driven it without any input from you.
You can confirm with:
It will produce nothing as the usb.id is not in the driver yet.