linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fxload and udev 094?
@ 2006-06-24 14:27 Robert Kennedy
  2006-06-24 17:52 ` Robert Kennedy
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Robert Kennedy @ 2006-06-24 14:27 UTC (permalink / raw)
  To: linux-hotplug

I just upgraded to kernel 2.6.17 and udev 094.  The hotplugging of my 
external CDRW drive no longer works.  It is an old external CD-RW drive that 
needs firmware to be loaded into it during hotpluggng via fxload.

Hotplugging worked with previous versions of udev and a simple udev.rules 
file that I named backpackusb.rules.

[rob@myarch rules.d]$ cat backpackusb.rules
#these are the entries for bpck-usb devices
SYSFS{idVendor}="0ac9", SYSFS{idProduct}="0000", 
RUN+="/lib/udev/backpackusb.sh"
SYSFS{idVendor}="0ac9", SYSFS{idProduct}="0001", 
RUN+="/lib/udev/backpackusb.sh"
SYSFS{idVendor}="0ac9", SYSFS{idProduct}="1000", 
RUN+="/lib/udev/backpackusb.sh"
SYSFS{idVendor}="0ac9", SYSFS{idProduct}="1001", 
RUN+="/lib/udev/backpackusb.sh"
SYSFS{idVendor}="0ac9", SYSFS{idProduct}="1002", 
RUN+="/lib/udev/backpackusb.sh"
SYSFS{idVendor}="0ac9", SYSFS{idProduct}="1003", 
RUN+="/lib/udev/backpackusb.sh"
SYSFS{idVendor}="0ac9", SYSFS{idProduct}="1004", 
RUN+="/lib/udev/backpackusb.sh"
SYSFS{idVendor}="0ac9", SYSFS{idProduct}="1005", 
RUN+="/lib/udev/backpackusb.sh"
SYSFS{idVendor}="0ac9", SYSFS{idProduct}="1006", 
RUN+="/lib/udev/backpackusb.sh"
SYSFS{idVendor}="0ac9", SYSFS{idProduct}="1007", 
RUN+="/lib/udev/backpackusb.sh"
SYSFS{idVendor}="0ac9", SYSFS{idProduct}="0010", 
RUN+="/lib/udev/backpackusb.sh"
SYSFS{idVendor}="0ac9", SYSFS{idProduct}="0011", 
RUN+="/lib/udev/backpackusb.sh"
[rob@myarch rules.d]$

The rule called a script /lib/udev/backpackusb.sh when the right device was 
hotplugged.  This script used fxload to load the firmware into the drive.  
But for some reason it is no longer working.  See the log below generated 
during hotplugging:

[root@myarch ~]# tail /var/log/messages.log
Jun 24 08:54:38 myarch usb 1-1: USB disconnect, address 2
Jun 24 08:54:41 myarch usb 1-1: new full speed USB device using uhci_hcd and 
address 3
Jun 24 08:54:41 myarch usb 1-1: configuration #1 chosen from 1 choice
Jun 24 08:54:42 myarch /lib/udev/backpackusb.sh: load 
/lib/firmware/backpackusb.d/BP1SCAN.HEX for ac9/0/0 to /proc/bus/usb/001/003

[root@myarch ~]# ls -la /proc/bus/usb/
total 0
dr-xr-xr-x 2 root root 0 2006-06-24 08:55 .
dr-xr-xr-x 6 root root 0 2006-06-24 08:49 ..

[root@myarch ~]# uname -a
Linux myarch 2.6.17-ARCH #1 SMP PREEMPT Tue Jun 20 12:31:51 CEST 2006 i686 
Pentium II (Deschutes) GenuineIntel GNU/Linux

[root@myarch ~]# udevinfo -V
udevinfo, version 094
[root@myarch ~]#

Hotplugging did attempt to load some firmware into my external USB CD-RW 
drive using fxload using the /proc/bus/usb/001/003 address. But there is 
NOTHING in /proc/bus/usb. Very strange.

What has changed?  Any ideas?

Rob



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&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-06-26 19:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-24 14:27 fxload and udev 094? Robert Kennedy
2006-06-24 17:52 ` Robert Kennedy
2006-06-25  0:48 ` Greg KH
2006-06-25  1:19 ` Robert Kennedy
2006-06-25  3:09 ` Greg KH
2006-06-25 12:22 ` Robert Kennedy
2006-06-26 15:54 ` Greg KH
2006-06-26 19:00 ` 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).