Mailinglist Archive: opensuse (3566 mails)
| < Previous | Next > |
[opensuse] Run script at mount bluetooth device
- From: "Alberto Garcia" <subcripcion@xxxxxxxxxxxx>
- Date: Sat, 28 Apr 2007 12:15:37 +0200
- Message-id: <f2b0c9640704280315n5b208414v77cb3e7f509cd29d@xxxxxxxxxxxxxx>
Hi All,
I Cannot. I had a new rules for UDEV called "10_my_rules.rules" and
set udev.conf to "debug mode" The rule content is:
KERNEL=="usbdev*", ATTRS{product}=="ISSCBTA", SYMLINK+="bluetooth",
MODE="0660"
KERNEL=="usbdev*", ATTRS{product}=="ISSCBTA", RUN+="script.sh"
When I connect my bluetooth USB, the symlink is created, perfect, but
the script dont run. I look in "message log" and appear " script.sh
DONT FOUND".
Ok, modify the rule like:
KERNEL=="usbdev*", ATTRS{product}=="ISSCBTA", RUN+="/usr/bin/script.sh"
Connect the bluetooth device, the symlink is created, but ... the
script is not launch. I look in "message log" and all is perfect,dont
appear "Dont Found".
Where is the problem? How I can run one script everytime i connect the
bluetooth device?
System: opensuse 10.2 + KDE 3.5.6 (last release)
Thank you
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
I Cannot. I had a new rules for UDEV called "10_my_rules.rules" and
set udev.conf to "debug mode" The rule content is:
KERNEL=="usbdev*", ATTRS{product}=="ISSCBTA", SYMLINK+="bluetooth",
MODE="0660"
KERNEL=="usbdev*", ATTRS{product}=="ISSCBTA", RUN+="script.sh"
When I connect my bluetooth USB, the symlink is created, perfect, but
the script dont run. I look in "message log" and appear " script.sh
DONT FOUND".
Ok, modify the rule like:
KERNEL=="usbdev*", ATTRS{product}=="ISSCBTA", RUN+="/usr/bin/script.sh"
Connect the bluetooth device, the symlink is created, but ... the
script is not launch. I look in "message log" and all is perfect,dont
appear "Dont Found".
Where is the problem? How I can run one script everytime i connect the
bluetooth device?
System: opensuse 10.2 + KDE 3.5.6 (last release)
Thank you
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |