View Single Post
Old 09-06-2016, 01:58 PM   #195
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
I haven't tested transparency in a long time, none of my images actually are transparent. It does not do semitransparency so you should make sure the transparent areas are 100% transparent and not gradients...

Reboot should not be required for changing the images. If the mod stops working after an USB connection, something else went wrong.

The mod actually stops when you connect USB (when the data partition is unmounted) since it loses its inotify target... it's restarted when USB connection ends, using a udev rule.

If you can confirm that the mod stops working altogether after an USB connection (until you reboot), then I have to check if Kobo Aura One might need a different udev rule there. This would probably also mean my AutoShelf mod won't work for the Kobo Aura One since it's using the same rule.

Edit: Also, if you test standby immediately after disconnecting USB, it might not display an image since the mod waits a few seconds for things to settle down.


Edit2: Looking at Kobo's udev rules, I guess it might be the usb_host offline rule that is also required for some models. I think someone reported AutoShelf not working some time ago but I didn't make the connection back then... hard to test for things that don't seem to apply to my H2O.


Edit3: Not sure about the udev rule theory after all. Also I noticed it sometimes "misfires", it displayed a poweroff image when connecting to USB. I guess I'll have to bring back scanline as an additional condition after all... simply checking several lines for being white and/or black is not reliable enough.

Last edited by frostschutz; 09-06-2016 at 04:29 PM.
frostschutz is offline   Reply With Quote