Re: [Alsa-user] How do I send MIDI Messages to /dev/snd/seq ?

2003-03-06 Thread Clemens Ladisch
Denis wrote:
 I wrote a c code to send MIDI message NOTE ON to sequencer, but I get
 Segmentation fault.
 What's wrong with it?

Some fields of ev contain random data, so you better clear it before using
it:
  snd_seq_ev_clear(ev);

 ev.type = SND_SEQ_EVENT_NOTEON;
 ev.data.note.channel = 0x00;
 ev.data.note.note = 0x30;
 ev.data.note.velocity = 0x7f;

 ev.data.note.duration = 0x7f;

.duration isn't needed for a _NOTEON event (only for _NOTE event, and then
you would need a running queue).

And some other fields need to be set (see seqmid.h for the definitions of
these macros):

 snd_seq_ev_set_source(ev, portid); // source port
 snd_seq_ev_set_subs(ev);   // send to all subscribers
 snd_seq_ev_set_direct(ev); // send directly, not through a queue

snd_seq_event_output_direct(ctxp,ev);

Now it should be working.


HTH
Clemens




---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] No sound for rawmidi mode of emu10k1

2003-03-06 Thread Clemens Ladisch
Denis wrote:
 My SB-Live 5.1 (emu10k1) worked with ALSA 0.9.0beta10.
 If I use 'pmidi' to play midi files with internal Wavetable, it is OK!
 But if I send MIDI messages via rawmidi device, only MPU401 can be Tx/Rx
 successfully.

 Eg:  cat MIDI_MESSAGES_FILE  /dev/snd/midiC0D0(MPU401)OK!!
cat MIDI_MESSAGES_FILE  /dev/snd/midiC0D2 (Wavetable)NOT
 OK!!  No sound!

 How do I send midi messages via rawmidi to Wavetable ?

The command above is a correct way to send midi messages to a device.
However, the MIDI_MESSAGES_FILE must contain the raw MIDI messages,
without timing information or other metadata, so you cannot use a standard
MIDI file (.mid). And all messages are sent as fast as possible, so it
doesn't make sense do send note on/off messages as the notes will be
switched off immediately.


HTH
Clemens




---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Re: Terratec DMX 6Fire LT - Runing with SPDIF-Out

2003-03-06 Thread Luke Yelavich
Would this change of code allow S/PDIF to work on the DMX 6Fire 24/96?

Cheers
Luke.
At 11:23 PM 3/5/2003, Takashi Iwai wrote:
thanks for your report.  it's now enabled on the cvs.
i totally forgot to fix this for long time :)




---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] hp omnibook xe4100

2003-03-06 Thread Vesa Laasanen
Hi.

I'm planning to buy hp omnibook xe4100. How can I tell is there alsa 
driver for hp's soundcard? Specs only say soundblaster pro compatible 
soundcard. I'm really novice in this wonderful world of linux.

Vesa Laasanen,
Finland



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Yamaha CLP-170 via USB

2003-03-06 Thread Raimund Eimann
Hi,

can anyone help me establish a Midi connection between my CLP-170 and my Linux 
box (SuSE 8.1)?

I've included some data of my machine below. They don't tell me much at this 
stage... 

On plugging the USB cable into the CLP-170 I get the following message in 
/var/log/messages:

Mar  6 13:15:43 calypso kernel: usb.c: USB device 3 (vend/prod 0x499/0x1010) 
is not claimed by any active driver.

:(

Does anyone know if there's a chance getting all this to work smoothly with 
software such as KDE's noteedit?

Cheers,
Raimund


Some data: Kernel 2.4.19

lsmod |grep snd :

snd-pcm-oss44928   0  (autoclean)
snd-mixer-oss  12728   0  (autoclean) [snd-pcm-oss]
snd-seq-midi4480   0  (unused)
snd-usb-midi7448   0  (unused)
snd-seq-virmidi 3560   0  [snd-usb-midi]
snd-seq-midi-event  2920   0  [snd-seq-midi snd-usb-midi snd-seq-virmidi]
snd-seq37776   0  [snd-seq-midi snd-usb-midi snd-seq-virmidi 
snd-seq-midi-event]
snd-usb-audio  28256   0  (unused)
snd-ens137111532   0
snd-pcm63328   0  [snd-pcm-oss snd-usb-audio snd-ens1371]
snd-timer  11524   0  [snd-seq snd-pcm]
snd-rawmidi13920   0  [snd-seq-midi snd-seq-virmidi snd-ens1371]
snd-seq-device  4140   0  [snd-seq-midi snd-usb-midi snd-seq 
snd-usb-audio snd-rawmidi]
snd-ac97-codec 26628   0  [snd-ens1371]
snd31300   0  [snd-pcm-oss snd-mixer-oss snd-seq-midi 
snd-usb-midi snd-seq-virmidi snd-seq-midi-event snd-seq snd-usb-audio 
snd-ens1371 snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ac97-codec]
soundcore   3396   0  [snd]
usbcore56768   1  [usbserial snd-usb-midi snd-usb-audio snd 
usb-uhci]


lsusb:

Bus 002 Device 001: ID :
Bus 001 Device 001: ID :
Bus 001 Device 002: ID 0499:1010 Yamaha Corp.


cat /proc/bus/usb/devices:

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor= ProdID= Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=a000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor= ProdID= Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=a400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0499 ProdID=1010 Rev= 1.00
S:  Manufacturer=YAMAHA Corporation
S:  Product=CLP-170
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none)
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms


