[solved] Re: dmesg, serial port and permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17/08/2024 02:48, Jeffrey Walton wrote:
On Fri, Aug 16, 2024 at 3:54 AM Frederic Muller <fred@xxxxxxxx> wrote:
A few questions all related: I fly FPV drones which require to use
betaflight to configure them over the serial port. This has been working
ok in the past and is getting more and more confusing. The timeline is
far from accurate but in short:

1. Everything used to work fine a few Fedora releases ago (not so many)

2. dmesg now requires sudo
Yes, that change happened recently. Do something like
<https://unix.stackexchange.com/a/401626>.
Thank you all for clarifying. I guess I'll keep sudo for dmesg for security reasons.
3. Serial port also requires sudo ( /dev/ttyACM0 ) for betaflight to be
able to access it
Add your user to dialout group. Something like:

     sudo usermod -a -G dialout fmuller
Likewise thank you for that one too!

4. dmesg doesn't show the serial port connection happening anymore since
about after Monday 12th and therefore I can't do anything anymore.
Sounds unusual.

Yeah.. I figure it out, put on my "close-view" glasses, realized it was not a USB C cable connecting, tried another one and... it worked! Obviously I was using one of those non-data capable cable and no data was going through that port. My bad.

At least I've fixed the com port access and understood why dmesg requires sudo now.

Thank you everybody.

Fred

--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux