View previous topic :: View next topic |
Author |
Message |
teika Apprentice
Joined: 19 Feb 2011 Posts: 165 Location: YYYY-MM-DD, period. Have you ever used the Internet?
|
Posted: Sat Oct 15, 2011 6:27 am Post subject: General tutorial on new devices? (Should we write one?) |
|
|
Hi. Recently I learned two things during my effort to use a new WiFi adapter.
1. "sysfs new_id": Even if the driver doesn't support your device, you can make it work e.g. by:
echo "0411 0158" > /sys/bus/usb/drivers/rt2870/new_id
The general grammar is:
echo "<vendor-id> <product-id>" > /sys/bus/<bus>/drivers/<driver>/new_id
2. sys-kernel/linux-firmware: This is a big collection of firmwares provided by kernel.org.
I didn't know these tricks. Are there any good things to know when you try a new device? (If there turns out to be plenty, I'll contribute to Gentoo Wiki.)
In fact, I've encountered a case where the above "new_id" method doesn't work, and I had to patch the kernel source:
http://en.gentoo-wiki.com/wiki/User_talk:Teika#Older_kernels
Regards _________________ Hack of easy Shift / Ctrl / AltGr etc; save your pinkies, type without drudgery: topic 865313
BTRFS - Biden & TRump, Fools Suck.
Last edited by teika on Mon Oct 17, 2011 9:17 am; edited 1 time in total |
|
Back to top |
|
|
CrankyPenguin Apprentice
Joined: 19 Jun 2003 Posts: 283
|
Posted: Sun Oct 16, 2011 11:10 pm Post subject: What kinds of devices? |
|
|
Generally with a new device the first place I go is lspci or lsusb. These can at least be fodder for good searches online especially by the pci numbers which can be used to search for appropriate drivers online. _________________ Linux, the OS for the obsessive-compulsive speed freak in all of us. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
|