Sign in with
Sign up | Sign in
Your question

Ubuntu won't recognise USB

Last response: in Linux/Free BSD
Share
May 24, 2012 6:23:48 PM

Hello,
I have bought two new USB sticks and, when plugging them in (under Ubuntu), it would not recognise them. Gparted took ages to load with them in (still unformatted). I tried to reboot with one in the computer and it got past GRUB, but would not load until I removed it. I then booted to Windows 7, inserted the USB sticks and it instantly recognized and FAT32 formatted them. I then rebooted to Ubuntu and it did not recognise them. How do I solve this? Is more information needed?
Thanks!

More about : ubuntu recognise usb

May 25, 2012 4:09:40 AM

that's strange i've haven't run into that problem before. what version of ubuntu are you running?
May 26, 2012 9:09:47 AM

12.04 (with kernel 3.4). I checked my laptop (also 12.04, with kernel 3.2) to see if it was a problem with kernel 3.4 and the same happened Probably not the case, but would it be because it is a generic memory stick and it runs firmware that only runs on proprietary operating systems?
Related resources
May 26, 2012 1:05:33 PM

just out of curiosity, do you have a different brand/model of memory stick you can try?
May 26, 2012 10:07:42 PM

I have a 512MB Disgo memory stick (FAT16 formatted) and this has always worked fine on Ubuntu.
May 27, 2012 5:34:35 AM

ok so the other brand works fine but this new brand/model for some reason doesnt work in linux is that correct? I dont believe you have given us the information of the make/model of the new usb flash drives that do NOT work. have you tried googling for more information about them?
May 27, 2012 3:45:14 PM

Well I guess we've determined that this mystery usb flash drive doesnt work in linux. while its connected you can use the command "lsusb" to get more info on the drive in linux. I believe you can determine the make and model from the output.
May 28, 2012 8:03:03 PM

Linux does not seem to recognise it in the first place. I shall try on Windows.
May 28, 2012 8:43:52 PM

Actually, it does. I can not, however, get a name. Here is the output for my laptop with the USB stick out:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 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 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Bluetooth 2.0 Interface [Broadcom BCM2045]
Bus 005 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor

And in:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 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 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Bluetooth 2.0 Interface [Broadcom BCM2045]
Bus 005 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
Bus 002 Device 005: ID 0011:7788

The difference between the first and second is "Bus 002 Device 005: ID 0011:7788". This, however, does not tell me much. If possible, how would I access this?
May 28, 2012 9:17:16 PM

According to Windows XP, this is a "Generic Flash Disk USB Device". I can not, however, find manufacturer information. An e-mail has been sent to the E-bay seller, asking if they know anything. I only received them a few days ago and they're still in the return period. I may try to obtain a refund and get a different USB bracelet that works with Linux, but shall try it under Fedora Core (from a live CD) first.
May 28, 2012 10:11:52 PM

I am struggling to understand this (tired and stressed). Would anybody be able to tell me what is meant by this (I have extracted some text from the end of the log)?:

