A few of the people who tried to build the LED cube had problems getting it to run. Several people didn’t realise that you needed root. I’ve now had to solve this problem for my self as I’m now trying to use it from my ubuntu plug. I found the solution here and have adapted it for the cube. The solution to this is too use udev, which allows devices to be run from user space.
Create new rule for udev
sudo emacs /etc/udev/rules.d/60-objdev.rules
Edit new rule in emacs and add following:
SUBSYSTEM!=”usb_device”, ACTION!=”add”, GOTO=”objdev_rules_end”
SYSFS{idVendor}==”16c0″, SYSFS{idProduct}==”05df”, GROUP=”users”, MODE=”666″
LABEL=”objdev_rules_end”
For other devices replace the vendor and product id with values you can get from lsusb. For example:
daveh@mbp:~$ lsusb
Bus 001 Device 005: ID 16c0:05df VOTI
Restart udev
sudo /etc/init.d/udev restart
Plug in the cube, and try the command.
Leave a Comment so far
Leave a comment