Import problems with Cobalt 2 on Fedora 21

Dirk Hohndel dirk at hohndel.org
Sun Feb 1 20:52:54 PST 2015


> On Feb 1, 2015, at 8:33 PM, Linus Torvalds <torvalds at linux-foundation.org> 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.
> […]
> 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.

We should at least at them to the FAQ.

For the Cobalt case I think what we need to document is
a) the device doesn’t matter, it’s not used (and so its permissions don’t matter, either)
b) you may need a udev rule on Linux… but what’s that rule?
Try 

SUBSYSTEM=="usb",ATTR{idVendor}==“0471",ATTR{idProduct}==“0888", MODE="0666"

Can you confirm that, Matt?

/D


More information about the subsurface mailing list