Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
X
xf86-input-keyboard
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • xorg
  • driver
  • xf86-input-keyboard
  • Issues
  • #10

Closed
Open
Opened Nov 29, 2012 by Bugzilla Migration User@bugzilla-migration

When a wireless mouse is attached, keyboard layouts are forgotten

Submitted by Emil Sedgh

Assigned to Xorg Project Team

Link to original bug (#57701)

Description

I have two layouts: "us,ir". Here are my root window's XKB_RULES_NAMES: _XKB_RULES_NAMES(STRING) = "evdev", "pc101", "us,ir", "", ""

When I plug my mouse's USB dongle in, _XKB_RULES_NAMES changes to: _XKB_RULES_NAMES(STRING) = "evdev", "pc104", "us", "", ""

In X log, I find this: [266860.668] () Option "xkb_rules" "evdev"
[266860.668] (
) Option "xkb_model" "pc104"
[266860.668] (**) Option "xkb_layout" "us"

Here's full X log when I attach it:

[266860.648] (II) config/udev: Adding input device A4TECH USB Device (/dev/input/event1) [266860.648] () A4TECH USB Device: Applying InputClass "evdev keyboard catchall"
[266860.648] (II) Using input driver 'evdev' for 'A4TECH USB Device'
[266860.648] (
) A4TECH USB Device: always reports core events
[266860.648] () evdev: A4TECH USB Device: Device: "/dev/input/event1"
[266860.668] (--) evdev: A4TECH USB Device: Vendor 0x9da Product 0x54f
[266860.668] (--) evdev: A4TECH USB Device: Found 1 mouse buttons
[266860.668] (--) evdev: A4TECH USB Device: Found scroll wheel(s)
[266860.668] (--) evdev: A4TECH USB Device: Found relative axes
[266860.668] (--) evdev: A4TECH USB Device: Found absolute axes
[266860.668] (--) evdev: A4TECH USB Device: Found x and y absolute axes
[266860.668] (--) evdev: A4TECH USB Device: Found keys
[266860.668] (II) evdev: A4TECH USB Device: Configuring as mouse
[266860.668] (II) evdev: A4TECH USB Device: Configuring as keyboard
[266860.668] (II) evdev: A4TECH USB Device: Adding scrollwheel support
[266860.668] (
) evdev: A4TECH USB Device: YAxisMapping: buttons 4 and 5
[266860.668] () evdev: A4TECH USB Device: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[266860.668] (
) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input580/event1"
[266860.668] (II) XINPUT: Adding extended input device "A4TECH USB Device" (type: KEYBOARD, id 9)
[266860.668] () Option "xkb_rules" "evdev"
[266860.668] (
) Option "xkb_model" "pc104"
[266860.668] () Option "xkb_layout" "us"
[266860.668] (II) evdev: A4TECH USB Device: initialized for relative axes.
[266860.668] (WW) evdev: A4TECH USB Device: ignoring absolute axes.
[266860.669] (
) A4TECH USB Device: (accel) keeping acceleration scheme 1
[266860.669] () A4TECH USB Device: (accel) acceleration profile 0
[266860.669] (
) A4TECH USB Device: (accel) acceleration factor: 2.000 [266860.669] () A4TECH USB Device: (accel) acceleration threshold: 4 [266860.670] (II) config/udev: Adding input device A4TECH USB Device (/dev/input/event2) [266860.670] () A4TECH USB Device: Applying InputClass "evdev pointer catchall" [266860.670] (II) Using input driver 'evdev' for 'A4TECH USB Device' [266860.670] () A4TECH USB Device: always reports core events [266860.670] () evdev: A4TECH USB Device: Device: "/dev/input/event2" [266860.671] (--) evdev: A4TECH USB Device: Vendor 0x9da Product 0x54f [266860.671] (--) evdev: A4TECH USB Device: Found 20 mouse buttons [266860.671] (--) evdev: A4TECH USB Device: Found scroll wheel(s) [266860.671] (--) evdev: A4TECH USB Device: Found relative axes [266860.671] (--) evdev: A4TECH USB Device: Found x and y relative axes [266860.671] (II) evdev: A4TECH USB Device: Configuring as mouse [266860.671] (II) evdev: A4TECH USB Device: Adding scrollwheel support [266860.671] () evdev: A4TECH USB Device: YAxisMapping: buttons 4 and 5 [266860.671] () evdev: A4TECH USB Device: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [266860.671] () Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1/input/input581/event2" [266860.671] (II) XINPUT: Adding extended input device "A4TECH USB Device" (type: MOUSE, id 10) [266860.671] (II) evdev: A4TECH USB Device: initialized for relative axes. [266860.671] () A4TECH USB Device: (accel) keeping acceleration scheme 1 [266860.671] () A4TECH USB Device: (accel) acceleration profile 0 [266860.671] () A4TECH USB Device: (accel) acceleration factor: 2.000 [266860.671] (**) A4TECH USB Device: (accel) acceleration threshold: 4 [266860.672] (II) config/udev: Adding input device A4TECH USB Device (/dev/input/mouse0) [266860.672] (II) No input driver specified, ignoring this device. [266860.672] (II) This device may have been added with another device file. [266860.673] (II) config/udev: Adding input device A4TECH USB Device (/dev/input/js0) [266860.673] (II) No input driver specified, ignoring this device. [266860.673] (II) This device may have been added with another device file.

Result is that when i plug in my mouse, I cannot change keyboard layout anymore.

Version: 7.7 (2012.06)

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xorg/driver/xf86-input-keyboard#10