pascalw / kindle-dash

Power efficient dashboard for Kindle 4 NT devices
MIT License
1.21k stars 34 forks source link

Kindle PW Touch compatibility #22

Open penguin86 opened 1 year ago

penguin86 commented 1 year ago

Hello @pascalw , thank you for this useful piece of software. I found it not working on Kindle PW Touch for two issues:

  1. /etc/init.d/ directory is empty. Btw, calling /etc/init/framework stop seems to have the same effect. I placed an IF to retain the original behavior where possible.
  2. For some reason, xh seems not to work with the certificates contained in Kindle PW Touch: it is unable to read the certificates file:
    
    xh: error: builder error: Could not load PEM file "/etc/ssl/certs/ca-certificates.crt"

Caused by: Could not load PEM file "/etc/ssl/certs/ca-certificates.crt"


Also wget included in busybox seems not to work, while curl seems to work ok. Curl should be present everywhere, so it should be a safe fallback when xh fails. Feel free to edit the change or suggest edits, if the fix doesn't fit the project code style.

Have a nice day!
Daniele
pascalw commented 1 year ago

Hi @penguin86 thanks for your PR and sorry for my late reply. I'll try to take a look at this next week.