Have a USB foot pedal for use in transcribing. I also have a foot pedal
utility program for using the foot pedal to control various programs.
When I run the program for the first time after the foot pedal is
plugged in to a USB port I get a permissions error message:
try adding a udev rule with the following lines in it:
SUBSYSTEM==usb, SYSFS{idVendor}==*0bb4*, MODE=0666
SUBSYSTEM==usb, ATTRS{idVendor}==*0bb4*, MODE=0666
of course change the 0bb4 with the vendor ID of your device. You will also
need to restart the udev service (or reboot) to get the new
On Tue, 20 Sep 2011, Richard C. Steffens wrote:
Have a USB foot pedal for use in transcribing. I also have a foot
pedal utility program for using the foot pedal to control various
programs. When I run the program for the first time after the foot
pedal is plugged in to a USB port I get a
Jason Barnett wrote:
try adding a udev rule with the following lines in it:
SUBSYSTEM==usb, SYSFS{idVendor}==*0bb4*, MODE=0666
SUBSYSTEM==usb, ATTRS{idVendor}==*0bb4*, MODE=0666
of course change the 0bb4 with the vendor ID of your device. You will also
need to restart the udev service (or
Galen, you are correct! So long as the device is attached AFTER the udev
rule is in place, it will work properly. If you create or change the udev
rule with the device attached, you will need to either restart the service
or simply unplug and reconnect the device.
This makes sense, I just wished
# from Jason Barnett on Tuesday 20 September 2011 19:28:
or simply unplug and reconnect the device.
Anybody know of a way to do that from the command-line? I can do it
with a power-control-enabled hub, but otherwise can't seem to find a
way to generate a usb disconnect from software.
Thanks,