OpenLightingProject / ola

The Open Lighting Architecture - The Travel Adaptor for the Lighting Industry
https://www.openlighting.org/ola/
Other
634 stars 202 forks source link

Eurolite usb-dmx512-Pro interface not working #580

Closed ghost closed 9 years ago

ghost commented 9 years ago

in ola/plugins/usbdmx/EuroliteProFactory.cpp line 36 is: const uint16_t EuroliteProFactory::VENDOR_ID = 0x04d; and should be: const uint16_t EuroliteProFactory::VENDOR_ID = 0x04d8;

Also, ola needs to access /dev/bus/usb/xxx/yyy to be able to talk to the interface. On my system I had to chmod o+rw /dev/usb/xxx/yyy

It is now working fine. Thanks

Cheers

Raphaël.

peternewman commented 9 years ago

Thanks @raphboll good spot! Regarding the second part of your issue, do the instructions here also work around your permissions issues? https://wiki.openlighting.org/index.php/OLA_Device_Specific_Configuration#Eurolite_USB_DMX512_PRO

ghost commented 9 years ago

You're welcome.

Regarding permissions: I have the udev rule enabled but when I test it:

root@movingav-2014-08-04:~/Desktop# udevadm test /dev/bus/usb/003/010 calling: test version 204 This program is for debugging only, it does not run any program specified by a RUN key. It may show incorrect results, because some values may be different, or not available at a simulation run.

=== trie on-disk === tool version: 204 file size: 5758316 bytes header size 80 bytes strings 1266996 bytes nodes 4491240 bytes load module index read rules file: /etc/udev/rules.d/10-local.rules 8><----- skip unrelated output rules contain 196608 bytes tokens (16384 * 12 bytes), 34596 bytes strings 18847 strings (165983 bytes), 15727 de-duplicated (134508 bytes), 3121 trie nodes used unable to open device '/sys/dev/bus/usb/003/010' unload module index

This is on: Xubuntu 14.04.1 LTS