Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Dec 2014, 06:12
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to show more hardware info in Puppy 1.07
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Thu 09 Mar 2006, 04:53    Post subject:  How to show more hardware info in Puppy 1.07
Subject description: Updated to Puppy 4.x
 

Start -> Control Panel -> Hardware probe -> Query_PCI tries hard to show what hardware your PC has, but it usually shows mostly "null" in its output leaving you mainly in the dark. "lspci" reveals even less information.

Running Puppy 1.0.7, here is the output from "lspci" on my laptop:
    # lspci
    0:0.0 8086:3580 (rev 02)
    0:0.1 8086:3584 (rev 02)
    0:0.3 8086:3585 (rev 02)
    0:2.0 8086:3582 (rev 02)
    0:2.1 8086:3582 (rev 02)
    0:29.0 8086:24c2 (rev 01)
    0:29.1 8086:24c4 (rev 01)
    0:29.2 8086:24c7 (rev 01)
    0:29.7 8086:24cd (rev 01)
    0:30.0 8086:2448 (rev 81)
    0:31.0 8086:24cc (rev 01)
    0:31.1 8086:24ca (rev 01)
    0:31.5 8086:24c5 (rev 01)
    0:31.6 8086:24c6 (rev 01)
    1:1.0 104c:ac44 (rev 02)
    1:1.1 104c:8029
    1:3.0 14e4:4320 (rev 03)
    1:8.0 8086:103d (rev 81)
    2:0.0 1033:0035 (rev 41)
    2:0.1 1033:0035 (rev 41)
    2:0.2 1033:00e0 (rev 02)
    #


This doesn't tell me much - basically just the vendor info (xxxx:xxxx).
However, the information output from "lspci" can be easily improved.

Here is how:

1. Download the text file http://pciids.sourceforge.net/pci.ids

2. Copy it to /usr/local/share/

3. That's it!

Now when I run "lspci" on my laptop, I get this output:
    # lspci
    0:0.0 Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
    0:0.1 Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
    0:0.3 Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
    0:2.0 Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
    0:2.1 Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
    0:29.0 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
    0:29.1 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
    0:29.2 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
    0:29.7 Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
    0:30.0 Intel Corporation 82801 Mobile PCI Bridge (rev 81)
    0:31.0 Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
    0:31.1 Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
    0:31.5 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
    0:31.6 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)
    1:1.0 Texas Instruments PCI4510 PC card Cardbus Controller (rev 02)
    1:1.1 Texas Instruments PCI4510 IEEE-1394 Controller
    1:3.0 Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
    1:8.0 Intel Corporation 82801DB PRO/100 VE (MOB) Ethernet Controller (rev 81)

    2:0.0 NEC Corporation USB (rev 41)
    2:0.1 NEC Corporation USB (rev 41)
    2:0.2 NEC Corporation USB 2.0 (rev 02)
    #


By using this information along with the data from "lspci -n" to show only vendor data:
    # lspci -n
    0:0.0 8086:3580 (rev 02)
    0:0.1 8086:3584 (rev 02)
    0:0.3 8086:3585 (rev 02)
    0:2.0 8086:3582 (rev 02)
    0:2.1 8086:3582 (rev 02)
    0:29.0 8086:24c2 (rev 01)
    0:29.1 8086:24c4 (rev 01)
    0:29.2 8086:24c7 (rev 01)
    0:29.7 8086:24cd (rev 01)
    0:30.0 8086:2448 (rev 81)
    0:31.0 8086:24cc (rev 01)
    0:31.1 8086:24ca (rev 01)
    0:31.5 8086:24c5 (rev 01)
    0:31.6 8086:24c6 (rev 01)
    1:1.0 104c:ac44 (rev 02)
    1:1.1 104c:8029
    1:3.0 14e4:4320 (rev 03)
    1:8.0 8086:103d (rev 81)
    2:0.0 1033:0035 (rev 41)
    2:0.1 1033:0035 (rev 41)
    2:0.2 1033:00e0 (rev 02)
    #


It is fairly easy to identify what hardware I have and then find the drivers/modules I need for, eg the network cards, from the internet. Very Happy

Paul
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: Thu 09 Mar 2006, 05:05    Post subject:  

