* keyboards and evdev printing multiple keys
@ 2008-12-22 20:09 F. Heitkamp
2008-12-22 21:58 ` Jiri Kosina
2009-01-01 3:49 ` Peter Hutterer
0 siblings, 2 replies; 4+ messages in thread
From: F. Heitkamp @ 2008-12-22 20:09 UTC (permalink / raw)
To: linux-input
I am not sure this is a bug.
I have a Apple keyboard connected to a IOGear USB KVM.
I have installed evdev and the Xorg 1.5.3 server.
When I use any X apps the keyboard repeats three for one in. i.e.
typing one 'L' puts three of them in the input.
I noticed when looking at /proc/bus/input/devices there are three
instanced of the keyboard.
Thanks for your help.
Fred
Here is some additional info.
bash-3.2$ more /proc/bus/input/devices
I: Bus=0019 Vendor=0000 Product=0002 Version=0000
N: Name="Power Button (FF)"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/class/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button (CM)"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=kbd event1
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0003 Vendor=05ac Product=020b Version=0110
N: Name="Mitsumi Electric Apple Extended USB Keyboard"
P: Phys=usb-0000:00:1d.2-1.1/input0
S: Sysfs=/class/input/input2
U: Uniq=
H: Handlers=kbd event2
B: EV=120013
B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=1f
I: Bus=0003 Vendor=05ac Product=020b Version=0110
N: Name="Mitsumi Electric Apple Extended USB Keyboard"
P: Phys=usb-0000:00:1d.2-1.1/input1
S: Sysfs=/class/input/input3
U: Uniq=
H: Handlers=kbd event3
B: EV=13
B: KEY=2 c000 e0000 0 0 0
B: MSC=10
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input6
U: Uniq=
H: Handlers=kbd event5
B: EV=120013
B: KEY=4 2000000 3803078 f800d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=046d Product=c404 Version=0110
N: Name="Logitech Trackball"
P: Phys=usb-0000:00:1d.2-1.4/input0
S: Sysfs=/class/input/input10
U: Uniq=
H: Handlers=mouse0 event4
B: EV=17
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103
bash-3.2$ more /proc/bus/input/devices
I: Bus=0019 Vendor=0000 Product=0002 Version=0000
N: Name="Power Button (FF)"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/class/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button (CM)"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=kbd event1
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0003 Vendor=05ac Product=020b Version=0110
N: Name="Mitsumi Electric Apple Extended USB Keyboard"
P: Phys=usb-0000:00:1d.2-1.1/input0
S: Sysfs=/class/input/input2
U: Uniq=
H: Handlers=kbd event2
B: EV=120013
B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=1f
I: Bus=0003 Vendor=05ac Product=020b Version=0110
N: Name="Mitsumi Electric Apple Extended USB Keyboard"
P: Phys=usb-0000:00:1d.2-1.1/input1
S: Sysfs=/class/input/input3
U: Uniq=
H: Handlers=kbd event3
B: EV=13
B: KEY=2 c000 e0000 0 0 0
B: MSC=10
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input6
U: Uniq=
H: Handlers=kbd event5
B: EV=120013
B: KEY=4 2000000 3803078 f800d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=046d Product=c404 Version=0110
N: Name="Logitech Trackball"
P: Phys=usb-0000:00:1d.2-1.4/input0
S: Sysfs=/class/input/input10
U: Uniq=
H: Handlers=mouse0 event4
B: EV=17
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103
bash-3.2$ sh ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
Linux pc1lin 2.6.27.10 #55 SMP PREEMPT Sat Dec 20 17:18:12 EST 2008 i686
GNU/Linux
Gnu C 4.3.3
Gnu make 3.81
binutils 2.19.50.20081101
util-linux 2.13-rc3
mount support
module-init-tools 3.2.2
e2fsprogs 1.40.10
jfsutils 1.1.13
reiserfsprogs 3.6.19
xfsprogs 2.10.2
pcmcia-cs 3.2.0
PPP 2.4.0
Linux C Library 2.9
Dynamic linker (ldd) 2.9
Procps 3.2.7
Net-tools 1.60
Console-tools 0.2.3
Sh-utils 6.10
wireless-tools 28
Modules Loaded nvidia coretemp lm85 hwmon_vid autofs4 nfsd lockd
nfs_acl auth_rpcgss sunrpc exportfs ipv6 ctr twofish twofish_common
camellia serpent blowfish aes_i586 aes_generic xcbc sha256_generic
crypto_null ide_pci_generic firewire_ohci firewire_core usbhid e1000e
crc_itu_t snd_echo3g snd_rawmidi snd_seq_device snd_pcm snd_timer snd
soundcore parport_pc parport snd_page_alloc i2c_i801 shpchp ide_cd_mod
i3000_edac thermal container piix uhci_hcd evdev ehci_hcd rng_core
pci_hotplug processor edac_core button sr_mod cdrom st sg jfs
bash-3.2$ bash-3.2$ sh ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: keyboards and evdev printing multiple keys
2008-12-22 20:09 keyboards and evdev printing multiple keys F. Heitkamp
@ 2008-12-22 21:58 ` Jiri Kosina
2009-01-01 3:49 ` Peter Hutterer
1 sibling, 0 replies; 4+ messages in thread
From: Jiri Kosina @ 2008-12-22 21:58 UTC (permalink / raw)
To: F. Heitkamp; +Cc: linux-input
On Mon, 22 Dec 2008, F. Heitkamp wrote:
> I am not sure this is a bug.
> I have a Apple keyboard connected to a IOGear USB KVM.
> I have installed evdev and the Xorg 1.5.3 server.
> When I use any X apps the keyboard repeats three for one in. i.e. typing one
> 'L' puts three of them in the input.
> I noticed when looking at /proc/bus/input/devices there are three instanced of
> the keyboard.
Does this also happen when KVM is not used?
Could you please verify with evtest on the respective device nodes in
/dev/input/event* -- it will show us whether there are really three events
coming out of the kernel, or whether it is X triplicating the keys.
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: keyboards and evdev printing multiple keys
2008-12-22 20:09 keyboards and evdev printing multiple keys F. Heitkamp
2008-12-22 21:58 ` Jiri Kosina
@ 2009-01-01 3:49 ` Peter Hutterer
2009-01-02 16:26 ` F. Heitkamp
1 sibling, 1 reply; 4+ messages in thread
From: Peter Hutterer @ 2009-01-01 3:49 UTC (permalink / raw)
To: F. Heitkamp; +Cc: linux-input
On Mon, Dec 22, 2008 at 03:09:46PM -0500, F. Heitkamp wrote:
> I am not sure this is a bug.
> I have a Apple keyboard connected to a IOGear USB KVM.
> I have installed evdev and the Xorg 1.5.3 server.
> When I use any X apps the keyboard repeats three for one in. i.e.
> typing one 'L' puts three of them in the input.
> I noticed when looking at /proc/bus/input/devices there are three
> instanced of the keyboard.
This is an X server problem and the most likely cause is that your server is
picking up a keyboard device (driver "kbd") and the evdev device separately.
If you are using evdev 2.1, then you will get two events for each key press.
Another reason may be that you have an evdev device configured in the
xorg.conf, and the same device gets added again through HAL.
Cheers,
Peter
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: keyboards and evdev printing multiple keys
2009-01-01 3:49 ` Peter Hutterer
@ 2009-01-02 16:26 ` F. Heitkamp
0 siblings, 0 replies; 4+ messages in thread
From: F. Heitkamp @ 2009-01-02 16:26 UTC (permalink / raw)
To: Peter Hutterer; +Cc: linux-input
Peter Hutterer wrote:
> On Mon, Dec 22, 2008 at 03:09:46PM -0500, F. Heitkamp wrote:
>
>> I am not sure this is a bug.
>> I have a Apple keyboard connected to a IOGear USB KVM.
>> I have installed evdev and the Xorg 1.5.3 server.
>> When I use any X apps the keyboard repeats three for one in. i.e.
>> typing one 'L' puts three of them in the input.
>> I noticed when looking at /proc/bus/input/devices there are three
>> instanced of the keyboard.
>>
>
> This is an X server problem and the most likely cause is that your server is
> picking up a keyboard device (driver "kbd") and the evdev device separately.
> If you are using evdev 2.1, then you will get two events for each key press.
>
> Another reason may be that you have an evdev device configured in the
> xorg.conf, and the same device gets added again through HAL.
>
I've tried commenting out all InputDevice sections in xorg.conf.
It seems to have worked so far. No "EE"s in Xorg.0.conf and my keyboard
and mouse
are working. Thanks!
Fred
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-02 16:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-22 20:09 keyboards and evdev printing multiple keys F. Heitkamp
2008-12-22 21:58 ` Jiri Kosina
2009-01-01 3:49 ` Peter Hutterer
2009-01-02 16:26 ` F. Heitkamp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).