Re: Oh no, not another AWE64 question

2000-03-24 Thread Frank Barknecht
Charon hat gesagt: // Charon wrote:

 So my next step was to try ALSA drivers.. 

Good. ALSA rocks! I am using an AWE64 with ALSA here, so maybe I can be of
help. 

But first a question: What ALSA version are you using? Some things
(module options etc.) changed between 0.4 and 0.5, so this is important
to know.

Second question: Did you use the ALSA Plug'n'Play method or do you use a
 /etc/isapnp.conf file with the isapnp-tool?

Third and most important question: I'd like to see your module options
for alsa (in /etc/modules.conf or /etc/modutils/alsa). Could you post
them here, please.

The right module configuration is crucial for ALSA to work and it is _the_
hottest topic on the alsa-user mailing list.

 I've successfully installed
 these before when I ran slackware. I believed I followed the instructions
 accurately.. anyhow, here is some info..
 
 underworld:/home/charon# lsmod
 Module  Size  Used by
 fat30304   1  (autoclean) [vfat]
 snd-card-sb16   4976   0  (unused)
 snd-mpu401-uart 3300   0  [snd-card-sb16]
 snd-rawmidi11352   0  [snd-mpu401-uart]
 snd-seq-device  3788   0  [snd-rawmidi]
 isapnp 27156   0  [snd-card-sb16]
 snd-opl32628   0  [snd-card-sb16]
 snd-sb16-csp   17332   0  [snd-card-sb16]
 snd-sb16-dsp   18472   0  [snd-card-sb16 snd-sb16-csp]
 snd-pcm36696   0  [snd-sb16-dsp]
 snd-timer  10688   0  [snd-opl3 snd-pcm]
 snd-hwdep   3756   0  [snd-opl3 snd-sb16-csp]
 snd-mixer  29552   0  [snd-sb16-csp snd-sb16-dsp]
 snd44684   1  [snd-card-sb16 snd-mpu401-uart
 snd-rawmidi snd-seq-device snd-opl3 snd-sb16-csp snd-sb16-dsp snd-pcm
 snd-timer snd-hwdep snd-mixer]
 this is after a modprobe snd-card-sb16 as instructed in the alsa install
 howto ..

