HAL and running a app upon connection.
Posted: Sat Jul 12, 2008 9:48 pm
Im trying to get my Nostromo N52 running and port a small howto I did for Ubuntu to here. This is the details of the howto, look for my posts:
http://ubuntuforums.org/showthread.php?t=87390&page=4
Anyhow, my question is more Hal and Elyssa specific i think. I have the controller app compiled and installed and running but im having problems with Hal running a script when the usb controller is plugged in.
I have this in /etc/udev/rules.d/85-nostromon52_rule.rules
ACTION=="add", SUBSYSTEM=="usb_device", SYSFS{idVendor}=="050d", SYSFS{idProduct}=="0815", RUN="/home/arron/bin/nost.scr"
This worked fine for Mint 4, but for some reason with 5 it does not run the script. The script is there, and does run properly when called, but it appears Hal does not run it upon the usb connection. This same setup worked fine with Ubuntu 7.10 and Mint 4 Gnome/XFCE.
Any ideas? I wish Hal was more documented and supported, it could be a very useful tool for many things if it was simpler. If I could just get Hal to play nice, I would be all set.
---insert Space Odyssey jokes here---
http://ubuntuforums.org/showthread.php?t=87390&page=4
Anyhow, my question is more Hal and Elyssa specific i think. I have the controller app compiled and installed and running but im having problems with Hal running a script when the usb controller is plugged in.
I have this in /etc/udev/rules.d/85-nostromon52_rule.rules
ACTION=="add", SUBSYSTEM=="usb_device", SYSFS{idVendor}=="050d", SYSFS{idProduct}=="0815", RUN="/home/arron/bin/nost.scr"
This worked fine for Mint 4, but for some reason with 5 it does not run the script. The script is there, and does run properly when called, but it appears Hal does not run it upon the usb connection. This same setup worked fine with Ubuntu 7.10 and Mint 4 Gnome/XFCE.
Any ideas? I wish Hal was more documented and supported, it could be a very useful tool for many things if it was simpler. If I could just get Hal to play nice, I would be all set.
---insert Space Odyssey jokes here---