Quote:
Originally Posted by tshering
Code:
echo usb plug add >> /tmp/nickel-hardware-status
sleep 5
echo usb plug remove >> /tmp/nickel-hardware-status
|
OK. That pops up the USB connection dialog (which you actually have to confirm). And if you do that the Kobo crashes because the filesystem is unmounted (normally udev handles mounting but without a real usb event it's missing). So you have to do that in your script as well, and at the right time.
the code I was referring to is this
Code:
echo sd add /dev/mmcblk1p1 >> /tmp/nickel-hardware-status
which (probably) makes it rescan the external SD but not the internal one
And I haven't found a nickel-hardware-status event that would just make nickel go update directly, without involving a dialog... and that's the missing link for the feature the OP asked for
Anyhow... probably too much effort for such a minute detail hehe