May 28 22:50:52 ethan-desktop kernel: [ 1602.828113] usb 2-5: new high-speed USB device number 5 using ehci_hcd
May 28 22:50:52 ethan-desktop kernel: [ 1603.049400] scsi8 : usb-storage 2-5:1.0
May 28 22:50:53 ethan-desktop kernel: [ 1604.050305] scsi 8:0:0:0: Direct-Access Generic Flash Disk 8.00 PQ: 0 ANSI: 2
May 28 22:50:53 ethan-desktop kernel: [ 1604.051685] sd 8:0:0:0: Attached scsi generic sg6 type 0
May 28 22:50:53 ethan-desktop kernel: [ 1604.056721] sd 8:0:0:0: [sdf] 65536000 512-byte logical blocks: (33.5 GB/31.2 GiB)
May 28 22:50:53 ethan-desktop kernel: [ 1604.057276] sd 8:0:0:0: [sdf] Write Protect is off
May 28 22:50:53 ethan-desktop kernel: [ 1604.057288] sd 8:0:0:0: [sdf] Mode Sense: 03 00 00 00
May 28 22:50:53 ethan-desktop kernel: [ 1604.057775] sd 8:0:0:0: [sdf] No Caching mode page present
May 28 22:50:53 ethan-desktop kernel: [ 1604.057787] sd 8:0:0:0: [sdf] Assuming drive cache: write through
May 28 22:50:53 ethan-desktop kernel: [ 1604.061524] sd 8:0:0:0: [sdf] No Caching mode page present
May 28 22:50:53 ethan-desktop kernel: [ 1604.061535] sd 8:0:0:0: [sdf] Assuming drive cache: write through
May 28 22:50:53 ethan-desktop kernel: [ 1604.170812] sdf: sdf1
May 28 22:50:53 ethan-desktop kernel: [ 1604.174286] sd 8:0:0:0: [sdf] No Caching mode page present
May 28 22:50:53 ethan-desktop kernel: [ 1604.174298] sd 8:0:0:0: [sdf] Assuming drive cache: write through
May 28 22:50:53 ethan-desktop kernel: [ 1604.174306] sd 8:0:0:0: [sdf] Attached SCSI removable disk
May 28 22:51:24 ethan-desktop kernel: [ 1634.960091] usb 2-5: reset high-speed USB device number 5 using ehci_hcd
May 28 22:51:55 ethan-desktop kernel: [ 1666.000121] usb 2-5: reset high-speed USB device number 5 using ehci_hcd
May 28 22:52:26 ethan-desktop kernel: [ 1696.976081] usb 2-5: reset high-speed USB device number 5 using ehci_hcd
May 28 22:52:57 ethan-desktop kernel: [ 1727.952131] usb 2-5: reset high-speed USB device number 5 using ehci_hcd
May 28 22:53:28 ethan-desktop kernel: [ 1758.928115] usb 2-5: reset high-speed USB device number 5 using ehci_hcd
May 28 22:53:59 ethan-desktop kernel: [ 1789.968115] usb 2-5: reset high-speed USB device number 5 using ehci_hcd
May 28 22:53:59 ethan-desktop kernel: [ 1790.184787] sd 8:0:0:0: [sdf] Media Changed
May 28 22:53:59 ethan-desktop kernel: [ 1790.184797] sd 8:0:0:0: [sdf] Result: hostbyte=DID_ABORT driverbyte=DRIVER_SENSE
May 28 22:53:59 ethan-desktop kernel: [ 1790.184806] sd 8:0:0:0: [sdf] Sense Key : Unit Attention [current]
May 28 22:53:59 ethan-desktop kernel: [ 1790.184817] Info fld=0x0
May 28 22:53:59 ethan-desktop kernel: [ 1790.184821] sd 8:0:0:0: [sdf] Add. Sense: Not ready to ready change, medium may have changed
May 28 22:53:59 ethan-desktop kernel: [ 1790.184832] sd 8:0:0:0: [sdf] CDB: Read(10): 28 00 03 e7 ff f8 00 00 01 00
May 28 22:53:59 ethan-desktop kernel: [ 1790.184851] end_request: I/O error, dev sdf, sector 65535992
May 28 22:53:59 ethan-desktop kernel: [ 1790.184861] Buffer I/O error on device sdf, logical block 8191999
May 28 22:53:59 ethan-desktop kernel: [ 1790.193789] sd 8:0:0:0: [sdf] No Caching mode page present
May 28 22:53:59 ethan-desktop kernel: [ 1790.193801] sd 8:0:0:0: [sdf] Assuming drive cache: write through
May 28 22:53:59 ethan-desktop kernel: [ 1790.196431] sd 8:0:0:0: [sdf] No Caching mode page present
May 28 22:53:59 ethan-desktop kernel: [ 1790.196442] sd 8:0:0:0: [sdf] Assuming drive cache: write through
May 28 22:54:00 ethan-desktop kernel: [ 1790.305686] sdf: sdf1
May 28 22:54:30 ethan-desktop kernel: [ 1821.008117] usb 2-5: reset high-speed USB device number 5 using ehci_hcd
May 28 22:55:01 ethan-desktop kernel: [ 1851.984110] usb 2-5: reset high-speed USB device number 5 using ehci_hcd
May 28 22:55:32 ethan-desktop kernel: [ 1882.960075] usb 2-5: reset high-speed USB device number 5 using ehci_hcd
May 28, 2012 11:35:46 PM

I remember it saying "Installing device driver software" on Windows 7. Does it use some sort of proprietary firmware or something that, as a result, locks it into Windows (and possibly OS X)? Would Windows have formatted it so that it cannot be accessed by non-Microsoft operating systems.
May 29, 2012 12:18:19 AM

To see if I can fix it (assuming the problem in the post above), I shall do a low level format of the drive.
May 29, 2012 1:56:24 AM

There are quite a few clues in that log file extract:

Quote:
reset high-speed USB device number 5 using ehci_hcd


Quote:
I/O error, dev sdf, sector 65535992


Can I ask a couple of questions to help things along.

1. What motherboard are you using? I'm guessing it uses and Intel chipset.

2. What version of Linux are you running?

You might want to have a read of this:

http://www.cyberciti.biz/faq/rhel-redhat-centos-kernel-...
May 29, 2012 7:02:18 AM

I have a laptop that uses an Intel chipset. The results that I have posted were actually from my desktop (using an AsRock 890GX Extreme 3), from Ubuntu 12.04 (kernel 3.2 (not kernel 3.4 as posted earlier, I reverted due to driver incompatibility)). The low level format did not work. I will check this later, as I am busy right now. Thanks, though.
May 29, 2012 1:19:24 PM

Have a read of the ehci link I put up. I doubt a change of drive will fix the problem. Disabling ehci is the route I would personally take. I'd also look to move to 3.4 kernel.
May 29, 2012 6:17:13 PM

I would not disable ehci. the other memory stick the OP has works fine. the only odd out is this no name memory stick that works in windows but not in linux for some reason. I searched google and found other people having the same problem with the same device id from the lsusb output.

audiovoodoo said:
Have a read of the ehci link I put up. I doubt a change of drive will fix the problem. Disabling ehci is the route I would personally take. I'd also look to move to 3.4 kernel.

May 29, 2012 8:04:17 PM

I have e-mailed the seller. He has said something about manually mounting it. I will see if I can mount it manually and if the problem is not solved, I will get a different USB drive and return the current ones.
May 31, 2012 8:40:37 PM

I shall deal with the problem later. Thank you everybody for the help, though.
!