cat /proc/asound/cards:

0 [card0  ]: ES1371 - Ensoniq AudioPCI
 Ensoniq AudioPCI ES1371 at 0xd800, irq 9


cat  /proc/asound/seq/clients:

Client info
  cur  clients : 2
  peak clients : 3
  max  clients : 192

Client   0 : System [Kernel]
  Port   0 : Timer (Rwe-)
  Port   1 : Announce (R-e-)
Client  64 : External MIDI 0 [Kernel]
  Port   0 : MIDI 0-0 (RWeX)


modules.conf: (partly)

#
# Aliases for OSS
#


alias char-major-14 off
alias sound off
alias midi off

...

# Alsa sound support. 
# Warning: please don't modify comments over aliases 'snd-card-#'
alias char-major-116 snd

...

options snd-cmipci snd_enable=1 snd_index=0
options snd snd_cards_limit=3 snd_major=116

options snd-ens1371 snd_enable=1 snd_index=0
# 6Ogo.LB5FQylNql1:Creative Sound Blaster AudioPCI64V, AudioPCI128
alias snd-card-0 snd-ens1371
alias snd-card-1 snd-usb-audio
alias snd-card-2 snd-usb-midi

options snd-usb-audio snd_index=1
options snd-usb-midi snd_index=2

# YaST2: sound system dependent part
#
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
alias sound-slot-2 snd-card-2
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-11 snd-mixer-oss
alias sound-service-0-12 snd-pcm-oss





---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com

[Alsa-user] Sound DEBIAN WOODY on TECRA 8100

2003-03-06 Thread Frédéric LOUI

Hello,

First, thanks to all for your excellent work.
MULTIMEDIA is one of the key domain where we can get new LINUX users.

I just sending this message because I got few problems installing alsa sound driver.
I'm using debian woody, running 2.4.18 kernel and have just upgraded from GNOME 1.4 to 
GNOME 2.2.

I first tried alsa driver/lib/util/oss 0.9rc7 series on my TECRA 8100. Everything 
compiled well.
However, it was impossible to get a sound when running aplay !!???

After having parsed the mailing-list, I found that aplay presented some bugs that 
should be solved using the CVS version.

I decided then to get the 0.9rc8 driver/tools/util/oss series ...
Now, when I tried to compile alsa-lib I got the following messages :


./configure
make

...

pcm_jack.c:36: jack/jack.h: No such file or directory
make[3]: *** [pcm_jack.lo] Error 1
make[3]: Leaving directory 
`/home/frederic/alsa/alsa-0.9rc8/alsa-lib-0.9.0rc8b/src/pcm/ext'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/frederic/alsa/alsa-0.9rc8/alsa-lib-0.9.0rc8b/src/pcm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/frederic/alsa/alsa-0.9rc8/alsa-lib-0.9.0rc8b/src'
make: *** [all-recursive] Error 1

It seems that there is a dependencies related to jack audio toolkit but before doin' 
anything
that is not mentioned in the INSTALL file instruction I'd like to get your feedback ...

Well, is jack module is worth to be installed in my system ?
Do you think that it will be possible to get sound on my TECRA 8100 laptop ?


Thanks again for your help.
Brgds/Frederic



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Yamaha CLP-170 via USB

2003-03-06 Thread Clemens Ladisch
Raimund Eimann wrote:
 can anyone help me establish a Midi connection between my CLP-170 and my Linux
 box (SuSE 8.1)?

 I've included some data of my machine below. They don't tell me much at this
 stage...

 modules.conf: (partly)
 ...
 alias snd-card-2 snd-usb-midi

The CLP-170 is supported since ALSA 0.9.0rc4, but your drivers are older
than that (in rc4, snd-usb-midi was merged into snd-usb-audio).
(see /proc/asound/version for your ALSA version)

You can get the sources for the latest version (currently 0.9.0rc8b) from
http://www.alsa-project.org/.


HTH
Clemens




---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] No sound for rawmidi mode of emu10k1

2003-03-06 Thread Denis
 Denis wrote:
  My SB-Live 5.1 (emu10k1) worked with ALSA 0.9.0beta10.
  If I use 'pmidi' to play midi files with internal Wavetable, it is OK!
  But if I send MIDI messages via rawmidi device, only MPU401 can be Tx/Rx
  successfully.
 
  Eg:  cat MIDI_MESSAGES_FILE  /dev/snd/midiC0D0(MPU401)OK!!
 cat MIDI_MESSAGES_FILE  /dev/snd/midiC0D2 (Wavetable)NOT
  OK!!  No sound!
 
  How do I send midi messages via rawmidi to Wavetable ?

 The command above is a correct way to send midi messages to a device.
 However, the MIDI_MESSAGES_FILE must contain the raw MIDI messages,

Oh, sorry.  The MIDI_MESSAGES_FILE that I mean is really a file which
contains
raw MIDI messages, not a SMF MIDI FILE.
When I using:
   cat MIDI_MESSAGES_FILE  /dev/snd/midiC0D0(MPU401)
   Datas are sure to be transmitted.

But when I using:
   cat MIDI_MESSAGES_FILE  /dev/snd/midiC0D2 (Wavetable)
Datas are seem to be transmitted because of the information for
/proc/asound/card0/midi2.

--
Emu10k1 Synth MIDI
Output 0
  Tx bytes : 592
  Mode : native
  Buffer size  : 4096
  Avail: 4096
Output 1
  Tx bytes : 0
Output 2
  Tx bytes : 0
Output 3
  Tx bytes : 0
 :
Output 15
  Tx bytes : 0
.


But NO SOUND!
I can't hear any sound from Wavetable by rawmidi.
The Wavetable only works with ALSA-SEQ Mode, Eg: pmidi can play midi files
successfully.

 without timing information or other metadata, so you cannot use a standard
 MIDI file (.mid). And all messages are sent as fast as possible, so it
 doesn't make sense do send note on/off messages as the notes will be
 switched off immediately.

 HTH
 Clemens

 ---
 This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
 for complex code. Debugging C/C++ programs can leave you feeling lost and
 disoriented. TotalView can help you find your way. Available on major UNIX
 and Linux platforms. Try it free. www.etnus.com
 ___
 Alsa-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/alsa-user



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Problem with stereo recording on Delta 1010LT

2003-03-06 Thread Jaroslav Kysela
On Thu, 6 Mar 2003, The Arrow wrote:

 I have a M-Audio Delta 1010LT, have a stereo signal on analog input 5 and 6.
 However, when I try to use arecord to capture this signal it still get a mono
 signal.
 
 $ arecord -Dice1712_56 -fdat -c2 -M -v file.wav
 Recording WAVE 'file.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
 Plug PCM: Route conversion PCM (sformat=S32_LE)
 Transformation table:
 0 - 4 + 5
 1 - none
 .
 .
 .
 
 The line 0 - 4 + 5 seems to indicate channel 0 is both input 4 and 5.
 
 When I play file.wav (in aplay for example) there is only output on one 
 channel.
 
 My .asoundrc file looks like this:
 
 pcm.ice1712 {
 type hw
 card 0
 device 0
 }
 pcm.ice1712_56 {
 type plug
 ttable.0.4 1
 ttable.0.5 1

The second like should be 'ttable.1.5 1'.
First number is the destination channel, second source channel and 
argument is attenuation (0 to 1 - float).

 slave.pcm ice1712
 }

Jaroslav

-
Jaroslav Kysela [EMAIL PROTECTED]
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] microphone and CS46xx

2003-03-06 Thread Haas Ingo
Hi,

I have some strange problems with alsa and microphone.

The configuration is as follows:

Intel 440BX Chipset with onboard sound (CS4614-CM)
SuSE 7.3 with kernel 2.4.18 
Soundchip is compiled as module and I use alsa-0.9.0cvs20020320-12.
Attached to this PC is a AVM FritzCardUSB.
 
We want to use this combination for telephone with microphone and
speakers.
Everything works fine. We are able to play soundfiles and the mixer is
usable.
If I do a call the microphone works only for approximately 15 seconds.
Then the 
microphone turns off. It is possible to listen my counterpart an 

These modules are loaded:
Module  Size  Used by
snd-seq-midi3184   0  (unused)
snd-seq-midi-event  2656   0  [snd-seq-midi]
snd-seq32848   0  [snd-seq-midi snd-seq-midi-event]
snd-cs46xx 69296   0 
snd-pcm45280   0  [snd-cs46xx]
snd-timer   8880   0  [snd-seq snd-pcm]
snd-rawmidi11168   0  [snd-seq-midi snd-cs46xx]
snd-seq-device  3856   0  [snd-seq-midi snd-seq snd-rawmidi]
snd-ac97-codec 4   0  [snd-cs46xx]
snd23008   0  [snd-seq-midi snd-seq-midi-event
snd-seq snd-cs46xx snd-pcm snd-timer snd-rawmidi snd-seq-device
snd-ac97-codec]
soundcore   3280   2  [snd]
ipv6  125936  -1  (autoclean)
af_packet  11664   1  (autoclean)
e100   69472   1  (autoclean)
capi   16992   0 
capifs  3584   1  [capi]
kernelcapi 29488   1  [capi]
capiutil   22400   0  [kernelcapi]
nls_iso8859-1   2880   1  (autoclean)
nls_cp437   4384   1  (autoclean)
msdos   4752   1  (autoclean)
fat29152   0  (autoclean) [msdos]
lm876224   0  (unused)
i2c-proc6128   0  [lm87]
i2c-piix4   4080   0  (unused)
dmi_scan1568   0  [i2c-piix4]
i2c-core   14304   0  [lm87 i2c-proc i2c-piix4]
doc   145888   0   

Any suggestions?

Best regards

Ingo Haas


BEGIN:VCARD
VERSION:2.1
N:Haas;Ingo
FN:Haas Ingo
ORG:PLG AG;Softron
TEL;WORK;VOICE:144
ADR;WORK:;;DEUTSCHLAND
LABEL;WORK:DEUTSCHLAND
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20020830T104215Z
END:VCARD


[Alsa-user] alsa-lib-0.9.0rc8 doesn't compile

2003-03-06 Thread Raimund Eimann
Hi

does anyone have a solution for the problem below?

Cheers,
Raimund


./configure --prefix=/usr
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ld used by GCC... /usr/i486-suse-linux/bin/ld
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i486-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i486-suse-linux/bin/ld) supports shared 
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for hsearch_r... yes
checking for library version... major 0 minor 9 subminor 0 extrastr rc 
extraver 18
checking for versioned symbols... yes
checking for debug... yes
checking for softfloat... no
checking for architecture... x86
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/pictures/Makefile
config.status: creating include/Makefile
config.status: creating include/sound/Makefile
config.status: creating src/Makefile
config.status: creating src/control/Makefile
config.status: creating src/mixer/Makefile
config.status: creating src/pcm/Makefile
config.status: creating src/pcm/ext/Makefile
config.status: creating src/rawmidi/Makefile
config.status: creating src/timer/Makefile
config.status: creating src/hwdep/Makefile
config.status: creating src/seq/Makefile
config.status: creating src/instr/Makefile
config.status: creating src/compat/Makefile
config.status: creating src/conf/Makefile
config.status: creating src/conf/cards/Makefile
config.status: creating src/conf/pcm/Makefile
config.status: creating aserver/Makefile
config.status: creating test/Makefile
config.status: creating utils/Makefile
config.status: creating utils/alsa-lib.spec
config.status: creating utils/alsa.pc
config.status: creating include/config.h
config.status: include/config.h is unchanged


calypso:/work/alsa/alsa-lib-0.9.0rc8b # make
Making all in doc
make[1]: Wechsel in das Verzeichnis »/work/alsa/alsa-lib-0.9.0rc8b/doc«
Making all in pictures
make[2]: Wechsel in das Verzeichnis 
»/work/alsa/alsa-lib-0.9.0rc8b/doc/pictures«
make[2]: Für das Target »all« gibt es nichts zu tun.
make[2]: Verlassen des Verzeichnisses 
»/work/alsa/alsa-lib-0.9.0rc8b/doc/pictures«
make[2]: Wechsel in das Verzeichnis »/work/alsa/alsa-lib-0.9.0rc8b/doc«
make[2]: Für das Target »all-am« gibt es nichts zu tun.
make[2]: Verlassen des Verzeichnisses »/work/alsa/alsa-lib-0.9.0rc8b/doc«
make[1]: Verlassen des Verzeichnisses »/work/alsa/alsa-lib-0.9.0rc8b/doc«
Making all in include
make[1]: Wechsel in das Verzeichnis »/work/alsa/alsa-lib-0.9.0rc8b/include«
cd .. \
   CONFIG_FILES= CONFIG_HEADERS=include/config.h 

[Alsa-user] amixer says: Mixer 0/0 open error

2003-03-06 Thread Doriano Brogioli
Hi.

I installed in this order:
alsa-driver-0.5.12a.tar.bz2 (./configure; make install; ./snddevices)
alsa-lib-0.5.10b.tar.bz2 (./configure; make install )
alsa-utils-0.5.10.tar.bz2 (./configure; make install)
I hear no sound with xmms.
lsmod says:
Module  Size  Used byNot tainted
snd-pcm-oss42660   0  (autoclean)
snd-mixer-oss  12640   0  (autoclean) [snd-pcm-oss]
snd-via82xx 9988   0  (autoclean)
snd-pcm76992   0  (autoclean) [snd-pcm-oss snd-via82xx]
snd-timer  13984   0  (autoclean) [snd-pcm]
snd-mpu401-uart 4316   0  (autoclean) [snd-via82xx]
snd-rawmidi16480   0  (autoclean) [snd-mpu401-uart]
snd-seq-device  5500   0  (autoclean) [snd-rawmidi]
snd-ac97-codec 30320   0  (autoclean) [snd-via82xx]
snd35784   0  (autoclean) [snd-pcm-oss snd-mixer-oss 
snd-via82xx snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device 
snd-ac97-codec]
soundcore   6212   3  (autoclean) [snd]
binfmt_misc 7236   1
autofs 11140   0  (autoclean) (unused)
8139too16160   1
mii 2248   0  [8139too]
ide-cd 30144   0  (autoclean)
cdrom  31968   0  (autoclean) [ide-cd]
ext3   64768   6
jbd47892   6  [ext3]
raid1  14308   7

Also amixer seems to be not working. It says:

amixer: Mixer 0/0 open error: No such file or directory

something similar happens with alsamixer. Moreover, the configuration 
file /etc/asound.conf is not present: any idea about what it should contain?

Tanks,

Doriano Brogioli



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] alsa-lib-0.9.0rc8 doesn't compile

2003-03-06 Thread lists

On Thu, 6 Mar 2003, Raimund Eimann wrote:

 Hi
 
 does anyone have a solution for the problem below?

FWIW, I end up with the same problem. Clean, updated RH8.0 install. 

-bdh




---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] alsa-lib-0.9.0rc8 doesn't compile

2003-03-06 Thread Gendo_Ikari
I had this problem.  Later the day I had tried to compile it rc8a was
released.  That version fixed my compile error.

 On Thu, 6 Mar 2003, Raimund Eimann wrote:

  Hi
 
  does anyone have a solution for the problem below?




---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] alsa-lib-0.9.0rc8 doesn't compile

2003-03-06 Thread ben hubbard (listmail)

At the moment, b has come out to replace a. I guess I should point out I 
had this problem with 0.9.0rc8b 

Do you remember if the problem you had was related to jack.h? That's what 
both of these seem to be tied to. 

 I had this problem.  Later the day I had tried to compile it rc8a was
 released.  That version fixed my compile error.
 
   Hi
  
   does anyone have a solution for the problem below?
 

thanks, 
--bdh



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] alsa-lib-0.9.0rc8 doesn't compile

2003-03-06 Thread Gendo_Ikari
Mine was in memalloc.c.

On Thu, 6 Mar 2003, ben hubbard (listmail) wrote:


 At the moment, b has come out to replace a. I guess I should point out I
 had this problem with 0.9.0rc8b

 Do you remember if the problem you had was related to jack.h? That's what
 both of these seem to be tied to.



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] spdif in via8235

2003-03-06 Thread Anthony Magsino
Dear all,

First of all, I would like to thank all those responsible for ALSA. It's a 
great project.

I have kernel 2.4.20, on-board via8235 and pci als4000, clean compile of 
alsa-0.9.0rc8a from cvs. I can't get SPDIF to work when I try 'aplay -Dspdif 
foo.wav'.  It spews out this error:

ALSA lib conf.c:2666:(snd_config_hooks_call) functions 
snd_config_hook_load_for_all_cards returned error: Invalid argument
ALSA lib pcm.c:1733:(snd_pcm_open_conf) Invalid type for PCM spdif 
definition (id: spdif, value: cards.pcm.iec958)
aplay: main:479: audio open error: Invalid argument

I've read that SPDIF is supported (via DSX3 channel?), or is it? With 
via8235, I've tested multichannel playback but I can only hear 3 
simultaneous MP3s (I used 4 instances of alsaplayer!), the 4th is silent.
What could be wrong? I'm not a programmer, so I don't have any clues, just 
hunches. I very much appreciate any suggestions!!!

I've included my conf files,logs, procs, etc. I don't know if everything is 
in order.

[sh]$ cat /etc/modules.conf (added als4000 so I can play midis, dont want to 
use midi2wav (timidity); is this an overkill?)
alias char-major-116 snd
alias snd-card-0 snd-via82xx
alias sound-slot-0 snd-card-0
alias snd-card-1 snd-als4000
alias sound-slot-1 snd-card-1
alias snd-card-2 snd-mpu401
alias sound-slot-2 snd-card-2
options snd device_mode=0666 device_gid=0 device_uid=0 cards_limit=3
options snd-card-0 enable=1
options snd-card-1 enable=1
options snd-card-2 port=0x0300 irq=10 enable=1
# OSS portion
alias char-major-14 soundcore
# 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
# card #1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss
# card #2
alias sound-service-2-0 snd-mixer-oss
alias sound-service-2-1 snd-seq-oss
alias sound-service-2-3 snd-pcm-oss
alias sound-service-2-8 snd-seq-oss
alias sound-service-2-12 snd-pcm-oss
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S /dev/null 
21 || :
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L /dev/null 
21 || :

[sh]$ /sbin/lsmod (whewww...)
snd-seq-midi4416   0 (autoclean) (unused)
snd-seq-oss27584   0
snd-seq-midi-event  5440   0 [snd-seq-midi snd-seq-oss]
snd-pcm-oss43108   0 (autoclean)
snd-mixer-oss  13472   0 (autoclean) [snd-pcm-oss]
snd-mpu401  2080   0 (autoclean)
snd-opl3-synth 11100   0 (unused)
snd-seq-instr   7052   0 [snd-opl3-synth]
snd-seq-midi-emul   6592   0 [snd-opl3-synth]
snd-seq43852   2 [snd-seq-midi snd-seq-oss 
snd-seq-midi-event snd-opl3-synth snd-seq-instr snd-seq-midi-emul]
snd-ainstr-fm   2256   0 [snd-opl3-synth]
snd-als4000 6212   0
snd-sb-common  11724   0 [snd-als4000]
snd-opl3-lib7616   0 [snd-opl3-synth snd-als4000]
snd-hwdep   5600   0 [snd-opl3-lib]
snd-via82xx13892   4
snd-ac97-codec 38800   0 [snd-via82xx]
snd-pcm76960   3 [snd-pcm-oss snd-als4000 snd-via82xx]
snd-timer  17856   0 [snd-seq snd-opl3-lib snd-pcm]
snd-page-alloc  7700   0 [snd-via82xx snd-pcm]
snd-mpu401-uart 4380   0 [snd-mpu401 snd-als4000 snd-via82xx]
snd-rawmidi16768   0 [snd-seq-midi snd-mpu401-uart]
snd-seq-device  5624   0 [snd-seq-midi snd-seq-oss snd-opl3-synth 
snd-seq snd-opl3-lib snd-rawmidi]
snd40160   5 [snd-seq-midi snd-seq-oss 
snd-seq-midi-event snd-pcm-oss snd-mixer-oss snd-mpu401 snd-opl3-synth 
snd-seq-instr snd-seq snd-als4000 snd-sb-common snd-opl3-lib snd-hwdep 
snd-via82xx snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi 
snd-seq-device]
soundcore   6244  15 [snd]

[sh]$ dmesg
...
PCI: Setting latency timer of device 00:11.5 to 64
devfs_register(unknown): could not append to parent, err: -17
devfs_register(unknown): could not append to parent, err: -17
ALSA ../../alsa-kernel/drivers/mpu401/mpu401.c:76: specify port
MPU-401 device not found or device busy
devfs_register(unknown): could not append to parent, err: -17
devfs_register(unknown): could not append to parent, err: -17
devfs_register(unknown): could not append to parent, err: -17
devfs_register(unknown): could not append to parent, err: -17
devfs_register(unknown): could not append to parent, err: -17
devfs_register(unknown): could not append to parent, err: -17
...
(what are these error msgs?)

[sh]$ ls -l /proc/asound (nice interface :))
total 0
lrwxrwxrwx1 root root0 Mar  6 22:50 8235 - card0
lrwxrwxrwx1 root root0 Mar  6 22:50 ALS4000 - card1
dr-xr-xr-x6 root root0 Mar  6 22:50 card0
dr-xr-xr-x4 root root0 Mar  6 22:50 

Re: [Alsa-user] ALSA - software mixing docs.

2003-03-06 Thread Mark Swanson
On March 1, 2003 04:31 am, Patrick Shirkey wrote:
 I have added some info to the asoundrc docs on using the new dmix plugin

 http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php3?company=Generic;
card=Genericchip=Genericmodule=Generic#softmix

 It allows software mixing of multiple streams at one time in a similar
 way to ESD,ARTS,JACK.

This sounds like very good news!

To me, this sounds like the perfect way to solve the current esd/arts 
nightmare. Are there any latency or CPU gotchas compared to esd/arts?

Thanks.

-- 
Schedule your world with ScheduleWorld.com
http://www.ScheduleWorld.com/
Java Web Start:
http://www.ScheduleWorld.com/sw/ScheduleWorld.jnlp




---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] ALSA - software mixing docs.

2003-03-06 Thread Jaroslav Kysela
On Thu, 6 Mar 2003, Mark Swanson wrote:

 On March 1, 2003 04:31 am, Patrick Shirkey wrote:
  I have added some info to the asoundrc docs on using the new dmix plugin
 
  http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php3?company=Generic;
 card=Genericchip=Genericmodule=Generic#softmix
 
  It allows software mixing of multiple streams at one time in a similar
  way to ESD,ARTS,JACK.
 
 This sounds like very good news!
 
 To me, this sounds like the perfect way to solve the current esd/arts 
 nightmare. Are there any latency or CPU gotchas compared to esd/arts?

The mixing code for one task takes around 1% of CPU time for the 48kHz 
stream on 850Mhz PIII CPU. Latency is same as for direct exlusive 
playback.

Jaroslav

-
Jaroslav Kysela [EMAIL PROTECTED]
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] alsa-lib-0.9.0rc8 doesn't compile

2003-03-06 Thread Jaroslav Kysela
On Thu, 6 Mar 2003, ben hubbard (listmail) wrote:

 
 At the moment, b has come out to replace a. I guess I should point out I 
 had this problem with 0.9.0rc8b 
 
 Do you remember if the problem you had was related to jack.h? That's what 
 both of these seem to be tied to. 

Can someone try this patch and report me status?

Index: Makefile.am
===
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/ext/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile.am 5 Mar 2003 19:56:59 -   1.1
+++ Makefile.am 6 Mar 2003 14:00:46 -   1.2
@@ -20,6 +20,8 @@

 all-am: help

+all-redirect: help
+
 install-am: help

 hand-install: install-exec-am


Jaroslav

-
Jaroslav Kysela [EMAIL PROTECTED]
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs





---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] ALSA - software mixing docs.

2003-03-06 Thread Brad Hilton
On Thu, 2003-03-06 at 10:32, Jaroslav Kysela wrote:
  To me, this sounds like the perfect way to solve the current esd/arts 
  nightmare. Are there any latency or CPU gotchas compared to esd/arts?
 
 The mixing code for one task takes around 1% of CPU time for the 48kHz 
 stream on 850Mhz PIII CPU. Latency is same as for direct exlusive 
 playback.

Are there any plans on making the dmix plugin the default alsa
interface?  Since most soundcards don't support hardware mixing it seems
like most people would love this as a default choice.  I suppose it
would be ideal if the oss emulation could also be piped through dmix. 
Unfortunately, I have yet to make any of my alsa-enabled apps work with
dmix.  But I'm still excited! :)

Thanks,
-Brad



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] ALSA - software mixing docs.

2003-03-06 Thread Jaroslav Kysela
On 6 Mar 2003, Brad Hilton wrote:

 On Thu, 2003-03-06 at 10:32, Jaroslav Kysela wrote:
   To me, this sounds like the perfect way to solve the current esd/arts 
   nightmare. Are there any latency or CPU gotchas compared to esd/arts?
  
  The mixing code for one task takes around 1% of CPU time for the 48kHz 
  stream on 850Mhz PIII CPU. Latency is same as for direct exlusive 
  playback.
 
 Are there any plans on making the dmix plugin the default alsa
 interface?  Since most soundcards don't support hardware mixing it seems
 like most people would love this as a default choice.  I suppose it
 would be ideal if the oss emulation could also be piped through dmix. 
 Unfortunately, I have yet to make any of my alsa-enabled apps work with
 dmix.  But I'm still excited! :)

I've explained before that it's not perfect to make this plugin as
default. There is also hardware which does the mixing itself. Users can
override the 'default' configuration in ~/.asoundrc file themselves:

pcm.!default {
type plug
slave.pcm dmix:CARD=0,DEVICE=0,RATE=48000
}

Jaroslav

-
Jaroslav Kysela [EMAIL PROTECTED]
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] alsa-lib-0.9.0rc8 doesn't compile

2003-03-06 Thread ben hubbard (listmail)



On Thu, 6 Mar 2003, Jaroslav Kysela wrote:

 On Thu, 6 Mar 2003, ben hubbard (listmail) wrote:
 
  
  At the moment, b has come out to replace a. I guess I should point out I 
  had this problem with 0.9.0rc8b 
  
  Do you remember if the problem you had was related to jack.h? That's what 
  both of these seem to be tied to. 
 
 Can someone try this patch and report me status?


No dice for me - added the all-redirect: help and the newline, make clean,
make, still dies in the same place:

pcm_jack.c:36:23: jack/jack.h: No such file or directory

Did I miss something else? 

Thanks,
--bdh

 
 Index: Makefile.am
 ===
 RCS file: /cvsroot/alsa/alsa-lib/src/pcm/ext/Makefile.am,v
 retrieving revision 1.1
 retrieving revision 1.2
 diff -u -r1.1 -r1.2
 --- Makefile.am 5 Mar 2003 19:56:59 -   1.1
 +++ Makefile.am 6 Mar 2003 14:00:46 -   1.2
 @@ -20,6 +20,8 @@
 
  all-am: help
 
 +all-redirect: help
 +
  install-am: help
 
  hand-install: install-exec-am
 
 
   Jaroslav
 
 -
 Jaroslav Kysela [EMAIL PROTECTED]
 Linux Kernel Sound Maintainer
 ALSA Project, SuSE Labs
 
 
 

-- 



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Quattro Install issues :(

2003-03-06 Thread tod
ok so I installed everything  (i.e. did all the steps on the ez usb
driver install page)  my modules.conf is messing me up. When I installed
the driver, lib, utils, etc everything was fine but my comp didn`t know
ALSA or the Quattro existed. i could still use my laptop`s internal i810
audio device. Now neither the Quattro nor the internal card are picked up.

When I turn on my computer I get an 'arts' message saying no sound device
is available. I am running Redhat 7.3

Here is some more info:
[EMAIL PROTECTED] root]# /sbin/depmod -a
depmod: *** Unresolved symbols in
/lib/modules/2.4.18-3/kernel/sound/isa/gus/snd-gus-synth.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.18-3/kernel/sound/isa/sb/snd-emu8000-synth.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.18-3/kernel/sound/pci/emu10k1/snd-emu10k1-synth.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.18-3/kernel/sound/pci/trident/snd-trident-synth.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.18-3/kernel/sound/synth/emux/snd-emux-synth.o
[EMAIL PROTECTED] root]# alsamixer

alsamixer: function snd_ctl_open failed for default: No such file or
directory
[EMAIL PROTECTED] root]#
.
My modules.conf file is

alias parport_lowlevel parport_pc
alias eth0 sis900
alias sound-slot-0 i810_audio
alias sound-slot-1 snd-usb-audio
alias usb-controller usb-uhci
alias usb-controller1 ehci-hcd
alias /dev/ttySHSF* hsfserial
alias char-major-240 hsfserial
alias /dev/ttyCUA* hsfserial
alias char-major-241 hsfserial
alias /dev/modem hsfserial
options hsfserial serialmajor=240 calloutmajor=241
# --- ALSA configuration
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
alias snd-card-0 i810_audio
alias snd-card-1 snd-usb-audio
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
# OSS/Free portion - card #1
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-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss
# --- Keep modules from being autocleaned
add options -k snd-card-0
# --- ALSA configuration END
..

I have to edit it in Kate  then copy to the .etc. directory because when
I 'vi'  edit, it won`t let me save or exit. I press ESC  nothing
happens.

