Re: [Alsa-user] Alsa + spdif + 2.6 on inspiron 8600 + port replicator

2004-02-18 Thread Clemens Ladisch
Jonathan Beilin wrote:
 Also, is there a way to get the device to not upsample the spdif output to
 48khz? hmmm I'm getting ahead of myself here...

 cat ac97#0-0
 ...
 SPDIF Control: Consumer PCM Category=0x2 Generation=1 Rate=48kHz

Try changing the rate with the iecset utility.

It may be possible that your AC'97 codec doesn't support SPDIF output
at 44.1 kHz.  Which one do you have (see first line of ac97#0-0)?


HTH
Clemens




---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] OSS emulation and speed settings

2004-02-18 Thread Bill Unruh
I have a M-Audio Transit card, which we have finally gotten working. It
has the ability to set a continuous range of speeds from 8K to 48K.
Using arecord, I have used for example 44100 and 44102 and both work
properly (a CDplayer I have at 44100 clearly is about 2Hz faster than
that by analysing its output of  a sine wave signal of a 11025Hz
recorded to a CD, and using arecord with a 
the -r 44102 setting reproduces that wave exactly.) However if I try to set
the speed 44102  by ioctl to /dev/dsp in the oss emulation, 
the program hangs on trying to read from /dev/dsp at that rate-- 44100
works perfectly.
 Is there some limitation on acceptable speeds  in OSS emualtion?

-- 
William G. Unruh   |  Canadian Institute for| Tel: +1(604)822-3273
PhysicsAstronomy  | Advanced Research  | Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology | [EMAIL PROTECTED]
Canada V6T 1Z1 |  and Gravity   |  www.theory.physics.ubc.ca/


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] emu10k1 midi failing. why?

2004-02-18 Thread Clemens Ladisch
Hawkeye Parker wrote:
 i'm trying to understand why and how my midi playback capabilities
 are failing under ALSA.  i'm trying to use my soundBlaster Live!
 (EMU10K1) midi synth, but i hear nothing.

 is there any way to tell *what* isn't working?

lsmod tells us the modules are loaded.
pmidi -l tells us the MIDI ports are there.

How did you run sfxload?  Does it output any error message?
Did you play to one of the wavetable ports? (The MPU-401 is the
external port.)
Did you unmute and raise the volume of all relevant mixer controls?

Please look into the file /proc/asound/card?/wavetableD? to see if
sfxload worked (it should say something about memory and instruments).
Additionally, some instrument/samples should be locked while playing.

 the Details page for this card on the Alsa site states:

 - MIDI on SB live drive not working properly.

This relates to the second external MIDI port, not to the wavetable
synthesizer.


HTH
Clemens




---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Low signal from spdif when recording, playback works fine

2004-02-18 Thread Frank Limstrand
Hi list

We have an Intel box with three MAudio Delta 66 soundcards where we are
struggling to get recording to work properly. We see from the meters in
the envy24control application that the feed from the CD-player connected
through all three cards spdif inputs are coming through just fine.
We have also tried to use arecord/aplay which also works just fine.
The problem comes when we try to record with audacity or cinelerra. We
can see a little movement on the meters in cinelerra, but we hear
nothing when we record or when we playback the recording. When we took
the recorded file into audacity and used the Normalize effect we could
hear the music (and a lot of noise). Recording in audacity gives
nothing, at all.

Pretty vague i guess but we are newbees at this. Could anyone help?

I have included some information which i hope is what You need for
diagnostics. Don't hesitate to ask for more.

with regards
Frank



# more /etc/issue
Fedora Core release 1 (Yarrow)

# uname -a
Linux localhost 2.6.1 #1 SMP Fri Feb 6 21:34:01 CET 2004 i686 i686 i386
GNU/Linux

Relevant information from .config:
#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SCONFIG_SND_ICE1712=m
CONFIG_SND_ICE1724=m
CONFIG_SND_INTEL8X0=m
ND_DEBUG is not set


ALSA (Advanced Linux Sound Architecture) v1.0.2c driver version
./configure --with-cards=ice1712 --with-oss --with-sequencer=yes
--with-isapnp=no

# more /etc/modules.conf
alias char-major-116 snd
alias snd-card-0 snd-ice1712

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
#options snd-ice1712 id=card0 isapnp=0

#RogerFrank did this
alias snd-card-1 snd-ice1712
alias snd-card-2 snd-ice1712
alias sound-slot-1 snd-card-1
alias sound-slot-2 snd-card-2
options snd cards_limit=3
# OSS/Free portion - card #1
alias sound-slot-0 snd-card-0
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

# OSS/Free portion - card #2
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss

# OSS/Free portion - card #3
alias sound-slot-2 snd-card-2
alias sound-service-2-0 snd-mixer-oss
alias sound-service-2-3 snd-pcm-oss
alias sound-service-2-12 snd-pcm-oss

post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
/dev/null 21 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S
/dev/null 21 || :
#

# more /etc/modprobe.conf
include /etc/modprobe.conf.dist
alias scsi_hostadapter aic79xx
alias eth1 tg3

#testing
alias snd-card-1 snd-ice1712
alias sound-slot-1 snd-ice1712
alias snd-card-2 snd-ice1712
alias sound-slot-2 snd-ice1712
options snd cards_limit=3

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.2 ---
alias snd-card-0 snd-ice1712
alias sound-slot-0 snd-ice1712
# --- END: Generated by ALSACONF, do not edit. ---

# more /etc/asound.conf
pcm.card0 {
  type hw
  card 0
  device 0
}

ctl.card0 {
  type hw
  card 0
  device 0
}
pcm.card1 {
  type hw
  card 1
  device 0
}

ctl.card1 {
  type hw
  card 1
  device 0
}

pcm.card2 {
  type hw
  card 2
  device 0
}
ctl.card2 {
  type hw
  card 2
  device 0
}
pcm.kort1 {
 type plug
 slave {
   pcm card0
}
}

pcm.kort2 {
 type plug
 slave {
   pcm card1
}
}

pcm.kort3 {
 type plug
 slave {
   pcm card2
}
}


# /sbin/lspci
00:00.0 Host bridge: Intel Corp. E7505 Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corp. E7000 Series Processor to AGP Controller
(rev 03)
00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 01)
00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 01)
00:1d.7 USB Controller: Intel Corp. 82801DB USB2 (rev 01)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corp. 82801DB LPC Interface Controller (rev
01)
00:1f.1 IDE interface: Intel Corp. 82801DB Ultra ATA Storage Controller
(rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 If
[Radeon 9000] (rev 01)
01:00.1 Display controller: ATI Technologies Inc Radeon R250 [Radeon
9000] (Secondary) (rev 01)
05:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5702
Gigabit Ethernet (rev 02)
05:0a.0 Multimedia audio controller: IC Ensemble Inc ICE1712 [Envy24]
(rev 02)
05:0b.0 Multimedia audio controller: IC Ensemble Inc ICE1712 [Envy24]
(rev 02)
05:0c.0 SCSI storage controller: Adaptec AIC-7902 U320 (rev 03)
05:0c.1 SCSI storage controller: Adaptec AIC-7902 U320 (rev 03)
05:0e.0 Multimedia audio controller: IC Ensemble Inc ICE1712 [Envy24]
(rev 02)

# lsmod
Module  Size  Used by
snd_pcm_oss48676  

[Alsa-user] Mixer settings.

2004-02-18 Thread MvH
Hello, I am a bit new to alsa since my applications worked better with oss
before. I own a emu10k1 card.

I know, the driver has everything unmuted by default, so I use the amix
program to set the sound in startup, I noticed the following:

My soundcard has about a dozen or more devices. Most of them are hard to
guess what they do.
When I use alsamixer I have so many sliders, that its kinda hard to find
wich one to pull. some of them also seem to interact wich eachother making
it possible to use different mixing setups?

Is there any convenient mixer that doesnt let me fumble around and just
gives me a simple set of sliders? I only have a set of nasty old
pcspeakers for my sound here so I realy don't bother with any of the
advanced options.

And is there any documentation about what all the other sliders mean? I
can guess Master and PCM but some of the mixer controls seem rather
obscure. If it allows you to do anything funky with this card ( like i've
seen some years ago in win98 ) it would be fun.


bye,

Matt.



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Fwd: Re: [Alsa-user] soundblaster awe64]

2004-02-18 Thread kringla


