tomaz
Posts: 38
Joined: Thu Jul 12, 2012 9:08 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sun Jul 29, 2012 12:45 pm

Hi,

I can confirm, if I run xbmc as sudo it works, thanks charliesroot.

I have changed line in /usr/bin/xbmc:
from: clear ; /usr/lib/xbmc/xbmc.bin
to: clear ; sudo /usr/lib/xbmc/xbmc.bin
You can change this simply with any editor (like vi) or command like this:

Code: Select all

sudo sed -i /usr/bin/xbmc -e "s/clear ;/clear ; sudo/"
I have created new .deb file (12.0-3).
If you don't care about your settings in folder ~/.xbmc you can install newer version like this:

Code: Select all

wget https://github.com/downloads/RB-tomaz/xbmc-rdp-tomaz/xbmc-rdp-tomaz.armhf.deb
sudo dpkg -i xbmc-rdp-tomaz.armhf.deb
You don't need removing old because dpkg will do that for you (when removing old version you will be asked, if you want to auto-start X and than next question will be, do you want to auto-start XBMC). And you don't need "sudo apt-get -y -f install" because dependencies didn't change :)

P.S.: I tried changing /etc/udev/rules.d/10-permissions.rules as described here and here but with no luck to fix keyboard problem (to run xbmc as "pi" user) - for input text in XMBC fields (as reported by atharvai). Maybe someone will figure this out?

mikerr: nice :)

Tomaz.
charliesroot wrote:@Tomaz

It's not on the numberpad. I'm running the pre-compile Silas image and changed the XBMC startup script by removing sudo, so XBMC is running as the user pi (instead of root). Same keyboard problem.

Running XBMC as root doesn't have "the keyboard problem". I've been working my way through Raspbmc (where XBMC is running as user not root) but haven't found anything yet that could solve things.

BTW GREAT work guys ...

atharvai
Posts: 3
Joined: Tue Jul 24, 2012 8:02 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sun Jul 29, 2012 2:58 pm

I managed to get the Keyboard working within XBMC.

You need to run XBMC as superuser so either login as SU or run "sudo xbmc" .

I'm not sure why this works but points to some permissioning issues for XBMC to access keyboard.

adamdbz
Posts: 15
Joined: Thu Jul 19, 2012 8:40 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sun Jul 29, 2012 4:19 pm

thank you very much it works very good


-Adam Ericson

amp
Posts: 17
Joined: Fri Jul 20, 2012 10:09 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Mon Jul 30, 2012 10:57 am

Installed yesterday the simple deb, some remarks:

1. there is a dependency missing on libpcrecpp0
2. my keyboard doesn't work at all unless I run it as root.

For 2. I made a quick hack like this (# means to run the commands as root):

# addgroup --system input
# chmod g+rw /dev/event*
# chown root:input /dev/event*
# adduser xbmc-user input

This enables the xbmc-user (or whatever user you run xbmc under) to access the keyboard. Probably won't survive a reboot (or plug/uplugg of the keyboard), but this may give some hints as to where more work is needed.

mikfaina
Posts: 9
Joined: Fri Jul 20, 2012 12:56 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Mon Jul 30, 2012 12:32 pm

HI,
I successfull installed xbmc from compiled deb. but i have some questions.
I saw that cpu is always at 90% always. Is that for ram memory? I splitted into 128 128 is too much for video? How can I change it?
Xmbc is not fitting my monitor but I can't change from video setting inside xbmc cause some keyboard issues (up arrow doesn't work) Is there any way to change from shell?
Thanks Mik

michaelmumford
Posts: 4
Joined: Mon Jul 30, 2012 1:17 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Mon Jul 30, 2012 1:22 pm

Thanks to Tomaz for the work and the clear instructions - XBMC all up and working well.
A cheeky question - in sorting XBMC did he come across anything to solve my problem with sound in Scratch? I've edited /usr/bin/scratch and get sound but my Scratch programs which generate an almost continuous sound lock up after about 30 seconds and the only way out seems to be to crash X.

Michael Mumford

BrotherJoe
Posts: 1
Joined: Mon Jul 30, 2012 7:27 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Mon Jul 30, 2012 7:48 pm

He guys, thanks a lot Tomaz for this package!

One thing that's giving me trouble is xbmc-remote on android; does anyone else use it that can confirm some behavior for me?

Basically I can't view albums/songs in xbmc-remote, even though they show up just fine in Confluence.
I can see "whats playing" and I can even skip to the next song; however, that assumes I've started playing a song from within confluence, not using xbmc-remote.

I've got another pi running openelec and things are just fine; though, the version of xbmc is obviously a bit older than this one.

http://code.google.com/p/android-xbmcre ... ail?id=613

That doesn't seem to help, and this one:

http://forum.xbmc.org/showthread.php?tid=136004

Seems to indicate that the user doesn't see info in Confluence, which isn't my problem.

Oddly, I see Artists; but if I select them, I get "no album found".

Does anyone else use xbmc-remote that can confirm this; or does anyone have any ideas!

Thanks,

Joe

gebes
Posts: 8
Joined: Tue Jul 24, 2012 4:01 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Mon Jul 30, 2012 11:16 pm

Tomaz : I'd also like to echo my thanks for this thread.

I am new to Linux and received my Pi today, but already have XBMC up and running on it.

For a brief moment I had even got my android phone with the XBMC software working, but not sure what I did to do it !

But mainly wanted to stop by to say thanks !

marosg
Posts: 25
Joined: Sat Jul 07, 2012 2:41 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Tue Jul 31, 2012 12:30 pm

Tomaz, I would also like to thank you, it all works nicely, I am surprised how responsive is the Pi. Thanks a lot your effort making XBMC available for people like me

rtroman
Posts: 3
Joined: Tue Jul 31, 2012 3:46 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Tue Jul 31, 2012 3:48 pm

hi works well, however i cannot see airplay? has it been built without airplay?

rtroman
Posts: 3
Joined: Tue Jul 31, 2012 3:46 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Tue Jul 31, 2012 4:06 pm

Hi, is airplay included as i cannot see it under the options to turn on?

User avatar
aelsas
Posts: 64
Joined: Fri Jul 06, 2012 11:23 pm
Location: Frankfurt, Germany
Contact: Website

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Tue Jul 31, 2012 9:03 pm

Thanks for the package!

Installed it on Raspbian - works perfectly!

Best regards

Alex

erpomata
Posts: 14
Joined: Thu Jul 19, 2012 11:38 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Wed Aug 01, 2012 2:17 am

Thanks for the package!

Is possible to have the xbmc-wiiremote package?

kag
Posts: 3
Joined: Wed Jun 27, 2012 6:59 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Wed Aug 01, 2012 8:27 am

XBMC works fine and the instructions are great just as Rasbian in itself!

I have a problem with screen calubration, after having calibrated the screen in XBMC my X screen and terminal is "bigger" than my screen. I haven't found a way recalibrate in X or through the command line, how can that be done? If there is a way is it possible to have two different sets of calibration settings?

One other problem I see is that XBMc doesn't seem to save my SMB username and password even if I check the checkbox.


Softeis
Posts: 4
Joined: Tue Jul 17, 2012 9:45 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Wed Aug 01, 2012 11:42 am

Super work, Tomaz!
I tried several other Raspbian/XBMC combinations, but this one is by far the best.
Please, keep your work going.
Q: What do you suggest to always get the newest relrase?
Again, thanks alot!

User avatar
paaland
Posts: 71
Joined: Mon Mar 12, 2012 2:30 pm
Location: Norway
Contact: Website

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Wed Aug 01, 2012 11:48 am

Nice one. Finally xbmc is running one my raspi. Tried to compile it myself first, but that never worked. I've got a MCE remote that's supposedly xbmc-compatible. But I cannot get that to work with xbmc on the raspi. Anyone know if it's possible and have any pointers? I tried installing lirc, but I'm not sure that's needed for MCE-remotes. It's detected as a keyboard/mouse combo by Linux.
Dragon 32>BBC Model B>PC>PC>PC>PC>Raspberry PI (circle complete)

Softeis
Posts: 4
Joined: Tue Jul 17, 2012 9:45 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Wed Aug 01, 2012 12:30 pm

@ paaland

I've this piece and it works almost perfect, even the mouse-like pad works. :D
I have not installed any aditional SW, just Tomaz's .deb

- Hama MCE Remote Control Fernbedienung - Infrarot
http://ecx.images-amazon.com/images/I/5 ... AA300_.jpg
About € 18,- at Amazon

Gronis93
Posts: 1
Joined: Wed Aug 01, 2012 4:37 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Wed Aug 01, 2012 4:41 pm

Your build of xbmc crash my whole installation. This is the second time I have to recreate my installation from scratch. At first, it works fine. But after a reboot and some overclocking. My main partition on the SD-card is gone and the pi isn't booting.

ellinas
Posts: 3
Joined: Wed Aug 01, 2012 4:37 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Wed Aug 01, 2012 4:48 pm

Hi guys , how i restore the default settings for the XBMC ? Also the other problem i have is that during playback of a movie the hdmi display output interrupts for a second and then come back. This is happening a lot of times during the playback of the movie but with openelec and raspbmc image i don't have this problem.

chochis
Posts: 14
Joined: Mon Jul 16, 2012 8:29 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Wed Aug 01, 2012 6:08 pm

Just a suggestion to the usb automounting: http://crunchbanglinux.org/forums/topic ... tomounter/

This tool works great in my raspbian and you will get always the same name for the mounted disk.

fordexplorer
Posts: 12
Joined: Mon Jul 23, 2012 9:23 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Wed Aug 01, 2012 8:18 pm

Gronis93 wrote:Your build of xbmc crash my whole installation. This is the second time I have to recreate my installation from scratch. At first, it works fine. But after a reboot and some overclocking. My main partition on the SD-card is gone and the pi isn't booting.
With all respect, could overclocking, not xbmc, be the cause of your crash???

Ford

rpi123
Posts: 2
Joined: Thu Aug 02, 2012 7:37 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Thu Aug 02, 2012 7:43 am

Got this working OK, no major issues. Excellent work.

Only problem is I can't seem to play .ts files from terrestrial freeview recordings. The sound is there, but the picture is blank.

I've tested an avi streamed from the same box, and that is fine, but the recorded .ts stuff will not stream.

I can however stream .ts files from the same box to XBMC on Windows.
Do I need any additional packages or codecs installing to handle ts files?

Thanks

fraz0815
Posts: 70
Joined: Fri Jul 20, 2012 1:29 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Thu Aug 02, 2012 10:17 am

@rpi123
I think ts is mpeg-2, which is currently not supported on the pi.
http://www.raspberrypi.org/phpBB3/viewt ... =29&t=5641 - some people are working on it, not sure how far they are or if it will be even possible.

jared123
Posts: 9
Joined: Fri Jul 27, 2012 12:04 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Thu Aug 02, 2012 10:18 am

I'm pretty sure .ts files are mpeg2 which is something the pi can't play back (currently). You may hear sound from it, but I'd be surprised if you can get video.

I tested openelec and xbian 0.2 last night, but so far this .deb has been the most stable build I've used (menu speed, playback quality etc..) :D

Return to “Raspbian”