Cutiepi, serdevs, and right way to handle its power button
Hi!
Cutiepie is a small handheld tablet. It has embedded controller connected via serial to the main system, handling stuff such as power button and battery percentage. Currently they are using userland deamon for communication, but I believe that should eventually go into kernel.
For debugging, it would be really nice to be able to attach my module to given serdev. Is such thing possible? I see "[PATCH v2 00/19] Dynamically load/remove serdev devices via sysfs*" series
(https://www.spinics.net/lists/linux-serial/msg30732.html) but I'm not sure if equivalent functionality exists in mainline kernel?
Is there some kind of similar hardware already supported by mainline? Using driver as a reference might be easier than starting from scratch.
Thanks and best regards,
Pavel
Signature · 1 line
People of Russia, stop Putin before his war on Ukraine escalates.
Quoted 14 lines · Pavel Machek
Hi!
Cutiepie is a small handheld tablet. It has embedded controller connected via serial to the main system, handling stuff such as power button and battery percentage. Currently they are using userland deamon for communication, but I believe that should eventually go into kernel.
For debugging, it would be really nice to be able to attach my module to given serdev. Is such thing possible? I see "[PATCH v2 00/19] Dynamically load/remove serdev devices via sysfs*" series
(https://www.spinics.net/lists/linux-serial/msg30732.html) but I'm not sure if equivalent functionality exists in mainline kernel?
Quoted 3 lines
Is there some kind of similar hardware already supported by mainline? Using driver as a reference might be easier than starting from scratch.
Is it arm or x86 based tablet?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 15 lines · Andy Shevchenko
Quoted 14 lines · Pavel Machek
Hi!
Cutiepie is a small handheld tablet. It has embedded controller connected via serial to the main system, handling stuff such as power button and battery percentage. Currently they are using userland deamon for communication, but I believe that should eventually go into kernel.
For debugging, it would be really nice to be able to attach my module to given serdev. Is such thing possible? I see "[PATCH v2 00/19] Dynamically load/remove serdev devices via sysfs*" series
(https://www.spinics.net/lists/linux-serial/msg30732.html) but I'm not sure if equivalent functionality exists in mainline kernel?
Quoted 5 lines
Quoted 3 lines
Is there some kind of similar hardware already supported by mainline? Using driver as a reference might be easier than starting from scratch.
Is it arm or x86 based tablet?
arm64, but CPU architecture really should not matter.
Best regards,
Pavel
Signature · 1 line
People of Russia, stop Putin before his war on Ukraine escalates.
Quoted 16 lines · Pavel Machek
Quoted 15 lines · Andy Shevchenko
Quoted 14 lines · Pavel Machek
Hi!
Cutiepie is a small handheld tablet. It has embedded controller connected via serial to the main system, handling stuff such as power button and battery percentage. Currently they are using userland deamon for communication, but I believe that should eventually go into kernel.
For debugging, it would be really nice to be able to attach my module to given serdev. Is such thing possible? I see "[PATCH v2 00/19] Dynamically load/remove serdev devices via sysfs*" series
(https://www.spinics.net/lists/linux-serial/msg30732.html) but I'm not sure if equivalent functionality exists in mainline kernel?
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Is there some kind of similar hardware already supported by mainline? Using driver as a reference might be easier than starting from scratch.
Is it arm or x86 based tablet?
arm64, but CPU architecture really should not matter.
It makes sense on the usual practices done for the platform as a whole, e.g. ACPI vs. DT. So, I believe this one is DT based.
Signature · 2 lines
With Best Regards, Andy Shevchenko