On Wed, 12 Apr 2006 [EMAIL PROTECTED] wrote:

> Hi Alan,
> 
> Thanks a lot for your reply. Here I have couple of questions based on your 
> replies....
> 
> 1) For scanner the minor base number is 48 in Linux, in the same way what is 
> the minor base number that I can give for a USB mass-storage driver? I am 
> sorry in repeating the same question but I felt like you didn't get my 
> question.

I did understand it perfectly.  I just don't know the answer.  There are 
plenty of other places to look for this information.  Have you tried the 
"Linux Device Drivers" book?  It's freely available online.

> 2) If I am right, I can only read the first partition with that mentioned 
> code.

That code doesn't read any partition.  All it does is find out where the 
first partition starts.

> Alan, in order to finish writing this driver I need your help because I am a 
> new bee. Hope you will give such precious suggestions to me.

I think you need to read up on the basics some more before starting to 
write anything.  You will need to understand how USB devices work, how 
partition sectors work, how boot sectors work, and how the FAT file system 
works, among other things.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to