archlinux distribution and micropython?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
IHOXOHI
Posts: 119
Joined: Sat Apr 25, 2020 7:31 am

archlinux distribution and micropython?

Post by IHOXOHI » Mon Aug 31, 2020 9:57 am

Hi,

I tried to use micropython with parabola linux distribution which is very closed from archlinux...

Pyboard (d or not) aren't recognized by this distribution...

So, I haven't /dev/ttyACM0, and I can't use micropython on archlinux...

Is there an other way to use micropython on a linux distribution?

Thanks.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: archlinux distribution and micropython?

Post by Roberthh » Mon Aug 31, 2020 12:05 pm

Do you see anther device to appear in /dev when you plug in the pyboard? I am using micropyhon with debian linux, Many others use Ubuntu and AFAIK archlinux too. So Linux is a good, if not the best OS for dealing with MicroPython.

IHOXOHI
Posts: 119
Joined: Sat Apr 25, 2020 7:31 am

Re: archlinux distribution and micropython?

Post by IHOXOHI » Mon Aug 31, 2020 1:31 pm

Thanks Roberthh,

Finally, on a fresh live-iso of parabola on a usb-stick, there isn't problem.

So, the problem is only persistent on my old ditribution of parabola. On this usual installation, there isn't any new device which appear when I plug a pyboard... This is strange. An usual usb stick appear on "/dev/sdx" without problem, and I have to mount it for use it. On the live iso, the usb-stick is directly mounted by the system.
I haven't tested on archlinux, but I think it could be the same problem if there isn't an automatic usb mount configuration.

I will try to find a solution, but if there isn't a simple other way, it's just a little problem, not really very important for me.

Thanks for your help.

User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Re: archlinux distribution and micropython?

Post by rcolistete » Mon Aug 31, 2020 5:48 pm

Using Manjaro/Arch Linux, I need to configure once :

Code: Select all

$ sudo gpasswd -a $USER uucp
$ sudo gpasswd -a $USER lock
$ sudo gpasswd -a $USER tty
to have 'screen /dev/ttyACM0' or 'screen /dev/ttyUSB0' working without sudo.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

Post Reply