* isapnptools
@ 1997-07-30 22:31 marbud
0 siblings, 0 replies; 8+ messages in thread
From: marbud @ 1997-07-30 22:31 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1332 bytes --]
I got this SoundBlaster 32 PnP card so i tried to get it to work with
my EB66. But both pnpdump and isapnp gives me the same error codes:
Unable to get io permission for WRITE_DATA: Bad address
And that comes from this part of the source:
/*
* Have to get unrestricted access to io ports, as WRITE_DATA port >
* 0x3ff
*/
if(iopl(3) < 0)
{
perror("Unable to get io permission for WRITE_DATA");
exit(1);
}
Is it simply impossible to user isapnptools on a Alpha? If so does
Linux 2.1 support PnP cards on the Alpha?
(Please, dont tell me to boot up with NT, becuse i don't have it. (
and i will not touch it.))
--
Regards_________________________Martin_____________________________________
|Martin Budsjö - Frontec Konsulter Email (work) budsjo@gbg.frontec.se|
|Tel:+46 (0)31-707 12 31 Fax: 707 11 99 (home) marbud@tripnet.se |
| The mind is like a parachute - it only works when it's open.. |
| Unix _IS_ user friendly - it's just selective about who its friends are! |
|Public Key fingerprint = 58 19 73 40 F3 29 18 10 25 9E E7 A4 2E 1F FD A9|
|__________________________________________________________________________|
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: isapnptools
[not found] <x7u3hc6ukt.fsf@agilis.tripnet.se>
@ 1997-07-31 14:53 ` Alvin Starr
0 siblings, 0 replies; 8+ messages in thread
From: Alvin Starr @ 1997-07-31 14:53 UTC (permalink / raw)
On 31 Jul 1997 marbud@tripnet.se wrote:
>
> I got this SoundBlaster 32 PnP card so i tried to get it to work with
> my EB66. But both pnpdump and isapnp gives me the same error codes:
>
> Unable to get io permission for WRITE_DATA: Bad address
>
>
> And that comes from this part of the source:
>
> /*
> * Have to get unrestricted access to io ports, as WRITE_DATA port >
> * 0x3ff
> */
> if(iopl(3) < 0)
> {
> perror("Unable to get io permission for WRITE_DATA");
> exit(1);
> }
>
>
> Is it simply impossible to user isapnptools on a Alpha? If so does
> Linux 2.1 support PnP cards on the Alpha?
>
> (Please, dont tell me to boot up with NT, becuse i don't have it. (
> and i will not touch it.))
After some bashing around I have managed to get the PnP tools to run. I
can tar up the directory and email it to you. If there is more interest I
can possibly put together a patch list or RPM.
PnP means plug it in and play with it.
what we really want is
PnIWW plug it in and it will work.
Alvin Starr || voice: (416)493-3325
Interlink Connectivity || fax: (416)493-7974
alvin@iplink.net ||
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: isapnptools
[not found] <Pine.OSF.3.91.970731104953.25258A-100000@caesar.iplink.net>
@ 1997-07-31 15:07 ` Craig Ruff
0 siblings, 0 replies; 8+ messages in thread
From: Craig Ruff @ 1997-07-31 15:07 UTC (permalink / raw)
I'd like to see your patches for isapnp! Thanks.
--
Craig Ruff NCAR cruff@ncar.ucar.edu
(303) 497-1211 P.O. Box 3000
Boulder, CO 80307 Amateur Call KB0UNK
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: isapnptools
@ 1997-07-31 15:45 Stephen J. Gaudet
0 siblings, 0 replies; 8+ messages in thread
From: Stephen J. Gaudet @ 1997-07-31 15:45 UTC (permalink / raw)
Hello Martin
>I got this SoundBlaster 32 PnP card so i tried to get it to work with
>my EB66. But both pnpdump and isapnp gives me the same error codes:
>
>Unable to get io permission for WRITE_DATA: Bad address
>
>
>And that comes from this part of the source:
>
> /*
> * Have to get unrestricted access to io ports, as WRITE_DATA port >
> * 0x3ff
> */
> if(iopl(3) < 0)
> {
> perror("Unable to get io permission for WRITE_DATA");
> exit(1);
> }
>
>
>Is it simply impossible to user isapnptools on a Alpha? If so does
>Linux 2.1 support PnP cards on the Alpha?
>
>(Please, dont tell me to boot up with NT, becuse i don't have it. (
>and i will not touch it.))
What you need is 4Front technologies driver. They can be reached at
http://www.4front-tech.com. Its the ONLY thing that runs PNP sound cards.
Cheers,
Steve
+1-603-421-1800 http://www.dcginc.com
______________________________________________________________
| Stephen Gaudet | ** Digital Authorized reseller ** |
| DCG Computers Inc. | Alpha, Intel Pentium Pro systems and |
| 4 Sanborn Rd, Suite 2 | motherbds running NT, Linux, & UNIX |
| Londonderry, NH 03053 |--------------------------------------|
| ph:603-421-1800 x 10 fax:603-421-0911 e-mail:sjg@dcginc.com |
--------------------------------------------------------------
***** Now shipping, the DCG Viper II 600Mhz Alpha System *****
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: isapnptools
[not found] <19970731090734.18139@maroon.scd.ucar.edu>
@ 1997-07-31 17:45 ` Alvin Starr
0 siblings, 0 replies; 8+ messages in thread
From: Alvin Starr @ 1997-07-31 17:45 UTC (permalink / raw)
On Thu, 31 Jul 1997, Craig Ruff wrote:
>
> I'd like to see your patches for isapnp! Thanks.
> --
Here are the patches as applied to 1.11
Alvin Starr || voice: (416)493-3325
Interlink Connectivity || fax: (416)493-7974
alvin@iplink.net ||
Index: isapnptools/Makefile
diff -c isapnptools/Makefile:1.1.1.2 isapnptools/Makefile:1.4
*** isapnptools/Makefile:1.1.1.2 Thu Jul 31 11:50:37 1997
--- isapnptools/Makefile Thu Jul 31 13:39:13 1997
***************
*** 36,42 ****
# the code will ignore these defines if it detects
# glibc 2.0 or later.
#
! PNPFLAGS += -DREALTIME -DNEEDSETSCHEDULER -DNEEDNANOSLEEP
#
# Set this if cross-compiling for DOS using djgpp
#
--- 36,42 ----
# the code will ignore these defines if it detects
# glibc 2.0 or later.
#
! PNPFLAGS += -DYY_SKIP_YYWRAP #-DREALTIME -DNEEDSETSCHEDULER -DNEEDNANOSLEEP
#
# Set this if cross-compiling for DOS using djgpp
#
Index: isapnptools/isapnp.8
diff -c isapnptools/isapnp.8:1.1.1.1 isapnptools/isapnp.8:1.3
*** isapnptools/isapnp.8:1.1.1.1 Thu Jul 31 11:45:10 1997
--- isapnptools/isapnp.8 Thu Jul 31 12:08:09 1997
***************
*** 2,8 ****
.\" This program is distributed according to the Gnu General Public License.
.\" See the file COPYING in the isapnptools source distribution.
.\"
! .\" $Id: isapnp.8,v 1.1.1.1 1997/07/31 15:45:10 alvin Exp $
.\"
.TH ISAPNP 8 "14 Jan 1997" "isapnptools"
.SH NAME
--- 2,8 ----
.\" This program is distributed according to the Gnu General Public License.
.\" See the file COPYING in the isapnptools source distribution.
.\"
! .\" $Id: isapnp.8,v 1.3 1997/07/31 16:08:09 alvin Exp $
.\"
.TH ISAPNP 8 "14 Jan 1997" "isapnptools"
.SH NAME
Index: isapnptools/isapnp.conf.5
diff -c isapnptools/isapnp.conf.5:1.1.1.2 isapnptools/isapnp.conf.5:1.3
*** isapnptools/isapnp.conf.5:1.1.1.2 Thu Jul 31 11:50:43 1997
--- isapnptools/isapnp.conf.5 Thu Jul 31 12:08:11 1997
***************
*** 2,8 ****
.\" This program is distributed according to the Gnu General Public License.
.\" See the file COPYING in the isapnptools source distribution.
.\"
! .\" $Id: isapnp.conf.5,v 1.1.1.2 1997/07/31 15:50:43 alvin Exp $
.\"
.TH ISAPNP.CONF 5 "10 Jun 1997" "isapnptools"
.SH NAME
--- 2,8 ----
.\" This program is distributed according to the Gnu General Public License.
.\" See the file COPYING in the isapnptools source distribution.
.\"
! .\" $Id: isapnp.conf.5,v 1.3 1997/07/31 16:08:11 alvin Exp $
.\"
.TH ISAPNP.CONF 5 "10 Jun 1997" "isapnptools"
.SH NAME
Index: isapnptools/isapnp.y
diff -c isapnptools/isapnp.y:1.1.1.2 isapnptools/isapnp.y:1.4
*** isapnptools/isapnp.y:1.1.1.2 Thu Jul 31 11:50:40 1997
--- isapnptools/isapnp.y Thu Jul 31 13:39:14 1997
***************
*** 24,30 ****
#include "pnp.h"
! static char rcsid[] = "$Id: isapnp.y,v 1.1.1.2 1997/07/31 15:50:40 alvin Exp $";
#ifdef REALTIME
/*
--- 24,30 ----
#include "pnp.h"
! static char rcsid[] = "$Id: isapnp.y,v 1.4 1997/07/31 17:39:14 alvin Exp $";
#ifdef REALTIME
/*
***************
*** 197,202 ****
--- 197,206 ----
void yy_flex_free(void *ptr){(void)free(ptr);}
#endif /* _OS2_ */
+ #ifdef __alpha__
+ unsigned _ioperm(unsigned port, daddr_t a, unsigned b);
+ #endif
+
#ifdef __DJGPP__
unsigned ioperm(unsigned port, unsigned a, unsigned b){return(0);}
unsigned iopl(unsigned port){return(0);}
***************
*** 1096,1107 ****
--- 1100,1115 ----
exit(1);
}
/* Have to get unrestricted access to io ports, as WRITE_DATA port > 0x3ff */
+ #ifndef __alpha__
if(iopl(3) < 0)
{
perror("Unable to get io permission for WRITE_DATA");
ioperm(ADDRESS_ADDR, 1, 0);
exit(1);
}
+ #else
+ _ioperm (0, 0x10000, 1);
+ #endif
retval = 0;
yyin = fopen(argv[1], "r");
yylex();
Index: isapnptools/pnpdump.8
diff -c isapnptools/pnpdump.8:1.1.1.2 isapnptools/pnpdump.8:1.3
*** isapnptools/pnpdump.8:1.1.1.2 Thu Jul 31 11:50:44 1997
--- isapnptools/pnpdump.8 Thu Jul 31 12:08:13 1997
***************
*** 2,8 ****
.\" This program is distributed according to the Gnu General Public License.
.\" See the file COPYING in the isapnptools source distribution.
.\"
! .\" $Id: pnpdump.8,v 1.1.1.2 1997/07/31 15:50:44 alvin Exp $
.\"
.TH PNPDUMP 8 "14 Jul 1997" "isapnptools"
.SH NAME
--- 2,8 ----
.\" This program is distributed according to the Gnu General Public License.
.\" See the file COPYING in the isapnptools source distribution.
.\"
! .\" $Id: pnpdump.8,v 1.3 1997/07/31 16:08:13 alvin Exp $
.\"
.TH PNPDUMP 8 "14 Jul 1997" "isapnptools"
.SH NAME
Index: isapnptools/pnpdump.c
diff -c isapnptools/pnpdump.c:1.1.1.2 isapnptools/pnpdump.c:1.4
*** isapnptools/pnpdump.c:1.1.1.2 Thu Jul 31 11:50:41 1997
--- isapnptools/pnpdump.c Thu Jul 31 13:39:15 1997
***************
*** 29,35 ****
#define TMP_LEN 16
#define LARGE_LEN 65536
! static char rcsid[] = "$Id: pnpdump.c,v 1.1.1.2 1997/07/31 15:50:41 alvin Exp $";
#ifdef REALTIME
/*
--- 29,35 ----
#define TMP_LEN 16
#define LARGE_LEN 65536
! static char rcsid[] = "$Id: pnpdump.c,v 1.4 1997/07/31 17:39:15 alvin Exp $";
#ifdef REALTIME
/*
***************
*** 108,113 ****
--- 108,117 ----
unsigned usleep(unsigned wait){return(_sleep2((wait+990)/1000));}
#endif /* _OS2_ */
+ #ifdef __alpha__
+ unsigned _ioperm(unsigned port, daddr_t a, unsigned b);
+ #endif
+
#ifdef __DJGPP__
unsigned ioperm(unsigned port, unsigned a, unsigned b){return(0);}
unsigned iopl(unsigned port){return(0);}
***************
*** 187,197 ****
--- 191,206 ----
* Have to get unrestricted access to io ports, as WRITE_DATA port >
* 0x3ff
*/
+ #ifndef __alpha__
if(iopl(3) < 0)
{
perror("Unable to get io permission for WRITE_DATA");
exit(1);
}
+ #else
+ _ioperm (0, 0x10000, 1);
+ #endif
+
#ifdef REALTIME
setroundrobin();
#endif /* REALTIME */
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: isapnptools
[not found] <199707311545.LAA18338@mailrelay.tiac.net>
@ 1997-07-31 21:55 ` Andrew Kieschnick
0 siblings, 0 replies; 8+ messages in thread
From: Andrew Kieschnick @ 1997-07-31 21:55 UTC (permalink / raw)
On Thu, 31 Jul 1997, Stephen J. Gaudet wrote:
> What you need is 4Front technologies driver. They can be reached at
> http://www.4front-tech.com. Its the ONLY thing that runs PNP sound cards.
That is definitely not true. Isapnptools will quite happily make PnP
soundcards work. I've been doing it on my x86 for about a year now, with
my PnP sb32. I also have a PnP modem, and isapnptools works great for it
too. (I have no clue about how to make isapnptools work on an alpha, as
I've had no reason to try, but I'm sure someone knows how)
later,
Andrew Kieschnick
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: isapnptools
@ 1997-08-01 13:14 Stephen J. Gaudet
0 siblings, 0 replies; 8+ messages in thread
From: Stephen J. Gaudet @ 1997-08-01 13:14 UTC (permalink / raw)
Hello Andrew
>> What you need is 4Front technologies driver. They can be reached at
>> http://www.4front-tech.com. Its the ONLY thing that runs PNP sound cards.
>
>That is definitely not true. Isapnptools will quite happily make PnP
>soundcards work. I've been doing it on my x86 for about a year now, with
>my PnP sb32. I also have a PnP modem, and isapnptools works great for it
>too. (I have no clue about how to make isapnptools work on an alpha, as
>I've had no reason to try, but I'm sure someone knows how)
Linux on Alpha is totally different from Intel. So I'll agree with you on
PnP for Intel. However, with Alpha "we've" only been able to get the PnP
working with the new 4.2 release with 4Front's driver.
Now if someone else has it running on 4.2, 2.0.30 I'd love to hear about it.
But at this time the only thing "I've" found is 4Front.
The good think about the Linux community is every day brings new improvements.
Cheers,
Steve
+1-603-421-1800 http://www.dcginc.com
______________________________________________________________
| Stephen Gaudet | ** Digital Authorized reseller ** |
| DCG Computers Inc. | Alpha, Intel Pentium Pro systems and |
| 4 Sanborn Rd, Suite 2 | motherbds running NT, Linux, & UNIX |
| Londonderry, NH 03053 |--------------------------------------|
| ph:603-421-1800 x 10 fax:603-421-0911 e-mail:sjg@dcginc.com |
--------------------------------------------------------------
***** Now shipping, the DCG Viper II 600Mhz Alpha System *****
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: isapnptools
@ 1997-08-01 21:55 dupke
0 siblings, 0 replies; 8+ messages in thread
From: dupke @ 1997-08-01 21:55 UTC (permalink / raw)
In article <1997Aug1.214515.2628@koma.han.de> you wrote:
: Now if someone else has it running on 4.2, 2.0.30 I'd love to hear about it.
uname: 2.0.30,
standard kernel with sound enabled,
self patched pnp tools.
Working soundblaster 64 AWE (only sound part ist interest for me)
--
Kai Dupke | Badenstedter Str. 121 | 30453 Hannover/Germany
Tel +49 511 499770 | Fax +49 511 499771 | Holt fast - kolt isen.
PGP 1024/E3411031 3F 5E BF 76 99 B0 CC 6C 3E A6 11 E7 A3 3B 5E D8
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1997-08-01 21:55 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-31 15:45 isapnptools Stephen J. Gaudet
-- strict thread matches above, loose matches on Subject: below --
1997-08-01 21:55 isapnptools dupke
1997-08-01 13:14 isapnptools Stephen J. Gaudet
[not found] <199707311545.LAA18338@mailrelay.tiac.net>
1997-07-31 21:55 ` isapnptools Andrew Kieschnick
[not found] <19970731090734.18139@maroon.scd.ucar.edu>
1997-07-31 17:45 ` isapnptools Alvin Starr
[not found] <Pine.OSF.3.91.970731104953.25258A-100000@caesar.iplink.net>
1997-07-31 15:07 ` isapnptools Craig Ruff
[not found] <x7u3hc6ukt.fsf@agilis.tripnet.se>
1997-07-31 14:53 ` isapnptools Alvin Starr
1997-07-30 22:31 isapnptools marbud
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox