LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxAnswers Discussion (https://www.linuxquestions.org/questions/linuxanswers-discussion-27/)
-   -   DISCUSSION: Guide to Linuxquestions HCL entries. (https://www.linuxquestions.org/questions/linuxanswers-discussion-27/discussion-guide-to-linuxquestions-hcl-entries-114926/)

finegan 11-11-2003 03:44 PM

DISCUSSION: Guide to Linuxquestions HCL entries.
 
This thread is to discuss the article titled: Guide to Linuxquestions HCL entries.

Emmanuel_uk 05-04-2005 01:41 AM

lspci vs lspcidrake
 
Hi,

Lspci and lspcidrake are not that equivalent, maybe.
Just to let you know that I had some problems using scanModem
scripts because my default install in mandrake 10.CE did not install lspci
but only lspcidrake.
That is how I came about comparing outputs.
Anyhow having read this guide, as a newbee, I assumed lspci and lspcidrake
were "exactly the same thing" and interchangeable. Well, not in fact.

Anyhow, mandrake comes with the pciutils package that one can install anytime
so to have lspci. I wonder if this should not be pointed out in the guide.
It all depends what outputs are best for the HCL.

Example of output difference:

Lspci followed by lspcidrake (one line each)
00:1f.6 Modem: Intel Corp. 82801AA AC'97 Modem (rev 02)
slamr : Intel Corp.|82801AA 810 Chipset AC'97 PCI Modem [COMMUNICATION_MODEM]

Lspci -v followed by lspcidrake -v
00:1f.6 Modem: Intel Corp. 82801AA AC'97 Modem (rev 02) (prog-if 00 [Generic])
Subsystem: Intel Corp. 82801AA AC'97 Modem
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at dc00 [size=256]
I/O ports at d800 [size=128]
slamr : Intel Corp.|82801AA 810 Chipset AC'97 PCI Modem [COMMUNICATION_MODEM] (vendor:8086 device:2416)

lspci -nv
00:1f.6 Class 0703: 8086:2416 (rev 02)
Subsystem: 8086:2416
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at dc00 [size=256]
I/O ports at d800 [size=128]

lspcidrake -nv not really suported:
slamr : Intel Corp.|82801AA 810 Chipset AC'97 PCI Modem [COMMUNICATION_MODEM]

Lspci -vv followed by lspcidrake -vv (which is not supported)
00:1f.6 Modem: Intel Corp. 82801AA AC'97 Modem (rev 02) (prog-if 00 [Generic])
Subsystem: Intel Corp. 82801AA AC'97 Modem
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 11
Region 0: I/O ports at dc00 [size=256]
Region 1: I/O ports at d800 [size=128]
slamr : Intel Corp.|82801AA 810 Chipset AC'97 PCI Modem [COMMUNICATION_MODEM]

# lspcidrake --help
usage: lspcidrake [-v|-u]
-p <file>: pci devices source [/proc/bus/pci/devices by default]
-u <file>: usb devices source [/proc/bus/usb/devices by default]
-v : verbose mode [print ids and sub-ids], implies full probe

I hope this helps
Regards

Emmanuel_uk 09-20-2005 06:43 AM

usb device in HCL using info from lsub
 
The guide could also mention that the command lsub
could / should be posted for usb devices

This gives
idVendor
idProduct

and some other info


All times are GMT -5. The time now is 12:06 AM.