Bug 160362
Summary: | Firmware doesn't get loaded with udevsend | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bart Vanbrabant <bart.vanbrabant> |
Component: | udev | Assignee: | Harald Hoyer <harald> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | notting |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://forums.divx.com/eve/ubb.x/a/tpc/f/996105602/m/820108152 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-02-15 13:22:28 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Bart Vanbrabant
2005-06-14 18:54:21 UTC
udevsend is still supposed to call the various hotplug agents, such as the firmware agent. could you set DEBUG=yes in /etc/sysconfig/hotplug and turn on logging in /etc/udev.conf to debug the problem? For some very strange reason it works now. I turned the debug things of and rebooted and it still works. I had been using a script that changes the proc entry and loads the kernel modules for a month now. I also regulary tested if it worked in the normal way. Now it seems to work and I can't reproduce the old behaviour anymore. If it turns up again I'll try to get a debug log. I am also having this problem with an HP Laserjet 1000 printer. It works fine if I manually load the firmware but udevsend will not load it. I was going to follow the debugging steps above but I have neither /etc/sysconfig/hotplug nor /etc/udev.conf. Should these already exist or am I creating them new?? My apologies for not doing a little research first. I found udev.conf (it's at the err logging level currently) and created /etc/sysconfig/hotplug myself. Here are the results: Turn on the printer: Sep 2 16:49:21 localhost kernel: usb 1-2: new full speed USB device using uhci_hcd and address 12 Sep 2 16:49:22 localhost kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 12 if 0 alt 0 proto 2 vid 0x03F0 pid 0x0517 Sep 2 16:49:22 localhost default.hotplug[2840]: arguments (usb) env (SUBSYSTEM=usb OLDPWD=/ DEVPATH=/devices/pci0000:00/0000:00:1f.2/usb1/1-2 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add PWD=/etc/hotplug UDEV_LOG=3 MANAGED_EVENT=1 UDEVD_EVENT=1 SHLVL=1 HOME=/ PHYSDEVDRIVER=usb PHYSDEVBUS=usb SEQNUM=487 _=/bin/env) Sep 2 16:49:22 localhost default.hotplug[2840]: invoke /etc/hotplug/usb.agent () Sep 2 16:49:22 localhost default.hotplug[2849]: arguments (usb) env (SUBSYSTEM=usb OLDPWD=/ DEVPATH=/devices/pci0000:00/0000:00:1f.2/usb1/1-2/1-2:1.0 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add MODALIAS=usb:v03F0p0517d0120dc00dsc00dp00ic07isc01ip02 PWD=/etc/hotplug UDEV_LOG=3 MANAGED_EVENT=1 UDEVD_EVENT=1 SHLVL=1 HOME=/ DEVICE=/proc/bus/usb/001/012 INTERFACE=7/1/2 PRODUCT=3f0/517/120 TYPE=0/0/0 PHYSDEVBUS=usb SEQNUM=488 _=/bin/env) Sep 2 16:49:22 localhost default.hotplug[2849]: invoke /etc/hotplug/usb.agent () Sep 2 16:49:23 localhost usb.agent[2849]: Setup usblp for USB product 3f0/517/120 Sep 2 16:49:23 localhost usb.agent[2849]: Setup hplj1000 for USB product 3f0/517/120 Sep 2 16:49:23 localhost usb.agent[2849]: Module setup hplj1000 for USB product 3f0/517/120 Sep 2 16:49:23 localhost default.hotplug[2898]: arguments (usb) env (PHYSDEVPATH=/devices/pci0000:00/0000:00:1f.2/usb1/1-2/1-2:1.0 SUBSYSTEM=usb OLDPWD=/ DEVPATH=/class/usb/lp0 MINOR=0 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add PWD=/etc/hotplug UDEV_LOG=3 MAJOR=180 MANAGED_EVENT=1 UDEVD_EVENT=1 DEVNAME=/dev/usb/lp0 SHLVL=1 HOME=/ PHYSDEVDRIVER=usblp PHYSDEVBUS=usb SEQNUM=489 _=/bin/env) Sep 2 16:49:23 localhost default.hotplug[2898]: invoke /etc/hotplug/usb.agent () Turn off the printer: Sep 2 16:51:19 localhost kernel: usb 1-2: USB disconnect, address 12 Sep 2 16:51:19 localhost kernel: drivers/usb/class/usblp.c: usblp0: removed Sep 2 16:51:20 localhost default.hotplug[2916]: arguments (usb) env (PHYSDEVPATH=/devices/pci0000:00/0000:00:1f.2/usb1/1-2/1-2:1.0 SUBSYSTEM=usb OLDPWD=/ DEVPATH=/class/usb/lp0 MINOR=0 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=remove PWD=/etc/hotplug UDEV_LOG=3 MAJOR=180 MANAGED_EVENT=1 UDEVD_EVENT=1 DEVNAME=/dev/usb/lp0 SHLVL=1 HOME=/ PHYSDEVDRIVER=usblp PHYSDEVBUS=usb SEQNUM=490 _=/bin/env) Sep 2 16:51:20 localhost default.hotplug[2916]: invoke /etc/hotplug/usb.agent () Sep 2 16:51:20 localhost default.hotplug[2924]: arguments (usb) env (SUBSYSTEM=usb OLDPWD=/ DEVPATH=/devices/pci0000:00/0000:00:1f.2/usb1/1-2/1-2:1.0 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=remove MODALIAS=usb:v03F0p0517d0120dc00dsc00dp00ic07isc01ip02 PWD=/etc/hotplug UDEV_LOG=3 MANAGED_EVENT=1 UDEVD_EVENT=1 SHLVL=1 HOME=/ DEVICE=/proc/bus/usb/001/012 INTERFACE=7/1/2 PRODUCT=3f0/517/120 TYPE=0/0/0 PHYSDEVBUS=usb SEQNUM=491 _=/bin/env) Sep 2 16:51:20 localhost default.hotplug[2924]: invoke /etc/hotplug/usb.agent () Sep 2 16:51:20 localhost default.hotplug[2937]: arguments (usb) env (SUBSYSTEM=usb OLDPWD=/ DEVPATH=/devices/pci0000:00/0000:00:1f.2/usb1/1-2 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=remove PWD=/etc/hotplug UDEV_LOG=3 MANAGED_EVENT=1 UDEVD_EVENT=1 SHLVL=1 HOME=/ PHYSDEVBUS=usb SEQNUM=492 _=/bin/env) Sep 2 16:51:20 localhost default.hotplug[2937]: invoke /etc/hotplug/usb.agent () Please advise if more info is required. Thanks. That doesn't use the standard firmware agent; you'd need a udev rule to load the firmware. |