Access Gembird USB device as non-priviledged user
Hi,
is there a good way to access a Gembird USB device as non-root user?
I have
rd@blackbox:~$ lsusb -v -d 04b4:fd13
Bus 004 Device 002: ID 04b4:fd13 Cypress Semiconductor Corp. Programmable
power socket
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x04b4 Cypress Semiconductor Corp.
idProduct 0xfd13 Programmable power socket
bcdDevice 1.01
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 27
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 150mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 217
Report Descriptors:
** UNAVAILABLE **
rd@blackbox:~$
and tried
rd@blackbox:~$ cat /etc/udev/rules.d/z61_sispmctl.rules
SUBSYSTEM=="usb", SYSFS{idVendor}=="0x04b4", SYSFS{idProduct}=="0xfd13",
ACTION=="add", GROUP="sispmctl", MODE="0664"
rd@blackbox:~$
but this does not seem to have any effect
rd@blackbox:~$ ls -l /dev/bus/usb/004/002
crw-rw-r-- 1 root root 189, 385 Okt 31 12:02 /dev/bus/usb/004/002
rd@blackbox:~$
Is there something I am doing wrong or is there a better way to do this?
Thanks
Rainer
--
Rainer Dorsch
http://bokomoko.de/
Reply to: