Re: etch to lenny upgrade - X apps no longer see keystrokes?
Received Tue 21 Apr 2009 7:57am +1000 from Florian Kulzer:
> On Mon, Apr 20, 2009 at 13:49:53 +1000, Graham Williams wrote:
> > Received Sat 18 Apr 2009 3:34am +1000 from Florian Kulzer:
> > > On Fri, Apr 17, 2009 at 14:46:58 +1000, Graham Williams wrote:
[...]
> There should be some input devices opened by Xorg. Please run this
> command instead (as root with X started):
>
> lsof $(find /dev/input/)
Thanks. Starting in normal multi-user mode, having removed gdm,
logging in as a normal user, starting X ("startx") with a .xinint
consisting of "chvt 1" and "xterm", login in as root, run the above
"lsof" gives:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
hald-addo 3640 root 4r CHR 13,69 5677 /dev/input/event5
hald-addo 3640 root 5w CHR 13,68 5671 /dev/input/event4
hald-addo 3640 root 6r CHR 13,67 5567 /dev/input/by-path/../event3
hald-addo 3640 root 7r CHR 13,66 5589 /dev/input/by-id/../event2
>
> > > Another thing to check is if certain processes are running:
> > >
> > > ps -ef | grep -E 'X|hal|dbus|udev'
>
> [ snip: all normal, except that dbus is not running ]
>
> Did you run this in single user mode, or did you deliberately kill dbus?
Multi user mode. I think dbus is running? Isn't it the dbus-daemon?
root 1369 1 0 08:38 ? 00:00:00 udevd --daemon
103 2832 1 0 08:38 ? 00:00:00 /usr/bin/dbus-daemon --system
105 3619 1 0 08:39 ? 00:00:00 /usr/sbin/hald
root 3620 3619 0 08:39 ? 00:00:00 hald-runner
root 3640 3620 0 08:39 ? 00:00:00 hald-addon-input: Listening on /dev/input/event5 /dev/input/event4 /dev/input/event3 /dev/input/event2
105 3648 3620 0 08:39 ? 00:00:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 3651 3620 0 08:39 ? 00:00:00 hald-addon-storage: polling /dev/hda (every 2 sec)
root 3745 3608 0 08:39 ? 00:00:00 /sbin/dhclient -1 -lf /var/lib/dhcp3/dhclient.eth1.leases -pf /var/run/dhclient.eth1.pid -q -e dhc_dbus=31 -d eth1
anet 4419 4402 0 08:44 tty3 00:00:00 xinit /home/anet/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /tmp/serverauth.LvCwEgYUrc
root 4420 4419 0 08:44 tty7 00:00:00 /usr/bin/X11/X -nolisten tcp
root 4488 4446 0 08:47 tty1 00:00:00 grep -E X|hal|dbus|udev
[...]
> > Yes - now in user land.
>
> Does "now" encompass all the output that you posted in your last
> message?
Yes.
> Does the keyboard work in Xorg if you boot from a Debian Lenny live CD
> (http://debian-live.alioth.debian.org/)?
Running debian 5.0.0 live amd64 gnome ISO image, all seems to be
working just fine.
Thanks again for your help Florian. It is particularly useful, though
we haven't solved it yet.
Regards,
Graham
Reply to: