differences in the entry: the text of the wiki page
[p]In order to compile a hardware device please follow these instructions:[/p]
[p]You could also be interested in the reading of [a]http://www.h-node.com/help/index/en#discover-hardware|this help page[/a][/p]
[p]These are the entries you will find inside the inserting/updating pages.[/p]
[h1]the vendor name[/h1]
[h2]In the case of notebooks[/h2]
[p]In the case of notebooks you have to insert the vendor name of your notebook by choosing from a list of allowed vendors[/p]
[h2]In the case of other devices[/h2]
[p]If the device is not a notebook you don't have to insert the vendor name, it is automatically retrieved from the vendorid code you have inserted inside the [b]vendorid:productid[/b] entry (see below).[/p]
[p]If the vendor is not found in the list of known vendors the system ask the user to add an issue in order to ask the insertion of the new vendor/vendorid.[/p]
[p]The vendor 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]In order to collect as more information as possible, please use the following format when you fill the model entry:[/p]
[code]%vendor name% %model name% %model revision if present% [/code]
[p]where %[b]vendor name[/b]% is the vendor as printed on the device itself (or written on the device box) and not the one indicated by the lspci command (if they are different).[/p]
[p]As mentioned above, (if the device is not a notebook) the vendor name is automatically retrieved from the [b]vendorid:productid[/b] code you have inserted. Anyway, the so obtained vendor name is sometimes different from the vendor name printed on the device itsel (it could be, for example, the chipset vendor, and not the device vendor, or the device could have been sold by a reseller in some countries). For this reason it is useful to indicate also the vendor name (as printer on the device itself) inside the model entry (before the model name).[/p]
[p]In this way a user that is searching for a device has more possibilities to find it: using the name of the vendor as indicated on the box or on the device or as listed in a online store or in a shop, or using the vendor indicated by the lspci command or obtained from the vendorid code.[/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] distributions) according to the following directives:[/p]
[list]
[*] if the device works choose the oldest kernel[/*]
[*] if the device does not work choose the newest kernel[/*]
[/list]
[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]