Thanks, Todd


---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] no sound, agh!

2003-03-06 Thread collar
Greetings,

So there I was, happily watching DVDs. I saw that Ogle and dvdread and alsa 
got upgraded so I said, weehee, let's upgrade! It appears that was a 
mistake.

Now I've got no sound at all. No bells, no music, no Linus telling me how he 
pronounces Linux.  After some hours of making, remaking, remaking kernels and 
drivers again, but not shouting or cussing because my computer is a girl and 
girls don't like that, or at least that's what my wife tells me, I ran 
alsaconf and got this:

Loading driver..
Starting sound driver: snd-via82xx Warning: ignoring snd_major=116, no such 
para
meter in this module
Warning: ignoring snd_cards_limit=1, no such parameter in this module
Warning: ignoring snd_device_mode=0666, no such parameter in this module
Module snd loaded, with warnings
Module snd-seq-device loaded, with warnings
Module snd-rawmidi loaded, with warnings
Module snd-mpu401-uart loaded, with warnings
Module snd-ac97-codec loaded, with warnings
Module snd-timer loaded, with warnings
Module snd-pcm loaded, with warnings
Warning: ignoring snd_index=0, no such parameter in this module
Module snd-via82xx loaded, with warnings
done
Setting default volumes..

Ok, so do these matter for me? Is this perhaps a clue why I have no sound? Oh, 
don't tell me to check whether my mixer volume is at the default-level of 0, 
it certain is not! (I fell prey to that once before).

