RuneAudio as a standalone system on C1+

ODROID related support

Re: RuneAudio as a standalone system on C1+

Postby frengo » 01 Feb 2016, 02:09

Thank you very much smallfat, but ....

excuse me:

smallfat wrote:1. Write 7" IMG file to SD card


1) - What's the 7 "IMG and on what page I can download it ?

1a) - However on the SD I have flashed this IMG:

http://sourceforge.net/projects/runeaud ... z/download

2) - According to the post:
"Module-loading-for-TFT-t3010.html"
I understood that I have to write the line:

nano /etc/modules-load.d/odroid_tft.conf

and then copy / paste:

#
# /etc/modules-load.d Conf file for ODROID 3 "TFT 2
#

## SPI modules for 3 "TFT 2
spicc
# Spidev and ADS7846 Should be pulled automatically
#spidev
# ADS7846
## FB modules for 3 "TFT 2 (parameters set forth modprobe.d)
fbtft_device
# These Should be pulled automatically
# Fb_odroidc_tft32
#fbtft
#fb_sys_fops
#sysimgblt
#sysfillrect
#syscopyarea

Then I write: nano /etc/modprobe.d/fbtft_device.conf

and I have copy / paste:

#
# /etc/modprobe.d Conf file for ODROID 3 "TFT 2 fbtft options
#

## Options for 3 "2 TFT module (s)
options fbtft_device name = odroidc_tft32
options fbtft_device rotate = 270
options fbtft_device GPIOs = reset: 116 AD: 115
options fbtft_device speed = 32000000
options fbtft_device cs = 0

3) - Then the post says:

Install these, I do not forget to remove the now obsolete modprobes from .bash_profile, reboot, and have fun.

How can I do this exactly?

4) - You say:
"Remember ignore section Regarding .bash_profile Which is incorrect and was corrected by post above."

So I started from the point where it says:

And create a file "/usr/share/X11/xorg.conf.d/99-odroidc-tftlcd.conf" and paste the below configuration to display X11 on the TFT.

Code: Select all
Section "Device"
Identifier "C1 fbdev"
Driver "fbdev"
Option "fbdev" "/ dev / fb2"
EndSection



Save it and reboot, you can see the RuneAudio on the 3.2inch LCD.

Time to calibrate the resistive touch screen. Install the calibrator.

Code: Select all
pacman -S xinput_calibrator

?????????????

It's all correct everything I've written?

Is this the correct procedure?

If Is this the right procedure, I've done all these steps and I restarted the device but the TFT yet none of it to work .....

Where am I wrong?

Many thanks in advance !
frengo
 
Posts: 42
Joined: 04 Dec 2015, 19:03

Re: RuneAudio as a standalone system on C1+

Postby lazydaze » 01 Feb 2016, 02:31

odroider wrote:
lazydaze wrote:Thanks odroider!


Is the pinch-zoom gesture working now on your Vu7 screen?
Please confirm it for other users because I had no time to check the functionality. ;)



It won't zoom in from the starting point, but it will let you zoom out then back in.
lazydaze
 
Posts: 4
Joined: 01 Jan 2016, 18:39

Re: RuneAudio as a standalone system on C1+

Postby lazydaze » 01 Feb 2016, 02:37

My setup so far...

Image
lazydaze
 
Posts: 4
Joined: 01 Jan 2016, 18:39

Re: RuneAudio as a standalone system on C1+

Postby odroider » 01 Feb 2016, 02:58

frengo wrote:1) - What's the 7 "IMG and on what page I can download it ?


Read this magazine and find the link of OS image.
http://magazine.odroid.com/assets/201511/pdf/ODROID-Magazine-201511.pdf#page=38
odroider
 
Posts: 56
Joined: 22 Jun 2015, 07:52

Re: RuneAudio as a standalone system on C1+

Postby odroider » 01 Feb 2016, 03:00

lazydaze wrote:
odroider wrote:
lazydaze wrote:Thanks odroider!


Is the pinch-zoom gesture working now on your Vu7 screen?
Please confirm it for other users because I had no time to check the functionality. ;)



It won't zoom in from the starting point, but it will let you zoom out then back in.


Thank you for the confirmation.
I will update the image to enable the pinch-zoom feature by default in this month. ;)
odroider
 
Posts: 56
Joined: 22 Jun 2015, 07:52

Re: RuneAudio as a standalone system on C1+

Postby frengo » 01 Feb 2016, 03:47

odroider wrote:Read this magazine and find the link of OS image.
http://magazine.odroid.com/assets/201511/pdf/ODROID-Magazine-201511.pdf#page=38


On page 38 of that magazine I found the link to the version:

RuneAudio_odroid-c1_0.3-dev_20150824_2GB.img.gz

and that's what I have already on the SD card.

In what page is the version 7" IMG?

Thanks.
frengo
 
Posts: 42
Joined: 04 Dec 2015, 19:03

Re: RuneAudio as a standalone system on C1+

Postby odroider » 01 Feb 2016, 04:20

frengo wrote:In what page is the version 7" IMG?

The link of prebuilt-image should be on Page 42.

