When I run into a similar situation (trying to get new hardware/drivers working) I usually boot up a LiveCD version of Linux and see what it takes to make the hardware work. Once I know which drivers are needed and have verified that the hardware works etc. I can switch to Bering check that the drivers exist and load the appropriate modules with a lot less futzing around.
-----Original Message----- From: davidMbrooke [mailto:dmb.leaf-u...@ntlworld.com] Sent: Wednesday, July 29, 2009 12:52 PM To: leaf-user Subject: [leaf-user] PCI Utilities Package (including lspci) for Bering-uClibc 3.x Recently I have been trying to get an 802.11g PCI card working with Bering-uClibc and I found it difficult to work out whether I had the wrong drivers or whether the card was simply not recognized by my hardware. (It turned out to be the latter.) On any other Linux distribution I would have used the "lspci" command but I could not find a version of this for Bering-uClibc. I therefore created a package myself from the sources at http://mj.ucw.cz/pciutils.html The package is pciutils.lrp and it is available in my LEAF "devel" directory on SourceForge: http://leaf.cvs.sourceforge.net/viewvc/leaf/devel/davidmbrooke/bin/packages/uclib-0.9/28/pciutils.lrp Package pciutils.lrp includes the command "lspci" as well as "setpci". It is large (approx 213KB) and relies on libz.lrp (23KB) but it might be useful for debugging PCI problems. Most of the size is due to the data file (pci.ids.gz) so if you know which hardware you are expecting to find you could perhaps install a cut-down pci.ids.gz file. I compiled the code against Bering-uClibc 3.1.10beta3 but I think it should work on any Bering-uClibc 3.x release. I have done some testing with "lspci" and it seems to work OK for me. I have *not* tested "setpci" at all. For reference, I found lspci.lrp for older LEAF (non-uClibc) installations here: http://fritzfam.com/brad/leaftmp/ (mentioned in a 2002 posting to this mailing list). davidMbrooke ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/