Has anyone got a working PS/2 keyboard / mouse with the
new Xorg 1.5.3? Or is everyone using USB devices these
days?
I restarted hal after making sure that /etc/devices/snapshot_cache
contains up-to-date device information, and hal has recognized the
ps/2 keyboard & mouse. One thing that looks strange is that
hal has set the input.x11_driver to "mouse" for the ps/2 keyboard?
Or does is mis-detect the ps/2 keyboard as a ps/2 mouse?
udi = '/org/freedesktop/Hal/devices/isa/i8042_1_60_0'
info.solaris.driver = 'i8042' (string)
solaris.devfs_path = '/isa/i8042 at 1,60' (string)
info.product = 'i8042' (string)
info.udi = '/org/freedesktop/Hal/devices/isa/i8042_1_60_0' (string)
info.parent = '/org/freedesktop/Hal/devices/isa_0' (string)
udi = '/org/freedesktop/Hal/devices/isa/i8042_1_60_0/input'
input.x11_driver = 'mouse' (string)
input.device = '/dev/kbd' (string)
info.category = 'input' (string)
info.subsystem = 'input' (string)
info.capabilities = {'input', 'input.keyboard', 'input.keys', 'button'} (strin
g list)
info.solaris.driver = 'kb8042' (string)
solaris.devfs_path = '/isa/i8042 at 1,60/keyboard at 0' (string)
info.product = 'IBM Enhanced (101/102-key, PS/2 mouse support)' (string)
info.udi = '/org/freedesktop/Hal/devices/isa/i8042_1_60_0/input' (string)
info.parent = '/org/freedesktop/Hal/devices/isa/i8042_1_60_0' (string)
udi = '/org/freedesktop/Hal/devices/isa/i8042_1_60_0/input'
input.x11_driver = 'mouse' (string)
input.device = '/dev/kbd' (string)
info.category = 'input' (string)
info.subsystem = 'input' (string)
info.capabilities = {'input', 'input.keyboard', 'input.keys', 'button'} (strin
g list)
info.solaris.driver = 'kb8042' (string)
solaris.devfs_path = '/isa/i8042 at 1,60/keyboard at 0' (string)
info.product = 'IBM Enhanced (101/102-key, PS/2 mouse support)' (string)
info.udi = '/org/freedesktop/Hal/devices/isa/i8042_1_60_0/input' (string)
info.parent = '/org/freedesktop/Hal/devices/isa/i8042_1_60_0' (string)
Xorg has opened the /dev/kbd device but is stuck
with a stack backtrace like this:
815: /usr/X11/bin/Xorg :0 -depth 24 -nolisten tcp -nobanner -auth /var/dt/A
fffffd7fff2d378a pollsys (fffffd7fffd75500, 1, fffffd7fffdf5580, 0)
fffffd7fff278714 pselect () + 18c
fffffd7fff278c28 select () + 70
00000000004c1895 xf86WaitForInput () + a5
fffffd7ffdcc9a50 MouseGetSerialPnpProtocol () + a0
fffffd7ffdcca3eb MouseGetPnpProtocol () + 2b
fffffd7ffdcc71dd SetupMouse () + 3ed
fffffd7ffdcc8b4f MouseProc () + 22f
0000000000474766 EnableDevice () + 76
00000000004e8986 NewInputDeviceRequest () + 2d6
00000000004b74dd device_added () + 99d
00000000004b7bb7 connect_hook () + d7
00000000004b6741 reconnect_timer () + e1
00000000004a4dbc WaitForSomething () + 69c
000000000047e434 Dispatch () + 84
00000000004931f5 main () + 475
000000000046decc _start () + 6c
Xorg is polling fd 26 in a loop for input with a 0.2 second
timeout, but it receives no input.
pfiles 815
815: /usr/X11/bin/Xorg :0 -depth 24 -nolisten tcp -nobanner -auth /var/dt/A
Current rlimit: 256 file descriptors
0: S_IFREG mode:0644 dev:182,65538 ino:37011 uid:0 gid:0 size:11212
O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE
/var/log/Xorg.0.log
1: S_IFSOCK mode:0666 dev:342,0 ino:1805 uid:0 gid:0 size:0
O_RDWR
SOCK_STREAM
SO_SNDBUF(16384),SO_RCVBUF(5120)
sockname: AF_UNIX /tmp/.X11-unix/X0
2: S_IFREG mode:0644 dev:182,65538 ino:23328 uid:0 gid:0 size:40322
O_WRONLY|O_CREAT|O_LARGEFILE
/var/dt/Xerrors
3: S_IFIFO mode:0000 dev:331,0 ino:613 uid:0 gid:0 size:0
O_RDWR
4: S_IFIFO mode:0000 dev:331,0 ino:613 uid:0 gid:0 size:0
O_RDWR
5: S_IFIFO mode:0600 dev:182,65538 ino:37013 uid:0 gid:0 size:0
O_RDONLY|O_NONBLOCK|O_LARGEFILE
/var/dt/sdtlogin/0
6: S_IFREG mode:0444 dev:182,65539 ino:266724 uid:0 gid:2 size:29997
O_RDONLY|O_LARGEFILE
/usr/X11/lib/X11/xserver/protocol.txt
7: S_IFCHR mode:0000 dev:333,0 ino:44206 uid:0 gid:0 rdev:203,2
O_RDWR|O_LARGEFILE
/devices/pseudo/srn at 0:srn
8: S_IFCHR mode:0000 dev:333,0 ino:44205 uid:0 gid:0 rdev:34,512
O_RDWR|O_NDELAY|O_LARGEFILE
/devices/pci at 0,0/pci10de,377 at f/display at 0:nvidia0
9: S_IFCHR mode:0600 dev:333,0 ino:95945214 uid:0 gid:3 rdev:183,253
O_RDWR|O_LARGEFILE
/devices/pci at 0,0:reg
10: S_IFCHR mode:0600 dev:333,0 ino:51380228 uid:0 gid:3 rdev:98,0
O_RDWR|O_LARGEFILE
/devices/xsvc at 0,0:xsvc
11: S_IFCHR mode:0600 dev:333,0 ino:51380228 uid:0 gid:3 rdev:98,0
O_RDONLY|O_LARGEFILE
/devices/xsvc at 0,0:xsvc
12: S_IFCHR mode:0000 dev:333,0 ino:44204 uid:0 gid:0 rdev:34,768
O_RDWR|O_LARGEFILE
/devices/pci at 0,0/pci10de,377 at f/display at 0:nvidia0
13: S_IFCHR mode:0000 dev:333,0 ino:44199 uid:0 gid:0 rdev:34,511
O_RDWR|O_LARGEFILE
/devices/pseudo/nvidia at 255:nvidiactl
14: S_IFCHR mode:0000 dev:333,0 ino:44202 uid:0 gid:0 rdev:34,1024
O_RDWR|O_LARGEFILE
/devices/pci at 0,0/pci10de,377 at f/display at 0:nvidia0
15: S_IFCHR mode:0000 dev:333,0 ino:44198 uid:0 gid:0 rdev:34,1280
O_RDWR|O_LARGEFILE
/devices/pci at 0,0/pci10de,377 at f/display at 0:nvidia0
16: S_IFCHR mode:0000 dev:333,0 ino:44196 uid:0 gid:0 rdev:34,1536
O_RDWR|O_LARGEFILE
/devices/pci at 0,0/pci10de,377 at f/display at 0:nvidia0
17: S_IFCHR mode:0000 dev:333,0 ino:44200 uid:0 gid:0 rdev:34,1792
O_RDWR|O_LARGEFILE
/devices/pci at 0,0/pci10de,377 at f/display at 0:nvidia0
18: S_IFCHR mode:0000 dev:333,0 ino:44201 uid:0 gid:0 rdev:34,2048
O_RDWR|O_LARGEFILE
/devices/pci at 0,0/pci10de,377 at f/display at 0:nvidia0
19: S_IFCHR mode:0000 dev:333,0 ino:44195 uid:0 gid:0 rdev:34,2304
O_RDWR|O_LARGEFILE
/devices/pci at 0,0/pci10de,377 at f/display at 0:nvidia0
20: S_IFCHR mode:0000 dev:333,0 ino:44194 uid:0 gid:0 rdev:34,2560
O_RDWR|O_LARGEFILE
/devices/pci at 0,0/pci10de,377 at f/display at 0:nvidia0
21: S_IFCHR mode:0000 dev:333,0 ino:44193 uid:0 gid:0 rdev:34,2816
O_RDWR|O_LARGEFILE
/devices/pci at 0,0/pci10de,377 at f/display at 0:nvidia0
22: S_IFCHR mode:0000 dev:333,0 ino:44192 uid:0 gid:0 rdev:34,3072
O_RDWR|O_LARGEFILE
/devices/pci at 0,0/pci10de,377 at f/display at 0:nvidia0
23: S_IFCHR mode:0000 dev:333,0 ino:57949 uid:0 gid:0 rdev:34,767
O_RDWR|O_LARGEFILE
/devices/pseudo/nvidia at 255:nvidiactl
24: S_IFCHR mode:0000 dev:333,0 ino:57950 uid:0 gid:0 rdev:34,3328
O_RDWR|O_LARGEFILE
/devices/pci at 0,0/pci10de,377 at f/display at 0:nvidia0
25: S_IFSOCK mode:0666 dev:342,0 ino:1804 uid:0 gid:0 size:0
O_RDWR|O_NONBLOCK FD_CLOEXEC
SOCK_STREAM
SO_SNDBUF(16384),SO_RCVBUF(5120)
sockname: AF_UNIX
peername: AF_UNIX /var/run/dbus/system_bus_socket
26: S_IFCHR mode:0600 dev:333,0 ino:54001668 uid:0 gid:0 rdev:103,0
O_RDWR|O_NONBLOCK|O_LARGEFILE
/devices/pseudo/conskbd at 0:kbd
It seems it is trying to automatically find a mouse
protocol for the ps/2 keyboard device???
In this state graphics mode is already enabled,
the default Xorg background is shown, and there is
the "X" cross cursor shown at the center of the screen.
Xorg accepts neither keyboard nor mouse input.
--
This message posted from opensolaris.org