On 01/12/2012 10:08 AM, Richard C. Steffens wrote:
> This morning is the first time since installing the new battery backup
> and apcupsd that I've tried to use my USB foot pedal (which controls
> Rewind / Play / Fast Forward for my transcription program). I remember
> creating udev rules for the foot pedal so that permissions would be
> correctly set on boot:
>
> SUBSYSTEM=="usb", SYSFS{idVendor}=="*05f3*", MODE="0666"
> SUBSYSTEM=="usb", ATTRS{idVendor}=="*05f3*", MODE="0666"
>
> But this morning when I loaded the program footpedal I got the error
> message I used to get telling me that I needed to:
>
> rsteff@moonguide:~$ sudo chmod a+r /dev/usb/hiddev0^C
>
> After running the above the footpedal program loaded. But it does not
> control the transcribe program the way it should. I can start and stop
> the transcribe program with its own gui controls but not with the foot
> pedal.
>
> The only thing that comes to mind that has changed is the addition of
> the USB connection to the APC battery backup.
>
> What tool do I use to start figuring out how to correct this problem?
>
> Thanks.
>

Using Synaptic I removed apcupsd and the associated gui monitor, shut 
down the machine, removed the usb cable connecting the machine to the 
battery backup, and rebooted. The footpedal program started without my 
needing to correct its permissions, and it works with transcribe.

I've gone for many years without an automated shut down on power fail so 
I'm not too concerned about it.

I discovered the program udevadm and tried

sudo udevadm info --export-db > udevdb.txt

That gave me TMI, but I was able to locate information about the usb two 
devices I had connected, the VEC foot pedal and the APC foot switch. But 
I wasn't able to interpret the rest of the information sufficiently to 
see where the difficulty lay. If anyone sees something useful below that 
could help me figure out how to get both devices working at the same 
time I'd appreciate it.

Here's what I extracted from udevdb.txt:

P: /devices/pci0000:00/0000:00:1d.3/usb5/5-1
N: bus/usb/005/002
S: char/189:513
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1d.3/usb5/5-1
E: MAJOR=189
E: MINOR=513
E: DEVNAME=/dev/bus/usb/005/002
E: DEVTYPE=usb_device
E: DRIVER=usb
E: PRODUCT=5f3/ff/120
E: TYPE=0/0/0
E: BUSNUM=005
E: DEVNUM=002
E: SUBSYSTEM=usb
E: ID_VENDOR=VEC
E: ID_VENDOR_ENC=VEC\x20
E: ID_VENDOR_ID=05f3
E: ID_MODEL=VEC_USB_Footpedal
E: ID_MODEL_ENC=VEC\x20USB\x20Footpedal
E: ID_MODEL_ID=00ff
E: ID_REVISION=0120
E: ID_SERIAL=VEC_VEC_USB_Footpedal
E: ID_BUS=usb
E: ID_USB_INTERFACES=:030000:
E: DEVLINKS=/dev/char/189:513


P: /devices/pci0000:00/0000:00:1d.2/usb4/4-1
N: bus/usb/004/002
S: char/189:385
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb4/4-1
E: MAJOR=189
E: MINOR=385
E: DEVNAME=/dev/bus/usb/004/002
E: DEVTYPE=usb_device
E: DRIVER=usb
E: PRODUCT=51d/2/106
E: TYPE=0/0/0
E: BUSNUM=004
E: DEVNUM=002
E: SUBSYSTEM=usb
E: ID_VENDOR=APC
E: ID_VENDOR_ENC=APC
E: ID_VENDOR_ID=051d
E: ID_MODEL=Back-UPS_ES_550_FW:843.K2_.D_USB_FW:K2
E: ID_MODEL_ENC=Back-UPS\x20ES\x20550\x20FW:843.K2\x20.D\x20USB\x20FW:K2\x20
E: ID_MODEL_ID=0002
E: ID_REVISION=0106
E: ID_SERIAL=APC_Back-UPS_ES_550_FW:843.K2_.D_USB_FW:K2_4B1126P01814
E: ID_SERIAL_SHORT=4B1126P01814
E: ID_BUS=usb
E: ID_USB_INTERFACES=:030000:
E: DEVLINKS=/dev/char/189:385


P: /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:051D:0002.0001
E: UDEV_LOG=3
E: 
DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:051D:0002.0001
E: DRIVER=generic-usb
E: HID_ID=0003:0000051D:00000002
E: HID_NAME=APC Back-UPS ES 550 FW:843.K2 .D USB FW:K2
E: HID_PHYS=usb-0000:00:1d.2-1/input0
E: HID_UNIQ=4B1126P01814
E: MODALIAS=hid:b0003v0000051Dp00000002
E: SUBSYSTEM=hid


Thanks.

-- 
Regards,

Dick Steffens


_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to