-
Notifications
You must be signed in to change notification settings - Fork 156
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
Unable to connect on Fedora Linux #154
Comments
Judging by the log, it's still some sort of a weird permission issue (the port Please try running the development version and post the log here again. The development version has an improved permission checking and error reporting, so it might help narrow down the problem. |
I'm getting the same error
PS: Putting the Device into DFU / Recovery mode does actually work and let's me connect. Normal mode doesn't. Also checked the permissions on the |
Was worth a try. It does also look weird to me that it tries to open I'll set up a test environment to see if it will be possible to reproduce this problem. |
Here is the full lsusb output:
I also did a bit more debugging. The However doing a manual check in the
I'm not sure, looks like a QT bug as it don't read the correct serial information. |
Thanks for providing the info, the lsusb output is looking perfectly healthy.
These might be the numbers for the If you are able to compile qFlipper from sources (or install a pre-built version which links to the system libraries), you might try doing so and see if it works then. If it does, it certainly looks like a compatibility issue. |
UPD: |
That's the way I found the issue with the serial port information being completely wrong. I ran the project in QT Creator and added a few extra debug lines in the SerialFinder to output all the SerialPortInfo for every port. By hardcoding the check that |
I was able to pinpoint the issue to the
So it seems to override the Vendor and Model ID when the pci subsystem is involved which it is because the USB controller is connected to PCI. |
Fantastic detective work! |
My current working fix includes a override for all the values in a file called
and in the |
I came across this same issue this evening and your current working fix worked a treat. Thank you for saving me hours of debugging @VoidField101. I appreciate you big dawg |
@theshrewformallyknownasdrew is it an issue caused by a package update or was it always there? |
First time install of qflipper. Fedora 36 and qflipper 1.2.2. |
I believe I have a similar problem but I'm running 64 bit Ubuntu 22.04.3 LTS. If creating a rules file is a solution, can we get more details on what exactly to put on the file? |
Describe the bug
qFlipper is unable to connect to the Flipper Zero on Linux (Fedora 36) showing a "Permission Denied" error even though all the perimissions/udev rules are set correctly.
To Reproduce
Steps to reproduce the behavior:
./qFlipper-x86_64-1.2.2.AppImage rules install
as described in the UIExpected behavior
Flipper should connect without issues
Actual behavior
"Permission Denied" occurs
Additional troubleshooting
picocom /dev/ttyACM0
showed the Flipper Zero serial cli. Therefor a permission error is unlikely otherwise picocom should also fail.dialout
role and logging in again.sudo udevadm control --reload-rules && sudo udevadm trigger
manually again to make sure they are loaded.The report must also include at least one of the following:
LOG:
The text was updated successfully, but these errors were encountered: