please choosego to mobile | Continue to access the PC version
Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]

0

threads

8

posts

38

credits

Novice

Rank: 1

credits
38
Published in 2015-11-3 03:55:34 | Show all floors
First I want to say thanks Loboris for the OSes.  For the most part they seem to be working great.

My only problem is that I can't get a USB wifi to work.  I have an Orange Pi PC.  I'm using the prebuilt distro in red on the first post.  The wifi usb is using the Realtek 8188cus chip.  This usb wifi is supposed to work great with the Raspberry Pi, but I can't get it to work on the Orange Pi.  Apparently there have been some issues with the drivers on Linux and so you have to compile the drivers from scratch.

My problem is that when I try to compile the driver it tells me it can't find the headers.  I've tried to tell it to look in several different places for the headers, but none of them have worked.  So I was wondering where do I find the headers.  Thanks.

11

threads

286

posts

1919

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1919
Published in 2015-11-3 04:06:49 | Show all floors
etopi replied at 2015-11-3 03:55
First I want to say thanks Loboris for the OSes.  For the most part they seem to be working great.

...

post lsmod

0

threads

4

posts

44

credits

Novice

Rank: 1

credits
44
Published in 2015-11-3 04:20:40 | Show all floors
Headers must be present in kernel sources: https://github.com/loboris/OrangePI-Kernel

1

threads

24

posts

169

credits

Registered member

Rank: 2

credits
169
Published in 2015-11-4 03:16:31 | Show all floors
I've attached by DVB-T Dongle (R2838 which is supported by dvb_usb_rtl28xxu) but no module is loaded.. Even if I load the module nothing happens. (I'm running ubuntu 14.04).
On my laptop module is automatically loaded and all works.
Do you have any hints @loboris?

Thanks
Published in 2015-11-4 04:50:06 | Show all floors
giacomo892 replied at 2015-11-4 03:16
I've attached by DVB-T Dongle (R2838 which is supported by dvb_usb_rtl28xxu) but no module is loaded ...


The kernel on your laptop (i386) has more drivers installed, than is currently in the OPI's (armhf) kernel (not as bloated). You could try extracting the driver from the laptops kernel & recompile it into the OPI's kernel manually ( I think you create a DIFF file or something to do that).I'd first check out it out on a Raspburry, and see if it's kernel would load the dongle, If so, I'd snag it from there.

Does the OEM offer any firmware patches? And also look at V4L (Video 4 Linux group) they have a lot to offer. It may be as simple as loading V4L from the debian or ubuntu's repository.

There are likely other easier options to what I can offer here, so don't give up too quick, & don't let mine be the final word, I'm no expert. I'm sure eventually this will catch on, as I've got one too.
This dongle offers some real interesting project objectives, other than just watching ATSC TV. SDR (Software Defined Radio) & great radio scanner (Hz to Ghz), & spectrum annalizer for starters.

0

threads

8

posts

38

credits

Novice

Rank: 1

credits
38
Published in 2015-11-4 05:54:03 | Show all floors
OK I'd made so many changes that i decided to do a fresh install and go from there.  I installed the Orange Pi PC prebuilt distro.

I did

apt-get update

Did the changes here http://www.orangepi.org/orangepi ... wthread&tid=475 to enable HDMI to DVI.

Then I installed wireless-tools and wpasupplicant.

That's it

This is what I got:

lsmod:

  1. Module                  Size  Used by
  2. rtl8192cu              87956  0
  3. rtlwifi                70757  1 rtl8192cu
  4. rtl8192c_common        52422  1 rtl8192cu
  5. mac80211              331125  3 rtlwifi,rtl8192c_common,rtl8192cu
Copy code


lsusb

  1. Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  2. Bus 007 Device 002: ID 0e8f:0022 GreenAsia Inc.
  3. Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  4. Bus 006 Device 002: ID 15d9:0a4f Trust International B.V.
  5. Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  6. Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  7. Bus 004 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
  8. Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  9. Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  10. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  11. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Copy code


iwconfig:

  1. gre0      no wireless extensions.
  2. lo        no wireless extensions.
  3. tunl0     no wireless extensions.
  4. sit0      no wireless extensions.
  5. eth0      no wireless extensions.
  6. ip6tnl0   no wireless extensions.
Copy code


As you can wlan0 doesn't show up and no wireless extensions are available.  The Realtek Wireless USB shows up and drivers are loaded, but it doesn't work.  I tried blacklisting the existing drivers and installing this driver https://github.com/pvaret/rtl8192cu-fixes, but it tells me it can't find the headers.   Any suggestions.

1

threads

11

posts

108

credits

Registered member

Rank: 2

credits
108
Published in 2015-11-4 18:12:55 | Show all floors
etopi replied at 2015-11-4 05:54
OK I'd made so many changes that i decided to do a fresh install and go from there.  I installed the ...

i am also face the problem

1

threads

8

posts

84

credits

Registered member

Rank: 2

credits
84
Published in 2015-11-4 18:38:26 | Show all floors
iliasam replied at 2015-11-2 04:56
Hello.
I am using Ubuntu 14.04-trusty. I can't see any system logs at /var/log (files like var/log/m ...

I think newer systems use /var/log/syslog instead of /var/log/messages.

I found that wasn't installed on ubuntu vivid so I added it with: -

sudo apt-get install syslog

IIRC.

1

threads

5

posts

35

credits

Novice

Rank: 1

credits
35
Published in 2015-11-4 18:49:34 | Show all floors
sauberpauli replied at 2015-10-9 23:18
@loboris:
1 wire support is amazing!  

Hi,
may I ask you to send me some details, what do i have to enable to get the same result as you pls?
Im using gpio 20, and  this is the /etc/modules:
#gpio-sunxi
w1-sunxi
w1-gpio
w1-therm
also I tried the
w1-therm pullup=1
without success....
this is only I have:
root@OrangePI:/sys/bus/w1/devices# ls
w1_bus_master1
root@OrangePI:/sys/bus/w1/devices# cd w1_bus_master1
root@OrangePI:/sys/bus/w1/devices/w1_bus_master1# ls
driver     w1_master_add              w1_master_pointer  w1_master_slave_count
power      w1_master_attempts         w1_master_pullup   w1_master_slaves
subsystem  w1_master_max_slave_count  w1_master_remove   w1_master_timeout
uevent     w1_master_name             w1_master_search

thnak you in advance!!!
br
G



1

threads

24

posts

169

credits

Registered member

Rank: 2

credits
169
Published in 2015-11-4 21:27:21 | Show all floors
chaszim replied at 2015-11-4 04:50
The kernel on your laptop (i386) has more drivers installed, than is currently in the OPI's (armh ...

Seems like that there is something broken in udev o something related to hw recognition. Loboris latest kernel has all the needed DVB-T drivers but simply there nothing that load them automatically and even if I force the loading of the modules (they just load) but nothing else happens (the dvb key should be found I warm state in the dmesg) and then so on...

I know they could be used as SDR and I'm heavily using them as so Thanks
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list