Gentoo Archives: gentoo-user

From: Bill Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: [gentoo-user] type keyboard problem
Date: Fri, 06 Oct 2017 00:33:52
Message-Id: 0bfd7064-f82a-5086-c672-36d80eaf3e68@iinet.net.au
1 Hi all, I have a laptop keyboard problem - it fails to reconnect the
2 keyboard on opening after closing.
3
4 MS Surface pro 4 with type keyboard.
5
6 The keyboard connects correctly on bootup or resume from hibernate (when
7 open).
8
9 Close keyboard (removes power), open keyboard and it no longer works.
10 Requires a reboot (or hibernate/resume) for it it to work again.
11
12 On opening the keyboard, the kernel detects it, it shows up in lsusb.
13
14 Oct 6 05:57:15 bunyip kernel: usb 1-7: Product: Surface Type Cover
15 Oct 6 05:57:15 bunyip kernel: input: Microsoft Surface Type Cover
16 Keyboard as
17 /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/0003:045E:07E8.0003/input/input29
18 Oct 6 05:57:15 bunyip kernel: input: Microsoft Surface Type Cover
19 Consumer Control as
20 /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/0003:045E:07E8.0003/input/input31
21 Oct 6 05:57:15 bunyip kernel: input: Microsoft Surface Type Cover
22 Touchpad as
23 /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/0003:045E:07E8.0003/input/input33
24 Oct 6 05:57:15 bunyip kernel: hid-multitouch 0003:045E:07E8.0003:
25 input,hiddev96,hidraw0: USB HID v1.11 Keyboard [Microsoft Surface Type
26 Cover] on usb-0000:00:14.0-7/input0
27
28 It looks like it changes input when reopening but the event framework
29 fails to re-enumerate it.
30
31 Ive tried restarting udev but no luck.
32
33 Where should I look next?
34
35 BillK

Replies

Subject Author
Re: [gentoo-user] type keyboard problem Andrew Savchenko <bircoph@g.o>