linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Automatic download and installation of drivers.
@ 2001-10-16  0:02 Stamatis Mitrofanis
  2001-10-16  5:29 ` Greg KH
                   ` (25 more replies)
  0 siblings, 26 replies; 27+ messages in thread
From: Stamatis Mitrofanis @ 2001-10-16  0:02 UTC (permalink / raw)
  To: linux-hotplug

Automatic download and installation of drivers. That is definately a 
good thing to have (in general). What we need now is to find:
- the best way to to use HTTP for the task.
- the best way to organize scripts/programs to have a general framework 
for requesting drivers of all kinds.
- actual database servers which are globally accessible to do the work.
- actual manufacturers to simply provide downloads in their ftp servers.

For HTTP there can be simple name=value requests that are passed to the 
server's CGI. The server redirects the client to where the actual file 
resides. The following holds:


wget http://www.kernel.org/cgi-bin/getdriver?bus=usb&pid=0x1234&vid=0x5678 <http://www.kernel.org/cgi-bin/getdriver?bus=usb&pid=0x1234&vid=0x5678>

Afterwards, the driver will get installed.

For the hotplug scripts I suggest that we create a new driver.agent 
which will process four actions (fetch/toss/install/uninstall) with 
appropriate parameters. It will be triggered by any other hotplug agent 
requiring a certain "resource" to satisfy an important request. The key 
thing here is that it should be acceptable to use the standard 
input/output of an agent.script when its called (like an ordinary 
program -- diagnostics should be sent to either stderr or syslog of 
course). This will be useful here since it's not very convenient to pass 
name=value pairs in the form of environment variables. Defining std 
input/output as "may be useful" for the hotplug scripts should be a good 
thing. install/uninstall get the DRIVER_RESOURCE parameter which is the 
local filename of the downloaded file. If a .tar.gz, they can guess the 
directory it unpacks to.

If anyone has any better ideas/suggestions, please let me know. I'm 
already working on the client-side for this (done install/uninstall for 
"targz.agent" driver subagent). It should be pretty easy to make the 
server-side DB and CGI linking to it.

Anyone to help?


_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2001-10-31 20:49 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-16  0:02 Automatic download and installation of drivers Stamatis Mitrofanis
2001-10-16  5:29 ` Greg KH
2001-10-16  7:35 ` David Brownell
2001-10-16  7:58 ` Tim Jansen
2001-10-16 11:38 ` Keith Owens
2001-10-16 16:52 ` Greg KH
2001-10-16 18:44 ` Tim Jansen
2001-10-16 18:58 ` Tim Jansen
2001-10-16 19:19 ` Greg KH
2001-10-17  2:01 ` David Brownell
2001-10-17  2:03 ` David Brownell
2001-10-17 18:47 ` Tim Jansen
2001-10-17 19:24 ` David Brownell
2001-10-17 23:31 ` Tim Jansen
2001-10-17 23:32 ` Greg KH
2001-10-18  0:07 ` Dmitri
2001-10-18  0:19 ` Stamatis Mitrofanis
2001-10-18  0:47 ` Tim Jansen
2001-10-18  2:17 ` Keith Owens
2001-10-18  2:35 ` Dmitri
2001-10-29 21:53 ` Greg KH
2001-10-30  8:26 ` Tim Jansen
2001-10-30 17:21 ` Greg KH
2001-10-30 21:24 ` Tim Jansen
2001-10-30 21:51 ` Dmitri
2001-10-31 12:36 ` Keith Owens
2001-10-31 20:49 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).