Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41628 - problem with hotplug-20040105 and input
Summary: problem with hotplug-20040105 and input
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-14 23:00 UTC by Susie Edgeworth
Modified: 2004-03-20 11:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Susie Edgeworth 2004-02-14 23:00:53 UTC
After updating my system I was presented with the need to run etc-update.  Noticing it was all scripts for hotpugging and that they are usual defaults that I shouldn't mess with and usually never alter I chose "-5" aka auto emerge changes.  Which I thought would of been fine.(I do the exact same option when it is the reboot or halt scripts for example)  Anyways I was presented with an error later on reboot.

"** can't synthesize input events - /proc/bus/input/devices missing"

Trying to figure out why it was doing that I look in /proc/bus to see the following:

bash-2.05b$ ls /proc/bus
i2c  i2c-0  i2c-1  pci  usb

bash-2.05b$ ls /proc/bus/pci
00  01  devices

bash-2.05b$ ls /proc/bus/usb
001  002  003  devices  drivers

bash-2.05b$ ls /proc/bus/pci/devices
/proc/bus/pci/devices

bash-2.05b$ ls /proc/bus/usb/devices
/proc/bus/usb/devices


Now the above error I got I get right after hot plug starts:

*Starting USB and PCI hotplugging  [OK]
** can't synthesize input events - /proc/bus/input/devices missing

So I go hunting around and in /usr/hotplug/input.rc I find:

PATH=/sbin:/bin:/usr/sbin:/usr/bin
PROCDIR=/proc/bus/input

at the very top and several spots below it that have:

$PROCDIR/devices


So far this bug seems harmless but I don't know much about scripting at all and I'm not sure how to alter the bits in the script to fix it.  So far obviously my input devices are working or I'd not be able to type this.  The modules I'm using are HID and input loaded at boot along with several other modules.(17 in total)  I'm using vanilla sources kernel 2.4.24

Reproducible: Always
Steps to Reproduce:
Comment 1 Stephane Loeuillet 2004-02-15 07:30:49 UTC
you're not alone. got the same warnings on start-up.
might be because we use a 2.4 kernel and those entries are created in // to /sys entries only with kernel 2.6

so, to my mind, the worse thing it could do is filling your logs with those lines
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-03-20 11:21:52 UTC
Should be fixed in latest release.