Linux Mint 18.3 for Lenovo Yoga Book YB1-X91F - ISO & Request for Help

jekhor

Member
Feb 28, 2018
17
7
3
Hi jekhor,
thx for your help. Here's the output:
-- Logs begin at Sat 2020-11-21 22:37:26 CET, end at Sun 2020-11-29 20:17:01 CET. --
Nov 21 22:49:10 x91f systemd[1]: Starting Touch keyboard handler...
Nov 21 22:49:10 x91f systemd[1]: Started Touch keyboard handler.
Nov 21 22:49:10 x91f systemd[609]: touch-keyboard-handler.service: Failed to execute command: Permission denied
Nov 21 22:49:10 x91f systemd[609]: touch-keyboard-handler.service: Failed at step EXEC spawning /usr/sbin/touch_keyboard_handler: Permission denied
Nov 21 22:49:10 x91f systemd[1]: touch-keyboard-handler.service: Main process exited, code=exited, status=203/EXEC
Nov 21 22:49:10 x91f systemd[1]: touch-keyboard-handler.service: Failed with result 'exit-code'.
-- Reboot --
Nov 21 23:11:56 x91f systemd[1]: Starting Touch keyboard handler...
Nov 21 23:11:56 x91f systemd[1]: Started Touch keyboard handler.
Nov 21 23:11:56 x91f systemd[1]: touch-keyboard-handler.service: Main process exited, code=exited, status=203/EXEC
Nov 21 23:11:56 x91f systemd[1]: touch-keyboard-handler.service: Failed with result 'exit-code'.
-- Reboot --
Nov 23 20:42:26 x91f systemd[1]: Starting Touch keyboard handler...
Nov 23 20:42:26 x91f systemd[1]: Started Touch keyboard handler.
Nov 23 20:42:26 x91f systemd[610]: touch-keyboard-handler.service: Failed to execute command: Permission denied
Nov 23 20:42:26 x91f systemd[610]: touch-keyboard-handler.service: Failed at step EXEC spawning /usr/sbin/touch_keyboard_handler: Permission denied
Nov 23 20:42:26 x91f systemd[1]: touch-keyboard-handler.service: Main process exited, code=exited, status=203/EXEC
Nov 23 20:42:26 x91f systemd[1]: touch-keyboard-handler.service: Failed with result 'exit-code'.
-- Reboot --
Nov 29 20:13:07 x91f systemd[1]: Starting Touch keyboard handler...
Nov 29 20:13:07 x91f systemd[1]: Started Touch keyboard handler.
Nov 29 20:13:07 x91f systemd[634]: touch-keyboard-handler.service: Failed to execute command: Permission denied
Nov 29 20:13:07 x91f systemd[634]: touch-keyboard-handler.service: Failed at step EXEC spawning /usr/sbin/touch_keyboard_handler: Permission denied
Nov 29 20:13:07 x91f systemd[1]: touch-keyboard-handler.service: Main process exited, code=exited, status=203/EXEC
Nov 29 20:13:07 x91f systemd[1]: touch-keyboard-handler.service: Failed with result 'exit-code'.
Issue `sudo chmod a+x /usr/sbin/touch_keyboard_handler` command.
 

Jeff

Senior Member
Sep 17, 2003
189
27
58
Brussels, Belgium
Great to see progress for this device. Using Jekhor's latests tar on an Ubuntu 20.04 install, anyone been able to get the keyboard back after S3 post? Really one of the main things keeping this from being primetime. I tried the script that Thipok17 posted - it lights up but no response.
 

jekhor

Member
Feb 28, 2018
17
7
3
Great to see progress for this device. Using Jekhor's latests tar on an Ubuntu 20.04 install, anyone been able to get the keyboard back after S3 post? Really one of the main things keeping this from being primetime. I tried the script that Thipok17 posted - it lights up but no response.
Hi! I released a new LiveCD targeted to resolve issues with keyboard and digitizer. Now keyboard works after sleep and 'Pen' button switches mode between of keyboard and digitizer.

It is here: https://github.com/jekhor/yogabook-linux/releases/tag/livecd-5.10.2

If you want to update your installed debian-based system, you need to:
- rebuild kernel from here: https://github.com/jekhor/yogabook-linux-kernel (clone to fast x86_64 system, run 'make yogabook_defconfig && make -j <CPU's cores num> bindeb-pkg') and install it (linux-image package)
- build and install following packages (clone and run dpkg-buildpackage):

