Re: [Fx2lib-devel] Using FXLOAD with udev on SUSE
Status: Beta
Brought to you by:
mulicheng
From: Eric W. <er...@wi...> - 2009-03-03 16:16:52
|
Dennis Muhlestein wrote: >> SUBSYSTEM==”usb”, ATTRS{idVendor}==”04b4”, ATTRS{idProduct}==”0082", >> MODE="0666" >> >> Which lends be to believe the RUN command is not the issue. >> >> >> > What does the kernel documentation say about udev rules format? Perhaps > there is a way to get a more verbose error message on exactly what the > problem with your file is. > > -Dennis > > I got it! Notice above in the rule that the quotes are different in MODE= from the previous quotes. I got the original idea to use a udev rule to call fxload from a blog found by googling fxload. I copied and pasted the rule from firefox in Windows XP to my running VMware SUSE. The first quotes copied from the web browser are not the ASCII quote on the keyboard. Hence the rule was failing. My later edits in VI are ASCII quotes. In an xtem and VI I can not tell the difference between the quotes. Only by seeing them in Thunderbird mail did I notice the difference. I fixed the quotes and the rule works fine. Now to remove the static reference to /proc/bus/usb/002/033 and put back in variable references to the current usb device and all should be great. I'll post the full solution when done. Eric > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Fx2lib-devel mailing list > Fx2...@li... > https://lists.sourceforge.net/lists/listinfo/fx2lib-devel > |