Andrij Korud wrote:
>
> Hi.
> While trying to run PowerAlert plus for Linux on FreeBSD 3.2-STABLE box I
> got a message:
> "LINUX: 'ioctl' fd=0, typ=0x54(T), num=0x17 not implemented"
> Any ideas?
Can you apply the following patch and tell me if it solves your problem
without creating new problems? :-)
Index: linux_ioctl.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/linux/linux_ioctl.c,v
retrieving revision 1.33
diff -r1.33 linux_ioctl.c
599a600,612
> case LINUX_TIOCMGET:
> args->cmd = TIOCMGET;
> return ioctl(p, (struct ioctl_args *)args);
> case LINUX_TIOCMBIS:
> args->cmd = TIOCMBIS;
> return ioctl(p, (struct ioctl_args *)args);
> case LINUX_TIOCMBIC:
> args->cmd = TIOCMBIC;
> return ioctl(p, (struct ioctl_args *)args);
> case LINUX_TIOCMSET:
> args->cmd = TIOCMSET;
> return ioctl(p, (struct ioctl_args *)args);
>
--
Marcel Moolenaar mailto:[EMAIL PROTECTED]
SCC Internetworking & Databases http://www.scc.nl/
Amsterdam, The Netherlands tel: +31 20 4200655
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message