All Activity
This stream auto-updates
- Today
-
Of the boards supported by Armbian, which do you prefer for multiple audio devices and audio related applications? I need to control two audio streams, in and out each and add information to the streams as appropriate. I would like to use as little external hardware as possible so stereo mic or dual mic input and stereo out would be awesome. I'm a little overwhelmed by the choices, so opinions are definitely welcome here.
-
Thanks, that turned out be a good place to look. On a hunch, I tried swapping out wpa_supplicant for iwd as the wifi daemon for NetworkManager, and that did the trick. apt install iwd systemctl disable wpa_supplicant echo -e "\n[device]\nwifi.backend=iwd\n" >> /etc/NetworkManager/NetworkManager.conf I may just stick with iwd, but the root cause is probably that the aging xradio driver is missing support for some ioctl and it may just be a matter of time until a future release of iwd will send that one too.
-
I build yesterday for this board, and tried it today with no luck. I have the standard PSU that was delivered with it. I can boot Android on a SDCard, and Firefly's Linux on eMMC, but not Armbian for the time being. I haven't plugged UART yet, so I don't know what's going on.
-
@hexdump you and all friends from forum are absolutely welcome hope this could be usefull for someone I could have been even more detailed but hope people on this forum has just little knowledge of what they are doing and also the risk ( very remote thought) to definetly destroy the board. and then ... If I did, ( me dumb on programming) quite everyone can do it actually I use the board as voip pbx( asterisk) , and to drive a relay following this project https://github.com/darrylb123/usbrelay
-
OPi Zero with fresh installs of Ubuntu Disco has apt-get broken
sanja replied to sanja's topic in Allwinner H2 & H3
To double-check, wiped the SD card and burned the image again. On fresh system: Welcome to Armbian Disco with Linux 5.3.9-sunxi System load: 0.00 0.11 0.10 Up time: 8 min Memory usage: 15 % of 491MB IP: CPU temp: 66°C Usage of /: 6% of 15G root@orangepizero:~# ls -la /usr/lib/python3/dist-packages/CommandNotFound total 40 drwxr-xr-x 4 root root 4096 Nov 1 09:35 . drwxr-xr-x 14 root root 4096 Nov 1 09:34 .. -rw-r--r-- 1 root root 16319 May 4 2018 CommandNotFound.py drwxr-xr-x 3 root root 4096 Nov 1 09:35 db -rw-r--r-- 1 root root 40 Mar 16 2018 __init__.py drwxr-xr-x 2 root root 4096 Nov 1 09:35 __pycache__ -rw-r--r-- 1 root root 1641 Mar 16 2018 util.py root@orangepizero:~# ls -la /usr/share/command-not-found/ total 2624 drwxr-xr-x 2 root root 4096 Nov 1 09:27 . drwxr-xr-x 93 root root 4096 Nov 19 08:13 .. -rw-r--r-- 1 root root 2678784 Nov 9 2018 commands.db root@orangepizero:~# ls -la /var/lib/command-not-found/ total 32 drwxr-xr-x 2 root root 4096 Nov 19 08:15 . drwxr-xr-x 27 root root 4096 Nov 1 09:30 .. -rw-r--r-- 1 root root 24576 Nov 19 08:15 commands.db.tmp The /usr/lib/cnf-update-db throws error "out of the box": I never ran apt-get, I even haven't set up networking - it is "dead on arrival". -
OPi Zero with fresh installs of Ubuntu Disco has apt-get broken
sanja replied to sanja's topic in Allwinner H2 & H3
Same issue is mentioned in -
@fabiobassa - thanks a lot for taking the time to write all this down in such a detailed way! best wishes - hexdump
-
OPi Zero with fresh installs of Ubuntu Disco has apt-get broken
guidol replied to sanja's topic in Allwinner H2 & H3
Hmm - I did wrote the command with the path as oposite ( /usr/share in front , because it is there on my system): sudo cp -r /usr/share/command-not-found/CommandNotFound /usr/lib/python3/dist-packages/ -
So all Ubuntu version work with NM (bionic, disco, eoan), both debian version currently do not (regardless of kernel version) but work with with /etc/network/interfaces. So @yoq I would suggest you stick with an ubuntu flavour for the time being
-
OPi Zero with fresh installs of Ubuntu Disco has apt-get broken
sanja replied to sanja's topic in Allwinner H2 & H3
Re-installed Disco, wireless connectivity worked, but apt-get update produces error. Checking: root@orangepizero:~# cd /usr/lib root@orangepizero:/usr/lib# ls -l cnf* -rwxr-xr-x 1 root root 684 Nov 9 2018 cnf-update-db root@orangepizero:/usr/lib# find / -name *creator* /usr/lib/python3/dist-packages/CommandNotFound/db/creator.py /usr/lib/python3/dist-packages/CommandNotFound/db/__pycache__/creator.cpython-37.pyc root@orangepizero:/usr/lib# cp -r /usr/share/command-not-found/CommandNotFound /usr/lib/python3/dist-packages/ cp: cannot stat '/usr/share/command-not-found/CommandNotFound': No such file or directory Tried sudo cp -r /usr/lib/python3/dist-packages/CommandNotFound /usr/share/command-not-found/ and also sudo cp -r /usr/lib/python3/dist-packages/CommandNotFound /var/lib/command-not-found/ Error is caused by /usr/lib/cnf-update-db in the line 165, which reads: # read header suite=tagf.section["suite"] and then causes error in line 127, which is def _fill_commands(self, con): for f in self.files: with open(f) as fp: self._parse_single_commands_file(con, fp) As far as I can understand, it works with this list of files: root@orangepizero:~# ls -la /var/lib/apt/lists/*Commands-* -rw-r--r-- 1 root root 699 May 29 2019 /var/lib/apt/lists/ports.ubuntu.com_dists_disco-backports_main_cnf_Commands-armhf.lz4 -rw-r--r-- 1 root root 74 Nov 21 2018 /var/lib/apt/lists/ports.ubuntu.com_dists_disco-backports_multiverse_cnf_Commands-armhf.lz4 -rw-r--r-- 1 root root 74 Nov 21 2018 /var/lib/apt/lists/ports.ubuntu.com_dists_disco-backports_restricted_cnf_Commands-armhf.lz4 -rw-r--r-- 1 root root 156 Sep 14 07:17 /var/lib/apt/lists/ports.ubuntu.com_dists_disco-backports_universe_cnf_Commands-armhf.lz4 -rw-r--r-- 1 root root 8023 Oct 23 22:22 /var/lib/apt/lists/ports.ubuntu.com_dists_disco-security_main_cnf_Commands-armhf.lz4 -rw-r--r-- 1 root root 73 Nov 21 2018 /var/lib/apt/lists/ports.ubuntu.com_dists_disco-security_multiverse_cnf_Commands-armhf.lz4 -rw-r--r-- 1 root root 73 Nov 21 2018 /var/lib/apt/lists/ports.ubuntu.com_dists_disco-security_restricted_cnf_Commands-armhf.lz4 -rw-r--r-- 1 root root 7297 Oct 21 20:17 /var/lib/apt/lists/ports.ubuntu.com_dists_disco-security_universe_cnf_Commands-armhf.lz4 -rw-r--r-- 1 root root 13128 Oct 24 14:17 /var/lib/apt/lists/ports.ubuntu.com_dists_disco-updates_main_cnf_Commands-armhf.lz4 -rw-r--r-- 1 root root 72 Nov 21 2018 /var/lib/apt/lists/ports.ubuntu.com_dists_disco-updates_multiverse_cnf_Commands-armhf.lz4 -rw-r--r-- 1 root root 72 Nov 21 2018 /var/lib/apt/lists/ports.ubuntu.com_dists_disco-updates_restricted_cnf_Commands-armhf.lz4 -rw-r--r-- 1 root root 9799 Oct 24 14:17 /var/lib/apt/lists/ports.ubuntu.com_dists_disco-updates_universe_cnf_Commands-armhf.lz4 -rw-r--r-- 1 root root 48897 Apr 17 2019 /var/lib/apt/lists/ports.ubuntu.com_dists_disco_main_cnf_Commands-armhf.lz4 -rw-r--r-- 1 root root 13300 Apr 17 2019 /var/lib/apt/lists/ports.ubuntu.com_dists_disco_multiverse_cnf_Commands-armhf.lz4 -rw-r--r-- 1 root root 354 Feb 22 2019 /var/lib/apt/lists/ports.ubuntu.com_dists_disco_restricted_cnf_Commands-armhf.lz4 -rw-r--r-- 1 root root 475539 Apr 18 2019 /var/lib/apt/lists/ports.ubuntu.com_dists_disco_universe_cnf_Commands-armhf.lz4 -
OPi Zero with fresh installs of Ubuntu Disco has apt-get broken
martinayotte replied to sanja's topic in Allwinner H2 & H3
As I said in this other thread : -
In my case, I'm using "old school" /etc/network/interface, running Stretch 5.4.2, and WiFi running properly as soon as I disabled NetworkManager service.
-
OPi Zero with fresh installs of Ubuntu Disco has apt-get broken
guidol replied to sanja's topic in Allwinner H2 & H3
your problem is just one thread aways (from the actual one's): -
OPi Zero with fresh installs of Ubuntu Disco has apt-get broken
sanja replied to sanja's topic in Allwinner H2 & H3
I will check in a moment. Currently trying other distributions. Found out that there is no wireless connectivity on Armbian_19.11.3_Orangepizero_buster_current_5.3.9 (nmtui-connect only displays "Wired connection 1"). root@orangepizero:~# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 2a:d0:11:70:4e:02 brd ff:ff:ff:ff:ff:ff 3: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000 link/ether 02:42:e8:02:49:d9 brd ff:ff:ff:ff:ff:ff 4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000 link/ether e2:2f:6f:d6:df:b2 brd ff:ff:ff:ff:ff:ff root@orangepizero:~# ip link set dev wlan0 up RTNETLINK answers: Invalid argument root@orangepizero:~# -
Yeah. XR819-Wifi stopped working with stretch and buster, but still works with bionic. Here's my syslog with a buster build: ov 30 16:45:56 localhost NetworkManager[1116]: <info> [1575132356.6690] wifi-nl80211: (wlan0): using nl80211 for WiFi device control Nov 30 16:45:58 localhost NetworkManager[1116]: <info> [1575132358.1449] device (wlan0): driver supports Access Point (AP) mode Nov 30 16:45:58 localhost NetworkManager[1116]: <info> [1575132358.1555] manager: (wlan0): new 802.11 WiFi device (/org/freedesktop/NetworkManager/Devices/4) Nov 30 16:45:58 localhost NetworkManager[1116]: <info> [1575132358.1656] device (wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external') Nov 30 16:45:58 localhost kernel: [ 34.419112] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Nov 30 16:45:58 localhost kernel: [ 34.423469] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Nov 30 16:45:58 localhost NetworkManager[1116]: <info> [1575132358.1790] device (wlan0): set-hw-addr: set MAC address to AA:88:8F:8F:8F:AF (scanning) Nov 30 16:45:58 localhost NetworkManager[1116]: <info> [1575132358.2924] device (wlan0): supplicant interface state: init -> starting Nov 30 16:45:58 localhost wpa_supplicant[1115]: Could not set interface wlan0 flags (UP): Invalid argument Nov 30 16:45:58 localhost wpa_supplicant[1115]: nl80211: Could not set interface 'wlan0' UP Nov 30 16:45:58 localhost wpa_supplicant[1115]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0 Nov 30 16:45:58 localhost wpa_supplicant[1115]: Could not set interface wlan0 flags (UP): Invalid argument Nov 30 16:45:58 localhost wpa_supplicant[1115]: WEXT: Could not set interface 'wlan0' UP Nov 30 16:45:58 localhost wpa_supplicant[1115]: wlan0: Failed to initialize driver interface Nov 30 16:45:58 localhost NetworkManager[1116]: <error> [1575132358.3304] sup-iface[0x1175c18,wlan0]: error adding interface: wpa_supplicant couldn't grab this interface. Nov 30 16:45:58 localhost NetworkManager[1116]: <info> [1575132358.3309] device (wlan0): supplicant interface state: starting -> down Nov 30 17:21:39 localhost NetworkManager[1116]: <warn> [1575134499.3085] device (wlan0): re-acquiring supplicant interface (#1).
-
OPi Zero with fresh installs of Ubuntu Disco has apt-get broken
guidol replied to sanja's topic in Allwinner H2 & H3
on my OrangePi One creator.py is at root@opi-one(192.168.6.114):/ # find / -name *creator* /usr/share/command-not-found/CommandNotFound/db/creator.py and cnf-update-db is as a symbolic link at the right place root@opi-one(192.168.6.114):/usr/lib# ls -l cnf* lrwxrwxrwx 1 root root 40 Nov 21 2018 cnf-update-db -> ../share/command-not-found/cnf-update-db so whats the error after sudo cp -r /usr/share/command-not-found/CommandNotFound /usr/lib/python3/dist-packages/ -
OPi Zero with fresh installs of Ubuntu Disco has apt-get broken
sanja replied to sanja's topic in Allwinner H2 & H3
No, I tried that - it didn't resolve the issue. I also considered a theory that an upgrade messed python 2.7 and 3.6 - didn't solve my problem as well. -
IE:s welcome for the image Ambian_19.11.3_Rk3399-tv_bionic_current_5.4.1_20191210.img.xz "This unsafe download was blocked by Windows Defender SmartScreen" P.S. Just downloaded and now going to test these 2: Armbian_19.11.3_Rk3399-tv_bionic_current_5.4.1_desktop_20191210.img Armbian_19.11.3_Rk3399-tv_buster_current_5.4.1_20191210.img ones Edit. For the some reason TX9s doesn't boot with the bionic_current_5.4.1_desktop_20191210. The another one looks better!
-
OPi Zero with fresh installs of Ubuntu Disco has apt-get broken
guidol replied to sanja's topic in Allwinner H2 & H3
maybe this page could help a little bit?: https://askubuntu.com/questions/1041226/problem-with-sudo-apt-update-in-ubuntu-18-04/1041235 -
Thanks a lot. And sorry, I didn't google the error. I'm happy with 5.98. I'll upgrade to 19.11.3 with a complete new instalation.
-
Hi. I've upgraded Buinic to Eoan and encountered an error with apt-get. Decided to have a fresh install of Disco from https://dl.armbian.com/orangepizero/ and got exact same error. I did nothing with the installation except that I've configured WiFi with ntmui-connect command. So I guess this is some issue with Ubuntu releases 19.xx root@orangepizero:~# apt-get update && apt-get upgrade Hit:1 http://ports.ubuntu.com disco InRelease Hit:2 http://ports.ubuntu.com disco-security InRelease Hit:3 http://ports.ubuntu.com disco-updates InRelease Hit:5 http://ports.ubuntu.com disco-backports InRelease Hit:4 https://apt.armbian.com disco InRelease Traceback (most recent call last): File "/usr/lib/cnf-update-db", line 26, in <module> col.create(db) File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 93, in create self._fill_commands(con) File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 127, in _fill_commands self._parse_single_commands_file(con, fp) File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 165, in _parse_single_commands_file suite=tagf.section["suite"] KeyError: 'suite' Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi' E: Sub-process returned an error code
-
Did you tried to disable NetworkManager and use "old school" /etc/network/interface ?
-
@ebin-dev, @Rainbaby Many thanks. I will try to flash the new image tonight and update this thread on how it goes.
-
If you are satisfied with the current kernel, ignore this error and work with the current kernel. The details of the kernel update are in this topic.
-
If your testing succeed, I will add the patch permanently into the builds ...