Re: ALSA setup problem

2004-08-03 Thread Joris Huizer
Jules Dubois wrote:
On Mon, 02 Aug 2004 13:00:20 -0400, Kenneth Jacker wrote:

[sarge/kernel-2.4.26-1-686.  I am in the audio group.]
I'm going to jump in here since I, too, can't get ALSA to work
correctly with my board (SB Live!).

I was never able to get ALSA to work with my (new) SB Live under kernel
2.4.26.
When I installed kernel 2.6.7, it started working, although in the last
few days, the emu10k1 module stopped loading automatically.

Here are some relevant installed modules:
 snd-bt87x   5704   0
 snd-pcm-oss39464   0  (unused)
 snd-mixer-oss  13848   0  [snd-pcm-oss]
 snd-pcm61124   0  [snd-bt87x snd-pcm-oss]
 snd-timer  14532   0  [snd-pcm]
 snd-page-alloc  6392   0  [snd-bt87x snd-pcm]
 snd33508   0  [snd-bt87x snd-pcm-oss snd-mixer-oss
 snd-pcm snd-timer]
 soundcore   3940   8  [bttv snd emu10k1 sound]

The emu10k1 module isn't loaded.  Can you load it by hand using modprobe?
You should *not* load the emu10k1 module (that's OSS, not ALSA) - 
instead, you need the snd_emu10k1 module (notice ALSA modules have the 
snd_ prefix)

HTH,
Joris
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ALSA setup problem

2004-08-03 Thread Kenneth Jacker
  jh You should *not* load the emu10k1 module (that's OSS, not ALSA)
  jh - instead, you need the snd_emu10k1 module (notice ALSA modules
  jh have the snd_ prefix)

Thanks to Chris, Joris and others, I have succeeded in getting ALSA
working on my 'sarge' system!

The main problem was using the OSS modules instead of the ASLA ones.

Thanks again ...

  -Kenneth


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ALSA setup problem

2004-08-02 Thread Chris Metzler
On Sun, 1 Aug 2004 12:12:44 -0600
Paul E Condon [EMAIL PROTECTED] wrote:

 I'm trying to get sound working under Sarge using ALSA. I'm confident
 that my cables, speakers, etc. are working because I get sound from
 Knoppix. I've found some instructions at the alsa web site which seem
 to include consideration of details specific to Debian. My sound card
 is CM8738. My kernel-image is 2.4.26-1-686. I have installed the
 alsa-modules-2.4.26-1-686. I have run alsaconf, and it found my sound
 card and seemed to configure it. Much of what is in the instructions
 from alsa web site seem already to have been done by debian install
 scripts.  But, I tried reexecuting update-modules even though all the
 recommended lines were already in /etc/modutils/ and I got:
 
 depmod: *** Unresolved symbols in
 /lib/modules/2.4.26-1-686/alsa/snd-pdaudiocf.o depmod: *** Unresolved
 symbols in /lib/modules/2.4.26-1-686/alsa/snd-vx-cs.o
 
 This looks bad to me. Is it? What do I do about it?

It's only bad if you need that module.  For a CM8738, I wouldn't think
you do.  So I think you're OK.

Getting soundcards to work under ALSA is *usually* a three-step
process:  1.  does the kernel see the soundcard OK (what does lspci
-vv say about the soundcard)?  2.  do you have the right modules
installed (what does lsmod say)?  3.  have you unmuted everything
you need to in alsamixer (are Master, PCM, and CD unmuted), and are
the relevant sliders (Master, PCM, CD and Wave) turned up to
reasonable values?  You haven't given us enough information yet.

-c

-- 
Chris Metzler   [EMAIL PROTECTED]
(remove snip-me. to email)

As a child I understood how to give; I have forgotten this grace since I
have become civilized. - Chief Luther Standing Bear


pgpIjX8TL8lW7.pgp
Description: PGP signature


Re: ALSA setup problem

2004-08-02 Thread Kenneth Jacker
  cmetzler Getting soundcards to work under ALSA is *usually* a
  cmetzler three-step process: 1.  does the kernel see the soundcard
  cmetzler OK (what does lspci -vv say about the soundcard)?  2.  do
  cmetzler you have the right modules installed (what does lsmod
  cmetzler say)?  3.  have you unmuted everything you need to in
  cmetzler alsamixer (are Master, PCM, and CD unmuted), and are the
  cmetzler relevant sliders (Master, PCM, CD and Wave) turned up to
  cmetzler reasonable values?  You haven't given us enough
  cmetzler information yet.

[sarge/kernel-2.4.26-1-686.  I am in the audio group.]

I'm going to jump in here since I, too, can't get ALSA to work
correctly with my board (SB Live!).  The first two steps above are OK.
[BTW, all works fine under a non-ALSA RH9.]

When I run 'alsaconf', it shows,

  emu10k1 Creative Labs SB Live! EMU10k1 (rev 0a)

in the dialog which I select and configure.  My radio/TV card does
*not* show up.

When I run 'alsamixer', it *only* shows my Brooktree Bt878 card
(radio, TV).  The Bt878 mixer controls do nothing.  More importantly,
I can't get what I'd call the general mixer controls to show up
(e.g., Master, PCM, etc).  'Kmix' seg faults!

I tried alsamixer -c 1, and it returned:

  alsamixer: function snd_ctl_open failed for hw:1: No such device

Here are some relevant installed modules:

  snd-bt87x   5704   0
  snd-pcm-oss39464   0  (unused)
  snd-mixer-oss  13848   0  [snd-pcm-oss]
  snd-pcm61124   0  [snd-bt87x snd-pcm-oss]
  snd-timer  14532   0  [snd-pcm]
  snd-page-alloc  6392   0  [snd-bt87x snd-pcm]
  snd33508   0  [snd-bt87x snd-pcm-oss snd-mixer-oss
  snd-pcm snd-timer]
  soundcore   3940   8  [bttv snd emu10k1 sound]
  

Thanks for any help!

-- 
Prof Kenneth H Jacker   [EMAIL PROTECTED]
Computer Science Dept   www.cs.appstate.edu/~khj
Appalachian State Univ
Boone, NC  28608  USA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ALSA setup problem

2004-08-02 Thread Paul E Condon
On Mon, Aug 02, 2004 at 09:35:14AM -0400, Chris Metzler wrote:
 On Sun, 1 Aug 2004 12:12:44 -0600
 Paul E Condon [EMAIL PROTECTED] wrote:
 
  I'm trying to get sound working under Sarge using ALSA. I'm confident
  that my cables, speakers, etc. are working because I get sound from
  Knoppix. I've found some instructions at the alsa web site which seem
  to include consideration of details specific to Debian. My sound card
  is CM8738. My kernel-image is 2.4.26-1-686. I have installed the
  alsa-modules-2.4.26-1-686. I have run alsaconf, and it found my sound
  card and seemed to configure it. Much of what is in the instructions
  from alsa web site seem already to have been done by debian install
  scripts.  But, I tried reexecuting update-modules even though all the
  recommended lines were already in /etc/modutils/ and I got:
  
  depmod: *** Unresolved symbols in
  /lib/modules/2.4.26-1-686/alsa/snd-pdaudiocf.o depmod: *** Unresolved
  symbols in /lib/modules/2.4.26-1-686/alsa/snd-vx-cs.o
  
  This looks bad to me. Is it? What do I do about it?
 
 It's only bad if you need that module.  For a CM8738, I wouldn't think
 you do.  So I think you're OK.
 
 Getting soundcards to work under ALSA is *usually* a three-step
 process:  1.  does the kernel see the soundcard OK (what does lspci
 -vv say about the soundcard)?  2.  do you have the right modules
 installed (what does lsmod say)?  3.  have you unmuted everything
 you need to in alsamixer (are Master, PCM, and CD unmuted), and are
 the relevant sliders (Master, PCM, CD and Wave) turned up to
 reasonable values?  You haven't given us enough information yet.
 

Your questions are very helpful. I'll get back with more info. soon.
Thanks.

-- 
Paul E Condon   
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ALSA setup problem

2004-08-02 Thread Chris Metzler
On 02 Aug 2004 13:00:20 -0400
Kenneth Jacker [EMAIL PROTECTED] wrote:

 Here are some relevant installed modules:
 
   snd-bt87x   5704   0
   snd-pcm-oss39464   0  (unused)
   snd-mixer-oss  13848   0  [snd-pcm-oss]
   snd-pcm61124   0  [snd-bt87x snd-pcm-oss]
   snd-timer  14532   0  [snd-pcm]
   snd-page-alloc  6392   0  [snd-bt87x snd-pcm]
   snd33508   0  [snd-bt87x snd-pcm-oss snd-mixer-oss
   snd-pcm snd-timer]

The alsa modules for your SB Live aren't listed here; no wonder
it isn't working . . .

   soundcore   3940   8  [bttv snd emu10k1 sound]

. . .while soundcore, listing the modules that depend on it, lists
emu10k1 and sound, which are OSS modules rather than ALSA modules.
If you showed the full output from lsmod, would we see emu10k1
there?

You can't have both OSS and ALSA modules for the card loaded at
the same time.  My suspicion is that you're using either discover
or hotplug (or both), and that it/they run in the boot process
before the ALSA scripts do.  discover/hotplug is loading the
OSS modules for your soundcard because you forgot to blacklist
them.  Then along comes ALSA, which is unable to load snd-emu10k1
etc.

Here's what an lsmod for a machine with the SBLive correctly
installed ought to look like:

stax:~-508 lsmod | sort
Module  Size  Used byTainted: P
[ stuff snipped ]
snd34244   1 [snd-emu10k1 snd-pcm-oss snd-mixer-oss snd-pcm 
snd-timer snd-hwdep snd-util-mem snd-ac97-codec snd-rawmidi snd-seq-device]
snd-ac97-codec 55164   0 [snd-emu10k1]
snd-emu10k176328   2
snd-hwdep   5216   0 [snd-emu10k1]
snd-mixer-oss  13560   1 [snd-pcm-oss]
snd-page-alloc  6328   0 [snd-emu10k1 snd-pcm]
snd-pcm61668   0 [snd-emu10k1 snd-pcm-oss]
snd-pcm-oss38216   0
snd-rawmidi14208   0 [snd-emu10k1]
snd-seq-device  4224   0 [snd-emu10k1 snd-rawmidi]
snd-timer  15588   0 [snd-pcm]
snd-util-mem1280   0 [snd-emu10k1]

-c

P.S.  You might want to fix your mail client.  Email to the list from
you is coming out with a Reply-To: header of [EMAIL PROTECTED],
forcing those replying to you to edit it manually (provided they even
catch it).

-- 
Chris Metzler   [EMAIL PROTECTED]
(remove snip-me. to email)

As a child I understood how to give; I have forgotten this grace since I
have become civilized. - Chief Luther Standing Bear


pgpBhfQUi6g8i.pgp
Description: PGP signature


Re: ALSA setup problem

2004-08-02 Thread Jules Dubois
On Mon, 02 Aug 2004 13:00:20 -0400, Kenneth Jacker wrote:

 [sarge/kernel-2.4.26-1-686.  I am in the audio group.]
 
 I'm going to jump in here since I, too, can't get ALSA to work
 correctly with my board (SB Live!).

I was never able to get ALSA to work with my (new) SB Live under kernel
2.4.26.

When I installed kernel 2.6.7, it started working, although in the last
few days, the emu10k1 module stopped loading automatically.

 Here are some relevant installed modules:
 
   snd-bt87x   5704   0
   snd-pcm-oss39464   0  (unused)
   snd-mixer-oss  13848   0  [snd-pcm-oss]
   snd-pcm61124   0  [snd-bt87x snd-pcm-oss]
   snd-timer  14532   0  [snd-pcm]
   snd-page-alloc  6392   0  [snd-bt87x snd-pcm]
   snd33508   0  [snd-bt87x snd-pcm-oss snd-mixer-oss
   snd-pcm snd-timer]
   soundcore   3940   8  [bttv snd emu10k1 sound]

The emu10k1 module isn't loaded.  Can you load it by hand using modprobe?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ALSA setup problem

2004-08-02 Thread Paul E Condon
On Mon, Aug 02, 2004 at 09:35:14AM -0400, Chris Metzler wrote:
 On Sun, 1 Aug 2004 12:12:44 -0600
 Paul E Condon [EMAIL PROTECTED] wrote:
 
  I'm trying to get sound working under Sarge using ALSA. I'm confident
  that my cables, speakers, etc. are working because I get sound from
  Knoppix. I've found some instructions at the alsa web site which seem
  to include consideration of details specific to Debian. My sound card
  is CM8738. My kernel-image is 2.4.26-1-686. I have installed the
  alsa-modules-2.4.26-1-686. I have run alsaconf, and it found my sound
  card and seemed to configure it. Much of what is in the instructions
  from alsa web site seem already to have been done by debian install
  scripts.  But, I tried reexecuting update-modules even though all the
  recommended lines were already in /etc/modutils/ and I got:
  
  depmod: *** Unresolved symbols in
  /lib/modules/2.4.26-1-686/alsa/snd-pdaudiocf.o depmod: *** Unresolved
  symbols in /lib/modules/2.4.26-1-686/alsa/snd-vx-cs.o
  
  This looks bad to me. Is it? What do I do about it?
 
 It's only bad if you need that module.  For a CM8738, I wouldn't think
 you do.  So I think you're OK.
 
 Getting soundcards to work under ALSA is *usually* a three-step
 process:  
1.  does the kernel see the soundcard OK (what does lspci
 -vv say about the soundcard)?  

:00:13.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
Subsystem: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- TAbort- 
MAbort- SERR- PERR-
Latency: 32 (500ns min, 6000ns max)
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at ec00 [size=256]
Capabilities: available only to root

2.  do you have the right modules
 installed (what does lsmod say)? 
(output of lsmod | grep snd )
snd-cmipci 19044   0
snd-pcm-oss39464   0  (unused)
snd-mixer-oss  13848   0  [snd-pcm-oss]
snd-pcm61124   0  [snd-cmipci snd-pcm-oss]
snd-page-alloc  6392   0  [snd-pcm]
snd-opl3-lib6596   0  [snd-cmipci]
snd-hwdep   5248   0  [snd-opl3-lib]
snd-timer  14532   0  [snd-pcm snd-opl3-lib]
gameport1676   0  [snd-cmipci]
snd-mpu401-uart 3504   0  [snd-cmipci]
snd-rawmidi13504   0  [snd-mpu401-uart]
snd-seq-device  4160   0  [snd-opl3-lib snd-rawmidi]
snd33508   0  [snd-cmipci snd-pcm-oss snd-mixer-oss snd-pcm 
snd-opl3-lib snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore   3940   4  [snd] 

3.  have you unmuted everything
 you need to in alsamixer (are Master, PCM, and CD unmuted), and are
 the relevant sliders (Master, PCM, CD and Wave) turned up to
 reasonable values?  You haven't given us enough information yet.
 
Using alsamixer I have unmuted all channels and put all volume controls at maximum.
But alsamixer does not have a 'Wave' channel. 
Using alsaplayer I load and play an mp3 file of some music.
I see the timer ticking off seconds on alsaplayer display, but there is no sound.
Is there some overall mute control somewhere else? Do I need to have something
special in /dev ? Should I start alsaplayer or alsamixer first? Or does it matter?

Also, alsoconf did find my sound card and it confirms that it uses cm8738.
Below is a copy of /etc/modutils/alsa-base

above snd-pcm snd-pcm-oss

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.5 ---
alias char-major-116 snd
alias char-major-14 soundcore
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
options snd  device_mode=0660
alias snd-card-0 snd-cmipci
alias sound-slot-0 snd-cmipci
# --- END: Generated by ALSACONF, do not edit. ---

I renamed alsa-base (above) and redid alsaconf. The new alsa-base
was identical to the above except for the line above snd-pcm snd-pdm-oss.
It also didn't work. Same failure mode: visual display looks like it is
playing an mp3, but there is no sound.

I'm happy to oblige requests for more data. 
Thanks for any suggestions.

-- 
Paul E Condon   
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



ALSA setup problem

2004-08-01 Thread Paul E Condon
I'm trying to get sound working under Sarge using ALSA. I'm confident
that my cables, speakers, etc. are working because I get sound from
Knoppix. I've found some instructions at the alsa web site which seem
to include consideration of details specific to Debian. My sound card
is CM8738. My kernel-image is 2.4.26-1-686. I have installed the
alsa-modules-2.4.26-1-686. I have run alsaconf, and it found my sound
card and seemed to configure it. Much of what is in the instructions
from alsa web site seem already to have been done by debian install
scripts.  But, I tried reexecuting update-modules even though all the
recommended lines were already in /etc/modutils/ and I got:

depmod: *** Unresolved symbols in /lib/modules/2.4.26-1-686/alsa/snd-pdaudiocf.o
depmod: *** Unresolved symbols in /lib/modules/2.4.26-1-686/alsa/snd-vx-cs.o

This looks bad to me. Is it? What do I do about it?


-- 
Paul E Condon   
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ALSA setup problem

2004-08-01 Thread Silvan
On Sunday 01 August 2004 02:12 pm, Paul E Condon wrote:

 depmod: *** Unresolved symbols in
 /lib/modules/2.4.26-1-686/alsa/snd-pdaudiocf.o depmod: *** Unresolved
 symbols in /lib/modules/2.4.26-1-686/alsa/snd-vx-cs.o

 This looks bad to me. Is it? What do I do about it?

The short, simple answer is that those modules are borked somehow.  I've seen 
that too, using Debian's stock ALSA modules.  Fortunately, I didn't need any 
of the ones that were affected.  If you do, then I suppose all you can do 
from here is build the modules from source and see if you fare better.

If you don't need the modules with unresolved symbols, then this isn't your 
problem.  For example, I have:

depmod: *** Unresolved symbols 
in /lib/modules/2.4.25-1-686/alsa/snd-pdaudiocf.o
depmod: *** Unresolved symbols in /lib/modules/2.4.25-1-686/alsa/snd-vx-cs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.25-1-686/alsa/snd-vxp440.o
depmod: *** Unresolved symbols 
in /lib/modules/2.4.25-1-686/alsa/snd-vxpocket.o


But I'm running a snd-emu10k1, so this doesn't affect me.

-- 
Michael McIntyre     Silvan [EMAIL PROTECTED]
Linux fanatic, and certified Geek;  registered Linux user #243621
http://www.geocities.com/Paris/Rue/5407/
http://rosegarden.sourceforge.net/tutorial/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]