Xbox remote?

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
muyan
Newbie
Posts: 2
Joined: Thu Sep 11, 2003 1:30 pm

Xbox remote?

Post by muyan » Thu Sep 11, 2003 1:34 pm

Have anyone successfully managed to get the Xbox remote to work in Linux and if so - how?

muyan
Newbie
Posts: 2
Joined: Thu Sep 11, 2003 1:30 pm

Works in Freevo

Post by muyan » Thu Sep 11, 2003 9:08 pm

Well I don't know how to get the Xbox remote working with LIRC (if it's even possible), but it's no hassle getting it to work in Freevo (which was my primary goal anyway).

All you need to do is activate the joystick plugin in freevo_conf.py.
Like this: "plugin.activate('joy')" - without quotes

and then locate the section looking like or similar to this

JOY_DEV = 1
JOY_CMDS = {
'up' : 'UP',
'down' : 'DOWN',
'left' : 'LEFT',
'right' : 'RIGHT',
'button 1' : 'PLAY',
'button 2' : 'PAUSE',
'button 3' : 'STOP',
'button 4' : 'ENTER',
'button 6' : 'MENU',
'button 5' : 'EXIT',
}

The important line is the first "JOY_DEV = 1" - make sure it's set to 1
If you'd like you can fool around with the keymapping.

It worked for me, and now I don't need keyboard or Xpad to watch vids from freevo.

Anastrophe
Novice
Posts: 25
Joined: Mon Aug 25, 2003 3:41 am

Post by Anastrophe » Sat Sep 13, 2003 5:59 pm

sorry for being so dumb, but how do you install Freevo under Gentoox?

do I just download and run an installer or can magic handle it for me?

Thanks in advance

scoobydu
Linux Expert
Posts: 107
Joined: Mon Aug 11, 2003 6:08 pm

Post by scoobydu » Sat Sep 13, 2003 9:02 pm

Its in portage ... Its masked though so you'll have to do to install it.

ACCEPT_KEYWORDS="~x86" emerge freevo

Perhaps first try this, as freevo has alot of dependencies that will be installed as well :)

ACCEPT_KEYWORDS="~x86" emerge -p freevo


This is the info.

pro root # ACCEPT_KEYWORDS="~x86" emerge -s freevo
Searching...
[ Results for search key : freevo ]
[ Applications found : 1 ]

* media-tv/freevo
Latest version available: 1.3.4
Latest version installed: [ Not Installed ]
Size of downloaded files: 2,453 kB
Homepage: http://www.freevo.org/
Description: Digital video jukebox (PVR, DVR).

Anastrophe
Novice
Posts: 25
Joined: Mon Aug 25, 2003 3:41 am

Post by Anastrophe » Sun Sep 14, 2003 3:45 am

cheers

nillkind
Newbie
Posts: 4
Joined: Sun Jan 11, 2004 6:23 pm

Post by nillkind » Tue Jan 13, 2004 4:48 pm

Are you able to use all Buttons?

I'm only able to use the green ones in the middle ( the ones next to select ) They do work. For the others ( Number Keys ) i get:

Code: Select all

send button event BUTTON arg=2
no event mapping for key 2 in context video
send button event BUTTON arg=2
no event mapping for key 2 in context menu
and so on. The Play, FFW, and others don't even show the mesage.
Any help greatly appreciated.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests