Thread: Aura H2O AutoShelf beta
View Single Post
Old 09-12-2016, 11:36 AM   #101
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
Thanks. (Please remember to uninstall it.)

The fsl-usb2-udc rule is only run once for "add", this should be during device bootup. Later on it didn't run again. So it seems this can't be relied upon and I'll have to find another way.

Without the fsl-usb2-udc event there simply is no notification as to when the "Connect" button is pressed. I'll have to inotify watch some file to receive the unmount event when Kobo unmounted the filesystem to be exported via USB.

And then hope the USB plug remove event is called instantly enough to still make things work on unplugging, where AutoShelf freezes nickel to modify the database before nickel checks it for collection and other changes.

I'll see what I can do.
frostschutz is offline   Reply With Quote