linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fxload and udev 079
@ 2006-01-10 15:09 Robert Kennedy
  2006-01-10 15:18 ` Moshe Yudkowsky
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Robert Kennedy @ 2006-01-10 15:09 UTC (permalink / raw)
  To: linux-hotplug

I am currently running the 2.6.15 kernel and udev 079.  I would like to use 
my backpack USB CD Writer.  Microsolutions, the manufacturer of the CD 
Writer, provides firmware that fxload and hotplug downloads into the CD 
Writer each time the CD Writer is plugged into the computer.

It is my understanding that udev 079 no longer uses hotplug.  I also assume 
that fxload is also obsolete.

What do I use instead of hotplug and fxload?

Rob




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click
_______________________________________________
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] 8+ messages in thread

* Re: fxload and udev 079
  2006-01-10 15:09 fxload and udev 079 Robert Kennedy
@ 2006-01-10 15:18 ` Moshe Yudkowsky
  2006-01-10 15:20 ` Marco d'Itri
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Moshe Yudkowsky @ 2006-01-10 15:18 UTC (permalink / raw)
  To: linux-hotplug

Robert Kennedy wrote:
> I am currently running the 2.6.15 kernel and udev 079.  I would like to 
> use my backpack USB CD Writer.  Microsolutions, the manufacturer of the 
> CD Writer, provides firmware that fxload and hotplug downloads into the 
> CD Writer each time the CD Writer is plugged into the computer.
> 
> It is my understanding that udev 079 no longer uses hotplug.  I also 
> assume that fxload is also obsolete.
> 
> What do I use instead of hotplug and fxload?

I don't know if fxload is obsolete -- it sounds like it's a program that 
simply downloads the firmware. What you want to do is find a way to run 
fxload when udev encounters the CD Writer. That's possible by writing a 
udev rule that looks for the CD Writer and using the RUN construct.

Try looking at <http://www.disaggregate.com/blog/technicalweblog/> and 
the articles referenced therein.

-- 
  Moshe Yudkowsky
  work: http://www.Disaggregate.com
  book: http://www.PebbleAndAvalanche.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click
_______________________________________________
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] 8+ messages in thread

* Re: fxload and udev 079
  2006-01-10 15:09 fxload and udev 079 Robert Kennedy
  2006-01-10 15:18 ` Moshe Yudkowsky
@ 2006-01-10 15:20 ` Marco d'Itri
  2006-01-22 15:08 ` Robert Kennedy
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Marco d'Itri @ 2006-01-10 15:20 UTC (permalink / raw)
  To: linux-hotplug

On Jan 10, Moshe Yudkowsky <msha5_17@bl.com> wrote:

> I don't know if fxload is obsolete -- it sounds like it's a program that 
> simply downloads the firmware. What you want to do is find a way to run 
> fxload when udev encounters the CD Writer. That's possible by writing a 
> udev rule that looks for the CD Writer and using the RUN construct.
Indeed, fxload is not obsolete and this is the correct solution.

-- 
ciao,
Marco


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click
_______________________________________________
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] 8+ messages in thread

* Re: fxload and udev 079
  2006-01-10 15:09 fxload and udev 079 Robert Kennedy
  2006-01-10 15:18 ` Moshe Yudkowsky
  2006-01-10 15:20 ` Marco d'Itri
@ 2006-01-22 15:08 ` Robert Kennedy
  2006-01-22 15:28 ` Andrey Borzenkov
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Robert Kennedy @ 2006-01-22 15:08 UTC (permalink / raw)
  To: linux-hotplug


I am currently running the 2.6.15 kernel and udev 079.  I would like to use 
my backpack USB CD Writer.  Microsolutions, the manufacturer of the CD 
Writer, provides firmware that fxload and hotplug downloads into the CD 
Writer each time the CD Writer is plugged into the computer.  However, the 
tarball they provided uses usb.usermap and hotplugging.

Since the hotplug daemon is deprecated in the newer versions of udev, I have 
converted the usb.usermap to udev rules.  The udev rules use the RUN command 
to run  a script provided the Microsolutions.  This script uses fxload to 
load firmware into the USB CD Writer.  (I could even get rid of the script 
and use udev rules to load the firmware but that is a little more work).

It works great.  Even cold plugging works!  (In  my experience, cold 
plugging with these USB CD-Writers was unreliable under the Hotplug daemon). 
  Congraulations to the udev team!

I only have one question.  Where should I place the script and firmware?  
The the old approach (using the hotplug daemon), microsolutions put the 
script in the /etc/hotplug/usb directory and the firmware in the 
/etc/hotplug/usb/bpackusb.fw directory.

But with udev, should I use these directories?  Or should I place the script 
and the firmware somewhere in /lib/udev?

Rob




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642
_______________________________________________
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] 8+ messages in thread

* Re: fxload and udev 079
  2006-01-10 15:09 fxload and udev 079 Robert Kennedy
                   ` (2 preceding siblings ...)
  2006-01-22 15:08 ` Robert Kennedy
@ 2006-01-22 15:28 ` Andrey Borzenkov
  2006-01-22 16:07 ` Robert Kennedy
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Andrey Borzenkov @ 2006-01-22 15:28 UTC (permalink / raw)
  To: linux-hotplug

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 22 January 2006 18:08, Robert Kennedy wrote:
> But with udev, should I use these directories?  Or should I place the
> script and the firmware somewhere in /lib/udev?
>

