Skip to contentSkip to conversation

Ben_Nanonote keyboard driver bug

DISCUSSION Xiangfu Liu 2 participants 3 messages Sep 18, 2009 – Sep 23, 2009 HID

lore
Share & tools
lore
#0 lore raw

Hi

with Dmitry's help, our keyboard is work.

we use the matrix_keypad.c driver. I found a problem. for example. the keypad is like this: (part of keypad)

GPIO    GPIO    GPIO
|       |       |  
a_______w_______u_____GPIO
|	|	|
|_______s_______j_____GPIO
|	|	|

Shift___Alt_____Ctrl__GPIO

first time press [Shift] + [a] it's output [a] not the [A] second time press [Shift] + [a] it's output [A]. correct. then all work fine. but when I release the [Shift]. and press [a] it's will also output big [A]. but if the midifier and character not in same column GPIO. it will work fine.

other modifier all like this. same GPIO will cause problem.

I should look into the matrix_keypad.c to fix this, right?

Best Regards

Signature · 3 lines
Xiangfu Liu
Email: xiangfu at qi-hardware dot com
Web: http://www.qi-hardware.com
#1 lore raw
Quoted 20 lines · Xiangfu Liu

Hi

with Dmitry's help, our keyboard is work.

we use the matrix_keypad.c driver. I found a problem. for example. the keypad is like this: (part of keypad)
GPIO GPIO GPIO

a_______w_______u_____GPIO

|_______s_______j_____GPIO

Shift___Alt_____Ctrl__GPIO

first time press [Shift] + [a] it's output [a] not the [A] second time press [Shift] + [a] it's output [A]. correct. then all work fine. but when I release the [Shift]. and press [a] it's will also output big [A]. but if the midifier and character not in same column GPIO. it will work fine.

Quoted 4 lines

other modifier all like this. same GPIO will cause problem.

I should look into the matrix_keypad.c to fix this, right?

It would be interesting to see what events are being reported by either evbug module or evtest utility.

Signature · 1 line
Dmitry
#2 lore raw
Quoted 21 lines · Dmitry Torokhov
Quoted 20 lines · Xiangfu Liu

Hi

with Dmitry's help, our keyboard is work.

we use the matrix_keypad.c driver. I found a problem. for example. the keypad is like this: (part of keypad)
GPIO GPIO GPIO

a_______w_______u_____GPIO

|_______s_______j_____GPIO

Shift___Alt_____Ctrl__GPIO

first time press [Shift] + [a] it's output [a] not the [A] second time press [Shift] + [a] it's output [A]. correct. then all work fine. but when I release the [Shift]. and press [a] it's will also output big [A]. but if the midifier and character not in same column GPIO. it will work fine.

Quoted 8 lines
Quoted 4 lines

other modifier all like this. same GPIO will cause problem.

I should look into the matrix_keypad.c to fix this, right?

It would be interesting to see what events are being reported by either evbug module or evtest utility.

Hi Dmitry. I will try to look into the evbug or evtest. will send email when I have progress.

Signature · 3 lines
Xiangfu Liu
Email: xiangfu at qi-hardware dot com
Web: http://www.qi-hardware.com