Good tip - how does this compare with Start / control panel / Xproc
from the menu would you say?

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Thu 09 Mar 2006, 11:07    Post subject:  

Lobster wrote:
Good tip - how does this compare with Start / control panel / Xproc
from the menu would you say?

From Start -> Control Panel -> Xproc system information -> Advanced:
    PCI devices found:
    Bus 0, device 0, function 0:
    Host bridge: Intel Corp. 82852/855GM Host Bridge (rev 2).
    Bus 0, device 0, function 1:
    System peripheral: PCI device 8086:3584 (Intel Corp.) (rev 2).
    Bus 0, device 0, function 3:
    System peripheral: PCI device 8086:3585 (Intel Corp.) (rev 2).
    Bus 0, device 2, function 0:
    VGA compatible controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 2).
    IRQ 11.
    Prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].
    Non-prefetchable 32 bit memory at 0xfaf80000 [0xfaffffff].
    I/O at 0xc000 [0xc007].
    Bus 0, device 2, function 1:
    Display controller: Intel Corp. 82852/855GM Integrated Graphics Device (#2) (rev 2).
    Prefetchable 32 bit memory at 0xe8000000 [0xefffffff].
    Non-prefetchable 32 bit memory at 0xfaf00000 [0xfaf7ffff].
    Bus 0, device 29, function 0:
    USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 1).
    IRQ 11.
    I/O at 0xbf80 [0xbf9f].
    Bus 0, device 29, function 1:
    USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 1).
    IRQ 11.
    I/O at 0xbf40 [0xbf5f].
    Bus 0, device 29, function 2:
    USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 1).
    IRQ 11.
    I/O at 0xbf20 [0xbf3f].
    Bus 0, device 29, function 7:
    USB Controller: Intel Corp. 82801DB USB2 (rev 1).
    IRQ 11.
    Non-prefetchable 32 bit memory at 0xfaeffc00 [0xfaefffff].
    Bus 0, device 30, function 0:
    PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 129).
    Master Capable. No bursts. Min Gnt=4.
    Bus 0, device 31, function 0:
    ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 1).
    Bus 0, device 31, function 1:
    IDE interface: Intel Corp. 82801DBM Ultra ATA Storage Controller (rev 1).
    IRQ 11.
    I/O at 0xbfa0 [0xbfaf].
    Non-prefetchable 32 bit memory at 0x20000000 [0x200003ff].
    Bus 0, device 31, function 5:
    Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio Controller (rev 1).
    IRQ 7.
    I/O at 0xd800 [0xd8ff].
    I/O at 0xdc40 [0xdc7f].
    Non-prefetchable 32 bit memory at 0xfaeff800 [0xfaeff9ff].
    Non-prefetchable 32 bit memory at 0xfaeff400 [0xfaeff4ff].
    Bus 0, device 31, function 6:
    Modem: Intel Corp. 82801DB AC'97 Modem Controller (rev 1).
    IRQ 7.
    I/O at 0xd400 [0xd4ff].
    I/O at 0xd080 [0xd0ff].
    Bus 1, device 1, function 0:
    CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller (rev 2).
    IRQ 11.
    Master Capable. Latency=168. Max Lat=5.
    Non-prefetchable 32 bit memory at 0x20001000 [0x20001fff].
    Bus 1, device 1, function 1:
    FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller (rev 0).
    IRQ 11.
    Master Capable. Latency=32. Min Gnt=2.Max Lat=4.
    Non-prefetchable 32 bit memory at 0xfcfff800 [0xfcffffff].
    Non-prefetchable 32 bit memory at 0xfcff8000 [0xfcffbfff].
    Bus 1, device 3, function 0:
    Network controller: Broadcom Corporation BCM94306 802.11g (rev 3).

    IRQ 7.
    Master Capable. Latency=32.
    Non-prefetchable 32 bit memory at 0xfcffc000 [0xfcffdfff].
    Bus 1, device 8, function 0:
    Ethernet controller: Intel Corp. 82801BD PRO/100 VE (MOB) Ethernet Controller (rev 129).

    IRQ 11.
    Master Capable. Latency=32. Min Gnt=8.Max Lat=56.
    Non-prefetchable 32 bit memory at 0xfcffe000 [0xfcffefff].
    I/O at 0xecc0 [0xecff].
    Bus 2, device 0, function 0:
    USB Controller: PCI device 1033:0035 (rev 65).
    IRQ 11.
    Master Capable. Latency=8. Min Gnt=1.Max Lat=42.
    Non-prefetchable 32 bit memory at 0x20800000 [0x20800fff].
    Bus 2, device 0, function 1:
    USB Controller: PCI device 1033:0035 (rev 65).
    IRQ 11.
    Master Capable. Latency=8. Min Gnt=1.Max Lat=42.
    Non-prefetchable 32 bit memory at 0x20801000 [0x20801fff].
    Bus 2, device 0, function 2:
    USB Controller: PCI device 1033:00e0 (rev 2).
    IRQ 11.
    Master Capable. Latency=68. Min Gnt=16.Max Lat=34.
    Non-prefetchable 32 bit memory at 0x20802000 [0x208020ff].


