Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Surface Laptop
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Jeroend
n00b
n00b


Joined: 16 Aug 2005
Posts: 31

PostPosted: Tue Sep 19, 2017 11:00 am    Post subject: Surface Laptop Reply with quote

Has anybody done an install on the new MS Surface laptop?, i can't seem to get the internal keyboard working.

Thx,
Jeroen
Back to top
View user's profile Send private message
Telemin
l33t
l33t


Joined: 25 Aug 2005
Posts: 753
Location: Glasgow, UK

PostPosted: Tue Sep 19, 2017 11:19 am    Post subject: Reply with quote

Hi there,

It is probably an LPSS touchpad which is on the I2C bus and needs different drivers, take a look at these topics for info: https://forums.gentoo.org/viewtopic-t-1066604.html https://forums.gentoo.org/viewtopic-t-1066652.html https://forums.gentoo.org/viewtopic-t-1065238.html https://forums.gentoo.org/viewtopic-t-1065156.html

-Telemin-
_________________
The Geek formerly known as -Freestyling-
When you feel your problem has been solved please add [Solved] to the topic title.
Please adopt an unanswered post
Back to top
View user's profile Send private message
Jeroend
n00b
n00b


Joined: 16 Aug 2005
Posts: 31

PostPosted: Tue Sep 19, 2017 2:27 pm    Post subject: Reply with quote

Its actualy the keybord that isn't working, the trackpad works fine.
Back to top
View user's profile Send private message
Telemin
l33t
l33t


Joined: 25 Aug 2005
Posts: 753
Location: Glasgow, UK

PostPosted: Tue Sep 19, 2017 2:36 pm    Post subject: Reply with quote

Sorry, my bad, I'm not sure quite how I managed to misread that so badly :oops: .

Are you referring to the keyboard on the "type cover". If so, as of kernel 4.10 a driver lives under the HID_MICROSOFT symbol. https://patchwork.kernel.org/patch/9439493/ That driver might also work for various other MS hid offerings.

Good Luck

-Telemin-
_________________
The Geek formerly known as -Freestyling-
When you feel your problem has been solved please add [Solved] to the topic title.
Please adopt an unanswered post
Back to top
View user's profile Send private message
Jeroend
n00b
n00b


Joined: 16 Aug 2005
Posts: 31

PostPosted: Tue Sep 19, 2017 2:58 pm    Post subject: Reply with quote

well its a surface laptop, its actualy a real laptop with a fixed build in keyboard and not a tablet with a cover keyboard.

could it be it used the same hid then the type cover of the surface 4 pro?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21607

PostPosted: Wed Sep 20, 2017 12:31 am    Post subject: Reply with quote

Is the keyboard completely unusable under all Linux kernels you have tested or only unusable under the kernel you compiled as part of your install? If the former, how did you install anything on it? If the latter, you can examine the install environment to see how it operated the keyboard.
Back to top
View user's profile Send private message
Jeroend
n00b
n00b


Joined: 16 Aug 2005
Posts: 31

PostPosted: Wed Sep 20, 2017 6:16 am    Post subject: Reply with quote

Yes it works in grub but after that is doesn't do anything, it also didn't work in the rescuecd i used to install gentoo, i had to use an external usb keyboard.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21607

PostPosted: Thu Sep 21, 2017 12:49 am    Post subject: Reply with quote

Grub is not Linux, and may be benefiting from some early boot assistance from the firmware. So at this point, we have no indication that any Linux kernel can operate your keyboard. To continue, we need the identifying numbers from the keyboard. Can you post the output of lsusb -v (assuming the laptop keyboard is USB, which it may or may not be)? If the laptop is not mentioned there, check other buses, such as lspci.
Back to top
View user's profile Send private message
Jeroend
n00b
n00b


Joined: 16 Aug 2005
Posts: 31

PostPosted: Thu Sep 21, 2017 2:27 pm    Post subject: Reply with quote

I found a custom kernel source that should include the keyboard, they use hid_microsoft and #define USB_DEVICE_ID_MS_SURFACE_LAPTOP 0xf001

but i don't seem to have that device:

lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 1286:204c Marvell Semiconductor, Inc.
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Back to top
View user's profile Send private message
Telemin
l33t
l33t


Joined: 25 Aug 2005
Posts: 753
Location: Glasgow, UK

PostPosted: Thu Sep 21, 2017 2:46 pm    Post subject: Reply with quote

Interesting,

The marvell device is your touchscreen but I would have also expected at least a webcam attached by usb. It may be that there is a usb driver missing, or we are looking at the wrong bus entirely. Can you give us a full lspci -k and dmesg please? Maybe we can spot some missing drivers. You can pastebin the dmesg as it will be too long to paste inline (wgetpaste is your friend for that).

-Telemin-
_________________
The Geek formerly known as -Freestyling-
When you feel your problem has been solved please add [Solved] to the topic title.
Please adopt an unanswered post
Back to top
View user's profile Send private message
Jeroend
n00b
n00b


Joined: 16 Aug 2005
Posts: 31

PostPosted: Thu Sep 21, 2017 4:32 pm    Post subject: Reply with quote

here is the lspci: https://pastebin.com/yue5430u
and the dmesg: https://paste.pound-python.org/show/9CSnW5HjQRDMcbMzTooy/

indeed i din't even notice there was no webcam, it definatly has one, could it be that one usb chip isn't supported?
Back to top
View user's profile Send private message
Jeroend
n00b
n00b


Joined: 16 Aug 2005
Posts: 31

PostPosted: Fri Sep 22, 2017 9:50 am    Post subject: Reply with quote

well on further invesrtigation the webcam seems to be pcie, and the keyboards seems to be on ACPI, is this supported in the kernel?

info form windows:
HID\VEN_MSHW&DEV_0096&Col01
parent: ACPI\MSHW0096\2&daba3ff&1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum