Opened 2 years ago

Last modified 5 weeks ago

#17976 new bug

Surface Book: keyboard & trackpad don't work

Reported by: warpdesign2 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Drivers/Input/PS2 Version: R1/beta5
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by warpdesign2)

When booting using an USB 2 (USB 3 doesn't work) stick, I can reach the welcome screen but keyboard & trackpad are not working.

See included file for the USB typology.

Tested with hrev56521.

Attachments (3)

surface-book-usb.png (58.1 KB ) - added by warpdesign2 2 years ago.
USB typology
syslog-haiku-beta-5-surface-book.txt (163.2 KB ) - added by warpdesign2 5 weeks ago.
syslog-beta-5-surface-book
PXL_20241009_073919405.jpg (3.8 MB ) - added by warpdesign2 5 weeks ago.
Surface Book Input preferences

Change History (15)

by warpdesign2, 2 years ago

Attachment: surface-book-usb.png added

USB typology

comment:1 by warpdesign2, 2 years ago

Description: modified (diff)

comment:2 by warpdesign2, 2 years ago

Description: modified (diff)

comment:3 by warpdesign2, 2 years ago

I'll see if I can attach a sys log, but I'm not sure how to do it:

  • will the syslog be added even when booting from USB?
  • is the partition where the syslog is written readable on a Windows/Mac machine?

comment:4 by waddlesplash, 2 years ago

will the syslog be added even when booting from USB?

Yes, as long as you get to the desktop successfully (and the USB stick is writeable.)

is the partition where the syslog is written readable on a Windows/Mac machine?

Probably not (maybe via FUSE but I don't know if anyone has gotten BFS-FUSE to work with OSXFUSE.) Linux can read BFS natively at least.

by warpdesign2, 5 weeks ago

syslog-beta-5-surface-book

comment:5 by warpdesign2, 5 weeks ago

Better late than never: I tried the latest Beta 5 on a Surface Book and the same happens. It boots to the desktop but mouse/trackpad won't work.

I found a way to extract the syslog this time.

Version 0, edited 5 weeks ago by warpdesign2 (next)

comment:6 by waddlesplash, 5 weeks ago

Component: - GeneralDrivers/Input/PS2
Keywords: surface book usb keyboard removed
Platform: x86-64All
Version: R1/beta3R1/beta5
KERN: ps2: initial setup of command byte failed

comment:7 by warpdesign2, 5 weeks ago

ps2 as in old mouse keyboard interface?

Let me know if you need me to do more tests/debug.

comment:8 by warpdesign2, 5 weeks ago

I tried disabling the ps2 kernel module in the boot menu and it worked: I now have trackpad (no scrolling it seems though) and keyboard working.

Is there a way to disable it permanentely?

comment:9 by waddlesplash, 5 weeks ago

That doesn't make much sense. If these devices are attached via the PS/2 bus, how does disabling the PS/2 driver get them to work?

What input devices do you have in /dev? How do they show up in Input preferences?

comment:10 by warpdesign2, 5 weeks ago

There is no PS/2 device in the Surface Book from what I know. My assumption was that for some reason, the PS/2 kernel driver error caused the problem? Or maybe there is some sort of PS/2 emulation in UEFI?

I'll add more details tomorrow.

comment:11 by waddlesplash, 5 weeks ago

Many internal keyboards and trackpads are attached via PS/2 internally even on modern UEFI hardware. The only real alternative is I2C HID which we don't support out of the box yet.

comment:12 by warpdesign2, 5 weeks ago

It seems to be detected as USB: I attached a screenshot of the input preferences window. Note that for some reason, both seem to be detected twice. When clicking on the touchpad, it highlights the left button of the mouse on both "USB Mouse 1" & "USB Tablet 1".

Last edited 5 weeks ago by warpdesign2 (previous) (diff)

by warpdesign2, 5 weeks ago

Attachment: PXL_20241009_073919405.jpg added

Surface Book Input preferences

Note: See TracTickets for help on using tickets.