On Fri, 11 Jun 2010 11:01:24 -0400 Albert Lee <[email protected]> wrote

> It's probably another symptom of the "console user" not being properly
> accounted for so the devices retain ownership by root instead of the
> user of the X session. See
> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6885612 and
> related bugs.

Sounds plausible .... however, like the comment in the CR, the workaround
of explicitly putting myself into the Console User profile didn't work for
me either.

> disconnected from the X server's perspective. It would be useful to have
> the contents of /var/log/Xorg.0.log from when the problem occurs
> (switching the KVM and back) - this is renamed to Xorg.0.log.old if you
> have restarted X.

Here are the last few lines before the point where I switch away
from the machine:

(**) mouse: always reports core events
(**) Option "StreamsModule" "usbms"
(**) Option "Device" "/dev/usb/hid1"
(II) mouse: Setting Buttons option to "8"
(==) mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) mouse: ZAxisMapping: buttons 4 and 5
(**) mouse: Buttons: 9
(II) XINPUT: Adding extended input device "mouse" (type: MOUSE)
(**) mouse: (accel) keeping acceleration scheme 1
(**) mouse: (accel) acceleration profile 0

Then I switch away and this happens:

keyboard: Device no longer present - removing.
(II) UnloadModule: "kbd"

Then I switch back and get this:

(II) config/hal: Adding input device keyboard
(**) keyboard: always reports core events
(**) Option "Device" "/dev/usb/hid0"
(II) keyboard: Opened device "/dev/usb/hid0"
(**) Option "XkbRules" "base"
(**) keyboard: XkbRules: "base"
(**) Option "XkbModel" "sun_type6_euro_usb"
(**) keyboard: XkbModel: "sun_type6_euro_usb"
(**) Option "XkbLayout" "gb"
(**) keyboard: XkbLayout: "gb"
(**) Option "CustomKeycodes" "off"
(**) keyboard: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "keyboard" (type: KEYBOARD)
(**) Option "StreamsModule" "usbkbm"
(--) keyboard: Keyboard type: USB (6)
(--) keyboard: Keyboard layout: 0

And finally, FYI, when I log out the server exits and logs this:

(**) hotkey_events_fini: succeeded
(II) UnloadModule: "hotkey"
(WW) mouse: cannot pop module 'usbms' off mouse device: Invalid argument
(II) UnloadModule: "mouse"
(II) UnloadModule: "kbd"

Actually, I didn't notice before, but the mouse module isn't being
unloaded when I "unplug" it by switching KVM ports.

Allan
-- 
This message posted from opensolaris.org
_______________________________________________
xwin-discuss mailing list
[email protected]
List info: http://mail.opensolaris.org/mailman/listinfo/xwin-discuss
Unsubscribe: http://mail.opensolaris.org/mailman/options/xwin-discuss

Reply via email to