Révision de la page wiki Guidelines on how to compile a hardware device page
Ceci est une version antérieure de la page, telle qu'éditée par tonicucoz à 05:01, 20 Février 2011. Il peut y avoir une différence significative avec Révision actuelle.
guidelines on how to compile a hardware device

In order to compile a hardware device please follow these instructions:

kernel version

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

vendorid:productid code

please do not forget to insert the vendorid:productid code since it is used to find a device in the search page.

Also, the system checks that a device with the same code is not present in the database. This is useful to avoid hardware duplication

How to find the vendorid:productid code

(Thanks Michał Masłowski and Julius22)

If the device is integrated (example: a video card)

Open a terminal and type the following command:

sudo lspci -nnk

You should obtain a list of hardware similar to the one written below

03:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN b]14e4:4311[/b (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] b]10de:0427[/b (rev a1)
	Kernel modules: nouveau, nvidiafb

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

If the device is an USB device (example: an external USB wifi card)

Open a terminal and type the following command:

sudo lsusb

You should obtain a list of hardware similar to the one written below

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

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

Le contenu de cette page est dans le Domaine Public (voir la page CC0 pour plus d'informations). Quiquonque est libre de copier, modifier, publier, utiliser, vendre ou distribuer le texte , quelques soit le but et le moyen.
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