Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 3,772
» Latest member: malletcell48
» Forum threads: 1,286
» Forum posts: 7,491

Full Statistics

Online Users
There are currently 59 online users.
» 0 Member(s) | 59 Guest(s)

Latest Threads
Cubrecontadores
Forum: Smoke Room
Last Post: kiddnes
06-22-2020, 07:55 PM
» Replies: 0
» Views: 133
Android Image
Forum: Android
Last Post: karla00
06-10-2020, 05:16 PM
» Replies: 3
» Views: 6,945
Game Boy Zero - based on ...
Forum: OrangePI DIY
Last Post: willk
06-01-2020, 11:59 PM
» Replies: 10
» Views: 9,738
Amiberry and Game & Watch...
Forum: RetrOrangePi v4.3 - go to www.retrorangepi.org/forum
Last Post: batimanvesgo
05-04-2020, 05:59 AM
» Replies: 0
» Views: 561
Orange Pi Pc Plus - Messa...
Forum: RetrOrangePi v4.3 - go to www.retrorangepi.org/forum
Last Post: alexkidd
05-01-2020, 09:35 PM
» Replies: 1
» Views: 395
Latest orange PI PC2 what...
Forum: RetrOrangePi v4.3 - go to www.retrorangepi.org/forum
Last Post: dvs
04-30-2020, 10:50 PM
» Replies: 28
» Views: 6,263
Orange pi plus 2E startup...
Forum: RetrOrangePi v4.3 - go to www.retrorangepi.org/forum
Last Post: emkara
04-29-2020, 06:49 PM
» Replies: 2
» Views: 433
Shutdown sistem
Forum: RetrOrangePi v4.3 - go to www.retrorangepi.org/forum
Last Post: alexkidd
04-29-2020, 12:40 PM
» Replies: 3
» Views: 530
Overscan HDMI
Forum: RetrOrangePi v4.3 - go to www.retrorangepi.org/forum
Last Post: alexkidd
04-21-2020, 03:24 PM
» Replies: 5
» Views: 850
Orange Pi PC - reporting ...
Forum: RetrOrangePi v4.3 - go to www.retrorangepi.org/forum
Last Post: TnDan
04-20-2020, 03:05 PM
» Replies: 25
» Views: 10,200

 
  Enable SpDIF-output (some soldering required)
Posted by: Sikotik - 11-07-2016, 01:09 AM - Forum: Hardware - Replies (6)

I activated SPDIF-output:
bin2fex /boot/script.bin > ~/script.fex
edit script.fex:
[spdif0]
spdif_used = 1
spdif_dout = portTongueA17<2><1><default><default>
[audiohub]
hub_used = 0
codec_used = 1
spdif_used = 1
hdmi_used = 1
sudo mv /boot/script.bin /boot/script.bin.bak
sudo fex2bin script.fex /boot/script.bin
/etc/modules:
sunxi_spdif
sunxi_spdma
sunxi_sndspdif
sndspdif
(you can also modprobe modules directly, so you don't have to reboot)
dmesg says:
[ 9.869689] asoc: sndspdif <-> spdif0 mapping ok
/proc/asound/cards:
pi@RetrOrangePi:~$ cat /proc/asound/cards
0 [audiocodec ]: audiocodec - audiocodec
audiocodec
1 [sndhdmi ]: sndhdmi - sndhdmi
sndhdmi
2 [sndspdif ]: sndspdif - sndspdif
sndspdif
Tiny problem though... Where is easiest way to make connection to PA17? Is it even possible?
Edit:
PA17 is pin 4 in camera connector. Soldering is not easy, but possible. It would be possible to do SPDIF-adaptor for camera-connector.
I soldered cable to pin 4 and took GND from GPIO-header. Audio works. Also passthrough DD and DTS works.

 I used very cheap USB solderin iron. My only iron with very sharp tip:
react-text: 818

/react-text I tested with DD and DTS passthrough and as suspected, it works.
I tested with mplayer and VLC:

cvlc --alsa-audio-device hw:2,0 --spdif "Bjorn_Lynne-Voyager_(surround).ac3"

mplayer -ao alsa:device=hw=2.0 -ac hwac3 "Bjorn_Lynne-Voyager_(surround).ac3"

cvlc --alsa-audio-device hw:2,0 --spdif --novideo dtspiano.vob

mplayer -ao alsa:device=hw=2.0 -ac hwdts -vo null dtspiano.vob

   

Print this item

  Telegram OPi group
Posted by: morgan - 11-03-2016, 10:25 AM - Forum: Smoke Room - Replies (2)

Hi guys.

Does anyone using text messaging software "Telegram" (iOS, Win, Linux, Android...)? There is option to make a group. It would be nice if I make group about OrangePi and add you. We can communicate in cause of problem faster Smile Also there you can share photos, videos, files, etc.

If you click on THIS link you can add self to the group.

Print this item

  Snow in Moscow
Posted by: Alius - 11-03-2016, 04:41 AM - Forum: Smoke Room - Replies (6)

Today in Moscow the heavy snowfall began really.
35 kilometers before operation I went more than 1 hour 30 minutes and it very quickly.
The way home as I think, will take 2-3 hours...

[Image: 3ebef0898b714191dbb81a77e9f49684.jpg]
[Image: 6884ce4d71adf3bbdbbf671b0f9f8349.jpg]
[Image: 1e777f460622e596468160b009d13025.jpg]
[Image: 5e76180583e41edacdd80f19c54095a0.jpg]

Print this item

Lightbulb moonbian (AKA md-debian)
Posted by: moondeck - 11-01-2016, 10:24 AM - Forum: Debian - Replies (15)

Hello everyone,
I have a build system for Debian on Orange Pi One and Orange Pi PC (+).

LAST UPDATE 12 December 2016

I do not supply images anymore. You compile them yourself.


There is support for CLI and XFCE, i can provide other display managers should someone need it, just post it here or PM me.
Also, if you want your board supported, you can be a tester, or get me a board.

The image ships with a highly-optimized kernel, Sambooca-H3, can be found here: https://github.com/SvenKayser/Sambooca-Kernel-H3
Because almost everything in the kernel is provided as a module, this allows the system to take 41 megabytes of RAM when idling.
There is no clutter, it only comes with wpa_supplicant and iw installed, to make it easier to connect to wireless networks, which is usually the case with SBCs like Orange Pi.
No custom login MOTDs, no non-free software by default. By the end of the month i am planning to set up a repository to ship kernel updates and H3-specific system utilities.
The system is shipped with sane thermal settings, you should however install at least a heat sink to cool the processor under heavy load.

My system also has support for hardware acceleration (Mali, etc.), the userspace packages will be hosted in the repo once i get it running. If someone needs it i can also post it.

For now, Orange Pi PC (+) has an both a CLI image and XFCE. Orange Pi one has only a CLI image, but a newer one is incoming, also one with XFCE.


To compile the images you are gonna need:

Device-tree-compiler
ARM GCC cross-compiler
dialog (bash utility)
build-essential on Debian (or your distro of choice)
git
a cup of tea/coffee

FOR ORANGE PI PC+ and other eMMC boards:
To install to eMMC, just type "install2emmc.sh" without the quotes into the terminal (as root) and it will do it automatically.

RESIZING THE FILESYSTEM ON SD:

Type in "fdisk /dev/mmcblk0" and press enter if running from SD
Then type "d" and press enter, type "n" and press enter 4 times. Then type in "w" and press enter, then exit fdisk.
Now, type "resize2fs /dev/mmcblk0p1" and press enter, wait for the process to finish.

Build system for the image is here:
https://github.com/m00nd3ck/md-debian

Also a website is on the way, this should be ready by the end of the month.
Please,if you have any suggestions or feature requests, do not hesitate to ask.
Also, what board should be supported next?

If you have any problem, ask away too.

-moondeck

Print this item