[mythtv-users] Need help with mce usb remote control
Don Brett
dlbrett at zoominternet.net
Sat Jun 12 12:43:15 UTC 2010
Jarod Wilson wrote:
> On Fri, Jun 11, 2010 at 10:47 PM, Don Brett <dlbrett at zoominternet.net> wrote:
>
>> I have a new installation of Mythdora-12 and just bought a new mce remote
>> kit on ebay, but can't get it working on Mythtv. The receiver shows up on
>> the usb system (Philips eHome Infrared Receiver):
>>
>> [root at nick dev]# lsusb
>>
> ...
>
>> Bus 001 Device 005: ID 0471:0815 Philips eHome Infrared Receiver
>>
> ...
>
>> ....and irw doesn't show anything. In Mythdora I picked these setting and
>> power-cycled the box:
>>
>> Media Center Remote 2 (lirc_mceusb2)
>> lirc_mceusb2 (USB Media Center)
>>
>> ......It seems to have the driver loaded:
>> [root at nick dev]# lsmod | grep lirc
>> lirc_mceusb 16740 3
>> lirc_dev 12341 1 lirc_mceusb
>> [root at nick dev]#
>>
>> ....and lircd is running:
>> [root at nick dev]# ps -A | grep lirc
>> 1496 ? 00:00:00 lircd
>> [root at nick dev]#
>>
>>
>> This is the remote:
>>
>> http://cgi.ebay.com/Microsoft-MCE-Media-Center-Remote-Control-Complete-Kit-/360265186040?cmd=ViewItem&pt=LH_DefaultDomain_0&hash=item53e17a7af8
>> ---It's labeled RC6.
>>
>>
>> I tried it on a Win7 box and it worked fine. I don't know what to try next.
>> any suggestions?
>>
>
> Show your lircd.conf. And ls -l /dev/lirc* output.And dmesg output.
> And possibly output when running lirc_mceusb w/the debug option
> enabled. And possibly output from running lircd in the foreground
> w/verbose output. But over on the lirc list would be the more
> appropriate location for this.
>
> /me really should write a 'trouble-shooting lirc' guide or something...
>
>
....Here's /etc/lircd.conf
begin remote
name mceusb
bits 16
flags RC6|CONST_LENGTH
rc6_mask 0x100000000
eps 30
aeps 100
header 2667 889
one 444 444
zero 444 444
gap 105000
toggle_bit 22
pre_data_bits 21
pre_data 0x37FF0
begin codes
Blue 0x00007ba1
Yellow 0x00007ba2
Green 0x00007ba3
Red 0x00007ba4
Teletext 0x00007ba5
Radio 0x00007baf
Print 0x00007bb1
Videos 0x00007bb5
Pictures 0x00007bb6
RecTV 0x00007bb7
Music 0x00007bb8
TV 0x00007bb9
Aspect 0x00007bd8
Guide 0x00007bd9
LiveTV 0x00007bda
DVD 0x00007bdb
Back 0x00007bdc
OK 0x00007bdd
Right 0x00007bde
Left 0x00007bdf
Down 0x00007be0
Up 0x00007be1
Star 0x00007be2
Hash 0x00007be3
Replay 0x00007be4
Skip 0x00007be5
Stop 0x00007be6
Pause 0x00007be7
Record 0x00007be8
Play 0x00007be9
Rewind 0x00007bea
Forward 0x00007beb
ChanDown 0x00007bec
ChanUp 0x00007bed
VolDown 0x00007bee
VolUp 0x00007bef
More 0x00007bf0
Mute 0x00007bf1
Home 0x00007bf2
Power 0x00007bf3
Enter 0x00007bf4
Clear 0x00007bf5
Nine 0x00007bf6
Eight 0x00007bf7
Seven 0x00007bf8
Six 0x00007bf9
Five 0x00007bfa
Four 0x00007bfb
Three 0x00007bfc
Two 0x00007bfd
One 0x00007bfe
Zero 0x00007bff
end codes
end remote
....Here's the devices
[mythtv at nick ~]$ ls -l /dev/lirc*
crw-rw---- 1 root root 249, 0 2010-06-12 07:49 /dev/lirc0
[mythtv at nick ~]$
....and dmesg (I assumed you just wanted the lirc parts)
(here's a link to the entire dmesg output if you need to see it.)
http://users.zoominternet.net/~dlbrett/dmesg-01.txt
[mythtv at nick ~]$ dmesg | grep lirc
lirc_dev: IR Remote Control driver registered, major 249
lirc_mceusb: Windows Media Center Edition USB IR Transceiver driver for
LIRC 1.90
lirc_mceusb: Daniel Melander <lirc at rajidae.se>, Martin Blatter
<martin_a_blatter at yahoo.com>, Dan Conti <dconti at acm.wwu.edu>
lirc_mceusb 1-6.4.3:1.0: lirc_dev: driver lirc_mceusb registered at
minor = 0
lirc_mceusb 1-6.4.3:1.0: Registered Philips eHome Infrared Transceiver
on usb1:5
usbcore: registered new interface driver lirc_mceusb
[mythtv at nick ~]$
...I tried this, but I didn't get anything different. Do I have to
unload lirc_mceusb2 first (if so, how?)
modprobe lirc_mceusb2 debug=1
...I looked at the /etc/rc.d/init.d/lirc script, but could figure out
how to add -vv to it. I'll be happy to run it if you can give me a command.
...and thanks for the help Jarod, I appreciate it.
More information about the mythtv-users
mailing list