Re: [mythtv-users] XBox IR remote lirc?

2005-09-12 Thread Joshua King
Here's my suggestions (I'm running an Xbox remote on a PC with Gentoo, so
similar but not identical):

* Does the Xbox remote control appear at all if you run 'lsusb'?
If not it hasn't been detected on the USB port, maybe it's broken?
Is the USB module loaded (either usb-uhci/usb-ohci)?

* Is the DVD receiver the Microsoft brand or a generic clone model?
Mine's a clone from China so I had to edit the source of the driver
And add the product and vendor IDs (you get these from 'lsusb' above, mine
is :)

If you need to edit, you need to look for this part of lirc-0.7's
drivers/lirc_xboxusb/lirc_xboxusb.c:

static struct usb_device_id usb_remote_id_table [] = {
{ USB_DEVICE(0x040b, 0x6521) }, /* Gamester Xbox DVD Movie Playback Kit IR
*/
{ USB_DEVICE(0x045e, 0x0284) }, /* Microsoft Xbox DVD Movie Playback Kit IR
*/

{ }/* Terminating entry */
};

And add a line before Terminating entry, in my case:
 { USB_DEVICE(0x, 0x) }, /* My DVD receiver */

Then recompile the kernel module -- note that this file is generally
provided by Gentoo not LIRC so you either have to patch and recompile the
source manually or otherwise start the emerge command, hit Control-Z after
it says 'Source unpacked', edit the file (it will be under
/var/portage/lirc...), and type 'fg' and continue the emerge.

* What else does the driver say (have a look at the log files in /var/log/*)
My log (not my dmesg I don't think) has a line in it as such:
Sep 12 09:50:24 [lircd 0.7.0] lircd(xboxusb) ready
After which the remote works.

Note that I'm using 2.6.10 kernel, so it could be a .12 issue.

Hope this helps,

Joshua King


Send instant messages to your online friends http://au.messenger.yahoo.com 
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] XBox IR remote lirc?

2005-09-12 Thread Victor
I agree it does seem to be a generic issue, however I can't resolve it. 
I followed the steps that lirc gave to edit the rules on the devfs and
still no dice.  No there is no node only /dev/lircd which isn't it. 
Someone said they got it working on 2.6.10-xbox kernel so I might play
with that soon.  BTW, I'm netbooting, don't know if that complicates
anything.

Vic

Chris Bainbridge wrote:

Hi,

From what I remember the device node creation is done outside of the
xboxusb driver in the lirc_dev module, so this would seem to be a
generic problem rather than xbox driver related. Do you get any nodes?
How about /dev/lirc/0? Does an older kernel work?

On 12/09/05, Jonathan Oexner [EMAIL PROTECTED] wrote:
  

Hi Chris,
Sorry to bug you, but we didn't know where else to turn on this, and
it's your name that comes up in modinfo.  ;)  Any suggestions?
Thanks,
-Jon

On 9/11/05, Victor [EMAIL PROTECTED] wrote:


I've played with this EXACT issue for hours... to no avail. I've tried
making manually making a /dev/lirc0, compiling lirc from source, playing
with the devfs rules and nothing. I'm out of steam and frankly have just
about given up on it.

Vic

Jonathan Oexner wrote:

  

Hi, I'm attempting to set up my XBox as a Myth frontend.  The old
one's hard drive died after being on for just about 18 months
straight; go fig.

So I decided to go Gentoo, as per the instructions here:
http://gentoo-wiki.com/Gentoo_for_Xbox  All is going well, except the
lirc driver doesn't seem to be picking up the DVD remote dongle.  I'm
using app-misc/lirc-0.7.0-r1 with the XBox make.profile, and a
2.6.12.5-xbox kernel.  I get the module lirc_xboxusb, I can load and
unload it with no problems, but I never get the /dev/lirc0 device node
like /etc/conf.d/lircd seems to expect to find.  Any ideas, hints?

Thanks,
-Jon

The relevant portion of dmesg output:

lirc_dev: IR Remote Control driver registered, at major 61

lirc_xbox: XBOX USB remote driver for LIRC v0.3
usbcore: registered new driver lirc_xbox
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users






  

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] XBox IR remote lirc?

2005-09-12 Thread Joshua King
Vic if you're referring to me, it's 2.6.10 *pc* kernel so most of the Xbox
options you'd have are switched off -- might e-mail you the kernel config
(when I can get it) to see if it helps.

Have you tried lsusb?

Joshua


On 13/9/05 8:41 AM, Victor [EMAIL PROTECTED] wrote:

 I agree it does seem to be a generic issue, however I can't resolve it.
 I followed the steps that lirc gave to edit the rules on the devfs and
 still no dice.  No there is no node only /dev/lircd which isn't it.
 Someone said they got it working on 2.6.10-xbox kernel so I might play
 with that soon.  BTW, I'm netbooting, don't know if that complicates
 anything.
 
 Vic


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] XBox IR remote lirc?

2005-09-12 Thread Jonathan Oexner
Bingo!  The OHCI USB host driver wasn't loaded.  I usually compile it
into the kernel, so I didn't notice that it was a module, and that it
wasn't being pulled in lirc-dev.

Summary: modprobe ohci-hcd = goodness

On 9/12/05, Victor [EMAIL PROTECTED] wrote:
 I agree it does seem to be a generic issue, however I can't resolve it.
 I followed the steps that lirc gave to edit the rules on the devfs and
 still no dice.  No there is no node only /dev/lircd which isn't it.
 Someone said they got it working on 2.6.10-xbox kernel so I might play
 with that soon.  BTW, I'm netbooting, don't know if that complicates
 anything.
 
 Vic
 
 Chris Bainbridge wrote:
 
 Hi,
 
 From what I remember the device node creation is done outside of the
 xboxusb driver in the lirc_dev module, so this would seem to be a
 generic problem rather than xbox driver related. Do you get any nodes?
 How about /dev/lirc/0? Does an older kernel work?
 
 On 12/09/05, Jonathan Oexner [EMAIL PROTECTED] wrote:
 
 
 Hi Chris,
 Sorry to bug you, but we didn't know where else to turn on this, and
 it's your name that comes up in modinfo.  ;)  Any suggestions?
 Thanks,
 -Jon
 
 On 9/11/05, Victor [EMAIL PROTECTED] wrote:
 
 
 I've played with this EXACT issue for hours... to no avail. I've tried
 making manually making a /dev/lirc0, compiling lirc from source, playing
 with the devfs rules and nothing. I'm out of steam and frankly have just
 about given up on it.
 
 Vic
 
 Jonathan Oexner wrote:
 
 
 
 Hi, I'm attempting to set up my XBox as a Myth frontend.  The old
 one's hard drive died after being on for just about 18 months
 straight; go fig.
 
 So I decided to go Gentoo, as per the instructions here:
 http://gentoo-wiki.com/Gentoo_for_Xbox  All is going well, except the
 lirc driver doesn't seem to be picking up the DVD remote dongle.  I'm
 using app-misc/lirc-0.7.0-r1 with the XBox make.profile, and a
 2.6.12.5-xbox kernel.  I get the module lirc_xboxusb, I can load and
 unload it with no problems, but I never get the /dev/lirc0 device node
 like /etc/conf.d/lircd seems to expect to find.  Any ideas, hints?
 
 Thanks,
 -Jon
 
 The relevant portion of dmesg output:
 
 lirc_dev: IR Remote Control driver registered, at major 61
 
 lirc_xbox: XBOX USB remote driver for LIRC v0.3
 usbcore: registered new driver lirc_xbox
 ___
 mythtv-users mailing list
 mythtv-users@mythtv.org
 http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
 
 
 
 
 
 
 
 
 ___
 mythtv-users mailing list
 mythtv-users@mythtv.org
 http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] XBox IR remote lirc?

2005-09-12 Thread David Whyte
Just to go on a humongous tangent, are you guys talking about getting
IR working on the Xbox?

When I looked at it, I would need to make this receiver
(usb-ir-boy???), then recompile a kernel and do heaps of work which
seemed way to hard for someone of my noob-ness.

Is this some easier way using lirc?  Can you point me to some starter
reading somewhere?

Cheers,
Whytey


-- 
-- 

I have GMail invites, if you want one, email me direct.
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] XBox IR remote lirc?

2005-09-12 Thread Joshua King
On 13/9/05 10:59 AM, David Whyte [EMAIL PROTECTED] wrote:

 Just to go on a humongous tangent, are you guys talking about getting
 IR working on the Xbox?

Yes.
 
 Is this some easier way using lirc?  Can you point me to some starter
 reading somewhere?

This is using the IR remote and receiver that Microsoft sells for the Xbox
-- the DVD Movie Playback Kit (and its cheaper clones), ie,
http://www.gameswarehouse.com.au/longpage.asp?gameid=6895

Gentoo Linux provide the driver when you compile lirc-0.7.0 on an Xbox,
otherwise you can get the patch from Xbox-Linux' CVS.
http://cvs.xbox-linux.org/viewcvs.py/xbox-linux/lirc/lirc-0.7.0-xbox.patch?r
ev=1.1view=auto

The LIRC support requires a 2.6-series kernel (so using something
Xebian-based I think probably doesn't work), there are other drivers, look
around on http://www.xbox-linux.org, for kernel 2.4.

It's not fully supported by LIRC to my knowledge.

Joshua King

PS. You *can* use other remotes, as always programmed with the appropriates,
the receiver is the important bit. 


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] XBox IR remote lirc?

2005-09-12 Thread Greg Mitchell

The LIRC support requires a 2.6-series kernel (so using something
Xebian-based I think probably doesn't work), there are other drivers, look
around on http://www.xbox-linux.org, for kernel 2.4.


All I know is that the myth-xbox scripts at http://bit.blkbk.com/ which 
are based on Xebian fully supports the DVD remote dongle - even comes 
with the remote definition file and .lircrc.


It uses something called xir - don't know anything about it other than 
the fact that I have been controlling my xbox mythfrontend with a 
universal RCA remote since I got it set up.


Greg
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] XBox IR remote lirc?

2005-09-11 Thread Jonathan Oexner
Hi, I'm attempting to set up my XBox as a Myth frontend.  The old
one's hard drive died after being on for just about 18 months
straight; go fig.

So I decided to go Gentoo, as per the instructions here:
http://gentoo-wiki.com/Gentoo_for_Xbox  All is going well, except the
lirc driver doesn't seem to be picking up the DVD remote dongle.  I'm
using app-misc/lirc-0.7.0-r1 with the XBox make.profile, and a
2.6.12.5-xbox kernel.  I get the module lirc_xboxusb, I can load and
unload it with no problems, but I never get the /dev/lirc0 device node
like /etc/conf.d/lircd seems to expect to find.  Any ideas, hints?

Thanks,
-Jon

The relevant portion of dmesg output:

lirc_dev: IR Remote Control driver registered, at major 61

lirc_xbox: XBOX USB remote driver for LIRC v0.3
usbcore: registered new driver lirc_xbox
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] XBox IR remote lirc?

2005-09-11 Thread Victor
I've played with this EXACT issue for hours... to no avail. I've tried
making manually making a /dev/lirc0, compiling lirc from source, playing
with the devfs rules and nothing. I'm out of steam and frankly have just
about given up on it.

Vic

Jonathan Oexner wrote:

Hi, I'm attempting to set up my XBox as a Myth frontend.  The old
one's hard drive died after being on for just about 18 months
straight; go fig.

So I decided to go Gentoo, as per the instructions here:
http://gentoo-wiki.com/Gentoo_for_Xbox  All is going well, except the
lirc driver doesn't seem to be picking up the DVD remote dongle.  I'm
using app-misc/lirc-0.7.0-r1 with the XBox make.profile, and a
2.6.12.5-xbox kernel.  I get the module lirc_xboxusb, I can load and
unload it with no problems, but I never get the /dev/lirc0 device node
like /etc/conf.d/lircd seems to expect to find.  Any ideas, hints?

Thanks,
-Jon

The relevant portion of dmesg output:

lirc_dev: IR Remote Control driver registered, at major 61

lirc_xbox: XBOX USB remote driver for LIRC v0.3
usbcore: registered new driver lirc_xbox
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

  

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] XBox IR remote lirc?

2005-09-11 Thread Andrew Ziobro
I am running the exact setup you are taking about...
 I have a device /dev/lirc 
 You need to edit the config file so that it points to this device..
 It is in /etc/conf.d/lircd
 Be sure to copy the correct remote file to /etc/ 
 I think I had to do this by hand...


On 9/11/05, Victor [EMAIL PROTECTED] wrote:
 I've played with this EXACT issue for hours... to no avail. I've tried
 making manually making a /dev/lirc0, compiling lirc from source, playing
 with the devfs rules and nothing. I'm out of steam and frankly have just
 about given up on it.
 
 Vic
 
 Jonathan Oexner wrote:
 
 Hi, I'm attempting to set up my XBox as a Myth frontend.  The old
 one's hard drive died after being on for just about 18 months
 straight; go fig.
 
 So I decided to go Gentoo, as per the instructions here:
 http://gentoo-wiki.com/Gentoo_for_Xbox  All is going well, except the
 lirc driver doesn't seem to be picking up the DVD remote dongle.  I'm
 using app-misc/lirc-0.7.0-r1 with the XBox make.profile, and a
 2.6.12.5-xbox kernel.  I get the module lirc_xboxusb, I can load and
 unload it with no problems, but I never get the /dev/lirc0 device node
 like /etc/conf.d/lircd seems to expect to find.  Any ideas, hints?
 
 Thanks,
 -Jon
 
 The relevant portion of dmesg output:
 
 lirc_dev: IR Remote Control driver registered, at major 61
 
 lirc_xbox: XBOX USB remote driver for LIRC v0.3
 usbcore: registered new driver lirc_xbox
 ___
 mythtv-users mailing list
 mythtv-users@mythtv.org
 http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
 
 
 
 ___
 mythtv-users mailing list
 mythtv-users@mythtv.org
 http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] XBox IR remote lirc?

2005-09-11 Thread Victor
The device /dev/lirc doesn't exist.  Did you create it manually?

Vic

Andrew Ziobro wrote:

I am running the exact setup you are taking about...
 I have a device /dev/lirc 
 You need to edit the config file so that it points to this device..
 It is in /etc/conf.d/lircd
 Be sure to copy the correct remote file to /etc/ 
 I think I had to do this by hand...


On 9/11/05, Victor [EMAIL PROTECTED] wrote:
  

I've played with this EXACT issue for hours... to no avail. I've tried
making manually making a /dev/lirc0, compiling lirc from source, playing
with the devfs rules and nothing. I'm out of steam and frankly have just
about given up on it.

Vic

Jonathan Oexner wrote:



Hi, I'm attempting to set up my XBox as a Myth frontend.  The old
one's hard drive died after being on for just about 18 months
straight; go fig.

So I decided to go Gentoo, as per the instructions here:
http://gentoo-wiki.com/Gentoo_for_Xbox  All is going well, except the
lirc driver doesn't seem to be picking up the DVD remote dongle.  I'm
using app-misc/lirc-0.7.0-r1 with the XBox make.profile, and a
2.6.12.5-xbox kernel.  I get the module lirc_xboxusb, I can load and
unload it with no problems, but I never get the /dev/lirc0 device node
like /etc/conf.d/lircd seems to expect to find.  Any ideas, hints?

Thanks,
-Jon

The relevant portion of dmesg output:

lirc_dev: IR Remote Control driver registered, at major 61

lirc_xbox: XBOX USB remote driver for LIRC v0.3
usbcore: registered new driver lirc_xbox
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



  

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

  

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] XBox IR remote lirc?

2005-09-11 Thread Victor
yes i'm using 2.6.12.5-xbox... the exact version that Jonathan is using

Vic

Andrew Ziobro wrote:

No it gets created automaticly.
 By the way, you are running the 2.6 kernel correct?
 The usb driver in LIRC 0.7 only works on 2.6


On 9/11/05, Victor [EMAIL PROTECTED] wrote:
  

The device /dev/lirc doesn't exist.  Did you create it manually?

Vic

Andrew Ziobro wrote:



I am running the exact setup you are taking about...
I have a device /dev/lirc
You need to edit the config file so that it points to this device..
It is in /etc/conf.d/lircd
Be sure to copy the correct remote file to /etc/
I think I had to do this by hand...


On 9/11/05, Victor [EMAIL PROTECTED] wrote:


  

I've played with this EXACT issue for hours... to no avail. I've tried
making manually making a /dev/lirc0, compiling lirc from source, playing
with the devfs rules and nothing. I'm out of steam and frankly have just
about given up on it.

Vic

Jonathan Oexner wrote:





Hi, I'm attempting to set up my XBox as a Myth frontend.  The old
one's hard drive died after being on for just about 18 months
straight; go fig.

So I decided to go Gentoo, as per the instructions here:
http://gentoo-wiki.com/Gentoo_for_Xbox  All is going well, except the
lirc driver doesn't seem to be picking up the DVD remote dongle.  I'm
using app-misc/lirc-0.7.0-r1 with the XBox make.profile, and a
2.6.12.5-xbox kernel.  I get the module lirc_xboxusb, I can load and
unload it with no problems, but I never get the /dev/lirc0 device node
like /etc/conf.d/lircd seems to expect to find.  Any ideas, hints?

Thanks,
-Jon

The relevant portion of dmesg output:

lirc_dev: IR Remote Control driver registered, at major 61

lirc_xbox: XBOX USB remote driver for LIRC v0.3
usbcore: registered new driver lirc_xbox
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users





  

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users





___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



  


  

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users