Skip to main content

Laptop keyboard problems

My Dell Vostro 3500 have key Page Up always pressed.
Try https://www.keyboardtester.com/ and  wait a bit, it start to show Page Up keep pressing.
So I want to disable it. (I have removed this key both cover and plastic/rubber) but no luck.
So I tried to disable it by software.
https://askubuntu.com/questions/245333/getting-character-key-code-mappings-in-ubuntu

https://ubuntuforums.org/showthread.php?t=1218221

https://superuser.com/questions/775785/how-to-disable-a-keyboard-key-in-linux-ubuntu

Run xev -even keyboard
to get keycode pressed. My Page Up key died and I can not pressed it (press not go page up) but randomly keep pressing.

Page Down 117, Down 116, Home 110, End 115...
I guest Page Up my keyboard is 118.

I will update keyboard related problems that I've experienced later. Many interesting behaviors and symptoms. I have replaced about 10 keyboard for many Laptop and PC (always Chinese one since original not available or too expensive).

With this problem we can learn something about Key event, keycode etc. Very helpful with programming. Many time we have to deal with these domain logic.

KeyPress event, serial 25, synthetic NO, window 0x4600001,
^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~


Show key mapping
xmodmap -pke

restart Xorg: Ctrl + Alt + Backspace
Permanent (?) disable key by edit /usr/share/X11/xkb/symbols/pc;
For example, disable PgUp key since my hardware key PgUp have been shorted (repeating randomly).
diff
<     key <PGUP> { [ NoSymbol   
<     key <PGUP> { [ Prior

Disable key using
alias fixpgu='xmodmap -e '\''keycode 112='\'''
alias fixpgu2='echo xmodmap -e '\''keycode 112 = 0x0000'\'' '\''keycode 112=NoSymbol'\'''

But it work not reliable. I don't know why. May be it moved to xkb as the post bellow said.

Ubuntu




Comments

Popular posts from this blog

Cuộn hồi tiếp trong biến áp xung

Bài này note lại 1 số tài liệu và hoạt động của cuộn hồi tiếp. Khi mới cấp điện, dòng điện chảy qua điện trở R119 (1M) làm nhiệm vụ mồi cho C1915 dao động! Khi C1815 nhận được thiên áp ở cực B thì nó bắt đầu dao động với tần số phụ thuộc vào tụ C399(473) và R299 ! Dao động của C1815 được 13001khuếch đại công suất và 13001 có tải là cuộn sơ cấp biến áp! 13001 bắt đầu đóng mở dòng qua bién áp làm suất hiện điện áp cảm ứng ở cuộn hồi tiếp và thứ cấp! Cuộn hồi tiếp cấp điện áp hồi tiếp cho C1815 dao động thông qua D299 (4V7) và điện áp này được lọc ở C299 (10uF) Khi có điện áp hồi tiếp rồi thì mạch tiếp tục dao động và ta có điện áp ở thứ cấp! R119 chỉ là mồi! Ảnh tự up phòng khi link ảnh die:

Dell UltraSharp S2340l panel repair

My Dell Ultrasharp monitor model S2340l got error on vertical line all screen and black rounded corner. It like this one, start at 4:58 It is a LG but board and IC seem used same as Dell one. My monitor in worst condition than this LG, it have black rounded corner and vertical line moving instead of horizontal. https://www.aliexpress.com/item/32896809893.html Courier  HKPost vs Singpost https://server6.kproxy.com/servlet/redirect.srv/sruj/sqmpfggpv/sopq/p2/forums/shipping/t/2157865/singpost-vs-hongkong-post/1 https://www.fasttech.com/forums/shipping/t/2157865/singpost-vs-hongkong-post/1 Damn it ban VN IP. SG Post allows internal batteries and eliquids which HK Post prohibits.. Compare taobao, Alibaba and Aliexpress https://www.facebook.com/VanChuyenHangTrungQuocQuyNam/posts/1652963201424327/ https://quynamchina.com/tu-van/alibaba-taobao-1688-tmall-co-gi-khac-nhau.html https://forums.voz.vn/showthread.php?t=7355082&page=151 Yeah some other stu...

Hakko FX-888D-29BY Soldering Iron Repair

http://jestineyong.com/hakko-fx-888d-29by-soldering-iron-repair/ Robert Calk Jr., is a Hobbyist from the U.S.A. that loves Electronics Device Repair. Bài này Robert note lại việc sửa mỏ hàn Hakko FX-888