hi ... problem solved by adding "type=0" to module loading options. See http://qa.mandriva.com/show_bug.cgi?id=21434 for details. ...

pesil franizaue <persilfra@yahoo.com> wrote:

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_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:
%configure2_5x --localstatedir=/var \
--with-x \
--with-port=0x3f8 \
--with-irq=4 \
--disable-manage-devices \
--with-syslog=LOG_DAEMON \
--with-driver=any \

# rpm -qf /lib/modules/2.6.16-1mdk/kernel/3rdparty/lirc/drivers/lirc_serial/lirc_serial.ko.gz

then when # irsend SEND_START CH_UP
produces six to nine duplicates of these two lines:
==> syslog <==
lirc_serial: SET_SEND_DUTY_CYCLE
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 -------------------------------------------------------------------------
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

Want to be your own boss? Learn how on Yahoo! Small Business.