Skip to contentSkip to conversation

saa7134 - ir remote for sinovideo 1300

PATCH James Guo 1 participant 1 message Jul 21, 2009 Media (V4L/DVB)

lore
Share & tools
lore

James Guo

author
#0 lore raw

Attached is the dmesg output of the patch.

Quoted 40 lines · Krzysztof Halasa
Quoted 1 line

Have a tv tuner believe to be sinovideo 1300, and the

remote has h-338 in the

Quoted 1 line

back, the tuner is detected as saa7134 proteus 2309,

and working fine, the

Quoted 1 line

patch is for the remote.

Since we don't know what exact encoding does it use... Can you test with
the attached patch? You have to add/substitute your card ID in place of
AVERMEDIA_SUPER_007 and "modprobe saa7134 gpio_tracking=1".

Press a single RC button.

It should produce a lot of messages like:

$ dmesg | grep GPIO:
saa7133[0] GPIO: time=1248041038.165525 mode=0x0000000
in=0x0040000 out=0x0000000 [pre-init]
saa7133[0] GPIO: time=1248041061.000769 mode=0x0200000
in=0x0000000 out=0x0200000 [GPIO18 IRQ]
saa7133[0] GPIO: time=1248041061.001691 mode=0x0200000
in=0x0040000 out=0x0200000 [GPIO18 IRQ]
saa7133[0] GPIO: time=1248041061.002539 mode=0x0200000
in=0x0000000 out=0x0200000 [GPIO18 IRQ]
saa7133[0] GPIO: time=1248041061.004376 mode=0x0200000
in=0x0040000 out=0x0200000 [GPIO18 IRQ]
saa7133[0] GPIO: time=1248041061.005198 mode=0x0200000
in=0x0000000 out=0x0200000 [GPIO18 IRQ]
saa7133[0] GPIO: time=1248041061.006124 mode=0x0200000
in=0x0040000 out=0x0200000 [GPIO18 IRQ]
saa7133[0] GPIO: time=1248041061.007858 mode=0x0200000
in=0x0000000 out=0x0200000 [GPIO18 IRQ]
saa7133[0] GPIO: time=1248041061.009672 mode=0x0200000
in=0x0040000 out=0x0200000 [GPIO18 IRQ]

If you send all of that to me I should be able to figure out the code used.

Signature · 1 line
Krzysztof Halasa