Import problems with Cobalt 2 on Fedora 21
Jef Driesen
jef at libdivecomputer.org
Mon Feb 2 00:55:04 PST 2015
On 2015-02-02 05:33, Linus Torvalds wrote:
> On Sun, Feb 1, 2015 at 7:36 PM, Matt Thompson <mathomp at 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 at 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.
I think - although I'm not 100% sure - that the correct group for usb
devices is "plugdev". Anyway, this is the udev rule I'm using for the
cobalt (both v1 and v2):
SUBSYSTEM=="usb", ATTR{idVendor}=="0471", ATTR{idProduct}=="0888",
MODE="0666", GROUP="plugdev"
(I also didn't bother to tweak the permissions.)
Jef
More information about the subsurface
mailing list