* [linux-dvb] FusionHDTV5 IR not working.
@ 2008-08-12 7:58 Paul Marks
[not found] ` <21aab41d0808121711i3b59de00hfb914f7987a930f0@mail.gmail.com>
2008-08-13 5:33 ` Paul Marks
0 siblings, 2 replies; 8+ messages in thread
From: Paul Marks @ 2008-08-12 7:58 UTC (permalink / raw)
To: linux-dvb
I have a DViCO FusionHDTV5 RT Gold, with an IR sensor that connects to
the back of the card. The remote is a "Fusion Remote MCE". The video
capture stuff works just fine, but I've had no such luck with the
remote.
According to this commit, it looks like my setup is supposed to work:
http://linuxtv.org/hg/v4l-dvb/rev/d16b5cd5a283
When I enabled debug output for ir_kb2_i2c, this line caught my eye:
ir-kbd-i2c: probe 0x6b @ cx88[0]: no
I also enabled i2c_scan in the cx88xx module, and saw this:
cx88[0]: i2c register ok
cx88[0]: i2c scan: found device @ 0x1c [lgdt330x]
cx88[0]: i2c scan: found device @ 0x86 [tda9887/cx22702]
cx88[0]: i2c scan: found device @ 0xa0 [eeprom]
cx88[0]: i2c scan: found device @ 0xa2 [???]
cx88[0]: i2c scan: found device @ 0xa4 [???]
cx88[0]: i2c scan: found device @ 0xa6 [???]
cx88[0]: i2c scan: found device @ 0xa8 [???]
cx88[0]: i2c scan: found device @ 0xaa [???]
cx88[0]: i2c scan: found device @ 0xac [???]
cx88[0]: i2c scan: found device @ 0xae [???]
cx88[0]: i2c scan: found device @ 0xc2 [tuner (analog/dvb)]
cx88[0]: i2c scan: found device @ 0xde [???]
lspci -v says:
01:06.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video
and Audio Decoder (rev 05)
Subsystem: DViCO Corporation FusionHDTV 5 Gold
Flags: medium devsel, IRQ 18
Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Kernel modules: cx8800
01:06.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and
Audio Decoder [Audio Port] (rev 05)
Subsystem: DViCO Corporation Device d500
Flags: bus master, medium devsel, latency 4, IRQ 7
Memory at f9000000 (32-bit, non-prefetchable) [size=16M]
Capabilities: [4c] Power Management version 2
01:06.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and
Audio Decoder [MPEG Port] (rev 05)
Subsystem: DViCO Corporation DViCO FusionHDTV5 Gold
Flags: bus master, medium devsel, latency 64, IRQ 18
Memory at f8000000 (32-bit, non-prefetchable) [size=16M]
Capabilities: [4c] Power Management version 2
Kernel driver in use: cx88-mpeg driver manager
Kernel modules: cx8802
Does anyone know how to hack up this driver to determine where the
remote is hiding? Let me know if any further info is needed.
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-dvb] FusionHDTV5 IR not working.
[not found] ` <21aab41d0808121711i3b59de00hfb914f7987a930f0@mail.gmail.com>
@ 2008-08-13 2:46 ` Paul Marks
0 siblings, 0 replies; 8+ messages in thread
From: Paul Marks @ 2008-08-13 2:46 UTC (permalink / raw)
To: oobe trouble, linux-dvb
On Tue, Aug 12, 2008 at 5:11 PM, oobe trouble <oobe.trouble@gmail.com> wrote:
> you can try
>
> dmesg | grep IR
>
> you should see and out put like this " input: IR-receiver inside an USB DVB
> receiver as /class/input/input5"
> the remote should appear somewhere in /dev/input if it is working
Nope. The only "IR"s in my dmesg are about IRQs. Plus, my card is
PCI, not USB.
Does anyone know the difference between
drivers/media/video/cx88/cx88-input.c and
drivers/media/video/ir-kbd-i2c.c ?
cx88-input.c has a cx88_ir_init function, which contains a switch
statement that does not include my board. I could add
CX88_BOARD_DVICO_FUSIONHDTV_5_GOLD to it, but I've got no clue which
parameters to configure the IR port with, if it's even available
through GPIO at all.
As for ir-kbd-i2c.c, the changelist which appeared to be for my card
claims that there should be an IR port on i2c at address 0x6b.
Nothing's detected for me though. Is it possible that my IR port
could be at another i2c address? How could I ever know which one it
is?
Does documentation exist for this card, or are you guys just good at
reverse engineering?
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-dvb] FusionHDTV5 IR not working.
2008-08-12 7:58 [linux-dvb] FusionHDTV5 IR not working Paul Marks
[not found] ` <21aab41d0808121711i3b59de00hfb914f7987a930f0@mail.gmail.com>
@ 2008-08-13 5:33 ` Paul Marks
2008-08-13 16:05 ` Chaogui Zhang
1 sibling, 1 reply; 8+ messages in thread
From: Paul Marks @ 2008-08-13 5:33 UTC (permalink / raw)
To: linux-dvb
On Tue, Aug 12, 2008 at 12:58 AM, Paul Marks <paul@pmarks.net> wrote:
> I have a DViCO FusionHDTV5 RT Gold, with an IR sensor that connects to
> the back of the card. The remote is a "Fusion Remote MCE". The video
> capture stuff works just fine, but I've had no such luck with the
> remote.
Just to confirm some things:
- The remote control works using DViCO's software on Windows Vista x64.
- The remote is not detected in Ubuntu 8.04.1
I normally run Gentoo with kernel 2.6.26, but I tested with an Ubuntu
Live CD, to be sure I wasn't forgetting some trivial kernel module.
Is there anything I can run in Windows to determine how the driver is
communicating with the IR sensor? I managed to get Dscaler's
RegSpy.exe running, and it did show a bit of activity, but nothing
that correlated with my remote button presses.
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-dvb] FusionHDTV5 IR not working.
2008-08-13 5:33 ` Paul Marks
@ 2008-08-13 16:05 ` Chaogui Zhang
2008-08-13 16:11 ` Steven Toth
2008-08-13 16:39 ` Paul Marks
0 siblings, 2 replies; 8+ messages in thread
From: Chaogui Zhang @ 2008-08-13 16:05 UTC (permalink / raw)
To: Paul Marks; +Cc: linux-dvb
On Wed, Aug 13, 2008 at 5:33 AM, Paul Marks <paul@pmarks.net> wrote:
> On Tue, Aug 12, 2008 at 12:58 AM, Paul Marks <paul@pmarks.net> wrote:
>> I have a DViCO FusionHDTV5 RT Gold, with an IR sensor that connects to
>> the back of the card. The remote is a "Fusion Remote MCE". The video
>> capture stuff works just fine, but I've had no such luck with the
>> remote.
>
> Just to confirm some things:
> - The remote control works using DViCO's software on Windows Vista x64.
> - The remote is not detected in Ubuntu 8.04.1
>
> I normally run Gentoo with kernel 2.6.26, but I tested with an Ubuntu
> Live CD, to be sure I wasn't forgetting some trivial kernel module.
>
Do the following and see if it works:
Power off your system (don't just reboot), then unplug power, wait for
20 seconds and plug it back in then start your Ubuntu.
If this works, that means the IR receiver got messed up somehow and
only a complete power cut can reset it. I have seen this happening
tons of times when I tried to get the IR on my HDTV5 RT Gold to work
last summer.
--
Chaogui Zhang
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-dvb] FusionHDTV5 IR not working.
2008-08-13 16:05 ` Chaogui Zhang
@ 2008-08-13 16:11 ` Steven Toth
2008-08-13 16:39 ` Paul Marks
1 sibling, 0 replies; 8+ messages in thread
From: Steven Toth @ 2008-08-13 16:11 UTC (permalink / raw)
To: Chaogui Zhang; +Cc: linux-dvb
Chaogui Zhang wrote:
> On Wed, Aug 13, 2008 at 5:33 AM, Paul Marks <paul@pmarks.net> wrote:
>> On Tue, Aug 12, 2008 at 12:58 AM, Paul Marks <paul@pmarks.net> wrote:
>>> I have a DViCO FusionHDTV5 RT Gold, with an IR sensor that connects to
>>> the back of the card. The remote is a "Fusion Remote MCE". The video
>>> capture stuff works just fine, but I've had no such luck with the
>>> remote.
>> Just to confirm some things:
>> - The remote control works using DViCO's software on Windows Vista x64.
>> - The remote is not detected in Ubuntu 8.04.1
>>
>> I normally run Gentoo with kernel 2.6.26, but I tested with an Ubuntu
>> Live CD, to be sure I wasn't forgetting some trivial kernel module.
>>
>
> Do the following and see if it works:
>
> Power off your system (don't just reboot), then unplug power, wait for
> 20 seconds and plug it back in then start your Ubuntu.
>
> If this works, that means the IR receiver got messed up somehow and
> only a complete power cut can reset it. I have seen this happening
> tons of times when I tried to get the IR on my HDTV5 RT Gold to work
> last summer.
>
If this is true, and the IR device reset line is wired to the bridge, we
should try to identify the GPIO and force a device reset on driver load.
... assuming it's actually wired and reset capable.
- Steve
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-dvb] FusionHDTV5 IR not working.
2008-08-13 16:05 ` Chaogui Zhang
2008-08-13 16:11 ` Steven Toth
@ 2008-08-13 16:39 ` Paul Marks
2008-08-14 0:59 ` Chaogui Zhang
2008-08-14 15:14 ` Chaogui Zhang
1 sibling, 2 replies; 8+ messages in thread
From: Paul Marks @ 2008-08-13 16:39 UTC (permalink / raw)
To: Chaogui Zhang; +Cc: linux-dvb
On Wed, Aug 13, 2008 at 9:05 AM, Chaogui Zhang <czhang1974@gmail.com> wrote:
>
> Do the following and see if it works:
>
> Power off your system (don't just reboot), then unplug power, wait for
> 20 seconds and plug it back in then start your Ubuntu.
Hey, you're right! Thanks. The remote is working perfectly on Gentoo
now. 0x6b is also visible in i2cdetect.
On Wed, Aug 13, 2008 at 9:11 AM, Steven Toth <stoth@linuxtv.org> wrote:
>
> If this is true, and the IR device reset line is wired to the bridge, we
> should try to identify the GPIO and force a device reset on driver load.
If you can't figure out how to reset it, then at least put a comment
in the kernel code mentioning the need to power off. It might save
someone a lot of effort in the future.
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-dvb] FusionHDTV5 IR not working.
2008-08-13 16:39 ` Paul Marks
@ 2008-08-14 0:59 ` Chaogui Zhang
2008-08-14 15:14 ` Chaogui Zhang
1 sibling, 0 replies; 8+ messages in thread
From: Chaogui Zhang @ 2008-08-14 0:59 UTC (permalink / raw)
To: Paul Marks; +Cc: linux-dvb
On Wed, Aug 13, 2008 at 12:39 PM, Paul Marks <paul@pmarks.net> wrote:
> On Wed, Aug 13, 2008 at 9:05 AM, Chaogui Zhang <czhang1974@gmail.com> wrote:
>>
>> Do the following and see if it works:
>>
>> Power off your system (don't just reboot), then unplug power, wait for
>> 20 seconds and plug it back in then start your Ubuntu.
>
> Hey, you're right! Thanks. The remote is working perfectly on Gentoo
> now. 0x6b is also visible in i2cdetect.
Good to hear that it works now. You probably want to avoid running
i2cdetect or any other tools that touch the i2c bus. We discovered
that the IR receiver is very "intolerant". It disappears if you try to
probe it in any way. See the following discussing for more details:
http://lists-archives.org/video4linux/19405-ir-remote-support-for-fusion-rt-gold.html
>
> On Wed, Aug 13, 2008 at 9:11 AM, Steven Toth <stoth@linuxtv.org> wrote:
>>
>> If this is true, and the IR device reset line is wired to the bridge, we
>> should try to identify the GPIO and force a device reset on driver load.
>
That would be the ideal solution, although I don't know how to reset
the IR chip via GPIO and I don't know if that is even possible. DViCO
advises their windows user to unplug the power if the remote stops
working suddenly :). It seems likely that a software reset may not be
doable, otherwise I assume the DViCO software would have done that,
but you never know.
Note that you do not need to do the unplug power trick every time you
power up the machine. The code is now safe enough that as long as no
intentional i2c bus probing is done by the user, the ir receiver
should work. The only time I had an issue was when I accidentally
unplugged the ir receiver, then when I plugged it back in, the remote
stopped working, so I had to do the power off trick. I have been using
the remote since I submitted my patch about a year ago and that was
the only time I had to cut power to my system to reset the IR.
PS: See http://www.fusionhdtv.co.kr/ENG/Support/FAQRemote.aspx?act=RD&id=316&pg=0&CATID=13
for DViCO's support page which mentions the trick.
--
Chaogui Zhang
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-dvb] FusionHDTV5 IR not working.
2008-08-13 16:39 ` Paul Marks
2008-08-14 0:59 ` Chaogui Zhang
@ 2008-08-14 15:14 ` Chaogui Zhang
1 sibling, 0 replies; 8+ messages in thread
From: Chaogui Zhang @ 2008-08-14 15:14 UTC (permalink / raw)
To: Paul Marks; +Cc: linux-dvb
On Wed, Aug 13, 2008 at 4:39 PM, Paul Marks <paul@pmarks.net> wrote:
> On Wed, Aug 13, 2008 at 9:05 AM, Chaogui Zhang <czhang1974@gmail.com> wrote:
>>
>> Do the following and see if it works:
>>
>> Power off your system (don't just reboot), then unplug power, wait for
>> 20 seconds and plug it back in then start your Ubuntu.
>
> Hey, you're right! Thanks. The remote is working perfectly on Gentoo
> now. 0x6b is also visible in i2cdetect.
>
> On Wed, Aug 13, 2008 at 9:11 AM, Steven Toth <stoth@linuxtv.org> wrote:
>>
>> If this is true, and the IR device reset line is wired to the bridge, we
>> should try to identify the GPIO and force a device reset on driver load.
>
> If you can't figure out how to reset it, then at least put a comment
> in the kernel code mentioning the need to power off. It might save
> someone a lot of effort in the future.
I don't think users look at the driver code that often when running
into a problem like that. Instead, I added a note on the wiki page
http://www.linuxtv.org/wiki/index.php/DViCO_FusionHDTV5_RT_Gold for
this card so others can find it easily if they google.
--
Chaogui Zhang
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-08-14 15:14 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-12 7:58 [linux-dvb] FusionHDTV5 IR not working Paul Marks
[not found] ` <21aab41d0808121711i3b59de00hfb914f7987a930f0@mail.gmail.com>
2008-08-13 2:46 ` Paul Marks
2008-08-13 5:33 ` Paul Marks
2008-08-13 16:05 ` Chaogui Zhang
2008-08-13 16:11 ` Steven Toth
2008-08-13 16:39 ` Paul Marks
2008-08-14 0:59 ` Chaogui Zhang
2008-08-14 15:14 ` Chaogui Zhang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.