ฉันมีอุปกรณ์ ARM ที่ใช้งาน ArchLinux อุปกรณ์ไม่ปรากฏว่ามีบัส PCI แม้ว่าจะมี USB
[root@alarm ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
[root@alarm ~]# lspci
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
[root@alarm ~]# 
ฉันต้องการค้นหาชิปเซ็ตอื่น ๆ ที่มี ตัวอย่างเช่นฉันรู้ว่ามีการ์ดเสียงและการ์ดวิดีโอที่มีความสามารถของ HDMI ชิปดังกล่าวจะไม่ถูกวางในสาย USB
ฉันดูการตั้งค่าเคอร์เนลที่ทำงานบนอุปกรณ์ที่ /proc/config.gz มันแสดงรายการนี้:
#
# Bus support
#
CONFIG_ARM_AMBA=y
# CONFIG_PCI_SYSCALL is not set
# CONFIG_ARCH_SUPPORTS_MSI is not set
# CONFIG_PCCARD is not set
ฉันไม่รู้ว่า AMBA คืออะไร การค้นหาอย่างละเอียดของ google ส่งคืนรายการนี้ในฐานข้อมูลเคอร์เนล แต่ไม่มีคำอธิบายที่แท้จริงนอกจากจะไม่ใช้หากคุณไม่รู้ว่าคุณกำลังทำอะไรอยู่
การใช้ lshw ไม่แสดงอะไรอีกมากมายเช่น:
[root@alarm ~]# lshw
alarm                     
    description: Computer
    width: 32 bits
  *-core
       description: Motherboard
       physical id: 0
     *-memory
          description: System memory
          physical id: 0
          size: 307MiB
     *-cpu
          physical id: 1
          bus info: cpu@0
          size: 1008MHz
          capacity: 1008MHz
          capabilities: cpufreq
  *-network
       description: Ethernet interface
       physical id: 1
       logical name: eth0
       serial: 00:01:02:03:04:05
       size: 10Mbit/s
       capacity: 100Mbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=off broadcast=yes driver=wemac driverversion=1.01 duplex=half ip=192.168.1.1 link=yes multicast=yes port=MII speed=10Mbit/s
[root@alarm ~]# 
ดูเหมือนจะไม่มีโมดูลในเคอร์เนลนี้โหลด:
[root@alarm ~]# lsmod
Module                  Size  Used by
[root@alarm ~]# 
นอกจากนี้ดูเหมือนว่า hwinfo จะไม่สามารถใช้ได้:
[root@alarm ~]# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 alarm is up to date
 aur is up to date
:: Starting full system upgrade...
 there is nothing to do
[root@alarm ~]# pacman -S hwinfo
error: target not found: hwinfo
[root@alarm ~]# hwinfo
-bash: hwinfo: command not found
[root@alarm ~]# 
ฉันจำเป็นต้องรู้ว่าชิปใดที่ใช้ในระบบนี้เพื่อให้ฉันสามารถรวบรวมในโมดูลไดรเวอร์วิดีโอที่ถูกต้องฉันจะรู้ได้อย่างไรว่ามีอะไรอยู่ในระบบที่ไม่มี lspci ที่ใช้งานได้
cat /proc/cpuinfo
                
lsmodและดูที่โมดูลที่มีอยู่ของคุณ นอกจากนี้หากคุณมีเคอร์เนลที่ใช้งานได้ซึ่งรู้จักกันดีกับconfigไฟล์คุณสามารถใช้มันเพื่อเริ่มต้นด้วย - และค้นหาโดยรอบเพราะมันจะมีโมดูลที่ถูกต้องที่เลือกไว้แล้ว มีประโยชน์สำหรับฉันในการสร้างเมล็ดที่กำหนดเองสำหรับ Guruplug