Home » Wiki » LED Light Manufacturer » Revisioni » Differenze
Differenze tra la revisione del 16:44, 18 dicembre 2011, creata da Ark74, e la revisione del 16:22, 18 dicembre 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
Discover your hardware
differenze nel campo: il testo della pagina
__TOC__
[p][h1]Discover your hardware[/h1][/p]
[p](Thanks [a]http://www.h-node.com/issues/view/en/3/1/token|lluvia[/a])[/p]

[p]In order to know the details of your hardware you can carry out the following actions:[/p]

[h2]How to discover the model name of your notebook[/h2]
[p] See below your notebook or netbook[/p]
[h2]How to discover the model name of your device (if it is not a notebook)[/h2]
[h3] If the device is integrated (example: a video card)[/h3]
[p] Open a terminal and type the following command:[/p]

[code] lspci[/code]

or

[code] lspci > FILENAME # output to a file[/code]

You will obtain the list of your PCI devices, similar to the one written below

[code] 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
03:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 02)
05:00.0 VGA compatible controller: nVidia Corporation G86 [GeForce 8400M GS] (rev a1)[/code]

[p][b]Note:[/b] The name of each device is written after the colon (see the text in bold in the above list)[/p]
[p] If the device is an USB device (example: an external USB wifi card)[/p]
[p] Open a terminal and type the following command:[/p]

[code] lsusb -v[/code]

or

[code] lsusb -v > FILENAME # output to a file[/code]

You will obtain the list of your USB devices, similar to the one written below
[code]
Bus 001 Device 002: ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0846 NetGear, Inc.
idProduct 0x4260 WG111v3 54 Mbps Wireless [realtek RTL8187B]
bcdDevice 2.00
iManufacturer 1
iProduct 2
iSerial 3
...
...

Bus 002 Device 003: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 8
idVendor 0x08ff AuthenTec, Inc.
idProduct 0x2580 AES2501 Fingerprint Sensor
bcdDevice 6.23
iManufacturer 0
iProduct 1 Fingerprint Sensor
iSerial 0
bNumConfigurations 1
...
...[/code]


[p][b]Note:[/b] The name of each device is written at the row starting with "idProduct" (see the text in bold in the above list)[/p]

[h2]How to discover the model name of your notebook[/h2]
[p] See below your notebook or netbook[/p]
[h2]How to discover the model name of your device (if it is not a notebook)[/h2]
[h3] If the device is integrated (example: a video card)[/h3]
[p] Open a terminal and type the following command:[/p]

[code] lspci[/code]

or

[code] lspci > FILENAME # output to a file[/code]

[h2]How to discover the kernel libre version you are using[/h2]
[p] Open a terminal and type the following command:[/p]

[code] uname -r[/code]

[h2]How to discover the name of your video card[/h2]
[p] Open a terminal and type the following command:[/p]

[code] sudo lspci[/code]

Then look for the row containing the string VGA or Display controller. You can also try one of the following commands:

[code] lspci | grep "Display controller"[/code]

or

[code] lspci | grep "VGA"[/code]

[h2]How to discover the VendorID and the ProductID of your device (VendorID:ProductID code)[/h2]
(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])
[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]

You should obtain a list of hardware similar to the one written below
[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 [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 [b]VendorID[/b], the second set of digits are the [b]ProductID[/b]. In the above example: the [i]VendorID:ProductID[/i] 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]

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

[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 [b]bold[/b] (in the above list) are the code you are looking for. The first set of digits (before the colon) are the [b]VendorID[/b], the second set of digits are the [b]ProductID[/b]. In the above example: the [i]VendorID:ProductID[/i] code of the external USB wifi card (note the strings "Wireless") is [b]0846:4260[/b][/p]

[h2]How to discover if the video card works[/h2]

[p] Install rss-glx by means of the package manager of your distribution or compiling it from source and try some screensavers (for example Skyrocket or Solarwinds). Check if you can play the screensaver (and/or if you can play it smoothly)
[/p]
[h2]How to discover if the 3D acceleration works[/h2]
[p] Try to enable compiz[/p]
[h2]How to discover the name of your wifi card[/h2]

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

[code] sudo lspci[/code]

Then look for the row containing the string Wireless or Network controller. You can also try one of the following commands:

[code] lspci | grep "Wireless" [/code]

or

[code] lspci | grep "Network" [/code]

[h2]How to discover the printer driver you are using[/h2]
[p][h3] If you are using cups[/h3][/p]
[p] Open a terminal and type the following command:[/p]

[code] dpkg-query -W -f '${Version}\n' cups[/code]

[h2]How to discover the architecture of your notebook[/h2]
[p] Open a terminal and type the following command:[/p]

[code] cat /proc/cpuinfo | grep "lm"[/code]

If you get a message like this:

[code] flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts
acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64
monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm[/code]
[p]
then you machine is x86-64/amd64 capable and you could choose a x86-64/amd64 distro to run on it it.[/p]

[b][p]Return to [[Help]] Page[/p][/b]
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