Author: loboris

Linux Distributions for Orange PI H3 boards

  [Copy link]
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

0

threads

4

posts

44

credits

Novice

Rank: 1

credits
44
Published in 2015-11-5 04:28:39 | Show all floors
palmercr, thanks. I could not find "syslog" in repository, but
sudo apt-get install rsyslog helped.

0

threads

8

posts

38

credits

Novice

Rank: 1

credits
38
Published in 2015-11-5 22:38:53 | Show all floors
I'm trying to run through this solution to see if I can get the Realtek USB wifi to work.  I got to the point where you do the "make" command and I get the error no such file or directory.  The problem seems to be that the symlinks /lib/modules/3.4.39/build and /lib/modules/3.4.39/source point to /home/LoBo2_Razno/OrangePI/kernel_3.4.9/linux-3.4 which obviously doesn't exist.  So I cloned the kernel from [url]https://github.com/loboris/OrangePI-Kernel[/url]  using git and then changed the symlinks to point to the linux-3.4 folder in that download.

That worked but now I get the following error when I run make.  Any ideas?

  1. make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/3.4.39/build M=/home/orangepi/Downloads/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911  modules
  2. make[1]: Entering directory '/home/orangepi/OrangePI-Kernel/linux-3.4'
  3. Makefile:567: /home/orangepi/OrangePI-Kernel/linux-3.4/arch/armv7l/Makefile: No such file or directory
  4. make[1]: gcc: Command not found
  5. make[1]: *** No rule to make target '/home/orangepi/OrangePI-Kernel/linux-3.4/arch/armv7l/Makefile'.  Stop.
  6. make[1]: Leaving directory '/home/orangepi/OrangePI-Kernel/linux-3.4'
  7. Makefile:584: recipe for target 'modules' failed
  8. make: *** [modules] Error 2
Copy code

0

threads

8

posts

38

credits

Novice

Rank: 1

credits
38
Published in 2015-11-5 22:41:55 | Show all floors
Oh I should probably add that I already figured out that folder armv7l doesn't exist.  I guess my question is do I need it?  If I do how do I get it?  If not how do I get it to stop looking for it.

0

threads

12

posts

132

credits

Registered member

Rank: 2

credits
132
Published in 2015-11-6 04:33:49 | Show all floors
Glitch69 replied at 2015-11-4 18:49
Hi,
may I ask you to send me some details, what do i have to enable to get the same result as you  ...

Have you installed pull-up resistor between Vcc and 1-Wire DATA ?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list