Diferenças entre a versão de 11:16, 3 Março 2011, criada por tonicucoz, e a versão de 11:15, 3 Março 2011
Aviso: o texto em vermelho foi excluído da versão anterior, o texto em verde foi adicionado nesta versão e o texto em cinza não foi alterado.
diferenças no campo: o título
guidelines on how to compile a hardware device page
diferenças no campo: o texto da página wiki
[p]In order to compile a hardware device please follow these instructions:[/p]

[p]There are the entries you will find inside the inserting/updating pages.[/p]

[h1]the vendor name[/h1]

[p]The vendor name is now automatically taken from the vendorid code you have inserted inside the [b]vendorid:productid[/b] entry (that is now mandatory). If the vendor is not found on the list the system ask the user to add an issue in order to ask the insertion of the new vendor/vendorid.[/p]

[p]The vendor id list has been taken from the [a]http://pciids.sourceforge.net/|PCI ID[/a] repository and from the [a]http://www.linux-usb.org/usb-ids.html|USB ID repository[/a]. You can see the [[list of the vendor id]] inserted[/p]

[h1]the model name[/h1]

[p]inside this entry you have to write the [b]name[/b] of the device (as printed on the device itself or indicated by the lspci command)[/p]

[p]The vendor name taken from the PCI ID or USB ID repository (see above) is sometimes different from the vendor name printed on the device itsel (the vendorid listed by the lspci command could be, for example, the chipset vendor, and not the device vendor). In order to collect as more information as possible, please use the following format when you write the model name[/p]

[code]%vendor name% %model name% %model revision if present% [/code]

[p]where %vendor name% %[b]vendor name[/b]% is the vendor as printed on the device itself (or written in on the device box) and not the one indicated by the lspci command (if they are different). The last one will be automatically filled by the system according to the vendorid code you have inserted (see below) and thanks to the PCI ID and USB ID repositories.[/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]

[p](Thanks [a]http://trisquel.info/en/forum/h-nodecom-new-website-hardware-database#comment-5839|Michał Masłowski[/a] and [a]http://trisquel.info/en/forum/h-nodecom-new-website-hardware-database#comment-5837|Julius22[/a])[/p]

[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 [ [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[/code]


[p]The strings in [b]bold[/b] 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 [b]14e4:4311[/b] while the VendorID:ProductID code of the video card (note the string "VGA") is [b]10de:0427[/b][/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 [b]0846:4260[/b] NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
Bus 001 Device 001: ID [b]1d6b:0002[/b] Linux Foundation 2.0 root hub
Bus 002 Device 003: ID [b]08ff:2580[/b] AuthenTec, Inc. AES2501 Fingerprint Sensor[/code]


[p]The strings in [b]bold[/b] (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 [b]0846:4260[/b][/p]
The contents of this page are in the Public Domain. (see the CC0 page for detailed information). Anyone is free to copy, modify, publish, use, sell, or distribute the text for any purpose, commercial or non-commercial, and by any means.
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