Aye, Aye Raspberry Pi

Here you can discuss things that are not directly related to running or using XBMC4XBOX.
User avatar
LudviG
Posts: 267
Joined: Sun Jul 15, 2012 10:05 pm
Location: Norway
Has thanked: 29 times
Been thanked: 13 times

Re: Aye, Aye Raspberry Pi

Post by LudviG »

There is is, finally :) THANKS ALOT for the help! What would i do without guys like you, and hey, it is fun to learn new stuff. No idea what i did wrong when i wrote the code though :P

Now i just have to wait to come home to my server and start setting up media and scanning library :)
Never argue with an idiot! First he brings you down to his level, then he beats you with experience.
User avatar
xbs
Posts: 292
Joined: Thu Jul 05, 2012 3:22 pm
Location: Portugal
Has thanked: 29 times
Been thanked: 22 times

Re: Aye, Aye Raspberry Pi

Post by xbs »

Glad that it worked!

Just need to check if the custom value persists after reboot if it doesn't chmod ugo+x /storage/.config/autostart.sh again.
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
User avatar
LudviG
Posts: 267
Joined: Sun Jul 15, 2012 10:05 pm
Location: Norway
Has thanked: 29 times
Been thanked: 13 times

Re: Aye, Aye Raspberry Pi

Post by LudviG »

xbs wrote:Glad that it worked!

Just need to check if the custom value persists after reboot if it doesn't chmod ugo+x /storage/.config/autostart.sh again.
It seemed to persist. Tried 2 reboots now and threshold is still 50.
Never argue with an idiot! First he brings you down to his level, then he beats you with experience.
User avatar
xbs
Posts: 292
Joined: Thu Jul 05, 2012 3:22 pm
Location: Portugal
Has thanked: 29 times
Been thanked: 22 times

Re: Aye, Aye Raspberry Pi

Post by xbs »

Then it's OK :)
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
User avatar
LudviG
Posts: 267
Joined: Sun Jul 15, 2012 10:05 pm
Location: Norway
Has thanked: 29 times
Been thanked: 13 times

Re: Aye, Aye Raspberry Pi

Post by LudviG »

xbs wrote:MCE Model 1039
Image

(works out of the box with OpenELEC - all keys working - no double key press)

And Yatse :)
Is there any keyword i can search for to get the correct one? Tried different combinations with microsoft, mce and 1039.....
Never argue with an idiot! First he brings you down to his level, then he beats you with experience.
User avatar
xbs
Posts: 292
Joined: Thu Jul 05, 2012 3:22 pm
Location: Portugal
Has thanked: 29 times
Been thanked: 22 times

Re: Aye, Aye Raspberry Pi

Post by xbs »

Try MCE r6 1039.
Try eBay and similar sites.
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
User avatar
LudviG
Posts: 267
Joined: Sun Jul 15, 2012 10:05 pm
Location: Norway
Has thanked: 29 times
Been thanked: 13 times

Re: Aye, Aye Raspberry Pi

Post by LudviG »

xbs wrote:Try MCE r6 1039.
Try eBay and similar sites.
Did not find any with those. But i found many with "microsoft MCE". Some of them look the same, and some look newer.

http://www.ebay.com/sch/i.html?_trksid= ... &_from=R40
This one looks the same

http://www.ebay.com/itm/Microsoft-MCE-R ... 3361502f3d
This one looks a bit newer, but alot alike. Guess that one will work too, just not tried yet?
Never argue with an idiot! First he brings you down to his level, then he beats you with experience.
whufclee
Posts: 922
Joined: Tue Jul 17, 2012 5:42 pm
Location: Essex, UK
Has thanked: 18 times
Been thanked: 109 times
Contact:

Re: Aye, Aye Raspberry Pi

Post by whufclee »

I can confirm the Microsoft one pictured above does indeed work out of the box but I couldn't seem to find a context menu button. I've got a Chinese knock off version of the MS one (remote looks identical but the receiver doesn't have MS printed on it) so maybe thats the problem. I have an old Cyberlink one and all the buttons work great on that too and the red button works as context menu. Hopefully I'll have those cheap things soon and can let you know if they work or not.

Anyone know of a cheap place to buy some power supplies from? I'm now all out and am considering going for something with a little more juice (2000mA).
User avatar
xbs
Posts: 292
Joined: Thu Jul 05, 2012 3:22 pm
Location: Portugal
Has thanked: 29 times
Been thanked: 22 times

Re: Aye, Aye Raspberry Pi

Post by xbs »

Contexto menu is the Guide button.
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
whufclee
Posts: 922
Joined: Tue Jul 17, 2012 5:42 pm
Location: Essex, UK
Has thanked: 18 times
Been thanked: 109 times
Contact:

Re: Aye, Aye Raspberry Pi

Post by whufclee »

Not on my Chinese knock off it isn't :D
User avatar
LudviG
Posts: 267
Joined: Sun Jul 15, 2012 10:05 pm
Location: Norway
Has thanked: 29 times
Been thanked: 13 times

Re: Aye, Aye Raspberry Pi

Post by LudviG »

xbs wrote:It should show the value of the threshold, i.e. 50

You can try different values but I find 50 to be the most balanced.
At 50, normal (xvid/divx) SD content doesn't force the OC but most HD will and that's fine especially if it has DTS/AC3 audio.
It also seems to make the GUI faster/smoother.

You shoudn't read the CPU load in system info because the graphical bars updates will put the CPU load at 90%ish (another prof that the RPi is not a XBOX :)).
SSH and type

Code: Select all

top
that's the real value or in XBMC install the htop addon and type

Code: Select all

htop
You can also type

Code: Select all

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
Here's another script for you guys

Code: Select all

#!/bin/bash

echo -e "\n###############################################"
echo "#       RASPBERRY PI SYSTEM INFORMATIONS      #"
echo "###############################################"

echo -e "\nCPU current Frequency: `vcgencmd measure_clock arm`"
echo "CORE current Frequency: `vcgencmd measure_clock core`"
echo "CORE current Voltage: `vcgencmd measure_volts core`"
echo "CPU current Temperature: `vcgencmd measure_temp`"

echo -e "\nFirmware Version: `vcgencmd version`\n"

echo -e "Codecs Status:"
echo "`vcgencmd codec_enabled H264`"
echo "`vcgencmd codec_enabled MPG2`"
echo "`vcgencmd codec_enabled WVC1`"

echo
Name it sysinfo.sh and place it in /storage/.config/ (i.e. \\OPENELEC\Configfiles)
Run it by typing

Code: Select all

sh /storage/.config/sysinfo.sh
I got some errors in this, and noticed it was in the blank lines. So i added # in them and that seemed to correct it. So that was basicly my first attempt at doing some programing where i though of it myself and not following a guide. I know it is foolish, but i am a bit proud :)
Never argue with an idiot! First he brings you down to his level, then he beats you with experience.
whufclee
Posts: 922
Joined: Tue Jul 17, 2012 5:42 pm
Location: Essex, UK
Has thanked: 18 times
Been thanked: 109 times
Contact:

Re: Aye, Aye Raspberry Pi

Post by whufclee »

Just a little update on those really cheap remotes I bought off ebay...

Well they came in the post and for the price I'm quite impressed. Unfortunately the Xbox DVD remote doesn't work with the dongle as I had hoped but the remote "kind of" works out of the box with the r-pi (openelec). It has a little thumbstick thing that you can use as a mouse if you want but it's not great to use so I don't really bother with that. All the standard buttons work but there is no info context menu button so maybe I'll have to try and see if I can mess about with the keymap.xml. You can use the the right mouse button to bring up the context menu which is ok but not ideal. Overall for £2.50 or whatever it was I'm fairly happy.
User avatar
asbo
Posts: 594
Joined: Sun Jul 08, 2012 3:38 pm
Location: Norfolk, UK
Has thanked: 17 times
Been thanked: 54 times

Re: Aye, Aye Raspberry Pi

Post by asbo »

Does anyone know how to install the adult repo on openelec?
For research purposes only of course ;) :lol:
whufclee
Posts: 922
Joined: Tue Jul 17, 2012 5:42 pm
Location: Essex, UK
Has thanked: 18 times
Been thanked: 109 times
Contact:

Re: Aye, Aye Raspberry Pi

Post by whufclee »

You can install via fusion. If you've never used fusion before just go to filemanager and add source, don't browse just type in the following:

Code: Select all

http://fusion.xbmchub.com
Then give it a name (fusion)

Got to Settings > Addons > Install from zip
Navigate to fusion > video > repositories > xbmc-adult-repo
Voila the adult repo is installed, you'll probably also want to install the bstrdmkr repo so you can have [removed] too. You'll find Navi-X in the programs section of fusion.
User avatar
LudviG
Posts: 267
Joined: Sun Jul 15, 2012 10:05 pm
Location: Norway
Has thanked: 29 times
Been thanked: 13 times

Re: Aye, Aye Raspberry Pi

Post by LudviG »

Update: the microsoft mce remote i bought, worked out of the box on the RPi :grin:
There is just One problem. It starts the 360 :o

Btw, how does the installere make the size of the partitions. Will a bigger sd card give me more space for the library and so on? I let the RPi handle the library for now, till i have the time to learn how to set up sql. But the RPi ran out of space, and therefor locks up. I have a 8gb sd card in it.
Last edited by LudviG on Tue Jan 08, 2013 11:48 pm, edited 1 time in total.
Never argue with an idiot! First he brings you down to his level, then he beats you with experience.
User avatar
xbs
Posts: 292
Joined: Thu Jul 05, 2012 3:22 pm
Location: Portugal
Has thanked: 29 times
Been thanked: 22 times

Re: Aye, Aye Raspberry Pi

Post by xbs »

Use the 8Gb image from here
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
trogggy
Posts: 106
Joined: Fri Jul 06, 2012 1:24 pm
Has thanked: 4 times
Been thanked: 12 times

Re: Aye, Aye Raspberry Pi

Post by trogggy »

LudviG wrote: There is just Onepiece problem. It starts the 360 :o
I had the same problem the first time I messed with an MCE remote. There's a setting on the 360 - something like remote preferences to xbox 360 only - that stops this.
User avatar
LudviG
Posts: 267
Joined: Sun Jul 15, 2012 10:05 pm
Location: Norway
Has thanked: 29 times
Been thanked: 13 times

Re: Aye, Aye Raspberry Pi

Post by LudviG »

I see there is even more sizes there, maybe i'll get a bigger card anyway 8-)

What are the difference, just size of storage?
Last edited by LudviG on Wed Jan 09, 2013 10:52 am, edited 1 time in total.
Never argue with an idiot! First he brings you down to his level, then he beats you with experience.
User avatar
xbs
Posts: 292
Joined: Thu Jul 05, 2012 3:22 pm
Location: Portugal
Has thanked: 29 times
Been thanked: 22 times

Re: Aye, Aye Raspberry Pi

Post by xbs »

Yes, the whole SD card will be used if you choose the correspondent image.
You can also install the default OpenELEC image and use GParted to resize to the actual SD card size.
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
User avatar
LudviG
Posts: 267
Joined: Sun Jul 15, 2012 10:05 pm
Location: Norway
Has thanked: 29 times
Been thanked: 13 times

Re: Aye, Aye Raspberry Pi

Post by LudviG »

Ok, i will try both things. It is always fun to try new stuff. Thinking og trying rasspbmc too :grin:
Never argue with an idiot! First he brings you down to his level, then he beats you with experience.
Post Reply