Feedback on the Dell Inspiron 3179 - Drax KBL

Asked by Andrej A Antonov

problems with keyboard for four keys: HOME, END, PGUP, PGDN. (all others keyboard-keys -- works good).

this keys -- only sends key-press events , but not sends key-release events.

it is not very bad for physical console command line (no X11).. but absolutely not possible to work in X11 .

program ``showkey`` (in physical console ) output ----

        kb mode was UNICODE
        [ if you are trying this under X, it might not work
        since the X server is also reading /dev/console ]

        press any key (program terminates 10s after last keypress)...
        keycode 28 release
        keycode 28 press
        keycode 28 release
        keycode 28 press
        keycode 28 release
        keycode 28 press
        keycode 28 release
        keycode 102 press
        keycode 107 press
        keycode 104 press
        keycode 109 press
        keycode 102 press
        keycode 107 press
        keycode 104 press
        keycode 109 press
        keycode 102 press
        keycode 107 press
        keycode 104 press
        keycode 109 press

program ``showkey -s`` (in physical console ) output ----

        kb mode was UNICODE
        [ if you are trying this under X, it might not work
        since the X server is also reading /dev/console ]

        press any key (program terminates 10s after last keypress)...
        0x9c
        0x1c 0x9c 0x1c 0x9c
        0x1c 0x9c
        0xe0 0x47
        0xe0 0x4f
        0xe0 0x49
        0xe0 0x51
        0xe0 0x47
        0xe0 0x4f
        0xe0 0x49
        0xe0 0x51
        0xe0 0x47
        0xe0 0x4f
        0xe0 0x49
        0xe0 0x51

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu-Certification Edit question
Assignee:
No assignee Edit question
Solved by:
Andrej A Antonov
Solved:
Last query:
Last reply:
Revision history for this message
Andrej A Antonov (polymorphm) said :
#1

more information:

if I will load with Kernel Parameters: i8042.debug i8042.unmask_kbd_data

than in dmesg I see same:

    [ 167.541072] i8042: [49458] e0 <- i8042 (interrupt, 0, 1)
    [ 167.543508] i8042: [49459] 47 <- i8042 (interrupt, 0, 1)
    [ 167.828298] i8042: [49544] e0 <- i8042 (interrupt, 0, 1)
    [ 167.830614] i8042: [49545] 4f <- i8042 (interrupt, 0, 1)
    [ 168.126512] i8042: [49633] e0 <- i8042 (interrupt, 0, 1)
    [ 168.128950] i8042: [49634] 49 <- i8042 (interrupt, 0, 1)
    [ 168.332382] i8042: [49694] e0 <- i8042 (interrupt, 0, 1)
    [ 168.334812] i8042: [49695] 51 <- i8042 (interrupt, 0, 1)
    [ 168.732057] i8042: [49814] e0 <- i8042 (interrupt, 0, 1)
    [ 168.734479] i8042: [49814] 47 <- i8042 (interrupt, 0, 1)
    [ 168.987128] i8042: [49890] e0 <- i8042 (interrupt, 0, 1)
    [ 168.989468] i8042: [49891] 4f <- i8042 (interrupt, 0, 1)
    [ 169.264263] i8042: [49973] e0 <- i8042 (interrupt, 0, 1)
    [ 169.266697] i8042: [49973] 49 <- i8042 (interrupt, 0, 1)
    [ 169.459076] i8042: [50031] e0 <- i8042 (interrupt, 0, 1)
    [ 169.461522] i8042: [50031] 51 <- i8042 (interrupt, 0, 1)
    [ 169.830662] i8042: [50142] e0 <- i8042 (interrupt, 0, 1)
    [ 169.833047] i8042: [50142] 47 <- i8042 (interrupt, 0, 1)
    [ 170.080744] i8042: [50216] e0 <- i8042 (interrupt, 0, 1)
    [ 170.083137] i8042: [50217] 4f <- i8042 (interrupt, 0, 1)
    [ 170.377976] i8042: [50305] e0 <- i8042 (interrupt, 0, 1)
    [ 170.380403] i8042: [50306] 49 <- i8042 (interrupt, 0, 1)
    [ 170.567679] i8042: [50362] e0 <- i8042 (interrupt, 0, 1)
    [ 170.570182] i8042: [50362] 51 <- i8042 (interrupt, 0, 1)

Revision history for this message
Po-Hsu Lin (cypressyew) said :
#2

Hello
Thanks for the detailed debug message, can you turn this into a bug report and link it back to this question?
Just run "ubuntu-bug linux" in a terminal to collect attachments.

Thank you
FAQ #2193: “XXXX is broken, I need to file a bug”.

Revision history for this message
Andrej A Antonov (polymorphm) said :
#3

problem was solved -- via creating hwdb-file ( /etc/udev/hwdb.d/95-custom-keyboard.hwdb ):

    # Dell Inspiron 3179
    evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*3179:pvr*
     KEYBOARD_KEY_c7=!home
     KEYBOARD_KEY_cf=!end
     KEYBOARD_KEY_c9=!pageup
     KEYBOARD_KEY_d1=!pagedown

(and hwdb re-index: sudo udevadm hwdb --update && sudo sudo udevadm trigger )

thank you all for your time and for desire to help!

# P.S.: for next message -- I will try to reboot to Ubuntu Linux and I will make ``ubuntu-bug linux``. if it is still need for formality

Revision history for this message
Po-Hsu Lin (cypressyew) said :
#4

Thanks for sharing the solution!
And it will be great if you can open a bug report for that, as other users might encounter the same issue.
(You can attach your workaround in the bug report as well)

Revision history for this message
Andrej A Antonov (polymorphm) said :
#5

i created bug report via ``ubuntu-bug udev`` with attachment files:

https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1655135

i will be glad if this proves useful