On 12/28/05, Boer Attila Laszlo <[EMAIL PROTECTED]> wrote: > Hi, > > LIRC 0.7.2 compiles fine under Debian SPARC (stable). The lirc_gpio module > loads succesfully (tested with 2.4.27) but after I start lircd and try to > test with irw the lirc daemon dies. > Here is the output from dmesg: > ................................. > Dec 24 22:43:36 solaris kernel: lirc_dev: IR Remote Control driver > registered, at major 61 Dec 24 22:43:36 solaris kernel: lirc_gpio (-1): > card type 0x22, id 0x6609107d Dec 24 22:43:36 solaris kernel: lirc_dev: > lirc_register_plugin: sample_rate: 0 Dec 24 22:43:36 solaris kernel: > lirc_gpio (0): driver registered Dec 24 22:45:01 solaris kernel: > sys32_ioctl(lircd:2562): Unknown cmd fd(7) cmd(40046900) arg(00022994) > ................................ > > If I compile a 64 bit lircd, it works fine. > ............................ > file /usr/local/sbin/lircd > /usr/local/sbin/lircd: ELF 64-bit MSB executable, SPARC V9, version 1 > (SYSV), for GNU/Linux 2.4.18, dynamically linked (uses shared libs), not > stripped > ........................... > irw > 00000000c03f00ff 00 POWER RM-0010 > 00000000c03f00ff 01 POWER RM-0010 > 00000000c03f00ff 02 POWER RM-0010 > 00000000c03f00ff 03 POWER RM-0010 > 00000000c03f30cf 00 CH_UP RM-0010 > 00000000c03f30cf 01 CH_UP RM-0010 > 00000000c03f30cf 02 CH_UP RM-0010 > 00000000c03f30cf 03 CH_UP RM-0010 > 00000000c03f08f7 00 CH_DOWN RM-0010 > 00000000c03f08f7 01 CH_DOWN RM-0010 > 00000000c03f08f7 02 CH_DOWN RM-0010 > 00000000c03f08f7 03 CH_DOWN RM-0010 > ............................ > > Any suggestions?
Most likely, the LIRC_XXX ioctls defined in <lirc>/drivers/lirc.h must be specified as COMPATIBLE_IOCTL()s in <kernel>/include/linux/compat_ioctl.h. Thanks, -- E

