From: Nuno Miguel Fernandes Sucena Almeida (terhi.victor@logonet.com)
Date: Mon Jul 08 2002 - 09:40:27 EEST
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
i'm trying to use the soundmodem-0.6 with linux kernel 2.4.16
and PTT with parport.
I'm getting the following error from kernel log:
ppdev0: claim the port first
and the following output from soundmodem:
sbin/soundmodem
sm[3171]: Device "/dev/parport0" neither parport nor serport
sm[3171]: cannot start PTT output
After a quick look at soundcard/ptt.c
i changed line 90 from
} else if (!ioctl(fd, PPRDATA, &x)) {
to
} else if ((!ioctl(fd,PPCLAIM))&&(!ioctl(fd, PPRDATA, &x))) {
and the errors no longer occur.
Cheers,
Nuno Sucena Almeida
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Para mais informações veja http://www.gnupg.org
iD8DBQE9KTPi8HEhaPSUrLkRAnmGAKC0KekSTL5eDAsltppkZbJwB7oVjwCeKvTx
KB0HoMoiBpaWi22vAzJBzzA=
=M8EW
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to kcb.odwmkn@ct.us
More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b30 : Mon Jul 08 2002 - 09:40:55 EEST