Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

0

threads

20

posts

102

credits

Registered member

Rank: 2

credits
102
Published in 2015-10-20 03:13:10 | Show all floors
When i shutdown the OPI-2 board the red led still ON, and the hardware power-button don't work
Why it's happend?
OPI-2

0

threads

1

posts

29

credits

Novice

Rank: 1

credits
29
Published in 2015-10-20 05:18:04 | Show all floors
Thanks for the hard work loboris, especially for the very nice Ubuntu Vivid Mate image for OPI-PC. WiFi however is still not working and i don't understand why. I tried three different USB WiFi adapters with common chipsets. They all work flawlessly in an Ubuntu 14.04 x64 desktop VM. On OPI-PC Ubuntu Vivid they are detected, modules load fine, modinfo knows about the vendor/device ID. So everything is OK until the last step where the firmware should be loaded and fails.

1. Ralink 3072 device
  detected by ubuntu desktop as RT3071
  Ubuntu desktop loads firmware "rt2870.bin"
  matching firmware exists on OPI-PC in lib/firmware
  On OPI-PC: "Error - Failed to request Firmware."  

2. Realtek RTL8192 device
  detected by ubuntu desktop as RTL8192
  Ubuntu desktop loads firmware "rtl8192cufw_TMSC.bin"
  OPi-PC tries to load firmware rtl8192cufw.bin
  Error. "Firmware rtlwifi/rtl8192cufw.bin not available"
  however, firmware file exists on OPI-PC in lib/firmware/rtlwifi
  copying over "rtl8192cufw_TMSC.bin" does not solve it

3. Realtek RTL8187 device
  detected by desktop Ubuntu as RTL8187
  no firmware loaded (probably not necessary, it's an ancient device)
  your OPI-PC Vivid image contains no driver
  however, the last build had one, got the card recognized, modules loaded but that was all

I also copied the lib/firmware folder to /root, home/orangepi and / but this didn't help either. I don't understand all the details of usb wifi support in linux. But i understand most of the process and wonder why this always fails on OPi.

Thanks for any hints.


3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
Published in 2015-10-20 06:55:12 | Show all floors
Edited by Survive-Pi at 2015-10-19 15:57

nidea: Ubuntu 14.04 xfde is the only distro I've found where the hardware power button appears to function. All the rest need the power cable unplugged/replugged.
Orange Pi Plus

0

threads

2

posts

10

credits

Novice

Rank: 1

credits
10
Published in 2015-10-20 07:06:25 | Show all floors
What can I do? I need WIFI Support. As I understand the kernel doesnt load firmware? Is that right?

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
Published in 2015-10-20 08:19:24 | Show all floors
Not sure what I'm doing wrong...can not get wifi in anything but Ubuntu 14.04 and Kali...using latest scriptbin.tar Using terminal nmcli returns wifi not found...wth...now it works... ran update_boot.sh just before this message. Tried from GUI and nothing. Started this message, went back to run nmcli to get actual error message and it connected. BUT not to (wlan1). It connected to (rename7). Now (rename7) and (wlan1) show in network list.

@cino...
try sudo update_boot.sh
then sudo nmcli -a d wifi connect
Orange Pi Plus

0

threads

25

posts

151

credits

Registered member

Rank: 2

credits
151
Published in 2015-10-20 11:33:30 | Show all floors
wifi help, OPI-PC
my configuration, but no wifi:
[orangepi@OrangePi ~]$ lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 006: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 002 Device 005: ID 04d9:1702 Holtek Semiconductor, Inc. Keyboard LKS02
Bus 002 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 002 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[orangepi@OrangePi ~]$ sudo lsmod
[sudo] password for orangepi:
Module                  Size  Used by
rtl8192cu              87956  0
rtlwifi                70757  1 rtl8192cu
rtl8192c_common        52422  1 rtl8192cu
mac80211              331125  3 rtlwifi,rtl8192c_common,rtl8192cu
btusb                  10324  0
8189es                887631  0
[orangepi@OrangePi ~]$ uname -a
Linux OrangePi 3.4.39 #1 SMP PREEMPT Wed Oct 7 16:48:12 CEST 2015 armv7l armv7l armv7l GNU/Linux
[orangepi@OrangePi ~]$ sudo nmcli -a d wifi connect
[sudo] password for orangepi:
SSID or BSSID: (entered correct SSID)
Error: No Wi-Fi device found.
[orangepi@OrangePi ~]$

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
Published in 2015-10-20 12:27:20 | Show all floors
Edited by Survive-Pi at 2015-10-19 21:31

Yes, that is the error I get now...No WiFi device found...when it will boot. Now I don't get the gui when I try to boot from emmc. But it has wifi from the command prompt. If I switch back to the sd card, I get gui and no wifi. Try update_boot.sh from a terminal window, takes about 3 seconds, goes through all the choices, reboot and nothing changes. From emmc without gui, update_boot.sh from command prompt downloads from server, shows progress, about 30 seconds, asks for board, input 2 for Plus, says invalid board and exits back to prompt. Will wait for next Mate image update.
Orange Pi Plus

5

threads

354

posts

2698

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2698
Published in 2015-10-20 13:02:39 | Show all floors
@all who have the firmware no load problem:
If you have systemd version > 216-3 you're doomed.

Solution:
Downgrade systemd or patch the kernel.

Simply the kernel is too old!
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

1

threads

47

posts

189

credits

Registered member

Rank: 2

credits
189
Published in 2015-10-20 13:53:11 | Show all floors
I run Debian sid with systemd 227 without any problem on my OPI2, lichee kernel 3.4.
Wifi works with the RTL8189es driver (integrated chip via SDIO - the firmware is included in the driver).
The other Realtek devices (USB) ask for a firmware in /lib/firmware/rtlwifi/ and the config option CONFIG_FW_LOADER in the kernel.

5

threads

354

posts

2698

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2698
Published in 2015-10-20 14:21:49 | Show all floors
Sorry I do not use Debian, but if you say it works then I believe you.
Had some problems time ago with Arch and my USB-DVBS2 receiver.
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list