Solved: Udev Kindle Paperwhite
|
9th Feb, 2013, 07:48 AM
Post: #1
|
|||
|
|||
Udev Kindle Paperwhite
Hello,
I'm posting here because I want to run a script after connecting my Kindle (/dev/sdg1). When I connect my kindle, nothing happens but it is still mounted according to fstab. I have my Kindle paperwhite in fstab using it's UUID. The script I'm trying to run creates a text file in my home folder. The script is executable and I can run it normally on its own. I created this file /etc/udev/rules.d/kindle.rules: Code: KERNEL=="sd*", ACTION=="add", SUBSYSTEM=="usb", SYSFS{idVendor}=="1949", SYSFS{idProduct}=="0004", RUN+="/usr/bin/local/MyScript.sh" When I run this command: Terminal sudo udevadm info -a -n /dev/sdg1 I get the text that's attached in Udev.txt Xbian Version: Xbian 1 Alpha 4 SD Card: SanDisk Class 6 Internet Connection: Wired Overclocked: Not that I know of. Everything is connected through a hub (Rosewill RHUB-210). When I connect it while in Terminal udevadm monitor I get the messages I posted in Udev-Monitor.txt |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Udev Kindle Paperwhite - fuchini - 9th Feb, 2013 07:48 AM
Re: Udev Kindle Paperwhite - rikardo1979 - 9th Feb, 2013, 08:00 AM
RE: Udev Kindle Paperwhite - fuchini - 9th Feb, 2013, 08:59 AM
RE: Udev Kindle Paperwhite - CurlyMo - 9th Feb, 2013, 09:07 AM
RE: Udev Kindle Paperwhite - fuchini - 9th Feb, 2013, 09:19 AM
RE: Udev Kindle Paperwhite - CurlyMo - 9th Feb, 2013, 09:21 AM
|