Subject:Re: [Alsa-user] soundblaster awe64
Date:   Wed, 18 Feb 2004 11:47:24 +0100
From:   kringla [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
References: [EMAIL PROTECTED] [EMAIL PROTECTED]


Hi

My module loading works great for other modules in my system. I 
installed module-init-tools_3.0-pre5-0 (thats a debian package) when i 
got the new kernel.

Last night I was able to load the snd-sbawe module, I decided to get rid 
of the isapnp.conf file and added irq=7 in the file 
'/etc/alsa/modutils/1.0'. After solving som dependencies I got xmms to 
start, changed to libAlsa.so as output plugin and saved, loaded some 
songs and pushed play - nothing happens and I get some warnings.

alsa_get_mixer(): Attaching to mixer hw:0 failed: Permission denied.
I remember setting the access rights to 0660 for some device, does that 
work if I don't use devfs?

So I start xmms as root, and xmms still don't play the music, but I 
don't get the warning about alsa_get_mixer. Is there supposed to be a 
snd_mixer module loaded?

name:/lib/modules/2.6.1/kernel/sound/drivers# insmod snd-serial-u16550.ko
insmod: error inserting 'snd-serial-u16550.ko': -1 No such device
name:/lib/modules/2.6.1/kernel/sound/drivers# insmod mpu401/snd-mpu401.ko
insmod: error inserting 'mpu401/snd-mpu401.ko': -1 No such device
name:/lib/modules/2.6.1/kernel/sound/drivers# insmod 
mpu401/snd-mpu401-uart.ko
insmod: error inserting 'mpu401/snd-mpu401-uart.ko': -1 File exists

I think the script '/etc/init.d/alsa' does some checks to figure out 
which tools to load modules with, and then loads them.

blasted /





---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] ALSA with AC97 audio on Radeon 9100 IGP

2004-02-18 Thread Paul Eggleton
Hi there,

There was a post (http://www.mail-archive.com/alsa-user%
40lists.sourceforge.net/msg10844.html) suggesting a possible test/fix for 
getting ALSA to work on an ATI Radeon 9100 IGP system a short time ago, and 
as nobody had replied to say they had tried it I thought I would.

I tried adding the following line to intel8x0.c (as part of snd_intel8x0_ids) 
and it didn't seem to work:

 { 0x1002, 0x4341, PCI_ANY_ID, PCI_ANY_ID, 0, 0, DEVICE_INTEL },

This resulted in the following kernel messages:

--- snip ---
ALSA sound/pci/intel8x0.c:2442: unable to grab ports 0xdc105000-0xdc1050ff
Intel ICH: probe of :00:14.5 failed with error -16
ALSA sound/pci/intel8x0.c:2782: joystick(s) found
--- snip ---

This was with the ALSA version built into the 2.6.3 kernel. My system is a 
Shuttle ST62K, which has the ATI Radeon 9100 IGP (RS300 + IXP150) chipset.

BTW, in case anyone else is trying to get Linux working on an ST62K, ST61G4 
(or any other 9100 IGP based system, for that matter), you may find the page 
I have set up useful:

http://www.bluelightning.org/linux/st62k

Cheers,
Paul


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] SbLive 5.1 + Spdif out + 2.6 = Misery (Help :)

2004-02-18 Thread Wayde Milas
On Tue, 2004-02-17 at 09:15, Wayde Milas wrote:
 Ok, for the last week I've RTFM'd. I've wikid. I've looked through the
 source. I'm at my wits end. For the love of everything thats holy to
 geekdom, please read the follow and reply if ya can before I tear my
 hair out :)
 
 Hardware:
 :01:06.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1
 (rev 07)
 
 Software: Alsa in 2.6.2 and 2.6.3rc1 (same results with both).
 
 What I'm trying to do is enable the digital coax output (SPDIF) on the
 back of the Soundblaster 5.1. I know this works because years ago, I had
 a older Live 4 channel that I used to do the same with under the old OSS
 drivers.
 
 So, I'm modprobing the module with:
 modprobe snd-emu10k1 extin=0x3fc3 extout=0x1fff
 
 Note that I do NOT have the live drive hooked up (but I do ahve it
 laying around somewhere). From what I've read in the docs and wiki, this
 is the correct bitmaps for a 5.1 card with digital out.
 
 Analog plays just fine through the front 2 channels. So I know the card
 is working fine.
 
 As far as cabling I have a MONO miniplug going to a single rca plug.
 this is connected to the Coax in of the receiver.
 
 For mixer settings I have No clue what to do. I've read umpteen
 different things, and alot of the stuff I've googled seems to relate to
 mizer settings before some of the names changed. Basicly, I have master
 unmuted at 100%. Bass and Trebble are at 50%. Pcm is at 100% Surround is
 at 100%. Cant mute it, I tried. Center, LFE and Wave are at 100%. cant
 mute them either. Music at 100%. IEC958 Coaxial at 100%. ac97 capture at
 100%. SB Live Analog/Digital Output Jack [Off].
 
 I've messing with every conceivible option including turning most things
 off and toggling the SB Live Analog/Digital Output Jack on and off.
 
 No matter what I do the analog jack never goes off (unless I turn pcm
 or master down to 0). I would of thought enabling or trying to enable
 SPDIF would mute the analog.. .but thats an aside and doesnt matter
 much)
 
 What am I doing wrong? Help :(
 
 Much thanks in advance,
 Wayde Milas

Well, last night I installed the old OSS driver and activated the SPDIF
out with emu-tools for that driver. It worked just fine, and I get PCM
data going to my tuner, which the tuner plays great.

I switched back to alsa, and for the life of me, I still cant get it to
play out of the rear Spdif jack.

Anyone have a Sblive 5.1 and have it working? Would ya mind sharing your
alsa settings?

Wayde




---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Mixer settings.

2004-02-18 Thread Florian Schmidt
On Wed, 18 Feb 2004 12:03:22 +0100 (CET)
MvH [EMAIL PROTECTED] wrote:

 Hello, I am a bit new to alsa since my applications worked better with
 oss before. I own a emu10k1 card.
 
 I know, the driver has everything unmuted by default, so I use the
 amix program to set the sound in startup, I noticed the following:
 
 My soundcard has about a dozen or more devices. Most of them are
 hard to guess what they do.
 When I use alsamixer I have so many sliders, that its kinda hard to
 find wich one to pull. some of them also seem to interact wich
 eachother making it possible to use different mixing setups?
 
 Is there any convenient mixer that doesnt let me fumble around and
 just gives me a simple set of sliders? I only have a set of nasty old
 pcspeakers for my sound here so I realy don't bother with any of the
 advanced options.
 
 And is there any documentation about what all the other sliders mean?
 I can guess Master and PCM but some of the mixer controls seem
 rather obscure. If it allows you to do anything funky with this card (
 like i've seen some years ago in win98 ) it would be fun.

http://alsa.opensrc.org/index.php?page=emu10k1
http://alsa.opensrc.org/index.php?page=SbLiveMixerControls
http://alsa.opensrc.org/index.php?page=SbLiveMixer


-- 
signature :)



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] center_lfe not working

