Detect pen drive in ubuntu

Fenrir190

Distinguished
Jun 9, 2011
121
0
18,680
When you say it's not showing up I assume you mean not popping up on the desktop. Tell me what happens when you do the following

1: Open the terminal
2: Type the command tail -f /var/log/messages either while being root or typing sudo tail -f /var/log/messages
3: Plug in your device

Post back what you see in the terminal. You should see something indicating the computer knows of the drive's existence.
 

thanigaivelan

Distinguished
Aug 2, 2011
2
0
18,510



Hi,

Thanks for your message. When i type the command

thanigai@hostname:~$ tail -f /var/log/messages
tail: cannot open `/var/log/messages' for reading: No such file or directory


I had used lsusb command

thanigai@hostname:~$ lsusb
Bus 002 Device 002: ID 15d9:0a4c Trust International B.V.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

For me Pen drive is not detecting in ubuntu 11.04 OS. Please Help

Thanks

Thanigaivelan
 

Fenrir190

Distinguished
Jun 9, 2011
121
0
18,680

Hmmm this is what I get when I type the command you tried

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser <===
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1058:1021 Western Digital Technologies, Inc. <===
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

note that I only have 2 devices hooked to my rig. So from what I can gather it seems the system itself isn't recognizing the drive. So try these things and post back.
1.) Try the device on another system(specifically a windows machine). I doubt that there's is some issue with linux being able to find the drivers for your device.
2.) Look at your drives manufacturer to see if you can find the linux version of your device drivers. Try google as well.
 

bmouring

Distinguished
May 6, 2006
1,215
0
19,360
Which machine is this? It makes sense to try to figure out the USB chipsets on the thing and make sure they're supported under Linux (although if they indeed follow the [EUOX]HCI standard, it should just work.

Can you also just post the output of
Code:
sudo lspci|grep -i usb
//You may also want to run just lspci and look for any suspicious entries