LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Command to get the list of connected hardware (https://www.linuxquestions.org/questions/linux-newbie-8/command-to-get-the-list-of-connected-hardware-656229/)

the.reverser 07-16-2008 05:51 PM

Command to get the list of connected hardware
 
Hi All,
How can I find that, how many and which device are connect to my Slackware system.

For Clarification, i would like to tell you that I am using this slackware on my VMware. I need to mount my usb drive but dont know who can i do that
..
Quick response expecting ...
thanks

sycamorex 07-16-2008 06:17 PM

Quote:

Quick response expecting ...
!? :)

Try:
Quote:

lsusb
- for all your usb devices

or

Quote:

lspci
- for all your pci devices

or generally

Quote:

lshw
which lists all your hardware.

When it comes to your usb harddrive. Plug it in and type: dmesg | tail
It should mention something like /dev/sda or something similar so that you know what to mount.

mstjohn1974 07-16-2008 06:17 PM

I don't know what devices you want to see but with lspci you can see all pci devices and with lsusb all usb devices

i hope that helped

jamesapnic 07-16-2008 08:46 PM

Type in dmesg|tail, after you put it in. It will say something like found device /dev/sda. Then you can mount it using mount /dev/sda /mnt, for example.

pixellany 07-16-2008 08:59 PM

Quote:

Originally Posted by the.reverser (Post 3216968)
..
Quick response expecting ...
thanks

As the sign in the office says: "We have two speeds--If you don't like this one, you surely won't like the other..."

the.reverser 07-17-2008 04:27 AM

Quote:

Originally Posted by pixellany (Post 3217068)
As the sign in the office says: "We have two speeds--If you don't like this one, you surely won't like the other..."

Hi I am so sorry, I didnt mean that, i was struggling past to day, so i was expecting quick help..

sda is not gonna work, as scenario is diff. I have installed slackware on VMware, So it is not getting detected, think.. or something else is happening I have no idea.

But main thing is that Slackware is on the VMware Workstation...
Kindly consider it as a very first point..

sycamorex 07-17-2008 04:31 AM

As far as I remember, in VMware for each virtual machine there are options whether to enable sound, floppy, usb, etc. You can find some settings there.

the.reverser 07-17-2008 10:44 AM

more description about scenario...
 
Quote:

Originally Posted by sycamorex (Post 3217407)
As far as I remember, in VMware for each virtual machine there are options whether to enable sound, floppy, usb, etc. You can find some settings there.

yes setting are the enable.
but my i m confused what should I put in mount command in first place

mount <what to put here> /mnt/usb

first argument is questionable..
people are telling me put sda or sda1, but as I am in VMware, the virtual hard drive it has been created that is scsi device, so my virtual hard drive is sda1...
I hope, I am making sense to you all ...
Thanks...


All times are GMT -5. The time now is 03:14 AM.