|
From: Pedro W. <ped...@bo...> - 2003-10-29 15:56:35
|
Hi
I built the serial receiver but I am having problems setting it up. It
receives some signal, but there's something messy with it
I am using Lirc version 0.6.6, on Slackware Linux 2.4.21. When I load
the driver I get this syslog output:
kernel: lirc_serial: in calc_pulse_lengths_in_clocks, freq=38000,
duty_cycle=50, clk/jiffy=4997120, pulse=6575, space=6575,
conv_us_to_clocks=499
kernel: lirc_serial: auto-detected active low receiver
I am using an universal remote I have with a config file found in the
archives. It's the Sony Rm V11 on TV 001 mode:
begin remote
name RM-V111T
bits 11
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 2459 532
one 1263 527
zero 664 527
ptrail 665
gap 44854
min_repeat 2
toggle_bit 0
begin codes
BUT_1 0x0000000000000004
BUT_2 0x0000000000000404
BUT_3 0x0000000000000204
BUT_4 0x0000000000000604
BUT_5 0x0000000000000104
BUT_6 0x0000000000000504
BUT_7 0x0000000000000304
BUT_8 0x0000000000000704
BUT_9 0x0000000000000084
BUT_0 0x0000000000000484
REW 0x00000000000006C4
PLAY 0x00000000000002C4
FFW 0x00000000000001C4
STOP 0x00000000000000C4
MUTE 0x0000000000000148
VOL_UP 0x0000000000000248
VOL_DN 0x0000000000000648
PRG_UP 0x0000000000000044
PRG_DN 0x0000000000000444
PAUSE 0x00000000000004C4
POWER 0x0000000000000544
end codes
end remote
When I run lircd and IRW with lircd in debug mode, I get the following
log output when I press some buttons on the remote:
Oct 29 13:48:15 ashmedai lircd 0.6.6: config file read
Oct 29 13:48:15 ashmedai lircd 0.6.6: lircd(serial) ready
Oct 29 13:48:36 ashmedai lircd 0.6.6: registering local client
Oct 29 13:48:36 ashmedai lircd 0.6.6: accepted new client on /dev/lircd
Oct 29 13:48:36 ashmedai lircd 0.6.6: driver supports receiving
Oct 29 13:48:40 ashmedai lircd 0.6.6: c4321497
Oct 29 13:48:40 ashmedai lircd 0.6.6: trying "RM-V111T" remote
Oct 29 13:48:40 ashmedai lircd 0.6.6: <4321497
Oct 29 13:48:40 ashmedai lircd 0.6.6: sync
Oct 29 13:48:40 ashmedai lircd 0.6.6: +0
Oct 29 13:48:40 ashmedai lircd 0.6.6: failed on header
Oct 29 13:48:40 ashmedai lircd 0.6.6: failed "RM-V111T" remote
Oct 29 13:48:40 ashmedai lircd 0.6.6: decoding failed for all remotes
Oct 29 13:48:40 ashmedai lircd 0.6.6: c583
Oct 29 13:48:40 ashmedai lircd 0.6.6: trying "RM-V111T" remote
Oct 29 13:48:40 ashmedai lircd 0.6.6: <0
Oct 29 13:48:40 ashmedai lircd 0.6.6: space expected
Oct 29 13:48:40 ashmedai lircd 0.6.6: failed on sync
Oct 29 13:48:40 ashmedai lircd 0.6.6: failed "RM-V111T" remote
Oct 29 13:48:40 ashmedai lircd 0.6.6: decoding failed for all remotes
I tried generating my own config file with irrecord, and it says that
each button should generate no more than 10 dots of output, but mine
generate dozens if I hold a button for a second. After a few buttons it
quits with the message:
irrecord: could not find gap.
irrecord: gap not found, can't continue
I tried with different remotes and the same happens. I used
three diferent IR receivers removed from two old VCRs and a TV, as I
could not find any of the 'recommended' ones, and the same problem
repeats. As at least I get some input, I hope it's not a hardware
problem, and maybe some misconfigure on my system.
I searched on the list archives for a similar problem, but could not
find anything. Any suggestion ?
Thanks in advance
Pedro Werneck
|