[mythtv-users] Please help me to get my remote conrol working

Phill Edwards phill_edwards at hotmail.com
Tue Oct 26 11:50:10 UTC 2004


It's official - lirc has now driven me insane and the only way I can return 
to a normal life is to get this working. I know this isn't strictly the 
right group for this question but I'm havcing so much trouble resolving this 
that I need all the help I can get.

I have a TV Excel TV capture card and picture and sound are working on it. I 
am now trying to get the remote control working. The TV Excel is apparently 
the same as a Prolink PixelView PlayTV card.

I can get as far as the driver loading according to /var/log/messages and 
irrecord waiting for some remote input (it says "Hold down an arbitrary 
button"), but irrecord never seems to detect the input and it drops out 
saying "irrecord: no data for 10 secs, aborting
irrecord: gap not found, can't continue".

I've been trying to get this working for over 3 days and I just can't make 
get irrecord (or irw for that matter) to respons to the remote. I've googled 
so much and tried so many different variations my eyes are popping out so if 
anyone could let me know how to get this working I would really apreciate 
it.

Here's my modprobe.conf (FC2 box):
alias eth0 e100
alias snd-card-0 snd-intel8x0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && 
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; 
/sbin/modprobe -r --ignore-remove snd-intel8x0
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
# nvidia kernel module
alias char-major-195 nvidia-1_0-6111
# i2c
alias char-major-89 i2c-dev
options i2c-core i2c_debug=1
options i2c-algo-bit bit_test=1
#remote control
alias char-major-61 lirc_dev
alias char-major-61 lirc_gpio
options lirc_gpio card=37 gpio_mask=0x1f00 gpio_lock_mask=0x8000 
gpio_xor_mask=0 soft_gap=400 sample_rate=12
# TV Card
alias char-major-81 videodev
alias char-major-81-0 bttv
options bttv card=37 radio=0 bttv_verbose=2 bttv_debug=1 tuner=2

Here's what's in /var/log/messages after I run "modprobe lirc_gpio":
Oct 26 21:31:46 elm lircd 0.7.0pre8[4077]: lircd(any) ready
Oct 26 21:31:46 elm lircd: lircd startup succeeded
Oct 26 21:31:59 elm kernel: lirc_dev: IR Remote Control driver registered, 
at major 61
Oct 26 21:31:59 elm kernel: bttv: driver version 0.9.15 loaded
Oct 26 21:31:59 elm kernel: bttv: using 8 buffers with 2080k (520 pages) 
each for capture
Oct 26 21:31:59 elm kernel: bttv: Bt8xx card found (0).
Oct 26 21:31:59 elm kernel: ACPI: PCI interrupt 0000:02:03.0[A] -> GSI 10 
(level, low) -> IRQ 10
Oct 26 21:31:59 elm kernel: bttv0: Bt878 (rev 17) at 0000:02:03.0, irq: 10, 
latency: 32, mmio: 0xf2100000
Oct 26 21:31:59 elm kernel: bttv0: using: Prolink PixelView PlayTV pro 
[card=37,insmod option]
Oct 26 21:31:59 elm kernel: i2c-algo-bit.o: bt878 #0 [sw] passed test.
Oct 26 21:31:59 elm kernel: bttv0: using tuner=28
Oct 26 21:31:59 elm kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not 
found
Oct 26 21:31:59 elm kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not 
found
Oct 26 21:31:59 elm kernel: tuner: chip found at addr 0xc2 i2c-bus bt878 #0 
[sw]
Oct 26 21:31:59 elm kernel: tuner: type set to 28 (LG PAL_BG+FM 
(TPI8PSB01D)) by bt878 #0 [sw]
Oct 26 21:31:59 elm kernel: bttv0: i2c attach [client=LG PAL_BG+FM 
(TPI8PSB01D)]
Oct 26 21:31:59 elm kernel: bttv0: registered device video0
Oct 26 21:31:59 elm kernel: bttv0: registered device vbi0
Oct 26 21:31:59 elm kernel: bttv0: PLL: 28636363 => 35468950 . ok
Oct 26 21:31:59 elm kernel: lirc_dev: lirc_register_plugin:sample_rate: 12
Oct 26 21:31:59 elm kernel: lirc_gpio (0): driver registered

Here's the output of lsmod:
Module                  Size  Used by
lirc_gpio               8368  0
tuner                  17944  0
bttv                  141837  1 lirc_gpio
lirc_dev               10636  1 lirc_gpio
video_buf              17540  1 bttv
i2c_algo_bit            7497  1 bttv
v4l2_common             5376  1 bttv
btcx_risc               3785  1 bttv
i2c_core               17345  3 tuner,bttv,i2c_algo_bit
videodev                7105  1 bttv
snd_intel8x0           30829  1
snd_ac97_codec         58821  1 snd_intel8x0
snd_pcm                83529  2 snd_intel8x0
snd_timer              25413  1 snd_pcm
snd_page_alloc          8393  2 snd_intel8x0,snd_pcm
gameport                4033  1 snd_intel8x0
snd_mpu401_uart         7361  1 snd_intel8x0
snd_rawmidi            21733  1 snd_mpu401_uart
snd_seq_device          6473  1 snd_rawmidi
snd                    45477  8 
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_
device
soundcore               7713  1 snd
parport_pc             21249  1
lp                      9133  0
parport                35977  2 parport_pc,lp
autofs4                20677  0
sunrpc                141861  1
e100                   34373  0
mii                     3777  1 e100
floppy                 54001  0
sg                     28513  0
scsi_mod              105360  1 sg
microcode               5601  0
xfs                   505777  1
dm_mod                 47317  0
uhci_hcd               28505  0
ehci_hcd               27973  0
button                  4825  0
battery                 7117  0
asus_acpi               9177  0
ac                      3533  0
nvidia               4808532  12
md5                     3905  1
ipv6                  217349  12
ext3                   96937  2
jbd                    66521  1 ext3

PS - I know the hardware is OK as the remote works fine with this card in 
Windows.

Thanks in advance,
Phill




More information about the mythtv-users mailing list