Autor Tópico: como indentificar o hardware no linux?  (Lida 7002 vezes)

Offline Zeraszel

  • Usuário Ubuntu
  • *
  • Mensagens: 138
    • Ver perfil
Re: como indentificar o hardware no linux?
« Resposta #15 Online: 03 de Janeiro de 2014, 00:08 »
 acho que  finalmente consegui listar meu hardware, bem aqui a descrição completa da máquina


módulo de memória
usuario@POSITIVO ~]$ free -m
             total       used       free     shared    buffers     cached
Mem:          3457       1928       1529          0         90       1225
-/+ buffers/cache:        612       2845
Swap:         4110          0       4110

Dispositivos PCI


[usuario@POSITIVO ~]$ lspci -v
00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09)
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2027
        Flags: bus master, fast devsel, latency 0
        Capabilities: <access denied>

00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2027
        Flags: bus master, fast devsel, latency 0, IRQ 40
        Memory at f5000000 (64-bit, non-prefetchable) [size=4M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at f000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

00:14.0 USB Controller: Intel Corporation Device 1e31 (rev 04) (prog-if 30)
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2027
        Flags: bus master, medium devsel, latency 0, IRQ 42
        Memory at f7c00000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci-hcd

00:16.0 Communication controller: Intel Corporation Device 1e3a (rev 04)
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2027
        Flags: bus master, fast devsel, latency 0, IRQ 43
        Memory at f7c1a000 (64-bit, non-prefetchable) [size=16]
        Capabilities: <access denied>
        Kernel driver in use: mei
        Kernel modules: mei

00:1a.0 USB Controller: Intel Corporation Device 1e2d (rev 04) (prog-if 20 [EHCI])
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2027
        Flags: bus master, medium devsel, latency 0, IRQ 16
        Memory at f7c18000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <access denied>
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd

00:1b.0 Audio device: Intel Corporation Device 1e20 (rev 04)
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2027
        Flags: bus master, fast devsel, latency 0, IRQ 44
        Memory at f7c10000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation Device 1e10 (rev c4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: f7200000-f7bfffff
        Prefetchable memory behind bridge: 00000000f1e00000-00000000f27fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation Device 1e12 (rev c4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: f6800000-f71fffff
        Prefetchable memory behind bridge: 00000000f1400000-00000000f1dfffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation Device 1e14 (rev c4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: f5e00000-f67fffff
        Prefetchable memory behind bridge: 00000000f0a00000-00000000f13fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.3 PCI bridge: Intel Corporation Device 1e16 (rev c4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        I/O behind bridge: 0000b000-0000bfff
        Memory behind bridge: f5400000-f5dfffff
        Prefetchable memory behind bridge: 00000000f0000000-00000000f09fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1d.0 USB Controller: Intel Corporation Device 1e26 (rev 04) (prog-if 20 [EHCI])
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2027
        Flags: bus master, medium devsel, latency 0, IRQ 23
        Memory at f7c17000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <access denied>
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd

00:1f.0 ISA bridge: Intel Corporation Device 1e5e (rev 04)
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2027
        Flags: bus master, medium devsel, latency 0
        Capabilities: <access denied>
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich

00:1f.2 SATA controller: Intel Corporation Device 1e03 (rev 04) (prog-if 01 [AHCI 1.0])
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2027
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 41
        I/O ports at f0b0
        I/O ports at f0a0
        I/O ports at f090
        I/O ports at f080
        I/O ports at f060 [size=32]
        Memory at f7c16000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: <access denied>
        Kernel driver in use: ahci
        Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation Device 1e22 (rev 04)
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2027
        Flags: medium devsel, IRQ 4
        Memory at f7c15000 (64-bit, non-prefetchable) [size=256]
        I/O ports at f040 [size=32]
        Kernel modules: i2c-i801

01:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8179 (rev 01)
        Subsystem: AzureWave Device 1f38
        Flags: bus master, fast devsel, latency 0, IRQ 16
        I/O ports at e000 [size=256]
        Memory at f7200000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: rtl8188ee
        Kernel modules: rtl8188ee

02:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 80)
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2027
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at f6807000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: sdhci-pci
        Kernel modules: sdhci-pci

02:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 80) (prog-if 01)
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2027
        Flags: fast devsel, IRQ 18
        Memory at f6806000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel modules: sdhci-pci

02:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 80)
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2027
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at f6805000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: jmb38x_ms
        Kernel modules: jmb38x_ms

02:00.5 Ethernet controller: JMicron Technology Corp. JMC250 PCI Express Gigabit Ethernet Controller (rev 03)
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 2027
        Flags: bus master, fast devsel, latency 0, IRQ 45
        Memory at f6800000 (32-bit, non-prefetchable) [size=16K]
        I/O ports at d100 [size=128]
        I/O ports at d000 [size=256]
        Capabilities: <access denied>
        Kernel driver in use: jme
        Kernel modules: jme

informações sobre o Bios da placa mãe
[root@POSITIVO ~]# biosdecode
# biosdecode 2.11
ACPI 2.0 present.
        OEM Identifier: POSITI
        RSD Table 32-bit Address: 0xBE038028
        XSD Table 64-bit Address: 0x00000000BE038078
SMBIOS 2.7 present.
        Structure Table Length: 2884 bytes
        Structure Table Address: 0x000EB510
        Number Of Structures: 75
        Maximum Structure Size: 184 bytes
PNP BIOS 1.0 present.
        Event Notification: Not Supported
        Real Mode 16-bit Code Address: F000:C756
        Real Mode 16-bit Data Address: F000:0000
        16-bit Protected Mode Code Address: 0x000FC77E
        16-bit Protected Mode Data Address: 0x000F0000
PCI Interrupt Routing 1.0 present.
        Router ID: 00:1f.0
        Exclusive IRQs: None
        Compatible Router: 8086:27b8
        Slot Entry 1: ID 00:1f, on-board
        Slot Entry 2: ID 00:14, on-board
        Slot Entry 3: ID 00:1d, on-board
        Slot Entry 4: ID 00:1a, on-board
        Slot Entry 5: ID 00:1b, on-board
        Slot Entry 6: ID 00:19, on-board
        Slot Entry 7: ID 00:16, on-board
        Slot Entry 8: ID 00:1c, on-board
        Slot Entry 9: ID 01:00, slot number 33
        Slot Entry 10: ID 02:00, slot number 34
        Slot Entry 11: ID 03:00, slot number 8
        Slot Entry 12: ID 04:00, slot number 9
        Slot Entry 13: ID 00:06, on-board
        Slot Entry 14: ID 00:04, on-board
        Slot Entry 15: ID 00:02, on-board

Informações sobre a Placa Mãe
[root@POSITIVO ~]# dmidecode --type baseboard
# dmidecode 2.11
SMBIOS 2.7 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: Positivo Informatica SA
        Product Name: C14CR21
        Version: POSITIVO
        Serial Number: To be filled by O.E.M.
        Asset Tag: To be filled by O.E.M.
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: To be filled by O.E.M.
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0

Handle 0x0021, DMI type 10, 6 bytes
On Board Device Information
        Type: Video
        Status: Enabled
        Description:    To Be Filled By O.E.M.

Handle 0x003A, DMI type 41, 11 bytes
Onboard Device
        Reference Designation:  Onboard IGD
        Type: Video
        Status: Enabled
        Type Instance: 1
        Bus Address: 0000:00:02.0

Handle 0x003B, DMI type 41, 11 bytes
Onboard Device
        Reference Designation:  Onboard LAN
        Type: Ethernet
        Status: Enabled
        Type Instance: 1
        Bus Address: 0000:00:19.0

Handle 0x003C, DMI type 41, 11 bytes
Onboard Device
        Reference Designation:  Onboard 1394
        Type: Other
        Status: Enabled
        Type Instance: 1
        Bus Address: 0000:03:1c.2
Fabricante do Bios
[root@POSITIVO ~]# dmidecode -s bios-vendor
American Megatrends Inc.

Dispositivos USB

[root@POSITIVO ~]# lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b351 Chicony Electronics Co., Ltd
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Processador

[root@POSITIVO ~]# dmidecode --type 4
# dmidecode 2.11
SMBIOS 2.7 present.

Handle 0x0041, DMI type 4, 42 bytes
Processor Information
        Socket Designation: SOCKET 0
        Type: Central Processor
        Family: Celeron
        Manufacturer: Intel(R) Corporation
        ID: A7 06 02 00 FF FB EB BF
        Signature: Type 0, Family 6, Model 42, Stepping 7
        Flags:
                FPU (Floating-point unit on-chip)
                VME (Virtual mode extension)
                DE (Debugging extension)
                PSE (Page size extension)
                TSC (Time stamp counter)
                MSR (Model specific registers)
                PAE (Physical address extension)
                MCE (Machine check exception)
                CX8 (CMPXCHG8 instruction supported)
                APIC (On-chip APIC hardware supported)
                SEP (Fast system call)
                MTRR (Memory type range registers)
                PGE (Page global enable)
                MCA (Machine check architecture)
                CMOV (Conditional move instruction supported)
                PAT (Page attribute table)
                PSE-36 (36-bit page size extension)
                CLFSH (CLFLUSH instruction supported)
                DS (Debug store)
                ACPI (ACPI supported)
                MMX (MMX technology supported)
                FXSR (FXSAVE and FXSTOR instructions supported)
                SSE (Streaming SIMD extensions)
                SSE2 (Streaming SIMD extensions 2)
                SS (Self-snoop)
                HTT (Multi-threading)
                TM (Thermal monitor supported)
                PBE (Pending break enabled)
        Version: Intel(R) Celeron(R) CPU B800 @ 1.50GHz
        Voltage: 3.3 V
        External Clock: 100 MHz
        Max Speed: 3800 MHz
        Current Speed: 1500 MHz
        Status: Populated, Enabled
        Upgrade: <OUT OF SPEC>
        L1 Cache Handle: 0x003E
        L2 Cache Handle: 0x003D
        L3 Cache Handle: 0x003F
        Serial Number: Not Specified
        Asset Tag: Fill By OEM
        Part Number: Fill By OEM
        Core Count: 2
        Core Enabled: 2
        Thread Count: 2
        Characteristics:
                64-bit capable

bem só não consegui indentificar a bateria, mas com isso é o suficiente? caramba eu estava com problemas em permissões de usuário, e o post do membro jkmsjq me ajudou bastante, mas também pesquisei a respeito de como o sudo funciona no mandriva, bem e então o que me dizem a respeito?
« Última modificação: 03 de Janeiro de 2014, 00:19 por Zeraszel »