Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236551 - >=sys-fs/udev-126 breaks hal input detection
Summary: >=sys-fs/udev-126 breaks hal input detection
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Project Gentopia
URL:
Whiteboard:
Keywords:
: 236599 236764 249527 (view as bug list)
Depends on:
Blocks: 236542
  Show dependency tree
 
Reported: 2008-09-03 11:03 UTC by Alessandro Guido
Modified: 2008-12-02 16:42 UTC (History)
13 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 Alessandro Guido 2008-09-03 11:03:26 UTC
starting from udev-126 hal doesn't recognise anymore my keyboard and touchpad and Xorg (which on my system depends on hal's aid for autoconfiguration) is unusable. However it recognise my USB mouse if I unplug end re-plug it, so it seems something is broken WRT coldplug of input devices.

re-emerging udev-125-r2 fixes the problem for me.

Reproducible: Always
Comment 1 Alessandro Guido 2008-09-03 11:06:30 UTC
(In reply to comment #0)
> starting from udev-126 hal doesn't recognise anymore my keyboard and touchpad
> and Xorg (which on my system depends on hal's aid for autoconfiguration) is
> unusable. However it recognise my USB mouse if I unplug end re-plug it, so it
> seems something is broken WRT coldplug of input devices.
> 
> re-emerging udev-125-r2 fixes the problem for me.
> 
> Reproducible: Always
> 

Forgot to say that the culprit seems to be in hald-addon-input non being started on my system with >=udev-126
Comment 2 Felix Riemann 2008-09-03 13:32:24 UTC
Found the following in syslog after setting HAL to be verbose:

Sep  3 15:22:35 mother hald[4973]: 15:22:35.057 [E] coldplug.c:166: Couldn't invoke /usr/bin/udevinfo
Sep  3 15:22:35 mother hald[4973]: 15:22:35.057 [E] coldplug.c:569: Unable to get sysfs to dev map

udevinfo was a symlink to udevadm and seems to be missing with udev-127.
Recreating the symlink fixed the problem here (although probably HAL needs to adjusted).
Comment 3 Felix Riemann 2008-09-03 13:36:45 UTC
(In reply to comment #2)
> (although probably HAL needs to be adjusted).
> 

Looks like it already is in GIT:
http://gitweb.freedesktop.org/?p=hal.git;a=commit;h=f6af40c1e7ea54e69eb2d259d91dd212065d5f6e
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-03 17:21:48 UTC
*** Bug 236599 has been marked as a duplicate of this bug. ***
Comment 5 Tassilo Horn 2008-09-03 18:50:00 UTC
Same problem here.  In addition to my mouse and keyboard my eth0 device isn't started and configured by NetworkManager, too.

Downgrading to 125-r2 works, so let's wait for a new hal version...
Comment 6 Andrej Gelenberg 2008-09-03 19:24:46 UTC
solution hier https://bugs.gentoo.org/show_bug.cgi?id=236599
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-09-03 19:37:22 UTC
udevinfo has been deprecated for a long time. hal needs to move to using 'udevadm info', as per the patch in the HAL Git tree.
Comment 8 Bernard Cafarelli gentoo-dev 2008-09-03 20:31:45 UTC
Shouldn't we mask new udev for now/add blockers for this one? Breaking both mouse and network capabilities (when using NetworkManager) at the same time is not so nice for the user...
Comment 9 Martin von Gagern 2008-09-04 08:28:37 UTC
(In reply to comment #3)
> Looks like it already is in GIT:
> http://gitweb.freedesktop.org/?p=hal.git;a=commit;h=f6af40c1e7ea54e6

Confirmed: The following patch applies all right and solves the issue:
http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff_plain;h=f6af40c1e7ea54e6

Can we please get a revbump of hal which includes this patch? And proper runtime dependencies as well, I'd say, so that new udev blocks old hal.
Comment 10 Alessandro Guido 2008-09-04 11:46:12 UTC
fixed with hal-0.5.11-r2. thanks to compnerd!
Comment 11 Ryan 2008-09-05 03:46:27 UTC
*** Bug 236764 has been marked as a duplicate of this bug. ***
Comment 12 Drutsa Pavel 2008-10-25 21:19:06 UTC
My 'hald' works well only with 'root' rights.
on starting 
[my_host~]# sudo -u haldaemon hald --verbose=yes
gives in syslog such messages:
............................
coldplug.c:166: Couldn't invoke /sbin/udevadm
coldplug.c:569: Unable to get sysfs to dev map
............................

and typing:
[my_host~]# sudo -u haldaemon /sbin/udevadm 
sudo: unable to execute /sbin/udevadm: Permission denied

It's seems to be not HAL error but only permissions problem.
I don't now how to tune '/sbin' and/or haldaemon goup permission to resolve this problem :-(
Comment 13 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-12-02 16:42:08 UTC
*** Bug 249527 has been marked as a duplicate of this bug. ***