LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices

Reply
 
Search this Thread
Old 11-11-2003, 03:44 PM   #1
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Post DISCUSSION: Guide to Linuxquestions HCL entries.


This thread is to discuss the article titled: Guide to Linuxquestions HCL entries.
 
Old 05-04-2005, 01:41 AM   #2
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47
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
 
Old 09-20-2005, 06:43 AM   #3
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need help editing my HCL Entries Rusty_L LQ Suggestions & Feedback 0 03-04-2005 11:39 PM
hcl entries berrance LQ Suggestions & Feedback 3 03-03-2005 03:51 AM
a couple of my HCL entries disappeared? carl0ski LQ Suggestions & Feedback 1 01-05-2005 06:20 PM
HCL entries not counted Riley LQ Suggestions & Feedback 4 06-11-2004 02:59 PM
HCL entries? synaptical LQ Suggestions & Feedback 19 02-18-2004 08:04 PM


All times are GMT -5. The time now is 08:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration