

wollik
-
Posts
45 -
Joined
-
Last visited
Community Answers
-
wollik's post in GPIO pin mapping to the physical CON3 Pins was marked as the answer
@eselarm,
YES, just edit the /boot/armbianEnv.txt file.
See my example for the PIN 7 of an BPI M1 below.
@Ryzer,
your provided link has no mapping of the GPIO Pins to there PIN Names only there PIN Funktions are listed.
But these PIN Names must be specified in as a parameter to use the 1w Protokoll.
LeMarker Docu:
PIN: Function:--> Needed PIN Name as parameter in /boot/armbianEnv.txt:
7 GPCLK --> PI03
11 IO-0 --> PI19
13 IO-2 --> PI18
15 IO-3 --> PI17
Hi All,
I got my DS1820 (temp sensor) now running.
My plan was to use the Pin 7 of CON3 (26 Pin connector) and tried with PA6 and others, but always got the dmesg errors "pin xx already requested by 1c50000.ethernet; cannot claim for onewire@0"
That was why I asked for a PIN mapping of the CON3 on the BPI M1.
After long searching I found a list in the freebsd.org forum with the right pins!
Now with these settings in the /boot/armbianEnv.txt I got my DS1820 connected to the physical pin 7 to function!!!
overlay_prefix=sun7i-a20
overlays=w1-gpio
param_w1_pin=PI03
I'll try to get the PIN Names of all my other BPIxx models and will post it here.
Many thanks for your support.
wollik
-
wollik's post in [resolved] Install Telegraf was marked as the answer
Sorry I found the solution,
Edit the file /etc/apt/sources.list.d/influxdb.list by adding the arch and deleting the dists so it looks like:
deb [arch=armhf] https://repos.influxdata.com/debian bullseye stable
Now telegraf can be installed via apt
Regards
wollik
-
wollik's post in [Invalid] - Can't delete a wrong ttyUSB device was marked as the answer
Armbianmonitor: http://ix.io/2Pyl Hi Linux Admins,
I have a wrong device in the /dev direcrory and can't delete it.
Here is what I get when I do a: ls -la /dev/ttyUSB*
pi@armbian_test: ls -la /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Feb 15 20:47 /dev/ttyUSB0
-rw-r--r-- 1 root root 1 Feb 15 20:48 /dev/ttyUSB1
You see that the device ttyUSB1 is not character device and has no major device number assigned.
Also the device belongs not to the dialout group.
The causing USB_2_Serial Stick is disconnected and the device entry is still there.
Trying to remove this devis is also not working.
pi@armbian_test: sudo rm /dev/ttyUSB1
pi@armbian_test: ls -la /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Feb 15 20:47 /dev/ttyUSB0
-rw-r--r-- 1 root root 1 Feb 15 20:48 /dev/ttyUSB1
pi@armbian_test:
Pleas can somone help me to fix this wrong device ?
Regards
wollik