--- On Fri 09/29, Alan Stern < [EMAIL PROTECTED] > wrote:

From: Alan Stern [mailto: [EMAIL PROTECTED]

To: [EMAIL PROTECTED]

     Cc: linux-usb-users@lists.sourceforge.net

Date: Fri, 29 Sep 2006 18:33:47 -0400 (EDT)

Subject: Re: [Linux-usb-users] Using USB Host



---------------------------------------------------------------

Please have your email client wrap lines after 75 columns or so. It's

rather inconvenient to deal with messages where each paragraph is just one

very very long line...

----------------------------------------------------------------

Sorry about that but that's because excite is a horrible email and I

have to wrap it myself. I oftentimes forget and thats what you saw.

You will also see "---" between replys and that's also why.





-------------------------------------------

Is that different from simply using the device as a normal flash drive?

How do you know the device uses NOR Flash, and what difference does it

make what type of flash the device contains?

----------------------------------------

Perhaps you misunderstood me. I refer NOR flash to refer to local (system) 
flash in contrast to USB flash drives which is external.





-------------------------------------------------

What exactly do you mean by "recognizes"? What does the dmesg log say?

----------------------------------

Yes, recognize meaning "dmesg".



-------------------------------------------------

Assuming your distribution is reasonably up-to-date, the device node will

be created for you automatically. If it isn't then it's an indication

that the kernel is _not_ fully recognizing the flash drive.

--------------------------------------------------

Sorry again, I failed to mension I'm working on an embedded platform

working with a filesystem I created and not one of the typical desktop

distribution (That would be an easy solution).





-------------------------------------------------

> If I had the /dev/sda1 device, would this be mounted automatically? or

> do I have to do it manually?



It depends on what software you are using. If you have an automounter

running then it would mount the device for you; otherwise you would have to do 
it yourself.



> If I were to create a script to mount this, what events should be

> provided for me to know when a usb mass storage device have been

> detected?



You can find out for yourself very easily by looking at the udev log.

(You may have to use udevcontrol to increase the amount of information

sent to the log file.)

--------------------------------------------------

Because I'm on an embedded platform I don't have udev and from what I've picked 
up so far It looks like I'll have to write a script to take care of these 
things myself if I know what signals to receive once the usb flash drive is 
connected.

I don't expect the kernel to mount any filesystem for me, however, I trying to 
find out how this soft of thing is done with all the usb work that's been done 
so far that has been integrated in the kernel.



The idea here is to use the usb flash drive to update a local flash image on an 
embedded device (ARM9 device in this case).



_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to