On Thu, Apr 25, 2002 at 12:57:03PM -0500, Curran, Dominic wrote:
> 
> But perhaps it sounds like user mode is a better place for a firmware loaded
> anyway ?

Yes it is.  Even the drivers currently in the kernel today that
implement firmware download will be eventually moved to userspace.

> I'm also not familiar with what that spec says.
> I know that we have other products that require firmware downloads.
> Currently under windows they work like this;  On 'arrival' they appear as a
> VID and PID of XXXX/AAAA, this causes windows to load a firmware download
> driver which reads the name of the appropriate firmware file from the
> registry and downloads the file contents to the device.  
> The device then disconnects, starts up its new firmware and appears with a
> new VID and PID YYYY/BBBBB, which will then cause the firmware download
> driver to be unloaded and a different driver appropriate to the device to be
> loaded in its place.
> [NOTE these devices are not using the firmware upgrade spec]

This sounds exactly how a number of the usb to serial drivers work
today.  Check out drivers/usb/serial/keyspan_pda.c keyspan.c, or
whiteheat.c.  They all do just what you described above.

> So perhaps something simular could be done on Linux using hotplug.

Exactly, that is where the firmware download will be moving to.  There
are some examples on the linux-hotplug.sf.net page showing how you can
do this.

Hope this helps,

greg k-h

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to