I am using the module snd-card-sbawe for the AWE64. Strange thing is: You
seem to not have loaded any OSS compatibility modules from ALSA. I have
this after I do a mpg123 some.mp3:

  snd-pcm-oss16744   0 (autoclean)
  snd-pcm-plugin 12840   0 (autoclean) [snd-pcm-oss]
  snd-mixer-oss   4244   0 (autoclean) [snd-pcm-oss]
  snd-card-sbawe  4012   0 (autoclean)
  snd-sb16-csp   15124   0 (autoclean) [snd-card-sbawe]
  snd-sb16-dsp   15304   0 (autoclean) [snd-card-sbawe snd-sb16-csp]
  snd-pcm28600   0 (autoclean) [snd-pcm-oss snd-pcm-plugin 
snd-sb16-dsp]
  snd-mixer  22608   0 (autoclean) [snd-mixer-oss snd-sb16-csp 
snd-sb16-dsp]
  snd-opl31988   0 (autoclean) [snd-card-sbawe]
  snd-hwdep   2604   0 (autoclean) [snd-sb16-csp snd-opl3]
  snd-timer   8032   0 (autoclean) [snd-pcm snd-opl3]
  snd-mpu401-uart 2212   0 (autoclean) [snd-card-sbawe]
  snd-rawmidi 8920   0 (autoclean) [snd-mpu401-uart]
  snd-seq-device  3392   0 (autoclean) [snd-card-sbawe snd-rawmidi]
  snd34572   1 (autoclean) [snd-pcm-oss snd-pcm-plugin 
snd-mixer-oss snd-card-sbawe snd-sb16-csp snd-sb16-dsp snd-pcm snd-mixer 
snd-opl3 snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
  soundcore   2372   4 (autoclean) [snd]
  
You see the snd-pcm-oss and snd-mixer-oss? They are responsible for sound in
OSS applications like xmms. Normally you configure this in
/etc/modules.conf (or /etc/modutils/alsa + do an update-modules as root for 
Debian)
For alsa-0.5 make sure you have the following lines there:

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

[plus all the other stuff of course]

 underworld:/home/charon# cat /proc/asound/cards
 0 [card1  ]: SB16 - Sound Blaster 16
  Sound Blaster 16 at 0x220, irq 5, dma 15

This looks OK. 

 underworld:/home/charon# amixer set Master 15
 Group 'Master',0
   Capabilities: volume
   Channels: Front-Left Front-Right
   Limits: min = 0, max = 31
   Front-Left: 15 [48%] [on] [---]
   Front-Right: 15 [48%] [on] [---]
 
 Playing a cd in grip works though.. 
 
 Trying to play an mp3 using xmms gives me an error telling me 3 things,
 the most significantly being that my sound isn't configured properly. I am
 at a loss, and am uncertain how to proceed. I would very much appreciate
 it if some kind soul could offer some assistance.. 

I think this has to do with the missing OSS compatibility.

One more test you could do is to try some ALSA native sound tools like aplay.

bye
-- 
 ____
 Frank Barknecht    __    __ trip\ \  / /wire __
  / __// __  /__/ __// // __  \ \/ /  __ \\  ___\   
 / /  / /  / /  / // // /\ \\  ___\\ \  
/_/  /_/  /_/  /_//_// /  \ 

Re: Oh no, not another AWE64 question

2000-03-24 Thread Frank Barknecht
brian moore hat gesagt: // brian moore wrote:

  So my next step was to try ALSA drivers.. I've successfully installed
  these before when I ran slackware. I believed I followed the instructions
  accurately.. anyhow, here is some info..
 
 No idea.. I see no reason to use ALSA with this card.  AWE64's are as
 common as dirt and well supported by OSSfree.

One reason is: ALSA supports the full duplex mode in AWE64 cards while OSS-free 
doesn't (at least the last time I checked)

bye
-- 
 ____
 Frank Barknecht    __    __ trip\ \  / /wire __
  / __// __  /__/ __// // __  \ \/ /  __ \\  ___\   
 / /  / /  / /  / // // /\ \\  ___\\ \  
/_/  /_/  /_/  /_//_// /  \ \\_\\_\
/_/\_\ 


Re: Oh no, not another AWE64 question

2000-03-24 Thread Frank Barknecht
brian moore hat gesagt: // brian moore wrote:

  So my next step was to try ALSA drivers.. I've successfully installed
  these before when I ran slackware. I believed I followed the instructions
  accurately.. anyhow, here is some info..
 
 No idea.. I see no reason to use ALSA with this card.  AWE64's are as
 common as dirt and well supported by OSSfree.

One reason is: ALSA supports the full duplex mode in AWE64 cards while OSS-free 
doesn't (at least the last time I checked)

bye
-- 
 ____
 Frank Barknecht    __    __ trip\ \  / /wire __
  / __// __  /__/ __// // __  \ \/ /  __ \\  ___\   
 / /  / /  / /  / // // /\ \\  ___\\ \  
/_/  /_/  /_/  /_//_// /  \ \\_\\_\
/_/\_\ 


Oh no, not another AWE64 question

2000-03-23 Thread Charon

Friends.. I an in terrible need of help, and I know how much people hate
questions about soundcards, especially AWE64s, but you are my last
resort..

I've tried to get my AWE64 PnP card working for many days now, to no
avail.. first I tried using OSS modules as many other people suggested
when I researched old archives. Upon bootup I would get an error saying it
failed on IRQ 7 or something to this degree.. doing a cat /proc/interupts
showed me a sound blaster 16 under irq 7, not 5 like it should be..

So my next step was to try ALSA drivers.. I've successfully installed
these before when I ran slackware. I believed I followed the instructions
accurately.. anyhow, here is some info..

underworld:/home/charon# lsmod
Module  Size  Used by
vfat9372   1  (autoclean)
fat30304   1  (autoclean) [vfat]
snd-card-sb16   4976   0  (unused)
snd-mpu401-uart 3300   0  [snd-card-sb16]
snd-rawmidi11352   0  [snd-mpu401-uart]
snd-seq-device  3788   0  [snd-rawmidi]
isapnp 27156   0  [snd-card-sb16]
snd-opl32628   0  [snd-card-sb16]
snd-sb16-csp   17332   0  [snd-card-sb16]
snd-sb16-dsp   18472   0  [snd-card-sb16 snd-sb16-csp]
snd-pcm36696   0  [snd-sb16-dsp]
snd-timer  10688   0  [snd-opl3 snd-pcm]
snd-hwdep   3756   0  [snd-opl3 snd-sb16-csp]
snd-mixer  29552   0  [snd-sb16-csp snd-sb16-dsp]
snd44684   1  [snd-card-sb16 snd-mpu401-uart
snd-rawmidi snd-seq-device snd-opl3 snd-sb16-csp snd-sb16-dsp snd-pcm
snd-timer snd-hwdep snd-mixer]
soundcore   2788   2  [snd]
3c59x  18720   1

this is after a modprobe snd-card-sb16 as instructed in the alsa install
howto ..

underworld:/home/charon# cat /proc/asound/cards
0 [card1  ]: SB16 - Sound Blaster 16
 Sound Blaster 16 at 0x220, irq 5, dma 15

underworld:/home/charon# amixer set Master 15
Group 'Master',0
  Capabilities: volume
  Channels: Front-Left Front-Right
  Limits: min = 0, max = 31
  Front-Left: 15 [48%] [on] [---]
  Front-Right: 15 [48%] [on] [---]

Playing a cd in grip works though.. 

Trying to play an mp3 using xmms gives me an error telling me 3 things,
the most significantly being that my sound isn't configured properly. I am
at a loss, and am uncertain how to proceed. I would very much appreciate
it if some kind soul could offer some assistance.. 

BTW, I'm running frozen with a fresh 2.2.14 kernel and I have sound
support configured as a module.. 

Thanks



Re: Oh no, not another AWE64 question

2000-03-23 Thread Andrei Ivanov
I have Awe64 and managed to get it to work. Here is how I did it:
1. isapnp it. WHen you run pnpdump, you'll get 2 files: isapnp.conf and
isapnp.gone.
.gone file will tell you where NOT to put the card. Based on that
information, make hte .conf file appropriately.
I found that my card works perfectly without the Wave-table, so really all
you need to setup in isapnp.conf is the first card entry.
2. WHen this is done, compile kernel, and include everything you need as
modules. Soundcard M, OSS M, SB M, Opl3 synth. M, and low-level
driver Awe64 M.
Maybe I'm mising one or two, I'm doing this from memory.
3. make bzImage, make modules, make modules_install.
4. reboot.
5. Go to /usr/src/linux/modules, and 
lsmod to make sure you have no modules installed for sound.
modprobe sound
insmod uart401
insmod opl3
insmod sb param. from isapnp.conf

Also, you may need to go to /dev and 
./MAKEDEV audio
Then addgroup user audio.

This pretty much is it.

I realize this is a hard way to do this, but it works for me.
Andrew


-
 Andrei S. Ivanov  
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 http://arhses.dyndns.org   -|
 http://scorpio.dynodns.net -|
 http://scorpio.myip.org-|   --All the pages bundled together.
 UIN 12402354

 For GPG key, go to above URL/GnuPG
-


Re: Oh no, not another AWE64 question

2000-03-23 Thread brian moore
On Thu, Mar 23, 2000 at 12:59:47PM -0700, Charon wrote:
 
 Friends.. I an in terrible need of help, and I know how much people hate
 questions about soundcards, especially AWE64s, but you are my last
 resort..

Really, I've found AWE64's work just fine and dandy.

 I've tried to get my AWE64 PnP card working for many days now, to no
 avail.. first I tried using OSS modules as many other people suggested
 when I researched old archives. Upon bootup I would get an error saying it
 failed on IRQ 7 or something to this degree.. doing a cat /proc/interupts
 showed me a sound blaster 16 under irq 7, not 5 like it should be..

I've always used OSS just fine.

Step 1:   pnpdump  /etc/isapnp.conf
Step 2:   vi /etc/isapnp.conf
 (Okay, this is slightly tricky... but basically you have groups
  of settings.  What I'm using is the priority preferred since
  it doesn't conflict with anything.)
  Uncomment out the lines for the card itself and one group
  of settings.  Mine looks like:

(CONFIGURE CTL00e4/363516554 (LD 0
 (INT 0 (IRQ 5 (MODE +E)))
 (DMA 0 (CHANNEL 1))
 (DMA 1 (CHANNEL 5))
 (IO 0 (SIZE 16) (BASE 0x0220))
 (IO 1 (SIZE 2) (BASE 0x0330))
 (IO 2 (SIZE 4) (BASE 0x0388))
 (NAME CTL00e4/363516554[0]{Audio   })
 (ACT Y)
))

Make sure the above (default and standard) ports are available on your
system.  They may not be if a NIC or SCSI controller or something has
stolen IRQ5.  The actual file will have settings and tell you what
values you can change things to, so you can move it to IRQ7 if you need
to.  (And, of course, note that you should use -your- own file, not the
above pasted in, since things like the big ugly number up there will
vary card to card.)

In short, the rules for this should be in isapnp.conf:
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if 
required
# Don't forget to uncomment the activate (ACT Y) when happy

That handles the 'sb' part of the card.  Further down, you'll see a
section for the wavetable.  (Okay, so I don't really use this part, but
it does work -- I just find midi annoying and prefer mods or mp3s)
Mine looks like:

(CONFIGURE CTL00e4/363516554 (LD 2
 (IO 0 (SIZE 4) (BASE 0x0620))
 (IO 1 (BASE 0x0A20))
 (IO 2 (BASE 0x0E20))
 (NAME CTL00e4/363516554[2]{WaveTable   })
 (ACT Y)
))

Note that there are 3 entries there... for reasons unknown to me,
pnpdump doesn't find the last two IO ports.  (Not a big deal, since it'd
just break midi and it's not like I'd notice  but may as well do it
right.)

I also have a joystick:

(CONFIGURE CTL00e4/184255515 (LD 1
 (IO 0 (BASE 0x0200))
 (ACT Y)
))

Step 3:  To make it autoload, I have 'sb' in /etc/modules... not really
needed if you run kerneld or allow a 2.2 kernel to load things for
you.

Step 4:  In /etc/modutils/audio, I specify the ports and such:

alias midi awe_wave 
options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 
options sound   dmabuf=1
alias joystick joystick-gravis
alias js joystick-gravis

(Actually, only one of those joystick lines is meaningful... but I'm too
lazy to figure out which one is being ignored..)

Step 5:  Run 'update-modules' to make that above module settings get
into modules.conf.

Step 6: 'modprobe sb' will bring up your sound (it should also come
up on a reboot, since you added it to modules).

 So my next step was to try ALSA drivers.. I've successfully installed
 these before when I ran slackware. I believed I followed the instructions
 accurately.. anyhow, here is some info..

No idea.. I see no reason to use ALSA with this card.  AWE64's are as
common as dirt and well supported by OSSfree.

-- 
Brian Moore   | Of course vi is God's editor.
  Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
  Usenet Vandal   |  for it to load on the seventh day.
  Netscum, Bane of Elves.