Skip to contentSkip to conversation

need source for lspci, lsusb, etc.

DISCUSSION Milton Mobley 2 participants 3 messages Aug 16, 2006 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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?

#1 lore raw
Quoted 11 lines · Milton Mobley

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 [email protected]
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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 4 lines · Milton Mobley

Thanks for your suggestions. My Linux computers are not connected to the net, so I am focussing on getting tarballs which I can then move from Windows to Linux

Quoted 35 lines
Quoted 33 lines · On 8/15/06, [email protected] <[email protected]> wrote:
Quoted 1 line · Milton Mobley

Hi, I am building kernels from kernel.org sources, and am having

problems

Quoted 12 lines

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 [email protected]
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

In that case, google for:
source pciutils
source usbutils
source module-init-tools

You should get your hands on a tarball quickly.

Regards, Michiel de Boer

PS:
two tips:
- use "reply to all" when you reply to a message in the lkml
- when you quote previous discussion, place your answer below the quote, instead of above ;) These things are common courtesy & practice on the lkml.
(see: http://kernel.org/pub/linux/docs/lkml/ for reference)