Bug#614936: keyboard-configuration: Modifier keys (ctrl, shift, alt) not working - Bluetooth keyboard

2011-02-25 Thread Jacek Leśniewski

On 02/24/2011 04:02 PM, Anton Zinoviev wrote:


 On Thu, Feb 24, 2011 at 12:48:41PM +0100, Hyrob wrote:


 The problem basicly is that when pressing any of the modifier keys
 they do not 'modify' the keys pressed simultaneusly with them.


 Does this keyboard work on the console?


It kind of does - everything except the modifiers (shift,alt,delete) does.

 Anyway, do this:

 1. Go to the text console and login as root (alternatively login as
 another user and use sudo su to become root).

 In order to go to the text console normaly you would use Ctrl+Alt+F1,
 but if the faulty Ctrl and Alt make this combination not work, then
 start a X terminal emulator (i.e. xterm, xrvt, gnome-terminal or
 konsole) and use the command sudo chvt 1.


I had no problem getting to the ttys, however I do not understand why it
would be necessary to run the comands from the text mode console.

 2. Run showkey -s.

 3. Very quickly press Shift, press A, release Shift, release A.


The output for this is the following :
0x2a
0xaa 0x1e
0x9e

 4. Very quickly press Shift, press Q, release Q, release Shift


The out put of this was the following :
0x2a
0xaa 0x10
0x90

 5. Wait 10 sec to get the command prompt.

 6. Repeat the same but this time use showkey -k.


For the first combination the output is :
keycode 42 press
keycode 42 release
keycode 30 press
keycode 30 release
I should point out that I was trying this many times and every time,
despite using the order : shift, a, release shift, a

For the second combination output was very similar :
keycode 42 press
keycode 42 release
keycode 16 press
keycode 16 release
Just in the previous I tested this quite extensively and I still got the
above.

 7. Send the result.

 Anton Zinoviev



As I pointed out in the first report it seems that any key pressed while
the modifier key is pressed cancels the modifier. I noticed it when I
try to use xkeycaps to try and fix things.

--
Regards,
Jacek Leśniewski




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#614936: keyboard-configuration: Modifier keys (ctrl, shift, alt) not working - Bluetooth keyboard

2011-02-25 Thread Anton Zinoviev
reassign 614936 linux-latest-2.6
retitle 614936 Modifier keys (ctrl, shift, alt) not working - Bluetooth keyboard
thanks

On Fri, Feb 25, 2011 at 05:53:59PM +0100, Jacek Leśniewski wrote:
 I had no problem getting to the ttys, however I do not understand why it
 would be necessary to run the comands from the text mode console.

Because this helps to find the source of the problem:

1. X
2. HID
3. low level kernel driver
4. the keyboard itself

If you test only from inside of X any of these could be possible.

  2. Run showkey -s.
 
  3. Very quickly press Shift, press A, release Shift, release A.
 
 The output for this is the following :
 0x2a
 0xaa 0x1e
 0x9e

These are the scancodes that the keyboard sends to the computer (after 
some minimal processing by the kernel).  0x2a is the pressed Shift and 
0xaa is the released Shift - before A is pressed (0x1e).  So I see only 
three possibilities - 1. the keyboard is faulty or 2. the Bluetooth 
keyboard standard has redefined somehow the hardware protocol of the 
comunication between the keyboard and the computer and the keyboard 
driver doesn't support this new protocol or 3. that this keyboard 
generates the hardware interrupts in a strange way that confuse the 
keyboard driver of the kernel.

Because of this I am reassigning the bug.  Hopefully the kernel 
developers will know what to do with this bug.

Anton Zinoviev




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#614936: keyboard-configuration: Modifier keys (ctrl, shift, alt) not working - Bluetooth keyboard

2011-02-25 Thread Jacek Leśniewski

On 02/25/2011 07:15 PM, Anton Zinoviev wrote:


reassign 614936 linux-latest-2.6
retitle 614936 Modifier keys (ctrl, shift, alt) not working - Bluetooth keyboard
thanks

On Fri, Feb 25, 2011 at 05:53:59PM +0100, Jacek Leśniewski wrote:
   

I had no problem getting to the ttys, however I do not understand why it
would be necessary to run the comands from the text mode console.
 

Because this helps to find the source of the problem:

1. X
2. HID
3. low level kernel driver
4. the keyboard itself

If you test only from inside of X any of these could be possible.

   

2. Run showkey -s.

3. Very quickly press Shift, press A, release Shift, release A.

   

The output for this is the following :
0x2a
0xaa 0x1e
0x9e
 

These are the scancodes that the keyboard sends to the computer (after
some minimal processing by the kernel).  0x2a is the pressed Shift and
0xaa is the released Shift - before A is pressed (0x1e).  So I see only
three possibilities - 1. the keyboard is faulty or 2. the Bluetooth
keyboard standard has redefined somehow the hardware protocol of the
comunication between the keyboard and the computer and the keyboard
driver doesn't support this new protocol or 3. that this keyboard
generates the hardware interrupts in a strange way that confuse the
keyboard driver of the kernel.

Because of this I am reassigning the bug.  Hopefully the kernel
developers will know what to do with this bug.

Anton Zinoviev

   
The keyboard cannot be fault as it works perfectly well in windows 
(annoyingly). Further more I only just bought it a week or so ago. It 
also worked well with an Android found (Samsung Galaxy S) However I'm 
not sure whether the modifiers worked propely.


