37

Revision 2 of the Raspberry Pi board has holes on the board for connecting a reset switch. You can solder two jumper pins there, then connect a push button. This should reboot the Raspberry Pi. When you shut down the Raspberry Pi, the board and USB ports will still be powered, even if the CPU is not running. If this matters to you, there is this Kickstarter ...


18

OpenELEC resizes /storage on first boot after creating the SD. I looked for the script that does that. It's https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/sysutils/busybox/scripts/fs-resize?source=c The first code line checks for /storage/.please_resize_me file. So... to resize storage to fill the SD you need to: touch /storage/....


13

You can boot an idle Raspberry Pi via the GPIO pins. All you have to do is connecting pin 5 to ground. Either by a switch or a jumper. In addition to that, you can also use the same pin/switch as a shut down switch. You just need a simple circuit, a resistor and a Python script for that to work. See the following example (source in German); I am using that ...


13

Modified from here, SSH into your Raspberry Pi running OpenELEC and follow these steps. SSH in as root, by default you’re in /storage; switch to root partition: $ cd / Keep XBMC from restarting: $ touch /var/lock/xbmc.disabled Stop XBMC, so we can unmount /storage: $ killall -9 xbmc.bin $ umount /storage Verify mounts: $ mount $ parted /...


12

I run the RPi as my media station with Xbmc (now named Kodi) on Arch Linux. I have an external 1TB HDD (with external power supply) attached which holds my movie/series collection. Library Xbmc has Library features for Movies, Pictures, Series and Music with extended functionality (order by year, actor, whatever). But, before creating a library in Xbmc, ...


11

To stop your wifi from go to sleep after idle for awhile, you need to disable its power management. Edit file /etc/network/interfaces Assume you Pi connect to network through wlan0. Add new line with wireless-power off right BELOW the line iface wlan0 inet manual Save and reboot your Pi run iwconfig now you should see Power Management:off


10

If you want use your RPi as NAS you should read this: http://elinux.org/R-Pi_NAS If you want use your RPi as Media Center you should read this: http://elinux.org/RPi_XBMC You can do all this in one system.


9

I use OpenELEC, and it is working very fine as a media center. Therefore it doesn't allow you to use it as a "normal" Linux. It doesn't have a window manager; only XBMC is started on boot. It also allows you to use it through SSH, but it doesn't have apt-get.


9

For normal users I would say they are somehow similar, and the differences are not that huge. However, for advance users they are different. OpenELEC has a huge disadvantage for people who like to further customize their Pi since the system come as a read-only image, e.g. you cannot disable or enable services and you cannot even change the root password ...


7

I guess your image is OpenELEC as @Lawrence said that. OpenELEC uses squashfs compressed image filesystem so you can't edit without uncompressing. To uncompress it, convert your sd-card content into image with dd command in another computer which runs linux. dd if=/dev/mmcblk0 of=/tmp/openelec.img Then install squashfs-tools to get compress/uncompress ...


6

If you want to use a remote controller to turn on the RPi, I suggest the following setup: Buy an IR photo-diode, or even better, an IR photo-transistor, and connect it to Pin 5 and GND. It acts like a push-button. When it receives IR beams from remote controller, it shorts, and hence connects Pin 5 to GND, hence the RPi turns on. Fortunately, shorting the ...


6

OpenELEC appears to be an intentionally confined, minimal operating system. I assume it is simple to use, partially because you cannot do much with it beyond Kodi. Part of this is that it does not have much of a "package management" system. You cannot install a vast range of software the way you could on Raspbian; you are limited to the various "add-ons". ...


5

The elinux wiki has a page describing how to troubleshoot your Pi. It sounds like you may have a problem with the SD Card, firmware or one of the startup files (i.e., loader.bin, start.elf). Can you try booting using another card? You can find instructions for updating the firmware in the post How do I update software and firmware?.


5

Simply connect the Raspberry Pi to the USB of your TV! (if your TV has one). I did it, and it works flawlessly. :)


5

Assuming your PC is Windows, and not Linux or Mac: On your computer: Put everything you want to stream into a single folder. Right-click that folder in Windows Explorer / File Explorer. Click Properties, then change to the Sharing tab. Enable Sharing: Windows 7: Click Advanced Sharing Tick the "Share this Folder" box Give the folder a name to show on the ...


5

Finally i could solve it. a simply python script to send a magic packet. replace the QQ on the last line with your target pc's MAC address. with lowercase. just exec it, and voilà... #!/usr/bin/env python import socket s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) s.sendto('\xff'*6+'\xQQ\xQQ\...


5

# printenv shows that sh is the default shell, not bash! sh executes the /storage/.profile on ssh login. here's my quick & dirty hack to switch to bash. make sure you have the /storage/.bashrc file and that it's error free. # cat /storage/.profile SHELL=/bin/bash PATH=/storage/bin:$PATH TERM=xterm-color exec bash & source /storage/.bashrc


5

Yes you can ssh to it or use app launcher to get a terminal but there is not much point as there is not even a package manager. For that reason I use OSMC because it's closer to a normal Debian.


5

Because you should have just asked for what you wanted: apt-get install kodi For future reference, apt has a search feature: apt-cache search kodi This will return a list of packages with "kodi" in their name or short description.


5

For future reference. OpenELEC config.txt file is in /flash To modify it, you need to remount the /flash directory as rw, as it is read-only by default. The easiest way to do that is to have both the Pi and another computer on the same network and use SSH. If you are using Windows, you can use PuTTY: launch the exe, put the IP address of your Pi (you can ...


4

XBMC supports starting external applications like MAME arcade emulator from it. MAME on Pi: http://blog.sheasilverman.com/2012/11/better-advancemame-debs-with-sound/ http://ipggi.wordpress.com/2012/11/26/mame-arcade-game-fun-with-a-raspberry-pi/ http://www.newsdownload.co.uk/pages/RPiMameGpioJoystick.html


4

One issue I had (with version 3.1.5) : umount /storage => “umount: can’t umount /storage: Device or resource busy” fuser -m /storage => pid of the process that was locking the mount I tried to kill it, but everytime a new process blocked the mount. I have to kill + umount in the same time with the pipe (in this order) : umount /storage | kill -9 pid That’s ...


4

Unoffical Chromium port isn't avaliable for the Raspberry Pi. And author wrote about it: There will be NO RPi build. please dont ask me to do it.


4

Do I run any risk of doing any real, long-term damage to my Pi using it like this? No. The risk is to the root filesystem, which may get left in an inconsistent (corrupted) state. If this happens, usually it can be fixed with e2fsck. Unless you do it at a very inopportune time though, it probably won't happen. Of course, every time you do it is like ...


4

To the best of my knowledge there is no terminal access in OpenELEC. There is, per Ghanima's comment above, an Exit option and terminal access in vanilla Kodi on Raspbian, but not in OpenELEC. The instructions on the OpenELEC homepage recommend using Putty to create an SSH session from a remote machine, with the default username root and the password ...


3

The Raspberry Pi cannot be booted remotely over LAN, nor by timer. Maybe you can use a remote controlled power switch to power your Raspberry Pi? I have never used them, but they are for sale.


3

Choose Programs, then your OpenElec settings. Under Network, use WLAN, then wlan0 and put in your settings. Under Network 2, choose NONE for the second adapter. This will force your XBMC OpenElec build to use WiFi only.


3

When I did a test run of this on OpenElec XBMC I noticed the same issue. I was trying to get it to run with a WiFi USB (supported or unsupported I could not get it to work) By default XBMC will ALWAYS USE LAN even if you set-up up WiFi. Make sure your LAN gives out DHCP and that the default gateway is set. After I plugged in my LAN cable it took about 10~...


3

In short, yes, the Raspberry Pi is able to do that. The passthrough device is when XBMC doesn't decode the audio bitstream. It passes the audio information through to something downstream to decode and then convert to analog to put out to the speakers. So if it's a DTS or AC3 (Dolby Digital) soundtrack, XBMC just passes that information along to your ...


3

I found a solution myself, pretty logical when i think about it... If i disable CEC on the AVR, the TV-CEC signals are going through fine. I guess the cable cant send CEC-signals for multiple machines simultaneously. The strange thing is that i can't remember ever changing that setting on the AVR (pretty sure it's been on all the time) even when it worked ...


Only top voted, non community-wiki answers of a minimum length are eligible