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 rules to take
effect.
You can look at the existing rules in /etc/udev/rules.d/ Just create a new
one with a name like "footpedal.rules" and match the permissions of the
other files.
Jason
On Tue, Sep 20, 2011 at 11:00 AM, Richard C. Steffens <[email protected]>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 permissions error message:
>
> ---------------------------------------------------
> Permission lacking
>
> You need permission to access the device. Try entering
> the following command:
> sudo chmod a+r /dev/usb/hiddev0
> ---------------------------------------------------
>
> Is there some place I can configure something so that permission is
> given to that device whenever it is plugged in?
>
> OS is Ubuntu 10.04.
>
> Thanks.
>
> --
> Regards,
>
> Dick Steffens
>
>
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug