lkml.org 
[lkml]   [2006]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: need source for lspci, lsusb, etc.
Milton Mobley wrote:
> Hi, I am building kernels from kernel.org sources, and am having problems
> detecting certain pci and usb devices (I didn't change the kernel code
> much yet).
> Where can I find the sources for programs that live in /sbin,
> /usr/sbin, etc.,
> especially lspci, lsusb, lsmod?
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
Milton, your distribution of Linux should provide those.
For Debian Linux for example, you'd do:

$ dpkg -S lspci
pciutils: /usr/bin/lspci

..and you note that lspci is in the 'pciutils' package.
You could then do as follows:

$ apt-get update
....
$ apt-get source pciutils

The source would be downloaded and unpacked in the current working
directory.

Regards, Michiel de Boer
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-16 05:47    [W:0.042 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site