Debian 9 - Betaflight and Libre Pilot

New to Debian (Or Linux in general)? Ask your questions here!

Debian 9 - Betaflight and Libre Pilot

Postby Sam Cha » 2018-05-11 18:57

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?
Sam Cha
 
Posts: 8
Joined: 2018-05-11 18:45

Re: Debian 9 - Betaflight and Libre Pilot

Postby cronoik » 2018-05-11 19:21

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!
cronoik
 
Posts: 275
Joined: 2015-05-20 21:17

Re: Debian 9 - Betaflight and Libre Pilot

Postby Sam Cha » 2018-05-11 19:38

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

Postby Sam Cha » 2018-05-12 18:09

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?
Sam Cha
 
Posts: 8
Joined: 2018-05-11 18:45

Re: Debian 9 - Betaflight and Libre Pilot

Postby stevepusser » 2018-05-12 18:15

You must have sudo enabled on your system. Other than that, I don't see any changes are necessary.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kdenlive 18.08.1, Pale Moon 28.1.0, wine-staging 3.17, qBittorrent 4.1.3, Liquorix kernel 4.18-13, Audacity 2.3.0
User avatar
stevepusser
 
Posts: 10015
Joined: 2009-10-06 05:53

Re: Debian 9 - Betaflight and Libre Pilot

Postby Sam Cha » 2018-05-12 20:53

What do I have to do to activate sudo?
I have added my user to 'sudo'.
Sam Cha
 
Posts: 8
Joined: 2018-05-11 18:45

Re: Debian 9 - Betaflight and Libre Pilot

Postby arzgi » 2018-05-13 07:49

If you have installed sudo, after adding yourself to sudo group, logging out and back in will make sudo work.
arzgi
 
Posts: 387
Joined: 2008-02-21 17:03
Location: Finland

Re: Debian 9 - Betaflight and Libre Pilot

Postby Sam Cha » 2018-05-13 13:35

sam @ debian: ~ $ sudo usermod -aG sudo sam
bash: sudo: command not found
sam @ debian: ~ $
What am I doing wrong? :(
Sam Cha
 
Posts: 8
Joined: 2018-05-11 18:45

Re: Debian 9 - Betaflight and Libre Pilot

Postby peter_irich » 2018-05-13 16:26

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.
peter_irich
 
Posts: 1233
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation

Re: Debian 9 - Betaflight and Libre Pilot

Postby Sam Cha » 2018-05-23 16:37

@ 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

Postby Sam Cha » 2018-05-24 16:07

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

Postby Sam Cha » 2018-05-26 12:08

Does anyone have an idea what the cause of my problem is and where I might get help? :?: :?: :wink:
Sam Cha
 
Posts: 8
Joined: 2018-05-11 18:45


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable