Linux Sound subsystem development
 help / color / mirror / Atom feed
* Soundcard problem!
@ 1998-11-12 18:23 markoni
  1998-11-12 18:27 ` Nikolaos Margaritis
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: markoni @ 1998-11-12 18:23 UTC (permalink / raw)
  To: linux-sound

Hi, 

I have a serious problem with my soundcard which persistently 
refuses to cooperate with my Linux system. The processor is a
PII on an ASUS P2B-DS motherboard. My kernel is brand new:
version 2.1.125, but it seems to work fine so far for anything 
else but sound. The sound card is a vibra16pnp (by Creative Labs).

Whenever I attempted to use sndconfig, for whichever setup I have chosen,
the result was anticipated: A problem appears with modprobe.

Furthermore, when I type: "modprobe sb.o" the answer is:

/lib/modules/2.1.125/misc/sb.o: too many values for dma (max 1)

Has anybody out there seen this attitude before?

I suspect the following details might be useful:

	IRQ = 5
	I/O range = 0220 - 0223, DMA = 05
	I/O range = 0224 - 022F, DMA = 01

I obtained these data using NT diagnostics, so I do cannot be 100% sure 
that one could rely on them. :-)
(Afterall, I have deleted Microsoft from my computer!)

When I use  "pnpdump -c -script=out", the file "out" contains the following
information:



	#!/bin/sh
	prefixes="/etc/pnp/config-scripts/isa /usr/share/pnp/config-scripts/isa"

	function pnp_isa_configure {
    		local i id dir found_it
    		i=0
    		while [ "${dev_ids[$i]}" != "" ] ; do
        		id="${dev_ids[$i]}"
			for dir in $prefixes ; do
				if [ -r $dir/$id ] ; then
					source $dir/$id
					return $?
	    			fi
			done
			i=`expr $i + 1`
    		done
	# Failed to find anything
	return 1
	}
	unset irq irq_flags dma dma_flags io_start io_len io_flags
	unset mem_start mem_len mem_flags dev_ids
	board_id=CTL0070
	dev_ids[0]=CTL0001
	irq[0]=5 ; irq_flags[0]=0x00
	dma[0]=1 ; dma_flags[0]=0x08
	dma[1]=5 ; dma_flags[1]=0x12
	io_start[0]=0x0220 ; io_len[0]\x16 ; io_flags[0]=0x01
	io_start[1]=0x0330 ; io_len[1]=2  ; io_flags[1]=0x01
	io_start[2]=0x0388 ; io_len[2]=4  ; io_flags[2]=0x01
	pnp_isa_configure
	
	unset irq irq_flags dma dma_flags io_start io_len io_flags
	unset mem_start mem_len mem_flags dev_ids
	board_id=CTL0070
	dev_ids[0]=CTL7001
	dev_ids[2]=PNPb02f
	io_start[0]=0x0200 ; io_len[0]=8  ; io_flags[0]=0x01
	pnp_isa_configure



Strangely enough, the file /etc/modules.conf contains:

	alias sound sb
	options -k sb io=0x220 irq=7 dma=3,5
	alias midi opl3
	options -k opl3 io=0x388

The technical values from these two files are not so consistent, are they? :-)

I will be very grateful for any hint which may help.
Thanks in advance, and sorry for the length of this mail.
--
___________________________________________________________
   ,-~~-.___.      _____      |
  / |  '     \    /     \     |  Dr. Nikolaos A. Margaritis
 (  )         0   |      \    |  Agias Marinis 40
  \_/-, ,----'    | UNIX  |   |  Larissa 41221
     ==         \______/    |  Hellas (Greece)
    /  \-'~;       __|_|__    |
   /  __/~|  ___  |       |   |  
 =(  _____| (___)_|_______|   |  email: markoni@otenet.gr

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Soundcard problem!
  1998-11-12 18:23 Soundcard problem! markoni
@ 1998-11-12 18:27 ` Nikolaos Margaritis
  1998-11-12 19:24 ` Matthew B. Marlowe
  1998-11-12 21:56 ` Michele Bini
  2 siblings, 0 replies; 4+ messages in thread
From: Nikolaos Margaritis @ 1998-11-12 18:27 UTC (permalink / raw)
  To: linux-sound

Hi, 

I have a serious problem with my soundcard which persistently 
refuses to cooperate with my Linux system. The processor is a
PII on an ASUS P2B-DS motherboard. My kernel is brand new:
version 2.1.125, but it seems to work fine so far for anything 
else but sound. The sound card is a vibra16pnp (by Creative Labs).

Whenever I attempted to use sndconfig, for whichever setup I have chosen,
the result was anticipated: A problem appears with modprobe.

Furthermore, when I type: "modprobe sb.o" the answer is:

/lib/modules/2.1.125/misc/sb.o: too many values for dma (max 1)

Has anybody out there seen this attitude before?

I suspect the following details might be useful:

	IRQ = 5
	I/O range = 0220 - 0223, DMA = 05
	I/O range = 0224 - 022F, DMA = 01

I obtained these data using NT diagnostics, so I do cannot be 100% sure 
that one could rely on them. :-)
(Afterall, I have deleted Microsoft from my computer!)

