Hi all, Here's the latest format of lst files(hardware list).
You can found detect library(a library used for hardware detection) on xline website: http://www.xline.fr Greets, Alexandre.
Since detect 0.9.29 a new format is being used in the pci.lst file. The following is a procedure to add entries or update this file. a) Preliminary: =============== Download the detect package and install it (http://www.xline/download.html) After the installation procedure is completed, copy the file /usr/share/detect/pci.lst to your home directory. Now use your favorite editor to edit the copy. b) Structure of lst files: ======================== If you take a look at the structure of the lst files you'll see something like this: +----8<--------------------------------------------------------------- |0000 Gammagraphx, Inc. |001a Ascend Communications, Inc. |003d Lockheed Martin-Marietta Corp |0675 Dynalink | 06751700 unknown unknown IS64PH ISDN Adapter | 06751702 unknown unknown IS64PH ISDN Adapter |0e11 Compaq Computer Corporation | 0e110001 unknown unknown PCI to EISA Bridge | 0e110002 unknown unknown PCI to ISA Bridge +----8<--------------------------------------------------------------- - Description of the entries: You'll notice that there are lines aligned to the first column and other lines aligned to column eight. The lines aligned to column one are entries for vendors. * The first field is the 'vendor id' and is unique for each vendor/manufacturer. * The second field is the 'vendor name'. The lines aligned to columen eight are devices made by a given vendor. The devices are listed immediately after their manufacturer. * The first field --------------- is the 'vendor id' concatened with the device 'model id', and we'll call it 'device id' To obtain the 'device id' for each one of the boards installed in your computer, perform the following steps For PCI devices: +----8<--------------------------------------------------------------- |[EMAIL PROTECTED] alex]$cat /proc/bus/pci/devices +----8<--------------------------------------------------------------- Here, the important field is the second one, which is the 'device id'. Now use the file /usr/include/linux/pci.h to see what is the vendor and the model. For USB devices! +----8<--------------------------------------------------------------- |[EMAIL PROTECTED] alex]$cat /proc/bus/usb/devices +----8<----- * Second field: [type of the logical device] ------------------------------------------ (mpu401 port, audiodrive, scsi interface...). Detect uses keywords for this: bridge: For bridges (e.g. PCI<->ISA). ethernet: For ethernet device network. ide: For ide interface. modem: For modem card. pcmcia: For pcmcia interface. pmc: For power management controller. scsi: For scsi interface. sound: For soundcard. tvcard: For tvcard. usb: For usb interface. video: For videocard. wireless For wirelesscard. * Third field: [kernel module name used to drive the device] ---------------------------------------------------------- Since detect 0.9.90 you can specify options attached to module. To use this functionnality, make like this: +----8<--------------------------------------------------------------- | ELS ECOMO | ELS00C3 unknown unknown 21H95 | ELS00EA unknown unknown 24H96 | ELS0111 modem ignore|IS_SERIAL MicroLink 28.8TQV +----8<--------------------------------------------------------------- 'ignore' is the name of the module and 'IS_SERIAL' is option passed. The following options are recognized: IS_SERIAL For SERIAL busses devices. IS_WIFI For WIFI devices. * Fourth field: [model name]. -------------------------- c) Adding a new line: ===================== Use the format described above to create a line for each logical device and put them in the pci.lst file, in ascending alphabetical order. d) Updating a line: =================== You'll notice that the currents lst files has many entries with one or more fields set to 'unknown'. I hope this situation will be solved as soon as possible with the help of the community.