You can use absolute pathname and have excutable anywhere; relative pathname 
is now assumed to be in /lib/udev, right. FW may be anywhere your script 
looks for it. I would use /etc/backpack or whatever.

- -andrey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD06SMR6LMutpd94wRAmV6AJ9go2gRsW3NcgqHBt2QCUFMOwzhKQCeNzte
ft7eOnlmjglFMbHegmSm67Q=mXXh
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642
_______________________________________________
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] 8+ messages in thread

* Re: fxload and udev 079
  2006-01-10 15:09 fxload and udev 079 Robert Kennedy
                   ` (3 preceding siblings ...)
  2006-01-22 15:28 ` Andrey Borzenkov
@ 2006-01-22 16:07 ` Robert Kennedy
  2006-01-22 22:00 ` Greg KH
  2006-01-22 23:30 ` Robert Kennedy
  6 siblings, 0 replies; 8+ messages in thread
From: Robert Kennedy @ 2006-01-22 16:07 UTC (permalink / raw)
  To: linux-hotplug

Thanks for reply.  I don't like putting firmware in /etc.  Perhaps, /sbin is 
the best place to put the firmware and scripts.  I wish the FHS standard was 
clearer.

Rob


>From: Andrey Borzenkov <arvidjaar@mail.ru>
>To: linux-hotplug-devel@lists.sourceforge.net
>CC: "Robert Kennedy" <amtor@hotmail.com>
>Subject: Re: fxload and udev 079
>Date: Sun, 22 Jan 2006 18:28:11 +0300
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Sunday 22 January 2006 18:08, Robert Kennedy wrote:
> > But with udev, should I use these directories?  Or should I place the
> > script and the firmware somewhere in /lib/udev?
> >
>
>You can use absolute pathname and have excutable anywhere; relative 
>pathname
>is now assumed to be in /lib/udev, right. FW may be anywhere your script
>looks for it. I would use /etc/backpack or whatever.
>
>- -andrey
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.2 (GNU/Linux)
>
>iD8DBQFD06SMR6LMutpd94wRAmV6AJ9go2gRsW3NcgqHBt2QCUFMOwzhKQCeNzte
>ft7eOnlmjglFMbHegmSm67Q>=mXXh
>-----END PGP SIGNATURE-----




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642
_______________________________________________
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] 8+ messages in thread

* Re: fxload and udev 079
  2006-01-10 15:09 fxload and udev 079 Robert Kennedy
                   ` (4 preceding siblings ...)
  2006-01-22 16:07 ` Robert Kennedy
@ 2006-01-22 22:00 ` Greg KH
  2006-01-22 23:30 ` Robert Kennedy
  6 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2006-01-22 22:00 UTC (permalink / raw)
  To: linux-hotplug

On Sun, Jan 22, 2006 at 04:07:29PM +0000, Robert Kennedy wrote:
> Thanks for reply.  I don't like putting firmware in /etc.  Perhaps, /sbin 
> is the best place to put the firmware and scripts.  I wish the FHS standard 
> was clearer.

/lib/firmware is the "standardized" place to put it, and I think where
the standard firmware download script will automatically look for it.

Hope this helps,

greg k-h


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642
_______________________________________________
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] 8+ messages in thread

* Re: fxload and udev 079
  2006-01-10 15:09 fxload and udev 079 Robert Kennedy
                   ` (5 preceding siblings ...)
  2006-01-22 22:00 ` Greg KH
@ 2006-01-22 23:30 ` Robert Kennedy
  6 siblings, 0 replies; 8+ messages in thread
From: Robert Kennedy @ 2006-01-22 23:30 UTC (permalink / raw)
  To: linux-hotplug

>From: Greg KH <greg@kroah.com>
>To: Robert Kennedy <amtor@hotmail.com>
>CC: arvidjaar@mail.ru, linux-hotplug-devel@lists.sourceforge.net
>Subject: Re: fxload and udev 079
>Date: Sun, 22 Jan 2006 14:00:55 -0800
>
>On Sun, Jan 22, 2006 at 04:07:29PM +0000, Robert Kennedy wrote:
> > Thanks for reply.  I don't like putting firmware in /etc.  Perhaps, 
>/sbin
> > is the best place to put the firmware and scripts.  I wish the FHS 
>standard
> > was clearer.
>
>/lib/firmware is the "standardized" place to put it, and I think where
>the standard firmware download script will automatically look for it.
>
>Hope this helps,
>
>greg k-h

Thanks.  I am going to put the firmware in /lib/firmware/bpckusb.d and I 
will put the script callled by the udev rules in /lib/udev

Rob




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642
_______________________________________________
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] 8+ messages in thread

end of thread, other threads:[~2006-01-22 23:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-10 15:09 fxload and udev 079 Robert Kennedy
2006-01-10 15:18 ` Moshe Yudkowsky
2006-01-10 15:20 ` Marco d'Itri
2006-01-22 15:08 ` Robert Kennedy
2006-01-22 15:28 ` Andrey Borzenkov
2006-01-22 16:07 ` Robert Kennedy
2006-01-22 22:00 ` Greg KH
2006-01-22 23:30 ` Robert Kennedy

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