redthree
Posts: 3
Joined: Wed May 01, 2013 6:48 pm

USB Drive(s) not recognised

Wed May 01, 2013 6:56 pm

Hi All,

I am currently customising my pi to be a portable wifi-router and media hub. The intent is to be able to connect my phone, tablet or laptop to the Pi wireless network and stream media from a USB drive.

This all works spectacularly well with my current setup using a standard USB pen-drive, but some of the drives i have used (including a 120GB flash drive in a powered caddy) dont show up with fdisk -l. They appear in lsusb:

Bus 001 Device 005: ID 13fd:1840 Initio Corporation Shintaro SH23SDOCK Hard Drive Docker [INIC-1608L]

During boot, or re-plug dmesg shows that the device is being seen:

[ 16.095386] scsi0 : usb-storage 1-1.3:1.0
[ 17.103147] scsi 0:0:0:0: Direct-Access Generic External 1.08 PQ: 0 ANSI: 4
[ 17.109218] sd 0:0:0:0: [sda] Attached SCSI removable disk


but the nodes are not created off of /dev and fdisk does not list the drive (let alone any partitions).

I have tried manually creating the nodes, and then fdisk will list something, but the listed item is nowhere near the size of the actual drive.


The drive itself works fine on my mac; i have re-formatted it a number of times and settled (for testing purpose) on FAT which works with the USB keys i tried earlier.

I should point out that several USB drives and SD Cards have also exhibited the same behaviour up until i formatted them.


Any clues? Am at a loss. I ordered a powered caddy from the internet which seems to work just fine on the offchance that it was related to bus power issues, but powering it up does not seem to make much difference.


Any help would be much appreciated as this is the final barrier to my portable-movie-streaming goodness!


Mike

redthree
Posts: 3
Joined: Wed May 01, 2013 6:48 pm

Re: USB Drive(s) not recognised

Wed May 01, 2013 8:07 pm

* UPDATE *

Since posting this, the external powered USB caddy i was using has thrown it's legs up in the air and died (will be trying Scansure tomorrow to see whether it was worth the premium!).

In a fit of desperation i tried a 1TB drive that i know is working but was exhibiting the same behaviour, and as my powered USB hub died some days ago my only alternative was an Apple USB charger. Plugged one end of 'power' USB plug of a split USB cable into that and the USB cable into the Pi and bingo!

So - alternative to a powered USB hub if you are desperate - an Apple USB Charger (or has everyone tried that already????)

Other discovery (please be gentle with me!) is that with the powered USB plugged in you dont need the normal Pi power adapter plugged in at all.......


Hey ho, at least i now have a working media centre and wifi router.

Wonder if i can get it to connect up with my 3G dongle..

I love Pi!

Mike

drgeoff
Posts: 10676
Joined: Wed Jan 25, 2012 6:39 pm

Re: USB Drive(s) not recognised

Thu May 02, 2013 12:02 am

redthree wrote:Other discovery (please be gentle with me!) is that with the powered USB plugged in you dont need the normal Pi power adapter plugged in at all.......
Is an unstifled yawn gentle enough? :lol:

ddurdle
Posts: 61
Joined: Sat May 04, 2013 12:20 am

Re: USB Drive(s) not recognised

Sat May 04, 2013 9:26 am

I read that back powering off a usb hub as the power source for the pi can damage the pi. I'd like clarification as well.

I have a Y cable I use for a hard drive, and it is back powering the pi. I hook up the main power as well, hoping it'll receive it's power through that means.

RPiJunior
Posts: 21
Joined: Tue May 07, 2013 6:12 pm

Re: USB Drive(s) not recognised

Wed May 08, 2013 6:58 am

drgeoff wrote:
redthree wrote:Other discovery (please be gentle with me!) is that with the powered USB plugged in you dont need the normal Pi power adapter plugged in at all.......
Is an unstifled yawn gentle enough? :lol:
Now play nice... I destroy! :twisted:

Code: Select all

int main() {
    try
        throw "off table";
    } catch (void e) {
        printf("Phew...");
    }
}
WARNING: I destroy! :twisted:

RPiJunior
Posts: 21
Joined: Tue May 07, 2013 6:12 pm

Re: USB Drive(s) not recognised

Wed May 08, 2013 7:02 am

redthree wrote:Since posting this, the external powered USB caddy i was using has thrown it's legs up in the air and died.
We mourn the death of a Pi accessory. Even though it failed at its task it did not deserve such a painful death. We bring flowers to show appreciation. I can't do it anymore. :cry:

Code: Select all

int main() {
    try
        throw "off table";
    } catch (void e) {
        printf("Phew...");
    }
}
WARNING: I destroy! :twisted:

Return to “Advanced users”