I looked at the source of Xproc - it gets its pci info from /proc/pci (type "cat /proc/pci" in a terminal to see what I mean). The listings are not identical but do overlap. Note that Xproc does not identify the last three devices (2:0.0, 2:0.1 and 2:0.2) by manufacturer. lspci shows them to be NEC devices. Xproc successfully identifies my network interfaces, just as lspci does.

IMHO, the output of "lspci" would be easier to filter for script use, especially in combination with the "vendor" data from "lspci -n". On the negative side though, the file pci.ids makes Puppy 383K bigger - and that we can do without...

I wonder why Puppy's hardware probe doesn't make use of the information from /proc/pci ?

Paul
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: Thu 09 Mar 2006, 12:00    Post subject:  

This is tiny and good - and can be added to the probe
Please PM (personal message) Barry about this in case he does not see it. Hopefully we can add this to 1.0.9 / Puppy2

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
sccat

Joined: 22 Aug 2005
Posts: 160

PostPosted: Tue 13 Jun 2006, 01:24    Post subject:  

Very good!

I will use it to identify my hardware.

Is it in Puppy 2 now?
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Tue 13 Jun 2006, 02:48    Post subject:  

sccat wrote:
Very good!

I will use it to identify my hardware.

Is it in Puppy 2 now?

The pci.ids file is quite big. If I remember correctly, Barry has extracted certain parts of the file to use for detecting some hardware in Puppy2.
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7100
Location: Perth, Western Australia

PostPosted: Tue 13 Jun 2006, 08:29    Post subject:  

yes, i wrote a little script that extracts just the usb and pcmcia info from
pci.ids, which is all i wanted for auto-detection at bootup.
Back to top
View user's profile Send private message Visit poster's website 
limeylew

Joined: 13 Jun 2006
Posts: 5
Location: Benbrook Texas

PostPosted: Tue 13 Jun 2006, 20:09    Post subject: Re: How to show more hardware info in Puppy  

pakt wrote:
Start -> Control Panel -> Hardware probe -> Query_PCI tries hard to show what hardware your PC has, but it usually shows mostly "null" in its output leaving you mainly in the dark. "lspci" reveals even less information.

Running Puppy 1.0.7, here is the output from "lspci" on my laptop:
    # lspci
    0:0.0 8086:3580 (rev 02)
    0:0.1 8086:3584 (rev 02)
    0:0.3 8086:3585 (rev 02)
    0:2.0 8086:3582 (rev 02)
    0:2.1 8086:3582 (rev 02)
    0:29.0 8086:24c2 (rev 01)
    0:29.1 8086:24c4 (rev 01)
    0:29.2 8086:24c7 (rev 01)
    0:29.7 8086:24cd (rev 01)
    0:30.0 8086:2448 (rev 81)
    0:31.0 8086:24cc (rev 01)
    0:31.1 8086:24ca (rev 01)
    0:31.5 8086:24c5 (rev 01)
    0:31.6 8086:24c6 (rev 01)
    1:1.0 104c:ac44 (rev 02)
    1:1.1 104c:8029
    1:3.0 14e4:4320 (rev 03)
    1:8.0 8086:103d (rev 81)
    2:0.0 1033:0035 (rev 41)
    2:0.1 1033:0035 (rev 41)
    2:0.2 1033:00e0 (rev 02)
    #


