On Sun, Feb 1, 2015 at 7:36 PM, Matt Thompson <math...@gmail.com> wrote: > > I recently switched to Fedora 21 from Sabayon. I added my user to the > dialout group as that is the group for /dev/ttyS*. All of the > /dev/ttyS* devices have permissions 660.
The cobalt isn't a serial device, so the usual "dialout" thing won't help. You need to make the USB device accessible so that libusb can access it. Generally that means a udev rule. I don't know what the device ID's for Cobalt are, but for the Suunto EON Steel I have something like this: [torvalds@i7 subsurface]$ cat /lib/udev/rules.d/91-suunto-eonsteel.rules SUBSYSTEM=="usb",ATTR{idVendor}=="1493",ATTR{idProduct}=="0030", MODE="0666" SUBSYSTEM=="usb",ATTR{idVendor}=="1493",ATTR{idProduct}=="0031", MODE="0666" which just makes the dang thing world read-write. It would probably be a better idea to make it do GROUP="dialout" and make it only group read-write, but I couldn't be bothered. (The reason for the two different product IDs? The EON Steel actually goes into a magical "firmware update mode" where it has that 0031 product ID, while the 0030 ID is the normal USB ID for it) I *think* udevd will just automatically notice new rules, but maybe I remember incorrectly and you may have to do something like "udevadm control --reload" after adding the new rule file. No need to reboot or anything quite that drastic. Maybe we should try to gather those kinds of rules in the Linux packages? I have no idea how to do udev rule packaging, though, so somebody else would have to do it. Linus _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface