OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Usb Mass Storage Driver(ide), Detecting usb mass storage device but ..
Sashi Bhusan
post Mar 21 2005, 01:01 AM
Post #1





Group: Members
Posts: 7
Joined: 10-March 05
Member No.: 6,605



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
Go to the top of the page
 
+Quote Post
lardman
post Mar 21 2005, 02:21 AM
Post #2





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



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
Go to the top of the page
 
+Quote Post
Sashi Bhusan
post Mar 21 2005, 07:30 AM
Post #3





Group: Members
Posts: 7
Joined: 10-March 05
Member No.: 6,605



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
Go to the top of the page
 
+Quote Post
lardman
post Mar 21 2005, 07:51 AM
Post #4





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



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
Go to the top of the page
 
+Quote Post
Sashi Bhusan
post Mar 26 2005, 02:23 AM
Post #5





Group: Members
Posts: 7
Joined: 10-March 05
Member No.: 6,605



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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th October 2014 - 12:41 PM