You are not logged in.

#1 2019-01-17 17:47:07

meravega
Member
Registered: 2016-12-21
Posts: 34

keyboard laptop wrong before use another usb (wireless) keyboard

Hello. After connect a usb keyboard (wireless) to a laptop LG X110, use it and disconnect it,the keyboard of the laptop works wrong, somes letters dont work, other simbols works on another keys, etc.
I've tried with 

 sudo dpkg-reconfigure keyboard-configuration 

switch hpmini110 ( type of keyboard ) and it works, but when I reboot, again it works wrong, but in this case, last method not work.
Thanks.

Offline

#2 2019-01-18 15:31:34

onlain
Member
Registered: 2016-04-22
Posts: 39

Re: keyboard laptop wrong before use another usb (wireless) keyboard

what show you "setxkbmap -print" before, meanwhile and after you plug the usb?

Offline

#3 2019-01-23 14:50:06

meravega
Member
Registered: 2016-12-21
Posts: 34

Re: keyboard laptop wrong before use another usb (wireless) keyboard

Sorry for the delay.
It shown the same

sudo setxkbmap -print
xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc+es(winkeys)+inet(evdev)+compose(ralt)"	};
	xkb_geometry  { include "hp(mini110)"	};
};

and ...

 sudo dmesg 
[    4.132098] usb 4-1: device descriptor read/64, error -71
[    4.372116] usb 4-1: device descriptor read/64, error -71
[    4.600127] usb 4-1: new full-speed USB device number 3 using uhci_hcd
[    4.692104] usb 1-6: new high-speed USB device number 5 using ehci-pci
[    4.732103] usb 4-1: device descriptor read/64, error -71
[    4.807685] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    4.807912] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    4.807964] systemd[1]: Starting Remote File Systems (Pre).
[    4.808126] systemd[1]: Reached target Remote File Systems (Pre).
[    4.851502] usb 1-6: New USB device found, idVendor=0bda, idProduct=0158
[    4.851509] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.851513] usb 1-6: Product: USB2.0-CRW
[    4.851517] usb 1-6: Manufacturer: Generic
[    4.851520] usb 1-6: SerialNumber: 20071114173400000
[    4.976108] usb 4-1: device descriptor read/64, error -71
[    5.144740] fuse init (API version 7.26)
[    5.172118] usb 5-1: new full-speed USB device number 2 using uhci_hcd
[    5.212115] usb 4-1: new full-speed USB device number 4 using uhci_hcd
[    5.416128] usb 5-1: New USB device found, idVendor=0db0, idProduct=a97a
[    5.416134] usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.540785] media: Linux media interface: v0.10
[    5.572895] Linux video capture interface: v2.00
[    5.583881] usbcore: registered new interface driver uvcvideo
[    5.583887] USB Video Class driver (1.1.1)
[    5.632072] usb 4-1: device not accepting address 4, error -71
[    5.752081] usb 4-1: new full-speed USB device number 5 using uhci_hcd
[    5.891947] systemd-udevd[173]: starting version 215
[    6.172129] usb 4-1: device not accepting address 5, error -71
[    6.172293] usb usb4-port1: unable to enumerate USB device
[    7.154780] usbcore: registered new interface driver usb-storage
[    7.174327] usbcore: registered new interface driver uas
[    7.304627] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    7.322746] ums-realtek 1-6:1.0: USB Mass Storage device detected
[    7.344102] scsi host2: usb-storage 1-6:1.0
[    7.344582] usbcore: registered new interface driver ums-realtek
[    7.364128] wmi: Mapper loaded
[    7.396984] ACPI: AC Adapter [ADP1] (on-line)
[    7.402522] ACPI: Video Device [IGD] (multi-head: yes  rom: no  post: no)
[    7.418207] acpi device:1a: registered as cooling_device2
[    7.418539] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input5
[    7.433094] atkbd serio0: Unknown key pressed (translated set 2, code 0xf8 on isa0060/serio0).
[    7.433104] atkbd serio0: Use 'setkeycodes e078 <keycode>' to make it known.
[    7.437637] atkbd serio0: Unknown key released (translated set 2, code 0xf8 on isa0060/serio0).
[    7.437648] atkbd serio0: Use 'setkeycodes e078 <keycode>' to make it known.
[    7.440099] atkbd serio0: Unknown key pressed (translated set 2, code 0xf7 on isa0060/serio0).
[    7.440106] atkbd serio0: Use 'setkeycodes e077 <keycode>' to make it known.
[    7.446593] atkbd serio0: Unknown key released (translated set 2, code 0xf7 on isa0060/serio0).
[    7.446602] atkbd serio0: Use 'setkeycodes e077 <keycode>' to make it known.

Offline

#4 2019-01-24 07:27:51

ohnonot
...again
Registered: 2015-09-29
Posts: 3,767
Website

Re: keyboard laptop wrong before use another usb (wireless) keyboard

meravega wrote:
sudo setxkbmap -print
xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc+es(winkeys)+inet(evdev)+compose(ralt)"	};
	xkb_geometry  { include "hp(mini110)"	};
};

the command would not have required sudo.
on my system the output is the same with or without sudo, but you should check on yours.

on my system the last two lines look like this:

xkb_symbols   { include "pc+fi+inet(evdev)"    };
    xkb_geometry  { include "pc(pc105)" };

(both on my baremetal archlinux as well as on my BL virtual machine)
so you have "hp(mini110)", (winkeys), compose(ralt) where I don't. why?

Offline

#5 2019-01-24 17:53:30

onlain
Member
Registered: 2016-04-22
Posts: 39

Re: keyboard laptop wrong before use another usb (wireless) keyboard

Well, Meravega changed it to hp(mini110) with dpkp-reconfigure. Like ohnonot said, maybe you should return it to pc(105). I use it too even in my mini laptop.

xkb_symbols layout is configured to "es", is that correct for your pc?

Even if dpkg-reconfigure worked fine for you that time, I recommend you use setxkbmap options next time. Setxkbmap can be configured at openbox's autostart too. See that file, maybe there is something else there.

Of course, you need to (find and) set the correct map. Afterthat, you could make a shortcut to got easy access to that config. There is another method making rules for when you plug here. but i never have try it.

Offline

#6 2019-01-25 06:01:55

ohnonot
...again
Registered: 2015-09-29
Posts: 3,767
Website

Re: keyboard laptop wrong before use another usb (wireless) keyboard

onlain wrote:

Well, Meravega changed it to hp(mini110) with dpkp-reconfigure.

oops, forgot to re-read the op before answering...
ops

There is another method making rules for when you plug here.

very interesting, esp. since it seems to have solved that thread's problem.

Offline

#7 2019-01-30 17:12:11

meravega
Member
Registered: 2016-12-21
Posts: 34

Re: keyboard laptop wrong before use another usb (wireless) keyboard

Return to pc(105) doesn't work.
'es' is correct for me.
Nothing about setxkbmap in openbox autostart.
How can add it at openbox autostart?

setxkbmap [ args ] [ layout [ variant [ option ...  ] ] ]

????

Offline

Board footer

Powered by FluxBB