lspci

Mike Frysinger vapier at gentoo.org
Wed Nov 11 21:57:01 UTC 2009


On Wednesday 11 November 2009 16:20:00 Vladimir Dronnikov wrote:
> > I tried to write a version of lspci, it only uses sysfs and supports 2
> > options: m and k, it dumps data only in numeric form (not uses pci.ids
> > file)
> 
> Looks familiar :)
> 
> BTW, updated ndev is at http://busybox.net/~dvv/patch/ndev.patch :
> speedup; diving into /sys/devices is moved to a separate script. If
> you find common pieces of lspci and ndev code (parsing uevent?) -- we
> can bubble it up into a lib function.

would probably be good anyways as i imagine a sysfs-based lsusb would utilize 
the code too
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20091111/458d72dc/attachment.pgp>


More information about the busybox mailing list