When I use  "pnpdump -c -script=out", the file "out" contains the following
information:



	#!/bin/sh
	prefixes="/etc/pnp/config-scripts/isa /usr/share/pnp/config-scripts/isa"

	function pnp_isa_configure {
    		local i id dir found_it
    		i=0
    		while [ "${dev_ids[$i]}" != "" ] ; do
        		id="${dev_ids[$i]}"
			for dir in $prefixes ; do
				if [ -r $dir/$id ] ; then
					source $dir/$id
					return $?
	    			fi
			done
			i=`expr $i + 1`
    		done
	# Failed to find anything
	return 1
	}
	unset irq irq_flags dma dma_flags io_start io_len io_flags
	unset mem_start mem_len mem_flags dev_ids
	board_id=CTL0070
	dev_ids[0]=CTL0001
	irq[0]=5 ; irq_flags[0]=0x00
	dma[0]=1 ; dma_flags[0]=0x08
	dma[1]=5 ; dma_flags[1]=0x12
	io_start[0]=0x0220 ; io_len[0]\x16 ; io_flags[0]=0x01
	io_start[1]=0x0330 ; io_len[1]=2  ; io_flags[1]=0x01
	io_start[2]=0x0388 ; io_len[2]=4  ; io_flags[2]=0x01
	pnp_isa_configure
	
	unset irq irq_flags dma dma_flags io_start io_len io_flags
	unset mem_start mem_len mem_flags dev_ids
	board_id=CTL0070
	dev_ids[0]=CTL7001
	dev_ids[2]=PNPb02f
	io_start[0]=0x0200 ; io_len[0]=8  ; io_flags[0]=0x01
	pnp_isa_configure



Strangely enough, the file /etc/modules.conf contains:

	alias sound sb
	options -k sb io=0x220 irq=7 dma=3,5
	alias midi opl3
	options -k opl3 io=0x388

The technical values from these two files are not so consistent, are they? :-)

