From: pesil f. <per...@ya...> - 2006-08-21 10:58:14
|
hi ... on a laptop, simple transmitter as per http://lirc.org/transmitters.html works with winlirc-0.6.5, but not on a desktop with lirc-0.7.1 on mandriva 2006.0 (Official); if anyone could suggest what to do, it would be most appreciated...thanks!!! -- pf here are details: # cp -p /usr/share/lirc-remotes/motorola/IRC442 /etc/lircd.conf # grep '^[^ #]' /etc/sysconfig/lircd DRIVER=default HWMOD=lirc_serial DEVICE=/dev/lirc/0 COM_PORT=/dev/ttyS0 DRIVER_OPTS="irq=4 io=0x3f8" # setserial /dev/ttyS0 uart none # modprobe lirc_serial irq=4 io=0x3f8 debug=1 # /etc/init.d/lircd start ==> syslog <== lirc_dev: IR Remote Control driver registered, at major 61 lirc_serial: in init_timing_params, freq=38000, duty_cycle=50, clk/jiffy=7213705, pulse=23729, space=23729, conv_us_to_clocks=1803 lirc_serial: auto-detected active high receiver lirc_dev: lirc_register_plugin: sample_rate: 0 pam_console.dev[17255]: Restoring console permissions for /dev/lirc/0 lircd-0.7.1[17706]: lircd(any) ready lircd: lircd startup succeeded ==> /etc/modules.conf <== alias char-major-72 lirc_serial below lirc_serial lirc_dev options lirc_serial irq=4 io=0x3f8 debug=1 # cat /proc/tty/driver/serial serinfo:1.0 driver revision: 0: uart:unknown port:000003F8 irq:4 1: uart:16550A port:000002F8 irq:3 tx:0 rx:0 2: uart:unknown port:000003E8 irq:4 3: uart:unknown port:000002E8 irq:3 an oscilloscope shows that from remote regular signal kind of like this: ~~~~~~~~~|_|~|_|~|_|~|_|_|_|~~|_|_|~~|_|~~~~~~~~~~ but from the lirc-0.7.1 it only shows: ~~~~~~~~~|_____________________________|~~~~~~~~~~ so timing is right, but the DTR line doesn't fluctuate up and down like it should to send the signal. from lirc.spec: %build %configure2_5x --localstatedir=/var \ --with-x \ --with-port=0x3f8 \ --with-irq=4 \ --disable-manage-devices \ --with-syslog=LOG_DAEMON \ --with-driver=any \ --with-transmitter # rpm -qf /lib/modules/2.6.16-1mdk/kernel/3rdparty/lirc/drivers/lirc_serial/lirc_serial.ko.gz kernel-2.6.16.1mdk-1-1.mdk2006.0.mde then when # irsend SEND_START CH_UP produces six to nine duplicates of these two lines: ==> syslog <== lirc_serial: SET_SEND_DUTY_CYCLE lirc_serial: in init_timing_params, freq=38000, duty_cycle=50, clk/jiffy=7213705, pulse=23729, space=23729, conv_us_to_clocks=1803 and after a minute it ends with: lirc_serial: freed IRQ 4 # irsend SEND_ONCE Motorola_IRC442-2 CH_UP ==> syslog <== lircd-0.7.1[17706]: accepted new client on /dev/lircd kernel: lirc_serial: Interrupt 4, port 03f8 obtained kernel: lirc_serial: SET_SEND_DUTY_CYCLE kernel: lirc_serial: in init_timing_params, freq=38000, duty_cycle=50, clk/jiffy=7213705, pulse=23729, spac e=23729, conv_us_to_clocks=1803 lircd-0.7.1[17706]: removed client kernel: lirc_serial: freed IRQ 4 --------------------------------- Get your email and more, right on the new Yahoo.com |