Differenze tra la revisione del 04:58, 20 febbraio 2011, creata da tonicucoz, e la revisione del 04:56, 20 febbraio 2011
Nota: il testo in rosso è stato cancellato dalla revisione precedente, il testo in verde è stato aggiunto in questa revisione e il testo in grigio non è stato cambiato
differenze nel campo: il titolo
guidelines on how to compile a hardware device
differenze nel campo: il testo della pagina
[p]In order to compile a hardware device please follow these instructions:[/p]

[h1]kernel version[/h1]

[p]If you have tested the device with more than one distribution please specify the oldest kernel version (among the ones of those distributions)[/p]

[h1]vendorid:productid code[/h1]

[p]please do not forget to insert the vendorid:productid code since it is used to find a device in the search page.[/p]
[p]
Also, the system checks that a device with the same code is not present in the database. This is useful to avoid hardware duplication[/p]

[h2]How to find the [b]vendorid:productid[/b] code[/h2]

(Thanks Michał Masłowski and Julius22)

[h3]

If the device is integrated (example: a video card)[/h3]

[p]Open a terminal and type the following command:[/p]

[code]sudo lspci -nnk[/code]


[p]You should obtain a list of hardware similar to the one written below[/p]

[code]03:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [14e4:4311] (rev 02)
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb
05:00.0 VGA compatible controller [0300]: nVidia Corporation G86 [GeForce 8400M GS] [10de:0427] (rev a1)
Kernel modules: nouveau, nvidiafb[/code]


[p]The strings in bold and placed inside the square brackets (in the above list) are the code you are looking for. The first set of digits (before the colon) are the VendorID, the second set of digits are the ProductID. In the above example: the VendorID:ProductID code of the wifi card (note the strings "Network controller" and "WLAN") is 14e4:4311 while the VendorID:ProductID code of the video card (note the string "VGA") is 10de:0427[/p]

[h3]If the device is an USB device (example: an external USB wifi card)[/h3]

[p]Open a terminal and type the following command:[/p]

[code]sudo lsusb[/code]


[p]You should obtain a list of hardware similar to the one written below[/p]

[code]Bus 001 Device 002: ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor[/code]


[p]The strings in bold (in the above list) are the code you are looking for. The first set of digits (before the colon) are the VendorID, the second set of digits are the ProductID. In the above example: the VendorID:ProductID code of the external USB wifi card (note the strings "Wireless") is 0846:4260[/p]
I contenuti di questa pagina sono di Pubblico Dominio. (leggi la pagina CC0 per informazioni dettagliate). Chiunque è libero di copiare, modificare, pubblicare, usare, vendere, o distribuire tale contenuto per qualsiasi fine, commerciale o non commerciale, e con ogni mezzo.
h-node.org is a hardware database project. It runs the h-source PHP software, commit cdeda15, available under the GNU General Public (GPLv3) License.
JavaScript license information