Re: LIRC and SPARC (problem with ioctl32)

2005-12-28 Thread Eric Brower
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
> c03f00ff 00 POWER RM-0010
> c03f00ff 01 POWER RM-0010
> c03f00ff 02 POWER RM-0010
> c03f00ff 03 POWER RM-0010
> c03f30cf 00 CH_UP RM-0010
> c03f30cf 01 CH_UP RM-0010
> c03f30cf 02 CH_UP RM-0010
> c03f30cf 03 CH_UP RM-0010
> c03f08f7 00 CH_DOWN RM-0010
> c03f08f7 01 CH_DOWN RM-0010
> c03f08f7 02 CH_DOWN RM-0010
> c03f08f7 03 CH_DOWN RM-0010
> 
>
> Any suggestions?

Most likely, the LIRC_XXX ioctls defined in /drivers/lirc.h must
be specified as COMPATIBLE_IOCTL()s in
/include/linux/compat_ioctl.h.

Thanks,
--
E



LIRC and SPARC (problem with ioctl32)

2005-12-28 Thread Boer Attila Laszlo
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
c03f00ff 00 POWER RM-0010
c03f00ff 01 POWER RM-0010
c03f00ff 02 POWER RM-0010
c03f00ff 03 POWER RM-0010
c03f30cf 00 CH_UP RM-0010
c03f30cf 01 CH_UP RM-0010
c03f30cf 02 CH_UP RM-0010
c03f30cf 03 CH_UP RM-0010
c03f08f7 00 CH_DOWN RM-0010
c03f08f7 01 CH_DOWN RM-0010
c03f08f7 02 CH_DOWN RM-0010
c03f08f7 03 CH_DOWN RM-0010


Any suggestions?

Best regards,
Attila


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]