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

 

 

 

Debian 9 - Betaflight and Libre Pilot

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
Sam Cha
Posts: 8
Joined: 2018-05-11 18:45

Debian 9 - Betaflight and Libre Pilot

#1 Post by Sam Cha »

Both programs Betaflight and Libre Pilost are also available for Linux as far as I know.
Do additional drivers need to be installed?
How does the installation work on Debian?
Which of you has these programs on your PC and can help?

cronoik
Posts: 310
Joined: 2015-05-20 21:17

Re: Debian 9 - Betaflight and Libre Pilot

#2 Post by cronoik »

Sam Cha wrote:Do additional drivers need to be installed?
Have you read the installation manuals [1], [2]? Both of them aren't debian specific but tell you which additional software is needed for ubuntu or a linux distrubtion in general.

[1] https://github.com/betaflight/betafligh ... Betaflight
[2] https://librepilot.atlassian.net/wiki/s ... /Downloads
Have a nice day!

Sam Cha
Posts: 8
Joined: 2018-05-11 18:45

Re: Debian 9 - Betaflight and Libre Pilot

#3 Post by Sam Cha »

Thanks for the links. I will try it. :D

Sam Cha
Posts: 8
Joined: 2018-05-11 18:45

Re: Debian 9 - Betaflight and Libre Pilot

#4 Post by Sam Cha »

Betaflight
With this I do not know how I must enter it with the console.
(echo '# DFU (Internal bootloader for STM32 MCUs)'
echo 'ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="0664", GROUP="plugdev"') | sudo tee /etc/udev/rules.d/45-stdfu-permissions.rules > /dev/null

Just like that? and 'Enter'
First row and 'Enter' / second row and 'Enter'
Do I have to change something before I enter it?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Debian 9 - Betaflight and Libre Pilot

#5 Post by stevepusser »

You must have sudo enabled on your system. Other than that, I don't see any changes are necessary.
MX Linux packager and developer

Sam Cha
Posts: 8
Joined: 2018-05-11 18:45

Re: Debian 9 - Betaflight and Libre Pilot

#6 Post by Sam Cha »

What do I have to do to activate sudo?
I have added my user to 'sudo'.

arzgi
Posts: 1193
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: Debian 9 - Betaflight and Libre Pilot

#7 Post by arzgi »

If you have installed sudo, after adding yourself to sudo group, logging out and back in will make sudo work.

Sam Cha
Posts: 8
Joined: 2018-05-11 18:45

Re: Debian 9 - Betaflight and Libre Pilot

#8 Post by Sam Cha »

sam @ debian: ~ $ sudo usermod -aG sudo sam
bash: sudo: command not found
sam @ debian: ~ $
What am I doing wrong? :(

peter_irich
Posts: 1405
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation
Been thanked: 11 times

Re: Debian 9 - Betaflight and Libre Pilot

#9 Post by peter_irich »

Until user is not in sudo group, he can't call sudo. If there is not any user with sudo rights, you must become root through "su -" and add user to sudo.

Peter.

Sam Cha
Posts: 8
Joined: 2018-05-11 18:45

Re: Debian 9 - Betaflight and Libre Pilot

#10 Post by Sam Cha »

@ Peter
Thanks, sudo works now. :D

On my laptop I have the software Betaflight configurator.
configure. I can not flash the FC. :oops: :roll:
I then get the information:
No response from the bootloader, programming: FAILED
What is the reason?
Betaflight uses / dev / ttyUSB0
user Sam is added to these groups: dialout, uucp, plugdev

Sam Cha
Posts: 8
Joined: 2018-05-11 18:45

Re: Debian 9 - Betaflight and Libre Pilot

#11 Post by Sam Cha »

What is the problem? :shock: :o :roll:

when I connect the flight controller board:
2018-05-24 @ 18:54:47 - Serial port successfully opened with ID: 4

but after 10 seconds this happens by itself:

2018-05-24 @ 18:52:52 - No configuration received within 10 seconds, communication failed

2018-05-24 @ 18:52:52 - Serial port successfully closed

Sam Cha
Posts: 8
Joined: 2018-05-11 18:45

Re: Debian 9 - Betaflight and Libre Pilot

#12 Post by Sam Cha »

Does anyone have an idea what the cause of my problem is and where I might get help? :?: :?: :wink:

Post Reply