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...

On Fri, 29 Sep 2006, Robbie wrote:

> Hi All,
> 
> I'm new to this mailing list and to the USB under linux. I'm trying to
> get some help/advice on using the USB Host controller to update local
> NOR Flash from a USB Flash drive.

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?

> I'm using 2.6.18 Kernel it recognizes the flash drive.

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

> I currently do
> not have a /dev/sda (1,2... etc) device(s) and I'm assuming I'll have to
> create that node before I can use the device (mounting it first).

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.

> 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.)

But you shouldn't have to do this yourself.

> I've read the hotplus website but I'm not sure if all of this is part of
> the kernel, seperate application from the kernel, or this was before the
> auto detect feature was added to the kernel. Which is it? and how do I
> use it?

Are you talking about automatically mounting new devices?  That is not in
the kernel and it never was.

Alan Stern


-------------------------------------------------------------------------
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