Anyway, I'd really appreciate it if someone could help me along here. Please 
let me know what other information you need to know. rc6 worked wonderfully 
for me until just two days again, then it quit after a reboot. Poof.  And 
I've been soundless since. :(

Thanks
Ben
Listening only to his CPU fan.


---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] no sound, agh!

2003-03-06 Thread Julien Patrick Claassen
Hello!
  I think it might be VERY helpful to see the appropriate part of your
/etc/modules.conf and perhaps seeing the output of uname -a might also of
interest.
  Kindest regards
Julien

Julien Patrick Claassen
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.geocities.com/jjs_home

SBS C-LAB
Fuerstenallee 11
33102 Paderborn

Phone: (+49) 5251 60 6060
Fax: (+49) 5251 60 6065

www.c-lab.de



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Can't Capture

2003-03-06 Thread Torsten Mohr
Hi everybody,

i can't seem to get my Hoontech DIgital-XG to capture
sound.
It plays just fine, but capture only brings quietness.

The output of the card is connected to an amplifier.
When i connect the input of the card to a CD player,
i can hear the CD sound in the amplifier.

I've set alsamixer to capture from Line, Line
is 84%, Capture is 80%, every other channel is
unmuted and set to a high level at about 80%.

I tried to capture with:
arecord -r 44100 -c 2 -t wav file.wav
(I wanted to capture with 8 Bit).


What do i need to do to capture sound?

What other informations could be useful?


Best regards,
Torsten.



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Can't Capture

2003-03-06 Thread Julien Patrick Claassen
Hi!
  I don't know, how much inputs your card has and how they are controlled by
alsa. but I had a similar problem myself. Have you tried to mute the
microphone or at least disable its capture-switch. Then do you have something
like: input/output-gain (in alsamixer they would be very much to the right)?
If so make sure they're unmuted and properly set too. Beside that I have no
ideas.
  To capture sound in 8bit-quality just try:
  arecord -s 44100 -b 8 -t wav file.wav
  One last idea: Maybe you have to set a device specification with the -d
option.
  If it is available, try to use ecasound. It can be run from command-line
too. You could do:
  ecasound -i /dev/dsp -o file.wav
  At least you could see if input works at all. For testing different devices
with ecasound you can do:
  ecasound -i alsa,x,y -o file.wav
  where x and y are device and subdevice. You can get ecasound from
  www.eca.cx/ecasound.
  You can see all available devices with:
  arecord -l
  I hope that helps.
  Kindest regards
Julien

Julien Patrick Claassen
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.geocities.com/jjs_home

SBS C-LAB
Fuerstenallee 11
33102 Paderborn

Phone: (+49) 5251 60 6060
Fax: (+49) 5251 60 6065

www.c-lab.de




---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Line in - 5.1 out

2003-03-06 Thread David Hunt
Hi All

I have SB Live 5.1 card which has it's line in hooked up to a TV card but
my problem is inputs such as line in, mic, cd audio are only stereo inputs
so only come out my 2 front speakers. Is there any way to get it come out
as 5.1.

When I play stereo sound such as mp3's etc It comes out as 5.1 sound.

So can I do something like 

line in - 5.1 - sound-card-output

Thanks
David


---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user