IR for remote control not working for Hauppauge WinTV-HVR-1150 (SAA7134)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

IR for remote control not working for Hauppauge WinTV-HVR-1150 (SAA7134)

Fernando Laudares Camargos
Hello,

I have a Hauppauge WinTV-HVR-1150 (model 67201) pci tv tuner working
(video and audio) under Ubuntu 10.10 and kernel 2.6.35-25. But the IR
sensor is not being detected and no input device is being created at
/proc/bus/input.

I have tried to follow the information from Jarod Wilson and Mauro
Carvalho Chehab in https://bugzilla.redhat.com/show_bug.cgi?id=665870
(regarding Fedora 14) but couldn't resolve it myself.

I'm not a kernel/driver specialist but from looking at the code I've
noticed that *perphaps* the support for the HVR-1150 has not been
finished yet. Here are two examples that leaded to this observation
(IMHO):

drivers/media/video/saa7134/saa7134-cards.c
-------------------------------------------------------------------------------
(...)
int saa7134_board_init1(struct saa7134_dev *dev)
{
(...)
       case SAA7134_BOARD_HAUPPAUGE_HVR1150:           *NO
INSTRUCTIONS FOR THIS CASE*
        case SAA7134_BOARD_HAUPPAUGE_HVR1120:
                /* GPIO 26 high for digital, low for analog */
                saa7134_set_gpio(dev, 26, 0);
                msleep(1);

                saa7134_set_gpio(dev, 22, 0);
                msleep(10);
                saa7134_set_gpio(dev, 22, 1);
                break;
        /* i2c remotes */
        case SAA7134_BOARD_PINNACLE_PCTV_110i:
        case SAA7134_BOARD_PINNACLE_PCTV_310i:
        case SAA7134_BOARD_UPMOST_PURPLE_TV:
        case SAA7134_BOARD_MSI_TVATANYWHERE_PLUS:
        case SAA7134_BOARD_HAUPPAUGE_HVR1110:        *NO INSTRUCTIONS
FOR THIS CASE*
(...)
/* stuff which needs working i2c */
int saa7134_board_init2(struct saa7134_dev *dev)
{
(...)
        case SAA7134_BOARD_HAUPPAUGE_HVR1150:        *NO INSTRUCTIONS
FOR THIS CASE*
        case SAA7134_BOARD_HAUPPAUGE_HVR1120:
                hauppauge_eeprom(dev, dev->eedata+0x80);
                break;
        case SAA7134_BOARD_HAUPPAUGE_HVR1110:
                hauppauge_eeprom(dev, dev->eedata+0x80);
(...)


I'm wondering if someone has the IR part of the HVR-1150 working under
F14 or other or could give me a hand on trying to make it work (I have
attached output from dmesg with the following saa7134 options set:
disable_ir=0 i2c_debug=1 i2c_scan=1 ir_debug=1

Regards,

Fernando

--
video4linux-list mailing list
Unsubscribe mailto:[hidden email]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

dmesg_saa7134.out (166K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: IR for remote control not working for Hauppauge WinTV-HVR-1150 (SAA7134)

Devin Heitmueller-2
On Tue, Feb 15, 2011 at 5:18 PM, Jarod Wilson <[hidden email]> wrote:

> On Tue, Feb 15, 2011 at 05:04:33PM -0500, Jarod Wilson wrote:
>> First off, video4linux-list is dead, you want linux-media (added to cc).
>>
>> On Tue, Feb 15, 2011 at 06:27:29PM -0200, Fernando Laudares Camargos wrote:
>> > Hello,
>> >
>> > I have a Hauppauge WinTV-HVR-1150 (model 67201) pci tv tuner working
>> > (video and audio) under Ubuntu 10.10 and kernel 2.6.35-25. But the IR
>> > sensor is not being detected and no input device is being created at
>> > /proc/bus/input.
>
> Reading over the code some more, I don't see dev->has_remote set for the
> HVR1150, so it appears the IR receiver on that hardware isn't actually yet
> supported, so the patch I was thinking of may not help here. I failed to
> notice the part where you said no input device was being created, that
> patch only mattered if you were getting an rc input device created.

I looked at this a few months ago.  The IR isn't supported at all on
that board.  It's basically an IR receiver diode tied directly
directly to a GPIO, and it relies on interrupt edge timing to compute
the codes.

I played with it for a couple of hours and couldn't get it working.
It needs some TLC from somebody who actually has the board.

Devin

--
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

--
video4linux-list mailing list
Unsubscribe mailto:[hidden email]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
Loading...