|
From: Duncan W. <dun...@li...> - 2007-06-11 17:45:45
|
Raffaele BELARDI wrote:
> Chris,
>
> I wrote to the v4l mailing list for suggestions but haven't got any yet.
> Rest assured that I will update you and this list if I have any success.
>
> raf
>
> Chris Fanning wrote:
>> Hi Raffaele,
>>
>> I haven't been able to get any further with this.
>> How have you got on?
>>
>> Thanks.
>> Chris.
>>
>> On 6/5/07, Raffaele BELARDI <raf...@st...> wrote:
>>> Christoph Bartelmus wrote:
>>>> Hi!
>>>>
>>>> Raffaele BELARDI "raf...@st..." wrote:
>>>> [...]
>>>>> The remote is recognized by the kernel, from syslog:
>>>>> input: cx88 IR (Hauppauge WinTV-HVR130 as /class/input/input3
>>>>>
>>>>> Could anybody tell me which is the correct interface for this
>>> remote and
>>>>> point me to some way to debug the problem? Any hints are greatly
>>>>> appreciated, I'm running out of ideas.
>>>> You should use the /dev/input interface.
>>>> If you cannot get any output from it, then you should contact the
>>>> developers of the according driver who unfortunately are not reading
>>>> this list AFAIK.
>>>>
>>> Christoph,
>>>
>>> thanks! According to the header of ir_keymaps.c /dev/input interface for
>>> remote was developed inside the video4linux project, right? I'll start
>>> searching from there.
>>>
>>> Just for my understanding, the hauppauge_dvb lirc driver is obsoleted by
>>> the kernel input interface?
If you are using the dev/input then the attached message may help as I
was getting very poor response from my PVR-350 remote until I switched
to the dev/input driver.
Since then I updated the lirc.conf and ir_kbd_i2c files and have
attached there too.
These are the setting for by boot script
#! /bin/bash
# Begin /etc/sysconfig/lircd
export LIRC_EVENT=4
export LIRC_DEVICE=/dev/input/event${LIRC_EVENT}
export LIRC_DRIVER=dev/input
LIRCD_OPTS="-H devinput -d /dev/input/event2"
# End /etc/sysconfig/lircd
The is the LinuxFromScratch boot script that I use.
#!/bin/sh
########################################################################
# Begin $rc_base/init.d/lircd
#
# Description :
#
# Authors :
#
# Version : 00.00
#
# Notes :
#
########################################################################
. /etc/sysconfig/rc
. ${rc_functions}
. /etc/sysconfig/lircd
case "${1}" in
start)
boot_mesg "IVTV: Mapping Hauppauge Remote"
/etc/ivtv/applykeymap /etc/ivtv/ir_kbd_i2c.pvr350.conf \
${LIRC_EVENT} 2> /dev/null
evaluate_retval
boot_mesg "Starting Lirc daemon..."
if [ -c ${LIRC_DEVICE} ]; then
loadproc /usr/sbin/lircd --driver=${LIRC_DRIVER} \
--device=${LIRC_DEVICE}
else
echo_failure
fi
;;
stop)
boot_mesg "Stopping Lirc daemon..."
killproc /usr/sbin/lircd
;;
reload)
boot_mesg "Reloading Lirc daemon..."
reloadproc /usr/sbin/lircd
;;
restart)
${0} stop
sleep 1
${0} start
;;
status)
statusproc /usr/sbin/lircd
;;
*)
echo "Usage: ${0} {start|stop|reload|restart|status}"
exit 1
;;
esac
# End $rc_base/init.d/lircd
I wouldn't expect it to work "out of the box" for your set-up but it may
help.
Duncan
|