Hi,
There is one report on the below problem:[1]
- connect one usb keyboard into laptop
- press capslock on internal ps/2 keyboard
- input from both two keyboards becomes upper case state
- but only capslock led is on in ps/2 keyboard and not on in
usb keyboard
or
- connect one usb keyboard into laptop
- press capslock on usb keyboard
- input from both two keyboards becomes upper case state
- but only capslock led is on in usb keyboard and not on in
internal ps/2 keyboard
No such problem on windows, and capslock input is always consistent with the led
state on both keyboards.
I can reproduce the above problem 100% on my T410 laptop.
[1], https://bugs.launchpad.net/ubuntu/+source/linux/+bug/830063
Thanks,
--
Ming Lei
Hi Ming,
On Wednesday, October 17, 2012 08:44:12 PM Ming Lei wrote:
Hi,
There is one report on the below problem:[1]
- connect one usb keyboard into laptop
- press capslock on internal ps/2 keyboard
- input from both two keyboards becomes upper case state
- but only capslock led is on in ps/2 keyboard and not on in
usb keyboard
or
- connect one usb keyboard into laptop
- press capslock on usb keyboard
- input from both two keyboards becomes upper case state
- but only capslock led is on in usb keyboard and not on in
internal ps/2 keyboard
No such problem on windows, and capslock input is always consistent with the
led state on both keyboards.
I can reproduce the above problem 100% on my T410 laptop.
I see it is broken in X, but it works for me if I am using the console.
Does it work for you as well if you switch into the console? If so then
you need to file a bug against X.
Thanks.
--
Dmitry
Hi Dmitry,
On Thu, Oct 18, 2012 at 1:30 AM, Dmitry Torokhov
[off-list ref] wrote:
I see it is broken in X, but it works for me if I am using the console.
Does it work for you as well if you switch into the console? If so then
you need to file a bug against X.
Thanks for your reply.
Unluckily, it becomes worse if I switch to console and capslock leds
in both keyborads are not changed but the function is OK.
So you mean the led is controlled by user-space totally? and Kernel
doesn't handle the case?
Thanks,
--
Ming Lei
On Mon, Oct 22, 2012 at 09:42:17AM +0800, Ming Lei wrote:
Hi Dmitry,
On Thu, Oct 18, 2012 at 1:30 AM, Dmitry Torokhov
[off-list ref] wrote:
quoted
I see it is broken in X, but it works for me if I am using the console.
Does it work for you as well if you switch into the console? If so then
you need to file a bug against X.
Thanks for your reply.
Unluckily, it becomes worse if I switch to console and capslock leds
in both keyborads are not changed but the function is OK.
So you mean the led is controlled by user-space totally? and Kernel
doesn't handle the case?
Keyboard LEDs are controlled by the kernel unless console is in the raw
mode (X), in which case it is left to userspace. I see it on my box that
sync between keyboards is broken while I am in X (so it is X problem)
and works when I am in text console (so I do not see the kernel
problem).
Since it does not work for you in text console either your setup must be
different than mine. If you switch to a text console and do
sudo lsof /dev/input/event*
what do you see?
Thanks.
--
Dmitry
On Mon, Oct 22, 2012 at 11:54 PM, Dmitry Torokhov
[off-list ref] wrote:
Keyboard LEDs are controlled by the kernel unless console is in the raw
mode (X), in which case it is left to userspace. I see it on my box that
sync between keyboards is broken while I am in X (so it is X problem)
and works when I am in text console (so I do not see the kernel
problem).
Since it does not work for you in text console either your setup must be
different than mine. If you switch to a text console and do
sudo lsof /dev/input/event*
what do you see?
- lsof output from text console
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/tom/.gvfs
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
upowerd 2956 root 13r CHR 13,64 0t0 7050 /dev/input/event0
- lsof output from X
[tom@~]$sudo lsof /dev/input/event*
[sudo] password for tom:
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/tom/.gvfs
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
Xorg 2110 root 12u CHR 13,66 0t0 7052 /dev/input/event2
Xorg 2110 root 13u CHR 13,70 0t0 10099 /dev/input/event6
Xorg 2110 root 14u CHR 13,65 0t0 7051 /dev/input/event1
Xorg 2110 root 15u CHR 13,71 0t0 13213 /dev/input/event7
Xorg 2110 root 16u CHR 13,67 0t0 7058 /dev/input/event3
Xorg 2110 root 19u CHR 13,69 0t0 7255 /dev/input/event5
Xorg 2110 root 52u CHR 13,73 0t0 27009 /dev/input/event9
upowerd 2956 root 13r CHR 13,64 0t0 7050 /dev/input/event0
Thanks,
--
Ming Lei
On Tue, Oct 23, 2012 at 09:20:17AM +0800, Ming Lei wrote:
On Mon, Oct 22, 2012 at 11:54 PM, Dmitry Torokhov
[off-list ref] wrote:
quoted
Keyboard LEDs are controlled by the kernel unless console is in the raw
mode (X), in which case it is left to userspace. I see it on my box that
sync between keyboards is broken while I am in X (so it is X problem)
and works when I am in text console (so I do not see the kernel
problem).
Since it does not work for you in text console either your setup must be
different than mine. If you switch to a text console and do
sudo lsof /dev/input/event*
what do you see?
- lsof output from text console
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/tom/.gvfs
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
upowerd 2956 root 13r CHR 13,64 0t0 7050 /dev/input/event0
Hmm, this looks correct. Do you have similar issues on any other boxes
or only your laptop? Does the LED state propagate between 2 USB
keyboards if you plug in both of them? What does /proc/bus/input/devices
show?
Thanks.
--
Dmitry
On Wed, Oct 24, 2012 at 1:48 AM, Dmitry Torokhov
[off-list ref] wrote:
Hmm, this looks correct. Do you have similar issues on any other boxes
or only your laptop? Does the LED state propagate between 2 USB
I only have one laptop at hand, :-(
keyboards if you plug in both of them? What does /proc/bus/input/devices
I only have one usb keyboard too, :-(
The LED state becomes off once I switched to console via pressing 'ctrl+alt+F1',
and it will keep off even though CAPSLOCK is pressed on either usb keyboard
or ps/2 keyboard.
The above can be observed on 3.6 kernel and several precious kernel.
(distribution is Ubuntu 12.04)
On Wed, Oct 24, 2012 at 08:39:51AM +0800, Ming Lei wrote:
On Wed, Oct 24, 2012 at 1:48 AM, Dmitry Torokhov
[off-list ref] wrote:
quoted
Hmm, this looks correct. Do you have similar issues on any other boxes
or only your laptop? Does the LED state propagate between 2 USB
I only have one laptop at hand, :-(
quoted
keyboards if you plug in both of them? What does /proc/bus/input/devices
I only have one usb keyboard too, :-(
The LED state becomes off once I switched to console via pressing 'ctrl+alt+F1',
and it will keep off even though CAPSLOCK is pressed on either usb keyboard
or ps/2 keyboard.
The above can be observed on 3.6 kernel and several precious kernel.
(distribution is Ubuntu 12.04)
Do you have thinkpads platform driver loaded? What happens if you boot
with it blacklisted?
Thanks.
--
Dmitry