I will be very grateful for any hint which may help.
Thanks in advance, and sorry for the length of this mail.
--
___________________________________________________________
   ,-~~-.___.      _____      |
  / |  '     \    /     \     |  Dr. Nikolaos A. Margaritis
 (  )         0   |      \    |  Agias Marinis 40
  \_/-, ,----'    | UNIX  |   |  Larissa 41221
     ==         \______/    |  Hellas (Greece)
    /  \-'~;       __|_|__    |
   /  __/~|  ___  |       |   |  
 =(  _____| (___)_|_______|   |  email: markoni@otenet.gr

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Soundcard problem!
  1998-11-12 18:23 Soundcard problem! markoni
  1998-11-12 18:27 ` Nikolaos Margaritis
@ 1998-11-12 19:24 ` Matthew B. Marlowe
  1998-11-12 21:56 ` Michele Bini
  2 siblings, 0 replies; 4+ messages in thread
From: Matthew B. Marlowe @ 1998-11-12 19:24 UTC (permalink / raw)
  To: linux-sound

DMA should equal 5 or 1.. Not 05 or 01

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.3i

mQCNAzYHUrIAAAEEAMAXsThllSKVcUUK9VJWpf6zaJiSSbU2w8qxVGdNPTe1PWC8
sGNCD+u13eLM6y+S+/RquJCTuRUQW3DKLfi7/NxaFvGqJi4/vr/XPOky2vDlZqm2
wTk+/J7MgYtT7K2jawlEWW3HvDdJIPpSe8E8PcolX2Qz5aaLIHNiXOzrvTlJAAUR
tChNYXR0aGV3IEIuIE1hcmxvd2UgPG1hcmxvd2VAYWxmaGVpbS5uZXQ+iQCUAwUQ
NgdSsnNiXOzrvTlJAQHg5gP1EPvDIHqJZV771lhE1ZuPwkYTH2OQQp8lA9ezP+Rd
2lMYvzqfIq4DcM5dGNuU3dYy9tZDsOpqdjzzyP3DPkJoDTT2AzX5gV8GX/HA+FBd
BqdlXIU54BJbAo5RBmKqU8bq0KXPvlmnxYxhvze6UD/Ae6Qb12tR7OYmaC5659RF
7Q=
Àyt
-----END PGP PUBLIC KEY BLOCK-----

On Thu, 12 Nov 1998, Nikolaos Margaritis wrote:

> Hi, 
> 
> I have a serious problem with my soundcard which persistently 
> refuses to cooperate with my Linux system. The processor is a
> PII on an ASUS P2B-DS motherboard. My kernel is brand new:
> version 2.1.125, but it seems to work fine so far for anything 
> else but sound. The sound card is a vibra16pnp (by Creative Labs).
> 
> Whenever I attempted to use sndconfig, for whichever setup I have chosen,
> the result was anticipated: A problem appears with modprobe.
> 
> Furthermore, when I type: "modprobe sb.o" the answer is:
> 
> /lib/modules/2.1.125/misc/sb.o: too many values for dma (max 1)
> 
> Has anybody out there seen this attitude before?
> 
> I suspect the following details might be useful:
> 
> 	IRQ = 5
> 	I/O range = 0220 - 0223, DMA = 05
> 	I/O range = 0224 - 022F, DMA = 01
> 
> I obtained these data using NT diagnostics, so I do cannot be 100% sure 
> that one could rely on them. :-)
> (Afterall, I have deleted Microsoft from my computer!)
> 
> When I use  "pnpdump -c -script=out", the file "out" contains the following
> information:
> 
> 
> 
> 	#!/bin/sh
> 	prefixes="/etc/pnp/config-scripts/isa /usr/share/pnp/config-scripts/isa"
> 
> 	function pnp_isa_configure {
>     		local i id dir found_it
>     		i=0
>     		while [ "${dev_ids[$i]}" != "" ] ; do
>         		id="${dev_ids[$i]}"
> 			for dir in $prefixes ; do
> 				if [ -r $dir/$id ] ; then
> 					source $dir/$id
> 					return $?
> 	    			fi
> 			done
> 			i=`expr $i + 1`
>     		done
> 	# Failed to find anything
> 	return 1
> 	}
> 	unset irq irq_flags dma dma_flags io_start io_len io_flags
> 	unset mem_start mem_len mem_flags dev_ids
> 	board_id=CTL0070
> 	dev_ids[0]=CTL0001
> 	irq[0]=5 ; irq_flags[0]=0x00
> 	dma[0]=1 ; dma_flags[0]=0x08
> 	dma[1]=5 ; dma_flags[1]=0x12
> 	io_start[0]=0x0220 ; io_len[0]\x16 ; io_flags[0]=0x01
> 	io_start[1]=0x0330 ; io_len[1]=2  ; io_flags[1]=0x01
> 	io_start[2]=0x0388 ; io_len[2]=4  ; io_flags[2]=0x01
> 	pnp_isa_configure
> 	
> 	unset irq irq_flags dma dma_flags io_start io_len io_flags
> 	unset mem_start mem_len mem_flags dev_ids
> 	board_id=CTL0070
> 	dev_ids[0]=CTL7001
> 	dev_ids[2]=PNPb02f
> 	io_start[0]=0x0200 ; io_len[0]=8  ; io_flags[0]=0x01
> 	pnp_isa_configure
> 
> 
> 
> Strangely enough, the file /etc/modules.conf contains:
> 
> 	alias sound sb
> 	options -k sb io=0x220 irq=7 dma=3,5
> 	alias midi opl3
> 	options -k opl3 io=0x388
> 
> The technical values from these two files are not so consistent, are they? :-)
> 
> I will be very grateful for any hint which may help.
> Thanks in advance, and sorry for the length of this mail.
> --
> ___________________________________________________________
>    ,-~~-.___.      _____      |
>   / |  '     \    /     \     |  Dr. Nikolaos A. Margaritis
>  (  )         0   |      \    |  Agias Marinis 40
>   \_/-, ,----'    | UNIX  |   |  Larissa 41221
>      ==         \______/    |  Hellas (Greece)
>     /  \-'~;       __|_|__    |
>    /  __/~|  ___  |       |   |  
>  =(  _____| (___)_|_______|   |  email: markoni@otenet.gr
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Soundcard problem!
  1998-11-12 18:23 Soundcard problem! markoni
  1998-11-12 18:27 ` Nikolaos Margaritis
  1998-11-12 19:24 ` Matthew B. Marlowe
@ 1998-11-12 21:56 ` Michele Bini
  2 siblings, 0 replies; 4+ messages in thread
From: Michele Bini @ 1998-11-12 21:56 UTC (permalink / raw)
  To: linux-sound

On Thu, Nov 12, 1998 at 06:27:12PM +0000, Nikolaos Margaritis wrote:

> When I use  "pnpdump -c -script=out", the file "out" contains
> the following
what pnptools version are you using? Mine (1.13) doesn't seem to like
these options.

[...]
> 	alias sound sb
> 	options -k sb io=0x220 irq=7 dma=3,5

I don't think the sb module can accept two values for dma,
you need to give separate "dma" and "dma16" options

FYI in my conf.modules I have these lines:
	alias sound sb
	options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
	alias midi opl3
	options opl3 io=0x388

(The same settings work fine on an old non-PNP sb16 card,
on an awe32 sb pnp, and on a friend's ess)

Unfortunately, in 2.1.127 a bug seems to make impossible
removing the sb module without rebooting.

Here is my isapnp.conf (to make my awe32 pnp sb card work):
	(READPORT 0x020b)
	(ISOLATE)
	(IDENTIFY *)
	(CONFIGURE CTL00c5/392940333 (LD 0
	  (INT 0 (IRQ 5 (MODE +E)))
	  (DMA 1 (CHANNEL 5))
	  (IO 0 (BASE 0x0220))
	  (IO 1 (BASE 0x0330))
	  (IO 2 (BASE 0x0388))
	  (ACT Y)
	))

-Michele

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-11-12 21:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-12 18:23 Soundcard problem! markoni
1998-11-12 18:27 ` Nikolaos Margaritis
1998-11-12 19:24 ` Matthew B. Marlowe
1998-11-12 21:56 ` Michele Bini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox