Help - Search - Members - Calendar
Full Version: Usb Mass Storage Driver(ide)
OESF Forums > General Forums > Desktop Operating Systems Issues > Linux Issues
Sashi Bhusan
HI all,
i have written a USB peripheral controller driver for ISP1583 chip & IDE mass storage class driver on device side for my custom board.when i am inserting the USB cable in windows host system it is detecting USB Mass Storage Device but while clicking on that it should show Generic Disk device but in my case it is showing "the device cannot be stat".

can anybody, is aware of this problem , helpm me out.i

if anybody knows about this problem please give me a reply & ii can send all other details .


with regards
Sashi Bhusan
lardman
I've seen this before - when testing out mass storage on my 5500 - but I have no idea why it happened, nor how to debug it. Iirc, it was fixed (for me) by a suitable combo of rebooting, re-insmod'ing and altering one of the kernel modules.

I'm not sure if the following will be of any use to you but for completeness' sake.

The original posts are here:
http://www.oesf.org/forums/index.php?showtopic=495&hl=
http://www.oesf.org/forums/index.php?showtopic=1856&hl=
http://www.oesf.org/forums/index.php?showtopic=1485&hl=

might be something here too:
http://www.oesf.org/forums/index.php?showtopic=2129&hl=
http://www.oesf.org/forums/index.php?showtopic=1996&hl=

Sorry I can't be of more help,


Si
Sashi Bhusan
hi Si,
thanks for responding.i have got the usb_mass.c code from the links you have given.but some functions are there which are not defined in this .c file.so where can i get that.for example "sa1100_usb_start()".

waiting for your reply

with regards
Sashi Bhusan
lardman
It's probably in the source which builds the sa1100_bi.o module, not sure exactly where that is in the kernel source without looking (and I can't atm).

You might be better looking at the source code for storage_fd.o which comes in the c860 kernel source code. I imagine that the handhelds.org kernels also
support mass storage, so a browse through their source might also be worth while.

I imagine that this kind of error has been encountered before by those who develop mass storage drivers for devices, so you should also have a look at any USB related mailing lists you can find to see if you can spot anything there.


Si
Sashi Bhusan
Hi Si,
i am able detect that fault now i am able to detect the disk & icon "removable disk " is coming in My Computer.but i am unable to access that i.e. when i am clicking on that nothing is coming.

what might be the problem ?how i can access that.please help me out.

regards
Sashi Bhusan
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.