2004-02-18 Thread Takashi Iwai
At Tue, 17 Feb 2004 21:14:02 -0300,
Leonardo Sá wrote:
 
 I've a 5.1 surround card (cmedia 8738) but i can't get output from the bass 
 (subwoofer) speaker.
 
 $ aplay -Drear logout.wav
 Playing WAVE 'logout.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
 Stereo
 
 $ aplay -Dfront logout.wav
 Playing WAVE 'logout.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
 Stereo
 
 $ aplay -Dcenter_lfe logout.wav
 ALSA lib pcm.c:1787:(snd_pcm_open_conf) Invalid type for PCM center_lfe 
 definition (id: center_lfe, value: cards.pcm.center_lfe)
 aplay: main:484: audio open error: Invalid argument
 
 only the center_lfe device is not working. Both center and rear can output 
 sound very well.
 
 Someone can point me out what i've been doing wrong?

the card doesn't support the individual center/lfe channel.
it's always bound to 5.1 output.


Takashi


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Fwd: Re: [Alsa-user] soundblaster awe64]

2004-02-18 Thread Joachim Feise
kringla wrote on 2/18/2004 4:38:
 
 So I start xmms as root, and xmms still don't play the music, but I

Did you unmute? Alsa mutes the output by default.

 don't get the warning about alsa_get_mixer. Is there supposed to be a
 snd_mixer module loaded?

Only for OSS-emulation, as far as I know.
modprobe snd-mixer-oss
I don't know if xmms needs oss emulation.

 I think the script '/etc/init.d/alsa' does some checks to figure out
 which tools to load modules with, and then loads them.

I'm running Slackware, so my scripts tend to be a bit different...

-Joe



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Fwd: Re: [Alsa-user] soundblaster awe64]

2004-02-18 Thread kringla
Yes, with alsamixer. The volume settings are also saved/restored when 
rebooting.
xmms doesn't play the file, the thing that usualy moves from left to 
right during playing is not visible.
I have tried playing different files, in case of a corrupt soundfile or 
problems with permission.
 Did you unmute? Alsa mutes the output by default.

I think it can use pure alsa, since there is an output plugin in xmms 
that is named alsa-something.
But I am not 100% sure.
I don't know if xmms needs oss emulation.

I think the problem has something to do with dma-adresses. At boot I get 
this:
pnp: Device 01:01.02 activated.
sbawe: no OPL device at 0x388-0x38a

And further down this:

atkbd.c: Unknown key released (translated set 2, code 0x7a on 
isa0060/serio0).
atkbd.c: Unknown key released (translated set 2, code 0x7a on 
isa0060/serio0).
pnp: Device 01:01.00 disabled.
pnp: Device 01:01.02 disabled.
request_module: failed /sbin/modprobe -- char-major-4-64. error = 256
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled

What's going on!
I'm so bored, no sound for 2 months now.
Climbing the walls here, help!


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user