Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Plover can't connect to a serial input device.

Need help with peripherals or devices?
Post Reply
Message
Author
User avatar
brun
Posts: 4
Joined: 2021-12-18 15:28

Plover can't connect to a serial input device.

#1 Post by brun »

When I launch plover, and try to connect to an input device; it won't connect, and gives this message:

Code: Select all

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
2022-05-09 16:42:19,194 [Dummy-1] WARNING: Can't open serial port
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 322, in open
    self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
PermissionError: [Errno 13] Permission denied: '/dev/ttyACM0'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/plover/machine/base.py", line 211, in start_capture
    self.serial_port = serial.Serial(**self.serial_params)
  File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 244, in __init__
    self.open()
  File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325, in open
    raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 13] could not open port /dev/ttyACM0: [Errno 13] Permission denied: '/dev/ttyACM0'
2022-05-09 16:42:22,534 [Dummy-1] WARNING: Can't open serial port
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 322, in open
    self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
PermissionError: [Errno 13] Permission denied: '/dev/ttyACM0'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/plover/machine/base.py", line 211, in start_capture
    self.serial_port = serial.Serial(**self.serial_params)
  File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 244, in __init__
    self.open()
  File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325, in open
    raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 13] could not open port /dev/ttyACM0: [Errno 13] Permission denied: '/dev/ttyACM0'
Is there anything I could try to allow plover to connect to an input device?

I tried running it as root; but it just gives an error, and won't launch.

debian 11.3
Plover 4.0.0.dev8 installed from the debian repositories
input device: g heavy industries georgi

Thank you.

Post Reply