You are not logged in.

#1 2012-04-07 16:01:46

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Two USB keyboards shown

Hi

I have laptop. I have bought Logitech USB keyboard (K120). Everything works fine but i have one question. When i do "xinput list" two Logitech USB keyboards show:

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ ETPS/2 Elantech Touchpad                  id=12   [slave  pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse                id=13   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Sleep Button                              id=8    [slave  keyboard (3)]
    ↳ CNF7129                                   id=9    [slave  keyboard (3)]
    ↳ Asus Laptop extra buttons                 id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    ↳ Logitech USB Keyboard                     id=14   [slave  keyboard (3)]
    ↳ Logitech USB Keyboard                     id=15   [slave  keyboard (3)]

Dmesg:

[ 7918.148648] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:f8:d1:11:43:f2:4a:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 8028.249324] usb 6-2: USB disconnect, device number 9
[ 8038.752599] usb 7-2: new low-speed USB device number 2 using uhci_hcd
[ 8038.958980] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.1/usb7/7-2/7-2:1.0/input/input22
[ 8038.959146] generic-usb 0003:046D:C31C.000F: input,hidraw1: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:00:1d.1-2/input0
[ 8039.008449] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.1/usb7/7-2/7-2:1.1/input/input23
[ 8039.008591] generic-usb 0003:046D:C31C.0010: input,hidraw2: USB HID v1.10 Device [Logitech USB Keyboard] on usb-0000:00:1d.1-2/input1
[ 8043.147495] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:f8:d1:11:43:f2:4a:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 8057.499336] usb 7-2: USB disconnect, device number 2
[ 8083.765936] usb 6-2: new low-speed USB device number 10 using uhci_hcd
[ 8083.968126] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/input/input24
[ 8083.968270] generic-usb 0003:046D:C31C.0011: input,hidraw1: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:00:1d.0-2/input0
[ 8084.015530] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.1/input/input25
[ 8084.015752] generic-usb 0003:046D:C31C.0012: input,hidraw2: USB HID v1.10 Device [Logitech USB Keyboard] on usb-0000:00:1d.0-2/input1
[ 8168.146290] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:f8:d1:11:43:f2:4a:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 8293.145272] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:f8:d1:11:43:f2:4a:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 8328.749287] usb 6-2: USB disconnect, device number 10
[ 8333.975904] usb 6-2: new low-speed USB device number 11 using uhci_hcd
[ 8334.179258] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/input/input26
[ 8334.179496] generic-usb 0003:046D:C31C.0013: input,hidraw1: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:00:1d.0-2/input0

My mkinitcpio.conf hooks:

HOOKS="base udev autodetect pata scsi sata resume filesystems usbinput"

Is this normal?

Last edited by Shark (2012-04-07 16:02:49)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#2 2012-04-07 17:51:50

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: Two USB keyboards shown

I don't have it.

[root@candice ~]# xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ PixArt Microsoft USB Optical Mouse      	id=9	[slave  pointer  (2)]
⎜   ↳ Broadcom Corp                           	id=11	[slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad              	id=13	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Video Bus                               	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=8	[slave  keyboard (3)]
    ↳ Broadcom Corp                           	id=10	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=12	[slave  keyboard (3)]
    ↳ Dell WMI hotkeys                        	id=14	[slave  keyboard (3)]
[root@candice ~]# 

Do you have any issues, becoz of that 2 entries listed there?

Last edited by hadrons123 (2012-04-07 17:52:45)

Offline

#3 2012-04-07 22:08:59

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Two USB keyboards shown

No, i don't have any issues. I am posting this thread just out of curiousity because it is weird to have two entries. I have added usb hook to but nothing changed. Well, at least it is just a "cosmetic" problem, i think smile

I have noticed that you have issued "xinput list" command in root session. When i do "xinput list" in root session i get:

No protocol specified
Unable to connect to X server

Last edited by Shark (2012-04-07 22:11:43)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#4 2012-04-08 01:00:22

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: Two USB keyboards shown

maybe you disabled X as root.

Offline

#5 2012-04-08 06:29:36

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Two USB keyboards shown

I don't recall i have done anything like that. I don't even now how can you do that.


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#6 2012-05-23 18:22:59

gorky
Member
From: Kraków, Poland
Registered: 2010-07-05
Posts: 96

Re: Two USB keyboards shown

I also have two USB keyboards and two power buttons in xinput list, and also consider it a 'cosmetic' problem, still if anyone have an idea how to avoid it, I'd be glad to read smile

$ xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Logitech G500                           	id=8	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ CM Storm QuickFire Rapid keyboard       	id=9	[slave  keyboard (3)]
    ↳ CM Storm QuickFire Rapid keyboard       	id=10	[slave  keyboard (3)]

Offline

#7 2012-05-23 18:47:17

Terminator
Member
From: Belgium
Registered: 2012-05-07
Posts: 265

Re: Two USB keyboards shown

Probably one of the keyboards is for the normal keys and the other one for the special keys (like volume-keys and special keys on your mouse).

Offline

#8 2012-05-23 18:49:25

gorky
Member
From: Kraków, Poland
Registered: 2010-07-05
Posts: 96

Re: Two USB keyboards shown

Ah, you may be right, as this keyboard indeed has some special fuctions bind to the second layer. WIll test and report it back when I'll have more time.

Offline

#9 2012-05-23 18:56:55

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Two USB keyboards shown

Hi!

Thansk for replies!

I don't know if you are talking about my keyboard but my USB keyboard is without special keys a.k.a. media keys.


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

Board footer

Powered by FluxBB