Home » Wiki » Descoperiți-vă aparatura » History » Differences
Differences between the revision of 19:34, 31 January 2015, created by nicudac, and the revision of 19:34, 31 January 2015
Notice: the text in red has been deleted from the previous revision, the text in green has been added in this revision and the text in gray has not been changed.
differences in the entry: the title
Descoperiți-vă aparatura
differences in the entry: the text of the wiki page
__TOC__

[p](Mulțumim [a]http://www.h-node.org/issues/view/en/3/1/token|lluvia[/a])[/p]

[p]Pentru a afla mai multe detalii despre aparatura proprie urmați instrucțiunile de mai jos:[/p]


[h1]Modelul calculatorului dumneavoastră portabil[/h1]

[p]Verificați în partea de jos a calculatorului dumneavoastră portabil. De obicei există un autocolant pe care este scris numele complet al calculatorului. Uneori acest autocolant se află [b]sub baterie[/b].[/p]

[p]De obicei nu este de ajuns să căutați un autocolant sau un text imprimat lângă tastatură. De exemplu, puteți găsi "pavilion dv<un număr aici>" imprimat pe multe calculatoare portabile pavilion din [b]seria dv7[/b], dar numărul complet al modelului (ex. [b]dv7-4021so[/b]) este localizat în altă parte, cum ar fi dedesubtul calculatorului.[/p]

[p]Rareori, este posibil ca toate autocolantele să fie eliminate. Atunci și numai atunci, puteți încerca următoarea comandă:[/p]

[code]
sudo dmidecode | grep "System Information" -A 2
[/code]

[p]Folosirea acestei comenzi [b]nu este recomandată[/b]. Nu este întotdeauna de încredere. Folosiți-o doar ca o ultimă opțiune.[/p]


[h1]Modelul dispozitivului dumneavoastră (dacă nu este un calculator portabil)[/h1]


[h2]Dacă dispozitivul este integrat (exemplu: o placă video)[/h2]

[p]Deschideți un terminal și scrieți următoarea comandă:[/p]

[code]
lspci
[/code]

[p]sau[/p]

[code]
lspci > NUME FIȘIER # pentru a exporta rezultatul într-un fișier
[/code]

[p]Veți obține o listă a dispozitivelor PCI, asemănătoare cu cea scrisă dedesubt.[/p]

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

[p][b]Notă:[/b] Numele fiecărul dispozitiv este scris după cele două puncte (vedeți textul îngroșat în lista de deasupra)[/p]


[h2]Dacă dispozitivul este un dispozitiv cu USB (examplu: o placă de rețea fără fir externă cu USB)[/h2]

[p]Deschideți un terminal și scrieți următoarea comandă:[/p]

[code]
lsusb -v
[/code]

[p]sau[/p]

[code]
lsusb -v > NUME FIȘIER # pentru a exporta rezultatul într-un fișier
[/code]

[p]Veți obtine o listă cu dispozitivele USB, asemănătoare cu cea scrisă mai jos[/p]

[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 [b]WG111v3 54 Mbps Wireless [realtek RTL8187B][/b]
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 [b]AES2501 Fingerprint Sensor[/b]
bcdDevice 6.23
iManufacturer 0
iProduct 1 Fingerprint Sensor
iSerial 0
bNumConfigurations 1
...
...
[/code]


[p][b]Notă:[/b] Numele fiecărui dispozitiv este scis pe rândul ce începe cu "idProduct" (vedeți textul îngroșat din lista de deasupra)[/p]

[p]Un alt program ce poate fi de ajutor pentru a afla informații despre aparatură, în special despre piloții (eng. = drivers) pentru USB folosiți de sistem este [b]hwinfo[/b]. Rețineti că programul nu vine preinstalat pe distribuțiile de GNU/Linux și că trebuie să-l instalați folosind administratorul de pachete sau codul sursă.[/p]

[p]Un alt program ce poate fi de ajutor pentru a afla informații despre aparatură este [b]lshw[/b] și in unele distributii (precum Trisquel) puteți instala versiunea cu interfață grafică (lshw-gtk)[/p]


[h1]Arhitectura calculatorului portabil[/h1]

[p]Deschideți un terminal și scrieți următoarea comandă:[/p]

[code]
lscpu
[/code]

[p]Veți obtine informații despre procesorul/procesoarele dumneavoastră:[/p]

[code]
Architecture: [b]i686[/b]
CPU op-mode(s): [b]32-bit, 64-bit[/b]
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
CPU socket(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 23
Stepping: 6
CPU MHz: 1998.000
BogoMIPS: 5999.68
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 6144K
[/code]

[p]Rândurile [b]îngroșate[/b] (din lista de deasupra) reprezintă codul ce îl căutați. Codul de pe rândul [b]Architecture[/b] vă oferă o idee generală cu privire la arhitectura calculatorului dumneavoastră portabil (x86, x86-64/amd64, ARM, MIPS) iar cele de pe rândul [b]CPU op-mode(s)[/b] va specifică biți (32-bit, 64-bit).[/p]

[p]If your architecture is reported as i386 or i686, you have either a x86 or x86-64 machine and you need to check if it supports the 64-bit op-mode (x86 is 32-bit and x86-64 is 64-bit). In the example above, the machine is x86-64. For other architectures, it should be quite easy to see what they are.[/p]

[p]If your system doesn't have lscpu command and you cannot or don't want to install it, use the [b]uname -m[/b] command to get the architecture name just like in the lscpu's Architecture row. You might also want to manually check the [b]/proc/cpuinfo[/b] system file which lscpu uses to generate its data from. Open a terminal and type the following command:[/p]

[code]
cat /proc/cpuinfo
[/code]

[p]To find out if your laptop is a x86-64 machine, you can use the following command:[/p]

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

[p]If you get a message like the following and you can find the [b]lm[/b] flag from it, then your machine has a x86-64/amd64 architecture and you can choose a x86-64/amd64 distro to run on it.[/p]

[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 [b]lm[/b] constant_tsc arch_perfmon pebs bts aperfmperf
pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm
[/code]


[h1]The kernel libre version you are using[/h1]

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

[code]
uname -r
[/code]


[h1]The VendorID:ProductID code of your device[/h1]

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


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

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


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

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

[h1]The printer's driver you are using[/h1]

[h2]If you are using cups[/h2]

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

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


[h1]The USB device's driver you are using[/h1]

[p]The easiest way to know the driver used by a USB device is with [b]hwinfo[/b][/p]

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

[code]
hwinfo --usb
[/code]

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

[code]
19: USB 00.0: 0000 Unclassified device
[Created at usb.122]
Unique ID: FKGF.WYbsxjVsRmA
Parent ID: pBe4.v+N+B0xY+P6
SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0
SysFS BusID: 2-1:1.0
Hardware Class: unknown
Model: "Microdia Triplex i-mini PC Camera"
Hotplug: USB
Vendor: usb 0x0c45 "Microdia"
Device: usb 0x6029 "Triplex i-mini PC Camera"
Revision: "1.01"
Driver: "[b]sonixb[/b]"
Driver Modules: "gspca_sonixb"
Speed: 12 Mbps
Module Alias: "usb:v0C45p6029d0101dc00dsc00dp00icFFiscFFipFF"
Driver Info #0:
Driver Status: gspca_sonixb is active
Driver Activation Cmd: "modprobe gspca_sonixb"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #9 (Hub)
[/code]

[p]The string in [b]bold[/b] (in the above list) is the driver that the USB device is using so it can work on your system.[/p]


[b][p]Return to [[Help]] Page[/p][/b]

[lang]
[[Descubra su hardware|Español]]
[[Scopri il tuo hardware|Italiano]]
[[Discover your hardware|English]]
[/lang]
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