I will attach .deb files built for debian testing to release at github but touch-keyboard may need recompilation for your distro.
 
Last edited:

ETTT

Senior Member
Oct 26, 2012
58
29
38
Hi! I released a new LiveCD targeted to resolve issues with keyboard and digitizer. Now keyboard works after sleep and 'Pen' button switches mode between of keyboard and digitizer.

It is here: https://github.com/jekhor/yogabook-linux/releases/tag/livecd-5.10.2

If you want to update your installed debian-based system, you need to:
- rebuild kernel from here: https://github.com/jekhor/yogabook-linux-kernel (clone to fast x86_64 system, run 'make yogabook_defconfig && make -j <CPU's cores num> bindeb-pkg') and install it (linux-image package)
- build and install following packages (clone and run dpkg-buildpackage):

I will attach .deb files built for debian testing to release at github but touch-keyboard may need recompilation for your distro.
Hello, Great work.
I have build the live cd from your git repo and it works.

Is there a reason to make the live cd against debian testing(bulleye) instead of debian stable(buster)?
 

jekhor

Member
Feb 28, 2018
17
7
3
Hello, Great work.
I have build the live cd from your git repo and it works.

Is there a reason to make the live cd against debian testing(bulleye) instead of debian stable(buster)?
I cannot remember, maybe something didn't work with buster, maybe I took testing because I don't like to stick at debian stable :)
 

Granat1

Member
Jan 6, 2016
5
0
1
Hi!
I'm new in this thread and I've just installed Archlinux on my YB1-X91L
I'm now trying to install drivers for various things (mainly the Halo keyboard for now) and I ran into a problem.
In this repository you require the android-libbase-dev as a dependency and I'm unable to find a replacement.
I know that this is mainly a Debian vs Arch issue but does anyone have any idea how I could try to resolve it?
 

jekhor

Member
Feb 28, 2018
17
7
3
Hi!
I'm new in this thread and I've just installed Archlinux on my YB1-X91L
I'm now trying to install drivers for various things (mainly the Halo keyboard for now) and I ran into a problem.
In this repository you require the android-libbase-dev as a dependency and I'm unable to find a replacement.
I know that this is mainly a Debian vs Arch issue but does anyone have any idea how I could try to resolve it?
Just update, it doesn't require android libs anymore. I forget to remove this from the README.
 
Last edited:

ETTT

Senior Member
Oct 26, 2012
58
29
38
I cannot remember, maybe something didn't work with buster, maybe I took testing because I don't like to stick at debian stable :)
Well it kind of worked on buster.
I was able to make the buster live-cd.
The thing that was not working was the sound.
Just modifying the base debian to bulseye yields a live-cd that has a working sound.
I already have a working debian buster installed on my yogabook so I installed 5.10 kernel and the sound kind of works. The driver loads, alsamixer lists the sound card and allows me to play with the dials.
However trying to play a wav file with aplay I will get an error "unable to set hw parameters" in dmesg I get:

Code:
[   59.084959] intel_sst_acpi 808622A8:00: FW Version 01.0b.02.02              
[   59.125862]  Audio Port: ASoC: no backend DAIs enabled for Audio Port
you have all dmesg attached.
Is there some firmware that is specific to yogabook sound?
Thanks.
 

Attachments

ETTT

Senior Member
Oct 26, 2012
58
29
38
Well it kind of worked on buster.
I was able to make the buster live-cd.
The thing that was not working was the sound.
Just modifying the base debian to bulseye yields a live-cd that has a working sound.
I already have a working debian buster installed on my yogabook so I installed 5.10 kernel and the sound kind of works. The driver loads, alsamixer lists the sound card and allows me to play with the dials.
However trying to play a wav file with aplay I will get an error "unable to set hw parameters" in dmesg I get:

Code:
[   59.084959] intel_sst_acpi 808622A8:00: FW Version 01.0b.02.02             
[   59.125862]  Audio Port: ASoC: no backend DAIs enabled for Audio Port
you have all dmesg attached.
Is there some firmware that is specific to yogabook sound?
Thanks.
The problem is that debian buster has the version of alsa 1.1.8
yogabook uses ucm2 that is implemented from 1.2 onward.
So after compiling alsa-lib and alsa-utils version 1.2.4 the sound works on buster also, with 5.10 kernel from live-cd.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone