samsung-galaxybook-extras icon indicating copy to clipboard operation
samsung-galaxybook-extras copied to clipboard

Error when turning start on lid open ON

Open seaasses opened this issue 4 months ago • 5 comments

Galaxy Book 3

  • Product Name: NP750XFH-XS1BR
  • Kernel: 6.8.0-31-generic (x64)
  • OS: Ubuntu 24.04.1 LTS
  • Driver version commit hash: https://github.com/joshuagrisham/samsung-galaxybook-extras/commit/f1aba1a7a48ec32b0a32d9eba150be998cae1b07

The sudo dmidecode --type 3 output is

Getting SMBIOS data from sysfs.
SMBIOS 3.5.0 present.

Handle 0x0003, DMI type 3, 22 bytes
Chassis Information
	Manufacturer: SAMSUNG ELECTRONICS CO., LTD.
	Type: Notebook
	Lock: Not Present
	Version: N/A
	Serial Number: ------
	Asset Tag: No Asset Tag
	Boot-up State: Safe
	Power Supply State: Safe
	Thermal State: Safe
	Security Status: None
	OEM Information: 0x00000000
	Height: Unspecified
	Number Of Power Cords: 1
	Contained Elements: 0
	SKU Number: Samsung Chassis

The issue

When running echo true | sudo tee /sys/devices/platform/samsung-galaxybook/start_on_lid_open I get the error bellow error message

tee: /sys/devices/platform/samsung-galaxybook/start_on_lid_open: Invalid argument

The error does not occur disabling the lid open option with echo false | sudo tee /sys/devices/platform/samsung-galaxybook/start_on_lid_open

Kernel Logs

[ 3293.551620] samsung_galaxybook: [DEBUG] input notification event: 0x61
[ 3378.240994] samsung_galaxybook: [DEBUG] setting start_on_lid_open
[ 3378.241001] samsung_galaxybook: [DEBUG]     43 58 7a 00 00 82 a3 80 01 00 00 00 00 00 00 00
[ 3378.241004] samsung_galaxybook: [DEBUG]     00 00 00 00 00
[ 3378.242131] samsung_galaxybook: [DEBUG] response was:
[ 3378.242134] samsung_galaxybook: [DEBUG]     43 58 7a 00 aa ff 00 00 00 00 00 00 00 00 00 00
[ 3378.242135] samsung_galaxybook: [DEBUG]     00 00 00 00 00
[ 3378.242137] samsung_galaxybook: invalid response when setting start_on_lid_open; returned value was: 0x00 0x00

Final comment

~~In fact I think the change takes place because opening the lid does turn the laptop on (I will test more), but the error message tells me that there is something to change in the code~~No, it doesn't

seaasses avatar Oct 10 '24 14:10 seaasses