Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing tasmotizer on Ubuntu 22.04 LTS #127

Open
yonz2 opened this issue Jun 14, 2022 · 1 comment
Open

Installing tasmotizer on Ubuntu 22.04 LTS #127

yonz2 opened this issue Jun 14, 2022 · 1 comment

Comments

@yonz2
Copy link

yonz2 commented Jun 14, 2022

Error running un UBUNTU 22.04

After cloning the dispo and installing the app, I got the follwoing error message:
~/tasmotizer$ python3 tasmotizer.py qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
The problem was solved by installing libxcb-xinerama0
sudo apt install libxcb-xinerama0

There are a couple of other things to lookout for on Ubuntu 22.04 LTS:

  1. You must remmove the brltty package (https://brltty.app/), otherwise tasmotizer won't start: sudo apt-get remove brltty
  2. The next thing to watchout for are the permissions for the /dev/ttyUSBx device. Your current user needs read and write permissions to it. As it is created each time you plug in a USB device, you can savely set the permissions with sudo chmod 777 /dev/USBx

yonz

@robvdl
Copy link

robvdl commented Jun 29, 2022

The user should be added to the dialout group rather than chmoding the device normally, then logout/login again.

Arduino IDE installation instructions also recommend this method.

Also on a stock Kubuntu 22.04 installation I already seem to have libxcb-xinerama0 installed and I don't have brltty installed, so all I should really have to do is add myself to the dialout group.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants