On Mon, Nov 15, 2010 at 12:35:35PM +0100, Stefan G. Weichinger wrote:
> Am 15.11.2010 10:39, schrieb Steffen Loos:
> 
> > Maybe a little bit late but:
> > As a summary-tool all the info is gattered and shown by lshw.
> 
> yep, thanks.
> 
> Although it should be possible to just ask the kernel somehow, shouldn't it?

I usually do (especially from a livecd, when I want to know which
drivers to enable in the kernel for a new device ;)

y...@desktop ~ $ ls -l /sys/class/net/eth?/device/driver
lrwxrwxrwx 1 root root 0 2010-11-15 14:38 /sys/class/net/eth1/device/driver -> 
../../../../bus/pci/drivers/tulip
lrwxrwxrwx 1 root root 0 2010-11-15 14:38 /sys/class/net/eth2/device/driver -> 
../../../../bus/pci/drivers/r8169

yoyo


Reply via email to