Jump to content

Lenovo IdeaPad Duet 5 (google-homestar)

From postmarketOS Wiki
Note This device is supported as part of a generic port. Refer to Google Trogdor Chromebook (google-trogdor) for installation instructions and more information.
Lenovo IdeaPad Duet 5
File:TODO
Manufacturer Lenovo
Name IdeaPad Duet 5
Codename google-homestar
Released 2021
Type detachable
Hardware
Chipset Qualcomm Snapdragon 7c Gen 2 (SC7180P)
CPU 2x Kryo 468 Gold
6x Kryo 468 Silver
GPU Adreno 618
Display 1920x1080 IPS/OLED
Storage 64/128 GB
Memory 4/8 GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
ChromeOS
Extended version
The most recent supported version from the manufacturer.
ChromeOS
postmarketOS
Category community
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
Generic port Google Trogdor Chromebook (google-trogdor)
Device package device-google-trogdor
Kernel package linux-postmarketos-qcom-sc7180
Features
Battery
Whether charging and battery level reporting work.
Works
Screen
Whether the display works; ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Keyboard
Whether the built-in physical keyboard works.
Works
Touchpad
Whether the built-in touchpad works.
Partial
Stylus
Works
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Partial
Camera
Broken
Connectivity
WiFi
Works
Bluetooth
Partial
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB OTG
USB On-The-Go or USB-C Role switching.
Broken
HDMI/DP
Video and audio output with HDMI or DisplayPort.
Partial
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Works
Hall Effect
Measures magnetic fields; usually used as a flip cover sensor
Untested

Users owning this device

  • Geofferey (Notes: Testing device port)
  • Halufun
  • JoLi (Notes: broken Display)
  • Zaku88 (Notes: awaiting SuzyQable, still in ChromeOS)

Hardware status

Bluetooth

I was able to pair my Headphone and it works. Sometimes no device is listed in GNOME settings and I have to do `bluetoothctl` and then `scan on` for the devices to be shown. To make my keyboard and mouse work I had to do `apk add hidapi` and then `modprobe uhid` (if you have added the device before modprobe, remove and re-pair the device).

Touchpad

Touchpad is initially in absolute mode, where gestures and taps do not work. Disable keyd service to fix.
$ sudo systemctl stop keyd
$ sudo systemctl disable keyd

You can instead remap keys with udev. [1]

HDMI/DP

If I connect an external monitor, it breaks the Desktop showing only a blinking cursor on both device display and external display. If I plug in the monitor before boot, postmarketos boot animation is shown and then a (blinking) cursor on all displays.

I have been able to connect external monitors both directly in the case of a monitor with a USB-C input and via a USB-C with an HDMI output. However, the process to connect is temperamental and involves plugging in the USB-C device and then putting the tablet to sleep and waking it. I've had the same experience with a couple of different monitors so not sure what is causing it.

Audio

Audio does work on all 4 speakers, but does require Tweaks: In /usr/share/alsa/ucm2/Qualcomm/sc7180/rt5682-max98357a-homestar/HiFi.conf at Section Speaker set PlaybackChannels from 2 to 4 [2]

3D acceleration info

Here's my performance results for glxgears. You can use these as a benchmark to verify everything is working:
~ $ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
23178 frames in 5.0 seconds = 4635.542 FPS
23453 frames in 5.0 seconds = 4690.543 FPS
23562 frames in 5.0 seconds = 4712.284 FPS
23338 frames in 5.0 seconds = 4667.283 FPS
Terminated
~ $