View Single Post
Old 06-21-2016, 01:55 PM   #33
pipcat
Connoisseur
pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.
 
Posts: 65
Karma: 200153
Join Date: Apr 2016
Device: Kobo Glo Hd
Good advice. But I think udev/ac is only called when I plug the device to charge, but not when I plug to the computer. kobo.rules are:
KERNEL=="usb_host", RUN+="/usr/local/Kobo/udev/plug"
KERNEL=="fsl-usb2-udc", ACTION=="offline", RUN+="/usr/local/Kobo/udev/plug"
KERNEL=="usb_plug", RUN+="/usr/local/Kobo/udev/ac"

When I plug to the usb-charger:
Tue Jun 21 19:10:13 2016 udev/ac move
Tue Jun 21 19:10:13 2016 udev/ac add
Tue Jun 21 19:11:35 2016 udev/ac remove

And When I plug to computer:
Tue Jun 21 19:11:45 2016 udev/plug move
Tue Jun 21 19:11:45 2016 udev/plug add
Tue Jun 21 19:11:59 2016 udev/plug remove
pipcat is offline   Reply With Quote