Page 1 of 1
Remote with LIRC 8.0 guide and ALSA on a 1.6
Posted: Sat Jul 08, 2006 8:09 pm
by H3g3m0n
I spent quite a few days working out exactly how to get the remote working for my mythtv xbox on a stock Gentoox 5.0 Home. There are quire a few diffrent ways, a whole lot of outdated information and alot of stuff that refuses to compile with more modern software/kernel2.4
I wrote a wiki entry on xbox linux site for anyone interested:
http://www.xbox-linux.org/wiki/LIRC_Gentoox
Getting the ALSA 1.0.11 modules to work on a 1.6 with Gentoox Home 5.0
My xbox was giving me error when i attemped to modprobe the required modules, solution is to use the xbox.patch not xbox2.patch.
Code: Select all
emerge -C alsa-driver-xbox
cd /usr/portage/media-sound/alsa-driver
ebuild alsa-driver-1.0.11.ebuild unpack
cd /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/
patch -p1 < /usr/share/gentoox/portage/media-sound/alsa-driver-xbox/files/xbox.patch
cd -
ebuild alsa-driver-1.0.11.ebuild compile install qmerge
rmmod snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd snd-page-alloc
modprobe snd-intel8x0 xbox=1
modprobe snd-pcm-oss
test with
Posted: Sun Jul 09, 2006 3:32 am
by roofus
*bump*
You're a godsend my friend. ShallaX please sticky this one.
And could this possibly be fixed in future releases, or patched?
Posted: Sun Jul 09, 2006 1:21 pm
by orochi
Posted: Sun Jul 09, 2006 4:22 pm
by ShALLaX
alsa is no longer in magic, so no.. that wont work for anyone. Also, thats not the correct way to modify the ebuild.
Code: Select all
pico /usr/share/gentoox/portage/media-sound/alsa-driver-xbox/alsa-driver-xbox-1.0.11.ebuild
look for
# epatch "${FILESDIR}/xbox.patch"
epatch "${FILESDIR}/xbox2.patch"
Change to:
epatch "${FILESDIR}/xbox.patch"
# epatch "${FILESDIR}/xbox2.patch"
Code: Select all
ebuild /usr/share/gentoox/portage/media-sound/alsa-driver-xbox/alsa-driver-xbox-1.0.11.ebuild digest
emerge alsa-driver-xbox
I cant "fix" this, because it seems one patch is needed for Xbox <=1.6 and another for Xbox >=1.6
- this is why I created both patches... I guess I'll look into it to see if that is true.
Posted: Sun Jul 09, 2006 5:15 pm
by ShALLaX
I've just tested xbox.patch on my 1.5.. and it works fine! So i'll make a patch.
*Update*
Done!
Re: Remote with LIRC 8.0 guide and ALSA on a 1.6
Posted: Fri Jul 21, 2006 10:18 am
by Nicklas
I tried that guide and the remote is still not working
Also, I had to do a "emerge --digest lirc" to update the Manifest after modifying the file...
- Otherwise emerge would halt saying that the files had been tampered with...
Anyhow, lirc is still not working (after I modprobe'd there's no /dev/lirc/0)
tail from dmesg:
Code: Select all
lirc_dev: IR Remote Control driver registered, at major 61
lirc_atiusb: USB remote driver for LIRC v0.5
lirc_atiusb: Paul Miller <pmiller9@users.sourceforge.net>
usb.c: registered new driver lirc_atiusb
Btw, I'm trying to get lirc working to use it later in mythtv... that excludes lirc 0.6.6 right?
Posted: Fri Jul 21, 2006 3:06 pm
by Nicklas
Ok, I've solved it.
The command
Code: Select all
echo 'LIRC_DEVICES="atiusb"' >> /etc/make.conf
needed to be changed to
Code: Select all
echo 'LIRC_DEVICES="xboxusb"' >> /etc/make.conf
aswell...
But one should still use atiusb in the other places...
- e.g. modprobe etc...
Please observe that there are a few misspellings (missing /share/) in the paths in the HOWTO...
lirc problems..
Posted: Mon Jul 24, 2006 8:42 am
by b8zs
I followed the guide and still cant get the device /dev/lirc/0 to ever be created.
Here is some useful output I am seeing:
http://pastebin.ca/98043
I have no clue what that error means in my dmesg output, and google hasnt come up with any answers either.
Is the guide working for anyone else?
Posted: Wed Jul 26, 2006 1:38 pm
by ShALLaX
For all those wondering... ALSA has been fixed - you need to first run magic, then run "emerge alsa-driver-xbox" (this was posted as front-page news... but you may have missed it).
lirc
Posted: Fri Jul 28, 2006 5:30 am
by b8zs
Anyone get LIRC working with the microsoft dvd remote? I cant get the device created no matter what I do
Re: lirc
Posted: Fri Jul 28, 2006 7:56 am
by Nicklas
b8zs wrote:Anyone get LIRC working with the microsoft dvd remote? I cant get the device created no matter what I do
That's exactly what I did when I followed the guide's instructions with the changes I wrote about above...
- Then it all worked like a charm
Although, after getting it all working I realized that the XBox is too slow for linux environments (1.5min boot time is a little too much for me), plus the fact that the hardware is a little slow (menu items don't feel "snappy")...
- So, I decided to go for XBMC instead
Posted: Mon Jul 31, 2006 8:57 am
by b8zs
No matter what I do, I always get the "Inbound endpoint not found error" message showing up in dmesg, and no /dev/lirc/0 devices gets created.
The guide mentions this, but only as happening when you dont have XIR as a module, and I DO have XIR compiled as a module
Posted: Mon Jul 31, 2006 9:00 am
by Nicklas
Then perhaps you should try it without XIR compiled
- Simply reconfigure your kernel without it...
Posted: Tue Aug 01, 2006 12:01 am
by b8zs
Nicklas wrote:Then perhaps you should try it without XIR compiled
- Simply reconfigure your kernel without it...
YESSS!~!!~!!!
that did it
Thanks for all your help
Posted: Mon Nov 13, 2006 8:34 am
by MrGadget
Well, I 've spent the last 2 days fiddling with the LIRC modules to get rid of the "Inbound endpoint not found" but sofar no go.
* Followed the WIKI
* Changed atiusb to xboxusb
* removed xir as an option in my kernel compile.
recompiled everything and still get the error and no devices under /dev
So I've run out of ideas to try.