Missing /dev/ttyUSB0

806 views
Skip to first unread message

Kari

unread,
Mar 23, 2016, 9:59:10 AM3/23/16
to Subsurface Divelog
Hi

My problem might be a bit general Linux problem as Im missing the /dev/ttyUSB0 for downloading the dives.

After days of googling Im feeling that this is not going forward.

Help would be appreciated.

Kari :)

I have Suunto eon and fedora 23.

When connecting 
/var/messages shows

kernel: usb 3-4: USB disconnect, device number 4
kernel: usb 3-4: new full-speed USB device number 5 using xhci_hcd
kernel: usb 3-4: New USB device found, idVendor=1493, idProduct=0030
kernel: usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: usb 3-4: Product: GURU
kernel: usb 3-4: Manufacturer: Suunto
kernel: usb 3-4: SerialNumber: 00000000
kernel: hid-generic 0003:1493:0030.0007: hiddev0,hidraw0: USB HID v1.01 Device [Suunto GURU] on usb-0000:00:14.0-4/input0
mtp-probe: checking bus 3, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4"
mtp-probe: bus: 3, device: 5 was not an MTP device
audit: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'


and

$ lsusb -D /dev/bus/usb/004/001 
Device: ID 1d6b:0003 Linux Foundation 3.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 
  bDeviceProtocol         3 
  bMaxPacketSize0         9
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0003 3.0 root hub
  bcdDevice            4.04
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           31
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
        bMaxBurst               0




Dirk Hohndel

unread,
Mar 23, 2016, 11:23:59 AM3/23/16
to subsurfac...@googlegroups.com
The Suunto EON Steel doesn't create a /dev/ttyUSBn - it's actually a HID
device, not a USB serial device. Subsurface simply connects to it
by its vendor and device ID. So in the UI we gray out the device portion.

/D
> --
> You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.
> To post to this group, send email to subsurfac...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/b6af58fc-c4c0-4e48-80db-8f02d296b14f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Kari

unread,
Mar 24, 2016, 7:26:12 AM3/24/16
to Subsurface Divelog

Hi and thanks for reply.

On the newest version UI will gray out but but the error message still says

Insufficient privileges to open the device /dev/ttyS0 Suunto (EON Steel)


If I clear the device mount point and select some other device and back to Suunto steel
so that its grayed out again it gives different error

Insufficient privileges to open the device Suunto (EON Steel)


Im both cases dmesg gives a line


usb 8-1: usbfs: process 1913 (DownloadThread) did not claim interface 0 before use


This happens in 2 different Fedoras ..the windows version works without problems.
Sadly my laptop is linux :)

Kari :)
> To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-divelog+unsub...@googlegroups.com.

Dirk Hohndel

unread,
Mar 24, 2016, 8:34:01 AM3/24/16
to subsurfac...@googlegroups.com
That's a permission problem which is covered in our FAQ https://subsurface-divelog.org/faq/

How do I fix permission errors when trying to download from my Suunto EON Steel under Linux?
By default new devices are sometimes given permissions that prevent a regular user from accessing them. If you get a permission error when trying to download from an EON Steel under Linux, please try these steps.
This should work on most Linux flavors. We’d appreciate feedback if this doesn’t work for you. Open a terminal window and cut and paste the following command. It may ask you to enter your password in order to allow access as super user (which is required to set up the udev rule that changes the device permissions as you plug in your EON Steel).
echo 'SUBSYSTEM=="usb",ATTR{idVendor}=="1493",ATTR{idProduct}=="0030", MODE="0666"' | sudo tee /etc/udev/rules.d/99-suunto.rules
If you disconnect and reconnect your DC it should now get the correct access permissions.

That should do the trick.

/D

To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.

To post to this group, send email to subsurfac...@googlegroups.com.

Tomaz Canabrava

unread,
Mar 24, 2016, 11:11:20 AM3/24/16
to Subsurface Divelog
On Thu, Mar 24, 2016 at 9:33 AM, Dirk Hohndel <di...@hohndel.org> wrote:
That's a permission problem which is covered in our FAQ https://subsurface-divelog.org/faq/

How do I fix permission errors when trying to download from my Suunto EON Steel under Linux?
By default new devices are sometimes given permissions that prevent a regular user from accessing them. If you get a permission error when trying to download from an EON Steel under Linux, please try these steps.
This should work on most Linux flavors. We’d appreciate feedback if this doesn’t work for you. Open a terminal window and cut and paste the following command. It may ask you to enter your password in order to allow access as super user (which is required to set up the udev rule that changes the device permissions as you plug in your EON Steel).
echo 'SUBSYSTEM=="usb",ATTR{idVendor}=="1493",ATTR{idProduct}=="0030", MODE="0666"' | sudo tee /etc/udev/rules.d/99-suunto.rules
If you disconnect and reconnect your DC it should now get the correct access permissions.

That should do the trick.

/D

D,

what about doing that automatically from within subsurface (popping up a dialog explaining the error and asking to fix it, with a field for the user to put the admin password)?

Tomaz
 
Reply all
Reply to author
Forward
0 new messages