This doesn't tell me much - basically just the vendor info (xxxx:xxxx).
However, the information output from "lspci" can be easily improved.

Here is how:

1. Download the text file http://pciids.sourceforge.net/pci.ids

2. Copy it to /usr/local/share/

3. That's it!

Now when I run "lspci" on my laptop, I get this output:
    # lspci
    0:0.0 Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
    0:0.1 Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
    0:0.3 Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
    0:2.0 Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
    0:2.1 Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
    0:29.0 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
    0:29.1 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
    0:29.2 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
    0:29.7 Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
    0:30.0 Intel Corporation 82801 Mobile PCI Bridge (rev 81)
    0:31.0 Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
    0:31.1 Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
    0:31.5 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
    0:31.6 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)
    1:1.0 Texas Instruments PCI4510 PC card Cardbus Controller (rev 02)
    1:1.1 Texas Instruments PCI4510 IEEE-1394 Controller
    1:3.0 Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
    1:8.0 Intel Corporation 82801DB PRO/100 VE (MOB) Ethernet Controller (rev 81)

    2:0.0 NEC Corporation USB (rev 41)
    2:0.1 NEC Corporation USB (rev 41)
    2:0.2 NEC Corporation USB 2.0 (rev 02)
    #


By using this information along with the data from "lspci -n" to show only vendor data:
    # lspci -n
    0:0.0 8086:3580 (rev 02)
    0:0.1 8086:3584 (rev 02)
    0:0.3 8086:3585 (rev 02)
    0:2.0 8086:3582 (rev 02)
    0:2.1 8086:3582 (rev 02)
    0:29.0 8086:24c2 (rev 01)
    0:29.1 8086:24c4 (rev 01)
    0:29.2 8086:24c7 (rev 01)
    0:29.7 8086:24cd (rev 01)
    0:30.0 8086:2448 (rev 81)
    0:31.0 8086:24cc (rev 01)
    0:31.1 8086:24ca (rev 01)
    0:31.5 8086:24c5 (rev 01)
    0:31.6 8086:24c6 (rev 01)
    1:1.0 104c:ac44 (rev 02)
    1:1.1 104c:8029
    1:3.0 14e4:4320 (rev 03)
    1:8.0 8086:103d (rev 81)
    2:0.0 1033:0035 (rev 41)
    2:0.1 1033:0035 (rev 41)
    2:0.2 1033:00e0 (rev 02)
    #


It is fairly easy to identify what hardware I have and then find the drivers/modules I need for, eg the network cards, from the internet. Very Happy

Paul


Hi, I'm pretty new to this, so my question may be rather dumb but why would you not use ' lshw ' ?

Is it too big of a file?

Kind regards.

Lewis.

****
Back to top
View user's profile Send private message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Wed 14 Feb 2007, 16:25    Post subject:  

This HOWTO no longer works, in 2.11 nor in 214. However there is now the pupscan utility, although I don't know if it is as comprehensive as the list in pci.ids.
Back to top
View user's profile Send private message 
bostonvaulter


Joined: 26 Sep 2006
Posts: 269

PostPosted: Sun 11 Mar 2007, 14:53    Post subject:  

PaulBx1,

It seems it will work if you put the file in /usr/share rather than /usr/local/share

it might mess up my boot though, i haven't tested that yet.
Back to top
View user's profile Send private message 
tadatada

Joined: 15 Jul 2008
Posts: 6
Location: Yuxi, YunNan, China

PostPosted: Sat 19 Jul 2008, 04:53    Post subject: my puppy is 4.0, how can I get more hardware info?  

oh, my puppy is 4.0, in start menu, there is only a System---Hardinfo
or System ---- PupScan,
they do not so many hard info comparing with yours. what should i do?
Back to top
View user's profile Send private message MSN Messenger 
rokytnji


Joined: 20 Jan 2009
Posts: 1499
Location: Pecos/ Texas

PostPosted: Tue 30 Mar 2010, 21:27    Post subject:  

I hope it is Ok with the mods to update this thread. If Not. Delete My Post.

http://www.murga-linux.com/puppy/viewtopic.php?t=53986
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1015s ][ Queries: 12 (0.0045s) ][ GZIP on ]