Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-27-2005, 12:38 PM   #1
LQ Newbie
Registered: May 2005
Distribution: SuSE, TurboLinux
Posts: 4

Rep: Reputation: 0
Question Running a Script on Device Connect using Murasaki

I currently have a USB scanner that uses a user-space driver, however I want to be able to scan as a normal user and it would be nice if the OS (in my case TurboLinux) make the scanner world writable when it connects.

With hotplug this is easy, but with murasaki (which is TurboLinux's hotplug agent) it doesn't appear so simple. The only success I've had is adding my vendor/product ids to murasaki.usbmap and creating a reference to the script I want to run in murasaki.precall. However, this only works when the OS detects the device at startup. How can I make this script run anytime the device connects?

I'm using TurboLinux 10 Desktop, on an IBM Intellistation E Pro with a P4 2.2 GHz processor, 256 MB of RAM, an NEC PCI-to-USB 2.0 host adaptor. My murasaki verision is 0.6.4 and I'm running kernel 2.6.0.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can connect only ONCE to Bluetooth device jlinkels Linux - Hardware 4 12-10-2007 05:58 PM
How can I make Murasaki behave like Hotplug for an unkown device? milewis1 Linux - Hardware 1 05-25-2005 12:57 PM
JACK - device in use/cannot connect to server hinkipunk Linux - Software 3 02-03-2005 10:30 AM
Modem won't connect, no ppp0 device? jbrush Mandriva 4 12-01-2004 05:54 PM
arping connect: No such device kvtournh Linux - Networking 0 11-12-2004 05:25 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration