osdir.com
mailing list archive

Subject: Re: mode2 output from RC5 (hauppauge) remote - msg#00061

List: hardware.lirc

Date: Prev Next Index Thread: Prev Next Index
> >>> I'm just trying to create a lirc kernel module for Hauppauge
MediaMVP. I
> >>> think I'm quite close to success, because irrecord already detects
an RC5
> >>> remote and the values for gap, zero and one are very close to that
what I've
> >>> found in other config files. But irrecord failes to learn the
buttons
> >>> pressed.
> [...]
> > I get an IRQ on the (rising?) edeg off every IR pulse and can query
a
> > register about the timing values (pulse length, pause length). There
is a
> > prescaler to set the timebase to microsecondes.
> >
> > This should be perfect for MODE2, isn't it?
>
> Yes, this is ok.
> The timing when the MODE2 data is generated is also important.
> Can you post some of your mode2 data?

This is the summary of irrecord:

get_scheme(): sum: 80 length: 23 signals: 46
first_lengths: 0 second_lengths: 0
643 x 833
136 x 1782
136 x 1782
RC-5 remote control found.
No header data.
get_lead_length(): sum: 80, max_count 80
Found lead pulse: 832
No repeat code found.
141 x 1708
get_data_length(): sum: 784, max_count 643
Pulse canditates: 643 x 833, 141 x 1708
136 x 1782
get_data_length(): sum: 784, max_count 648
Space canditates: 648 x 912, 136 x 1782
Signals are biphase encoded.
35 x 21838
Signal length is 13
13 843 901 843 901 0 2 30 100 65535

and the config file created:

begin remote

name co
bits 13
flags RC5
eps 30
aeps 100

one 843 901
zero 843 901
plead 832
gap 65535
toggle_bit 0


begin codes
end codes

end remote

This are some samples from mode2:

Power Button:
838-pulse 923-space 811-pulse 922-space
838-pulse 923-space
811 923 838 923 811 922
838 923 811 923 838 923
811 947 814 1776 1719 923
0 65535

Button 1:
813 1802 1695 919 841 920
834 899 861 900 834 1805
810 899 862 899 814 920
841 920 1694 920 0 65535

Button 2:
842 944 790 919 861 899
815 918 842 919 814 920
861 1753 861 900 834 899
841 920 1715 1780 0 65535

Button 3 (pressed longer to see repeat)
835 1780 1715 899 862 899
834 899 862 899 834 1780
835 898 862 899 835 898
1743 899 835 899 0 65535

835 1780 1715 899 862 899
835 898 862 899 835 1780
834 899 862 899 835 923
1719 898 835 898 0 65535

835 1780 1715 899 862 899
835 898 863 898 835 1779
835 898 863 898 835 898
1743 899 835 899 0 65535

Due to register constraints (16 Bit) the gap is clamped to 65535.

Roland




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642



Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: mode2 output from RC5 (hauppauge) remote

Hi! Roland Mieslinger "rmie-Mmb7MZpHnFY@xxxxxxxxxxxxxxxx" wrote: [...] >> Roland Mieslinger "rmie-Mmb7MZpHnFY@xxxxxxxxxxxxxxxx" wrote: >>> I'm just trying to create a lirc kernel module for Hauppauge MediaMVP. I >>> think I'm quite close to success, because irrecord already detects an RC5 >>> remote and the values for gap, zero and one are very close to that what I've >>> found in other config files. But irrecord failes to learn the buttons >>> pressed. [...] > I get an IRQ on the (rising?) edeg off every IR pulse and can query a > register about the timing values (pulse length, pause length). There is a > prescaler to set the timebase to microsecondes. > > This should be perfect for MODE2, isn't it? Yes, this is ok. The timing when the MODE2 data is generated is also important. Can you post some of your mode2 data? Christoph ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642

Next Message by Date: click to view message preview

Re: mode2 output from RC5 (hauppauge) remote

Hi! Roland Mieslinger "rmie-Mmb7MZpHnFY@xxxxxxxxxxxxxxxx" wrote: [...] > This are some samples from mode2: > > Power Button: > 838-pulse 923-space 811-pulse 922-space > 838-pulse 923-space > 811 923 838 923 811 922 > 838 923 811 923 838 923 > 811 947 814 1776 1719 923 > 0 65535 The stream does not start with a space like it should. 0 is not a valid pulse or space value. > Due to register constraints (16 Bit) the gap is clamped to 65535. The driver has to deliver correct values. E.g. you can look at the lirc_streamzap driver how to implement this. Christoph ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Previous Message by Thread: click to view message preview

Re: mode2 output from RC5 (hauppauge) remote

Hi! Roland Mieslinger "rmie-Mmb7MZpHnFY@xxxxxxxxxxxxxxxx" wrote: [...] >> Roland Mieslinger "rmie-Mmb7MZpHnFY@xxxxxxxxxxxxxxxx" wrote: >>> I'm just trying to create a lirc kernel module for Hauppauge MediaMVP. I >>> think I'm quite close to success, because irrecord already detects an RC5 >>> remote and the values for gap, zero and one are very close to that what I've >>> found in other config files. But irrecord failes to learn the buttons >>> pressed. [...] > I get an IRQ on the (rising?) edeg off every IR pulse and can query a > register about the timing values (pulse length, pause length). There is a > prescaler to set the timebase to microsecondes. > > This should be perfect for MODE2, isn't it? Yes, this is ok. The timing when the MODE2 data is generated is also important. Can you post some of your mode2 data? Christoph ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642

Next Message by Thread: click to view message preview

Re: mode2 output from RC5 (hauppauge) remote

Hi! Roland Mieslinger "rmie-Mmb7MZpHnFY@xxxxxxxxxxxxxxxx" wrote: [...] > This are some samples from mode2: > > Power Button: > 838-pulse 923-space 811-pulse 922-space > 838-pulse 923-space > 811 923 838 923 811 922 > 838 923 811 923 838 923 > 811 947 814 1776 1719 923 > 0 65535 The stream does not start with a space like it should. 0 is not a valid pulse or space value. > Due to register constraints (16 Bit) the gap is clamped to 65535. The driver has to deliver correct values. E.g. you can look at the lirc_streamzap driver how to implement this. Christoph ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by