As to the bluetooth protocol it might in deed be the problem.

PS. Do I have to reassign the bug or change its title, and if I do how 
do I do this ?


Anyhow thank you for the quick response.

--
Regards,
Jacek Leśniewski



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#614936: keyboard-configuration: Modifier keys (ctrl, shift, alt) not working - Bluetooth keyboard

2011-02-25 Thread Anton Zinoviev
On Fri, Feb 25, 2011 at 07:30:15PM +0100, Jacek Leśniewski wrote:
 
 The keyboard cannot be fault as it works perfectly well in windows
 (annoyingly).

In principle this doesn't mean its not faulty.

 PS. Do I have to reassign the bug or change its title, and if I do
 how do I do this ?

I've already done this.

Anton Zinoviev




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#614936: keyboard-configuration: Modifier keys (ctrl, shift, alt) not working - Bluetooth keyboard

2011-02-24 Thread Hyrob
Package: keyboard-configuration
Version: 1.69
Severity: important
Tags: sid

The problem basicly is that when pressing any of the modifier keys they do not
'modify' the keys pressed simultaneusly with them.
Having wondered around looking for the solution I ended up finding out that
when I press any of the modifiers the next key-press  cancels them. This does
not happen when pressing any other two keys simulatneusly - they do result in
two signals being send with out canceling each other, what excludes the
possibility of my keyboard not supporting multiple keypresses.

Anyhow having found a couple threads on the following forums regarding the
problem and not finding a satisfying solution I wanted to find a solution that
actually works.
http://ubuntuforums.org/showthread.php?t=1355660
http://ubuntuforums.org/showthread.php?t=1368160

I thought of some possibilities of the causes of the problems, however I cannot
really solve these by myself :

1. Bug in keymap - I've got no idea what type of a bug could produce such
effect but it might be possible.

2. Kernel misinterpretation - it might be a problem with the kernel
interpreting the key pressed on the keyboard and thus making the modifiers
malfunction.

3.Bluetooth adapter controller *bluez - this is highly unlikely as I have tried
another bluetooth keyboard on this system and there was no problem using it -
all modifiers worked perfectly. (both of these connect perfectly and all keys
accept the modifiers work normally)

4. Microsoft based hardware - as there is no problem using the keyboard on
either Win Xp or the 7 there might be a special code written for correctly
interpreting the key presses of the modifiers.

The problem is that even after disabling the modifier by a key press and then
letting off the modifier no code in xev is generated. This excludes the
possibility of writing a small code that would enable and disable the modifiers
properly.

In the threads I mentioned almost all the data is there if anything is needed
please let me know. I don't however have a rocketfish keyboard but a Lenovo
A300-K BT Keyboard

I hope there is a possibility of finding a fix/solution for that other than
sticky keys because they just get on my nerves really badly all the time.
Any help would be really appreciated.



-- System Information:
Debian Release: wheezy/sid
System: Aptosid 2011-01 Γῆρας
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-1.slh.1-aptosid-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages keyboard-configuration depends on:
ii  debconf   1.5.38 Debian configuration management sy

keyboard-configuration recommends no packages.

keyboard-configuration suggests no packages.

-- debconf information:
  keyboard-configuration/layout:
  keyboard-configuration/xkb-keymap: us
* keyboard-configuration/variant: USA
  debian-installer/console-setup-udeb/title:
  keyboard-configuration/unsupported_options: true
  keyboard-configuration/ctrl_alt_bksp: false
  keyboard-configuration/variantcode:
  keyboard-configuration/other:
  keyboard-configuration/optionscode: lv3:ralt_switch,compose:lwin
  keyboard-configuration/modelcode: pc105
  keyboard-configuration/unsupported_config_options: true
  keyboard-configuration/unsupported_config_layout: true
  keyboard-configuration/toggle: No toggling
  keyboard-configuration/compose: Left Logo key
  keyboard-configuration/switch: No temporary switch
  keyboard-configuration/altgr: Right Alt (AltGr)
  keyboard-configuration/unsupported_layout: true
* keyboard-configuration/model: Generic 105-key (Intl) PC



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#614936: keyboard-configuration: Modifier keys (ctrl, shift, alt) not working - Bluetooth keyboard

2011-02-24 Thread Anton Zinoviev
On Thu, Feb 24, 2011 at 12:48:41PM +0100, Hyrob wrote:
 
 The problem basicly is that when pressing any of the modifier keys 
 they do not 'modify' the keys pressed simultaneusly with them.

Does this keyboard work on the console?

Anyway, do this:

1. Go to the text console and login as root (alternatively login as 
another user and use sudo su to become root).

In order to go to the text console normaly you would use Ctrl+Alt+F1, 
but if the faulty Ctrl and Alt make this combination not work, then 
start a X terminal emulator (i.e. xterm, xrvt, gnome-terminal or 
konsole) and use the command sudo chvt 1.

2. Run showkey -s.

3. Very quickly press Shift, press A, release Shift, release A.

4. Very quickly press Shift, press Q, release Q, release Shift

5. Wait 10 sec to get the command prompt.

6. Repeat the same but this time use showkey -k.

7. Send the result.

Anton Zinoviev



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org