Cyton dongle fails on ubuntu 18 LTS, previously worked.

edited January 2019 in Cyton
I am trying to run the cyton board thorugh the usb dongle using the GUI in ubuntu 18 LTS. However the dongle does not swith on (the blue light is off) and here is the output:


OpenBCI_GUI::Setup: Is RX mulitcast: false
OpenBCI_GUI::Setup: Has RX joined multicast: false
java.net.ConnectException: Connexion refusée (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.<init>(Socket.java:434)
at java.net.Socket.<init>(Socket.java:211)
at processing.net.Client.<init>(Unknown Source)
at OpenBCI_GUI$Hub.startTCPClient(OpenBCI_GUI.java:13075)
at OpenBCI_GUI$Hub.<init>(OpenBCI_GUI.java:13051)
at OpenBCI_GUI.systemUpdate(OpenBCI_GUI.java:1231)
at OpenBCI_GUI.draw(OpenBCI_GUI.java:596)
at processing.core.PApplet.handleDraw(PApplet.java:2429)
at processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:866)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Any help appreciated

Comments

  • I use to allow the dongle with sudo chmod 666 /dev/ttyUSBN  where N is the number of the port the dongle is in. It ddoesn't work anymore...
  • wjcroftwjcroft Mount Shasta, CA
    AI, hi.

    Does the dongle show up as a /dev/tty* port when you plug it in, and disappear when you unplug it?

    Have you tried plugging the dongle into other Linux or Windows systems to see what happens there? On Windows it appears as a COM port.

    Regards,

    William

  • Does the dongle show up as a /dev/tty* port when you plug it in, and disappear when you unplug it? Yes it does
    However for openbci it cannot find it
     
  • Not sure it is normal but I got:

    andrea@andrea-XPS-15-9570:~/Téléchargements/application.linux64$ udevadm info --attribute-walk --name=/dev/ttyUSB0

    Udevadm info starts with the device specified by the devpath and then
    walks up the chain of parent devices. It prints for every device
    found, all possible attributes in the udev rules key format.
    A rule to match, can be composed by the attributes of the device
    and the attributes from one single parent device.

      looking at device '/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/ttyUSB0/tty/ttyUSB0':
        KERNEL=="ttyUSB0"
        SUBSYSTEM=="tty"
        DRIVER==""

      looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/ttyUSB0':
        KERNELS=="ttyUSB0"
        SUBSYSTEMS=="usb-serial"
        DRIVERS=="ftdi_sio"
        ATTRS{latency_timer}=="16"
        ATTRS{port_number}=="0"

      looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0':
        KERNELS=="1-1:1.0"
        SUBSYSTEMS=="usb"
        DRIVERS=="ftdi_sio"
        ATTRS{authorized}=="1"
        ATTRS{bAlternateSetting}==" 0"
        ATTRS{bInterfaceClass}=="ff"
        ATTRS{bInterfaceNumber}=="00"
        ATTRS{bInterfaceProtocol}=="ff"
        ATTRS{bInterfaceSubClass}=="ff"
        ATTRS{bNumEndpoints}=="02"
        ATTRS{interface}=="FT231X USB UART"
        ATTRS{supports_autosuspend}=="1"

      looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-1':
        KERNELS=="1-1"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{authorized}=="1"
        ATTRS{avoid_reset_quirk}=="0"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{bDeviceClass}=="00"
        ATTRS{bDeviceProtocol}=="00"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{bMaxPacketSize0}=="8"
        ATTRS{bMaxPower}=="90mA"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{bcdDevice}=="1000"
        ATTRS{bmAttributes}=="a0"
        ATTRS{busnum}=="1"
        ATTRS{configuration}==""
        ATTRS{devnum}=="12"
        ATTRS{devpath}=="1"
        ATTRS{idProduct}=="6015"
        ATTRS{idVendor}=="0403"
        ATTRS{ltm_capable}=="no"
        ATTRS{manufacturer}=="FTDI"
        ATTRS{maxchild}=="0"
        ATTRS{product}=="FT231X USB UART"
        ATTRS{quirks}=="0x0"
        ATTRS{removable}=="removable"
        ATTRS{serial}=="DM00D34G"
        ATTRS{speed}=="12"
        ATTRS{urbnum}=="15"
        ATTRS{version}==" 2.00"

      looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1':
        KERNELS=="usb1"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{authorized}=="1"
        ATTRS{authorized_default}=="1"
        ATTRS{avoid_reset_quirk}=="0"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{bDeviceClass}=="09"
        ATTRS{bDeviceProtocol}=="01"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{bMaxPacketSize0}=="64"
        ATTRS{bMaxPower}=="0mA"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{bcdDevice}=="0415"
        ATTRS{bmAttributes}=="e0"
        ATTRS{busnum}=="1"
        ATTRS{configuration}==""
        ATTRS{devnum}=="1"
        ATTRS{devpath}=="0"
        ATTRS{idProduct}=="0002"
        ATTRS{idVendor}=="1d6b"
        ATTRS{interface_authorized_default}=="1"
        ATTRS{ltm_capable}=="no"
        ATTRS{manufacturer}=="Linux 4.15.0-29-generic xhci-hcd"
        ATTRS{maxchild}=="16"
        ATTRS{product}=="xHCI Host Controller"
        ATTRS{quirks}=="0x0"
        ATTRS{removable}=="unknown"
        ATTRS{serial}=="0000:00:14.0"
        ATTRS{speed}=="480"
        ATTRS{urbnum}=="315"
        ATTRS{version}==" 2.00"

      looking at parent device '/devices/pci0000:00/0000:00:14.0':
        KERNELS=="0000:00:14.0"
        SUBSYSTEMS=="pci"
        DRIVERS=="xhci_hcd"
        ATTRS{broken_parity_status}=="0"
        ATTRS{class}=="0x0c0330"
        ATTRS{consistent_dma_mask_bits}=="64"
        ATTRS{d3cold_allowed}=="1"
        ATTRS{dbc}=="disabled"
        ATTRS{device}=="0xa36d"
        ATTRS{dma_mask_bits}=="64"
        ATTRS{driver_override}=="(null)"
        ATTRS{enable}=="1"
        ATTRS{irq}=="126"
        ATTRS{local_cpulist}=="0-11"
        ATTRS{local_cpus}=="fff"
        ATTRS{msi_bus}=="1"
        ATTRS{numa_node}=="-1"
        ATTRS{revision}=="0x10"
        ATTRS{subsystem_device}=="0x087c"
        ATTRS{subsystem_vendor}=="0x1028"
        ATTRS{vendor}=="0x8086"

      looking at parent device '/devices/pci0000:00':
        KERNELS=="pci0000:00"
        SUBSYSTEMS==""
        DRIVERS==""

    so there are no drivers apparently...
  • Found something: if I specify the port using OpenBCI master like:
    sudo python OpenBCI_Python-master/user.py  --daisy --add csv_collect raw_00.csv  --record-duration 111 --safety-duration 3  --port /dev/ttyUSB0

    then it works. Is there a way to specify a port when launching the GUI?
Sign In or Register to comment.