An HDMI screen is strongly recommended to test the image and configure some other files for your 3.2inch screen.
Otherwise, you can't find where your mistake is.
odroider
 
Posts: 56
Joined: 22 Jun 2015, 07:52

Re: RuneAudio as a standalone system on C1+

Postby frengo » 05 Feb 2016, 19:25

Thank You very much, Odroider, and thank at other collaborators....

It seems to work, but I did not understand the keyboard functions:
Ctrl + = Zoom in work
Ctrl - = zoom out work
But the keys "menu", "play / pause", "stop", "Queue" and the other keys, how are to controlled from the keyboard?
Also every time I press F1 asks me to install Chromium and I do not know how to go back.

I have a bluetooth Rii keyboard so this:

http://forum.kodi.tv/showthread.php?tid=132954

Thanks in advance
frengo
 
Posts: 42
Joined: 04 Dec 2015, 19:03

Re: RuneAudio as a standalone system on C1+

Postby obee » 18 Feb 2016, 08:58

Hi,

I tried following this guide, but I get some problem:
1. The touch screen not work unless I unplug and plug in again. (This is minor issue.)
2. The chromium not open as expected (I tried to do auto login and start lxdm but same issue). Actually all the applications except the file manager can't be opened. No error, just nothing show up when I click or "run" the application.

Some question:
1. When installing "xorg-server", it asked me for some kind of "input library", I chose default (1), is this correct?
2. When install chromium, it asked me the font, again I selected default (1), is this correct?
3. What login to use for the step to test the lxdm + chromium? I used others and entered "root" (& rune password), because I dont know another login credential.

Thanks.

odroider wrote:I had no time.. Sorry.

Here is brief guide I wrote on my notepad. Please try it ant let me know what's not working or missing.

Let's try it with a HDMI TV or monitor first. I will write another guide for the small 3.2inch TFT LCD later.

Install the RuneAudio OS image for C1+ on your eMMC or SD
RuneAudio_odroid-c1_0.3-dev_20150824_2GB.img

Use the serial console (with ODROID USB-UART kit) or SSH to the IP address given to the board by your router.

Install video driver files (one for HDMI and the other one for TFT-LCD)
Code: Select all
pacman -S xf86-video-odroid-c1 xf86-video-fbdev


Install xorg server
Code: Select all
pacman -S xorg-server


Install xorg-xinit, which provides both xinit and startx.
Code: Select all
pacman -S xorg-xinit


Install lxde Desktop GUI
Code: Select all
pacman -S lxde


Install an extra font if you need. I installed Korean font because I want to display the song information in our character set.
Code: Select all
pacman -S ttf-baekmuk


Download a working Chromium browser and install it. (Official ALARM package didn't work)
Code: Select all
wget http://odroidxu.leeharris.me.uk/chromium-44.0.2403.107-1-armv7h.pkg.tar.xz
sudo pacman -U chromium-44.0.2403.107-1-armv7h.pkg.tar.xz

If you edit /etc/pacman.conf and set
Code: Select all
IgnorePkg   = chromium
it won't get upgraded accidentally.

Reboot your ODROID and Run LXDE on the command line on the HDMI screen.
Code: Select all
lxdm


Test the RuneAudio UI on the HDMI screen. It should work with below command.
Code: Select all
chromium --user-data-dir --kiosk 127.0.0.1


How to do "auto-login" on the HDMI console.
Run
Code: Select all
systemctl edit getty@tty1

And copy and paste below lines and save it.
Code: Select all
[Service]
ExecStart=
ExecStart=-/usr/bin/agetty --autologin root --noclear %I 38400 linux


How to do "auto-start lxde". Make .bash_profile in /root/ directory with below contents.
Code: Select all
#
# ~/.bash_profile
#

echo Run me first
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
exec lxdm
fi


Enable auto login of LXDE
"nano /etc/lxdm/lxdm.conf" and edit the second line like this
Code: Select all
## uncomment and set autologin username to enable autologin
autologin=root


Auto start the Chromium browser in full screen mode
Edit this file.
Code: Select all
nano /etc/xdg/lxsession/LXDE/autostart


Add this line at the end.
Code: Select all
@chromium --user-data-dir --kiosk 127.0.0.1


You can see the RuneAudio Web UI on the HDMI just after power-on your ODROID fully automatically.


If it works, I will prepare an additional instruction to work with 3.2inch TFT screen as well as touch screen.
obee
 
Posts: 11
Joined: 11 Feb 2016, 08:33

Re: RuneAudio as a standalone system on C1+

Postby lachlanp » 28 Mar 2016, 09:37

I have followed the procedure defined here to set up the HDMI display. The desktop appears automatically, and the auto login works, but the desktop does not allow me to run applications. moving icons around the desktop and running the system monitor work ok, but I cannot get the Desktop to run the terminal application or chromium. Any suggestions on where I might look to determine the cause?
Thanks Lachlan
lachlanp
 
Posts: 1
Joined: 24 Mar 2016, 15:10

support RuneAudio Donate with PayPal

PreviousNext

Return to ODROID

Who is online

Users browsing this forum: No registered users and 2 guests