[Alsa-user] CS46xx spdif output + ogle question

2003-11-19 Thread henri

hey,

using alsa 1.0.0pre1 

picked up a Hercules DigiFire 7.1 card today. CS46xx based.

i only have an optical s/pdif cable in the card going to my amp

normal stuff works fine (using the oss compat module). i get
nice clean sound. but what i really want to do is play dvds
w/ ogle and get the surround sound single to my amp.

but ogle fails to configure the device correctly. the ogle
code is at the bottom of the email. it fails on the call to
snd_ctl_elem_write. the snd_pcm_info_get_device(info) and
snd_pcm_info_get_subdevice(info) are returning the correct
values (device 2, sub device 0). just can't seem to update
the IEC958 control.

here is the output of iecset:

[EMAIL PROTECTED] alsa-utils-1.0.0pre1]# ./iecset/iecset
Mode: consumer
Data: audio
Rate: 48000 Hz
Copyright: protected
Emphasis: none
Category: PCM coder
Original: original
Clock: 1000 ppm

i then ran iecset -x and copied that output into the config
of ogle. still no go.

what am i doing wrong?

thanks

henri




   spdif.status[0] = IEC958_AES0_NONAUDIO | IEC958_AES0_CON_EMPHASIS_NONE;
spdif.status[1] = IEC958_AES1_CON_ORIGINAL | IEC958_AES1_CON_PCM_CODER;
spdif.status[2] = 0;
spdif.status[3] = IEC958_AES3_CON_FS_48000;

snd_ctl_elem_value_alloca(ctl);
snd_ctl_elem_value_set_interface(ctl, SND_CTL_ELEM_IFACE_PCM);
snd_ctl_elem_value_set_device(ctl, snd_pcm_info_get_device(info));
snd_ctl_elem_value_set_subdevice(ctl, snd_pcm_info_get_subdevice(info));
snd_ctl_elem_value_set_name(ctl,
SND_CTL_NAME_IEC958(, PLAYBACK, PCM_STREAM));
snd_ctl_elem_value_set_iec958(ctl, spdif);

ctl_card = snd_pcm_info_get_card(info);
if(ctl_card  0) {
  ERROR(Unable to setup the IEC958 (S/PDIF) interface - PCM has no assigned 
card\n);
  goto __diga_end;
}

sprintf(ctl_name, hw:%d, ctl_card);

if((err = snd_ctl_open(ctl_handle, ctl_name, 0))  0) {
  ERROR(Unable to open the control interface '%s': %s\n,
ctl_name, snd_strerror(err));
  goto __diga_end;
}

if((err = snd_ctl_elem_write(ctl_handle, ctl))  0) {
  ERROR(Unable to update the IEC958 control: %s\n,
snd_strerror(err));
  goto __diga_end;
  //Shouldn't ctl_handle be closed here?
}




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Problem with Return to Castle Wolfenstein and AC97 Soundcard driv er

2003-11-19 Thread EXT / FOCAL ROHAUT Sébastien
Hi,

Here is my problem :

I've an onboard soundcard. My motherboard is a Gigabyte GA-8KNXP with a
Realtek ALC655 AC97 compliant onboard soundcard.
I'm using ALSA 0.9.6 on a SuSE 9.0 distrib, but I compiled the 0.9.8 release
to see if it changes something. The driver used by the Alsa conf is
snd-intel8x0 and all is correctly configured in my /etc/modules.conf.

Sound is working very well in all apps and games except one : Return To
Castle Wolfenstein ! When I launch it and try to play a single user game, it
hangs with a Signal 11 error. I tried many things : launching the game with
aoss or artsdsp, no success. I found some hacks on some forums
(snd_nonblock_open=1) which didn't worked at all.

I installed a Sound Blaster Live and disabled the onboard soundcard under my
bios. Then I reconfigured Alsa with snd-emu10k1. And you know what ? The
game works with it ! No signal 11, sound ok, ...

Is there a bug in the snd-intel8x0 driver ? Is this the good driver for my
onboard sound card ? I can't find it in the soundcard matrix. Is there a
hack ? I didn't tried something like 

echo app_name  0 0 direct  /proc/asound/card0/pcm0p/oss

Can you think it can help ?

Sébastien ROHAUT


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] pcm_lib.c: Unexpected hw_pointer value

2003-11-19 Thread wwp
Hi folks,


I usually see the message below in /var/log/messages. Using alsa 0.9.8 over
a SuSE 8.1's 2.4.19-4GB, modutils 2.4.26.
It doesn't happen w/ all the played sounds. 

kernel: ALSA ../alsa-kernel/core/pcm_lib.c:216: Unexpected hw_pointer value
(stream = 0, delta: -62, max jitter = 8192): wrong interrupt acknowledge?

Does this indicates a broken/incompatible .wav file, a bug or a config
problem? AFAIR, I did see such msg w/ 0.9.6.


Regards,

-- 
wwp


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] SPDIF on nforce / intel8xO working.

2003-11-19 Thread cmcclan
Hello,

Thanks to all those who made Alsa, its great and has helped me achieve one of my goals 
- AC3 / DTS output via the digital SPDIF on my system! This means I can playback DVD's 
using xine with full Dolby Digital 5.1 sound.

I've seen lots of people asking if this is possible with my particular chipset and how 
to do it, so I thought I'd post the info to the group, and I have one small question 
at then end!

I have a Shuttle SN41G2 system running Gentoo Linux. The motherboard has an nforce 2 
chipset and an intel8xO based sound chip. I have also purchased the extra spdif add-on 
giving 4 digital connections (1 optical in, 1 optical out, 1 coax in and 1 coax out). 
I am running with CVS alsa-driver and CVS alsa-libs, and have the following .asoundrc 
(based on the one posted by Lars G in the sound card matrix). There is one small 
change to the pcm value in the slave device. 

pcm.nforce-hw {
type hw
card 0
}

pcm.!default {
type plug
slave.pcm nforce
}

#0,0 is analogue out (i.e. headphone socket on the shuttle), and 0,1 is spdif out.
pcm.nforce {
type dmix
ipc_key 1234
slave {
pcm hw:0,1  
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
}

ctl.nforce-hw {
type hw
card 0
}

Everything else is as per the intel8xO sound card matrix.

HINTS
-
o) KDE
By default KDE uses artsd to mix sounds, but since we are using the dmix plugin this 
is no longer necessery. artsd locks the sound device in such a way that it blocks any 
other programs from generating sound output (unless they have an artsd plugin). This 
causes programs like xmms, xine and even alsaplayer to just hang.

With the above .asoundrc, you can go into KDE, load the control panel and turn off 
artsd and all sounds will work fine.

o) Noise / pops and interferance with aplay and KDE.
I found that with this .asoundrc I was getting annoying pops and spikes at the end of 
sound clips when played with aplay (KDE uses aplay to play sound clips such as the 
login / logout wav files). The problem appeared to be with the CVS alsa-utils. I 
de-installed those and then installed older ones (I used emerge in Gentoo which I 
think loads version 9.2)

Question:
The only problem is with the volume settings - I don't seem to have any control over 
those when using the spdif output. alsamixer doesn't have any effect and neither does 
the volume controls in the individual apps (i.e. xine or xmms with alsa support).

Hope this is useful to some other people!

Chris.


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Alsa - midi via82xx

2003-11-19 Thread audio2
Hi !

Just would like to add this simple solution to the list, maybe it could help 
someone... 

I also would like to say thanks to everyone who makes linux - audio possible.   
Thanks  to  All !

  
  ***   Alsa - midi - midiport - via82xx***

The following example seems to be usefull together with a sequencer program
as  Rosegarden. You also need to install the mpu401-uart alsa driver  
snd-virmidi. (check if they are installed : #modprobe snd-mpu401-uart, 
snd-virmidi ) 

First visit/read :

http://www.alsa-project.org/alsa-doc/doc-php/
template.php?company=VIAcard=chip=via82c686amodule=via82xx

Second, add the following to your /etc/modules.conf.

# ALSA
alias char-major-116 snd
   alias snd-card-0 snd-via82xx
   alias snd-card-1 snd-virmidi
#  module options :
   options snd-via82xx mpu_port=0x300


And the following to your .asoundrc/asound.conf :

pcm.via82xx {
type hw
card 0
 }

 ctl.via82xx {
type hw
card 0
 }


 pcm.virmidi {
type hw
card 1
 }

 ctl.virmidi {
type hw
card 1
 }

-


Peter



 






---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] SoundMAX (intel8x0) surround on a Asus P4P800

2003-11-19 Thread Clemens Ladisch
Frank Hart wrote:
 I'm trying to get the onboard AC97 to work. Strange thing about
 this card is the multiple audio ports configs that are possible.
 [...]
 Is there documentation about reprogramming the ports on this card?

The data sheet for the AD1985 codec is available at
http://www.analog.com/UploadedFiles/Data_Sheets/180644528AD1985_0.pdf

 And can you give me some starting point where I should alter the
 config (.asoundrc, ICH.conf)?

Install ALSA 1.0.0pre1, then set the appropriate mixer controls.


HTH
Clemens




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] alsa drivers on powermac g4

2003-11-19 Thread Clemens Ladisch
marco wrote:
 # insmod snd-powermac
 init_module: No such device

 In syslog I find :

 kernel: ALSA pmac.c:1104: pmac: can't request resource 0!
 kernel: no PMac soundchip found

 In dmesg :
 ...
 Audio jack unplugged, enabling speakers.
 AE-Init snapper mixer
 PowerMac Snapper  DMA sound driver rev 016 installed
 Core driver edition 01.06 : PowerMac Built-in Sound driver edition 00.07
 Write will use4 fragments of   32768 bytes as default
 ...

This looks as if the OSS driver is still loaded.  snd-powermac won't
be able to request the sound resources as long as they're used by
dmasound_pmac.


HTH
Clemens




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] als120

2003-11-19 Thread Clemens Ladisch
Tony Roba wrote:
 Hi ,I'm using aPentium III 500 with REDHAT 9.0 (2.4.20-8 kernelversion) and
 a ALS120 (avance logic) soundcard.I'm trying to make it work with the
 ALSA-driver 0.9.8.Download all from
 alsa-project.org.unzipped,untard,configured,maked ,and maked install.All
 this with no compilation errors or what so ever.chmod ,installed
 lib,utils.And now it goes wrong.
 When I use modprobe snd-als100 etc...I get the message,CAN'T LOCATE
 SND-ALS100.

When you run configure for the alsa-driver package, the value after
checking for directory to store kernel modules should be
/lib/modules/2.4.20-8/kernel/sound, and snd-als100.o should have
been installed there. Is this the case?


Regards,
Clemens




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Re: spdif input with cmipci based card

2003-11-19 Thread Clemens Ladisch
On Tue, 18 Nov 2003, Michael Mauch wrote:
 Michael Hunold wrote:
  In theory, I'd like to record the raw iec958 subframes, but using
  arecord like this fails:
 
   arecord -v -D hw:0,2 -f IEC958_SUBFRAME_LE
  arecord: begin_wave:1608: Wave doesn't support IEC958_SUBFRAME_LE format...
 
  I'm wondering what wave is about, since I want to capture the iec958
  subframes...

 % arecord -v -v -D hw:0,2 -f IEC958_SUBFRAME_LE -r 44100 -c 2 -t raw a.raw
 Recording raw data 'a.raw' : IEC-958 Little Endian, Rate 44100 Hz, Stereo
 arecord: set_params:828: Sample format non available

The CMI chip doesn't support recording raw subframes, it only records
the PCM data contained in these frames (i.e., -f S16_LE).


HTH
Clemens




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] HOWTO: spdif with nforce / intel8xO card inc AC3 DTS

2003-11-19 Thread cmcclan
Hello,

Thanks to all those who made Alsa, its great and has helped me achieve one of my goals 
- AC3 / DTS output via the digital SPDIF on my system! This means I can playback DVD's 
using xine with full Dolby Digital 5.1 sound.

I've seen lots of people asking if this is possible with my particular chipset and how 
to do it, so I thought I'd post the info to the group, and I have one small question 
at the end.

I have a Shuttle SN41G2 system running Gentoo Linux. The motherboard has an nforce 2 
chipset and an intel8xO sound chip. I have also purchased the extra spdif add-on 
giving 4 digital connections (1 optical in, 1 optical out, 1 coax in and 1 coax out). 
I am running with CVS alsa-driver and CVS alsa-libs, and have the following .asoundrc 
(based on the one posted by Lars G in the sound card matrix). There is one small 
change to the pcm value in the slave device. 

pcm.nforce-hw {
type hw
card 0
}

pcm.!default {
type plug
slave.pcm nforce
}

#0,0 is analog out (i.e. headphone socket on the shuttle), and 0,1 is spdif out.
pcm.nforce {
type dmix
ipc_key 1234
slave {
pcm hw:0,1  
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
}

ctl.nforce-hw {
type hw
card 0
}

Everything else is as per the intel8xO sound card matrix.

HINTS
-
o) KDE
By default KDE uses artsd to mix sounds, but since we are using the dmix plugin this 
is no longer necessery. artsd holds the device in such a way that it blocks any other 
programs from generating sound output (unless they have an artsd plugin) which causes 
programs like xmms, xine and even alsaplayer to just hang.

With the above .asoundrc, you can go into KDE, load the control panel and turn off 
artsd and all sounds will work fine.

o) Noise / pops and interferance with aplay and KDE.
I found that with this .asoundrc I was getting annoying pops and spikes at the end of 
sound clips when played with aplay (KDE uses aplay to play sound clips such as the 
login / logout wav files). The problem appeared to be with the CVS alsa-utils. I 
de-installed those and then installed older ones (I used emerge in Gentoo which I 
think loads version 9.2)

Question:
The only problem is with the volume settings - I don't seem to have any control over 
those when using the spdif output. alsamixer doesn't have any effect and neither does 
the volume controls in the individual apps (i.e. xine or xmms with alsa support).


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] CS46xx spdif output + ogle question

2003-11-19 Thread Clemens Ladisch
[EMAIL PROTECTED] wrote:
 picked up a Hercules DigiFire 7.1 card today. CS46xx based.

 but ogle fails to configure the device correctly. the ogle
 code is at the bottom of the email. it fails on the call to
 snd_ctl_elem_write.

What is the error code/message?

 the snd_pcm_info_get_device(info) and
 snd_pcm_info_get_subdevice(info) are returning the correct values
 (device 2, sub device 0). just can't seem to update the IEC958
 control.

What is the information for this control in /etc/asound.state?
(If this file doesn't exist, run alsactl store.)


Regards,
Clemens




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Newbie question about Echo Audio Indigo

2003-11-19 Thread Luigi Bardelli
Hi all,
   I have recently bought an Echo Audio Indigo PCMCIA card for my notebook. I
was wondering if there is any support for it under Linux: this card is not
present in the ALSA Soundcard Matrix.
Can you help me?

Regards
   Luigi

__
Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus, il filtro 
Anti-spam
http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] (no subject)

2003-11-19 Thread cmcclan
Hello,

Thanks to all those who made Alsa, its great and has helped me achieve one of my goals 
- AC3 / DTS output via the digital SPDIF on my system! This means I can playback DVD's 
using xine with full Dolby Digital 5.1 sound.

I've seen lots of people asking if this is possible with my particular chipset and how 
to do it, so I thought I'd post the info to the group, and I have one small question 
at the end.

I have a Shuttle SN41G2 system running Gentoo Linux. The motherboard has an nforce 2 
chipset and an intel8xO sound chip. I have also purchased the extra spdif add-on 
giving 4 digital connections (1 optical in, 1 optical out, 1 coax in and 1 coax out). 
I am running with CVS alsa-driver and CVS alsa-libs, and have the following .asoundrc 
(based on the one posted by Lars G in the sound card matrix). There is one small 
change to the pcm value in the slave device. 

pcm.nforce-hw {
type hw
card 0
}

pcm.!default {
type plug
slave.pcm nforce
}

#0,0 is analog out (i.e. headphone socket on the shuttle), and 0,1 is spdif out.
pcm.nforce {
type dmix
ipc_key 1234
slave {
pcm hw:0,1  
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
}

ctl.nforce-hw {
type hw
card 0
}

Everything else is as per the intel8xO sound card matrix.

HINTS
-
o) KDE
By default KDE uses artsd to mix sounds, but since we are using the dmix plugin this 
is no longer necessery. artsd holds the device in such a way that it blocks any other 
programs from generating sound output (unless they have an artsd plugin) which causes 
programs like xmms, xine and even alsaplayer to just hang.

With the above .asoundrc, you can go into KDE, load the control panel and turn off 
artsd and all sounds will work fine.

o) Noise / pops and interferance with aplay and KDE.
I found that with this .asoundrc I was getting annoying pops and spikes at the end of 
sound clips when played with aplay (KDE uses aplay to play sound clips such as the 
login / logout wav files). The problem appeared to be with the CVS alsa-utils. I 
de-installed those and then installed older ones (I used emerge in Gentoo which I 
think loads version 9.2)

Question:
The only problem is with the volume settings - I don't seem to have any control over 
those when using the spdif output. alsamixer doesn't have any effect and neither does 
the volume controls in the individual apps (i.e. xine or xmms with alsa support).


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] SoundMAX (intel8x0) surround on a Asus P4P800

2003-11-19 Thread Alberto Monteiro
Clemens Ladisch wrote:

 Install ALSA 1.0.0pre1, then set the appropriate mixer controls.

What is this? I have no sound output [using ALSA 0.9.8], do you
think it will work if I get a new version, or it's a hopeless dream?

Alberto Monteiro



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Multiple wave

2003-11-19 Thread MvH
Hello,

I own an emu10k1 card, and I've always used multiple applications at the
same time sharing the pcm; I always thought this was normal ( it was my
first sound card apart from a soundblaster 8 ) with pci soundcards.
that was using oss, lately I tried alsa as I came across an onboard card
that couldnt play multiple wave streams.

so, now two questions: I noticed that my emu10k1 with alsa could play
multiple wave streams too, when the applications were alsa enabled.
( tried with aplay)

But I noticed too, that the oss emulation ( as I use several apllications
that are only oss at the same time during performing) was not capable of
doing this. Is there a way to fix this? dmix seems to be the way but it
doesn't work with oss emulation.

also the onboard thing could not play multiple waves with alsa either.
I this a common thing for today's sound chips? or is it simply a driver
issue?
for the first time I understand the need for stupid things like esd and arts...

Is there any documentation wich cards can play multiple streams or not?
its not even mentioned in advertisements for those cards...

I'm curious to know if there's anybody else experiencing the same issues;
The thing is I know about jack and I like it,  but may of the
applications I prefer to use are just really simple and old or only have oss
implementations, and work just fine in combination with my older emu10k1;
but now I'm going to buy new hardware it becomes an issue...

cheers,

Matthijs.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] SoundMAX (intel8x0) surround on a Asus P4P800

2003-11-19 Thread Takashi Iwai
At Wed, 19 Nov 2003 13:46:00 +,
Alberto Monteiro wrote:
 
 Clemens Ladisch wrote:
 
  Install ALSA 1.0.0pre1, then set the appropriate mixer controls.
 
 What is this? I have no sound output [using ALSA 0.9.8], do you
 think it will work if I get a new version, or it's a hopeless dream?

there are some codes changed since 0.9.8 in this regard, so it might
work with the new version.  please check the mixer settings as Clemens
mentioned.  there are plenty of configurable elements.

even if it doesn't work, don't try to start coding based on 0.9.8 any
more.  that makes no sense at all at this stage.


Takashi


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Re: spdif input with cmipci based card

2003-11-19 Thread Michael Hunold
Hello Clemens,

% arecord -v -v -D hw:0,2 -f IEC958_SUBFRAME_LE -r 44100 -c 2 -t raw a.raw
Recording raw data 'a.raw' : IEC-958 Little Endian, Rate 44100 Hz, Stereo
arecord: set_params:828: Sample format non available

The CMI chip doesn't support recording raw subframes, it only records
the PCM data contained in these frames (i.e., -f S16_LE).
Just to clarify this: it's not possible to record raw iec958 frames with 
this card, ie. frames with untouched ac3 data?

If so: does anybody know a card that can this so it can be misused as an 
el-cheapo iec958 audio analyzer (ie. capture raw frames, then analyze it 
with hexedit) ?

HTH
Clemens
CU
Michael.


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] HOWTO: spdif with nforce / intel8xO card inc AC3 DTS

2003-11-19 Thread Takashi Iwai
At Wed, 19 Nov 2003 11:25:51 + (GMT),
[EMAIL PROTECTED] wrote:
 
 Hello,
 
 Thanks to all those who made Alsa, its great and has helped me achieve one of my 
 goals - AC3 / DTS output via the digital SPDIF on my system! This means I can 
 playback DVD's using xine with full Dolby Digital 5.1 sound.
(snip nice info)

it would be helpful if you put such info to ALSA wiki, too.

 
 Question:
 The only problem is with the volume settings - I don't seem to have any control over 
 those when using the spdif output. alsamixer doesn't have any effect and neither 
 does the volume controls in the individual apps (i.e. xine or xmms with alsa 
 support).

the master volume shouldn't affect (since it's digital-out) but PCM
volume might influence unless non-audio spdif status bit is set.
check the default status bit via iceset included in the new
alsa-utils.


ciao,

Takashi


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] ESS Allegro problem on Omnibook Xe3

2003-11-19 Thread Rózsa Szabolcs
Dear All,

I have installed RedHat Linux (2.4.20-8) on an Omnibook Xe3 GC with ESS 
Allegro-1 soundcard. I'm using the 0.9.8 ALSA release, but unfortunately 
I have experienced a problem with the microphone. Actually I can not 
record anything with the microphone but noise. The speech is audible 
only in the background, and it is quite silent. I have read somewhere in 
the mailing lists, that HP might have modified the standard ESS Allegro, 
but I do not really know whether it is the case or not.

Does anyone has experienced the same thing on an Omnibook? Moreover does 
anyone know a solution for this problem?

I've tried modifying the mixer settings, and it did not help at all (Mic 
boost is enabled, all the mixers ar at 100%.)

Best regards,

Szabolcs

PS. I posted a letter to the list some ten days ago, but I'm not sure 
whether it has arrived. If it already has, then sorry for the second 
posting.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] SoundMAX (intel8x0) surround on a Asus P4P800

2003-11-19 Thread Clemens Ladisch
Alberto Monteiro wrote:

 Clemens Ladisch wrote:
 
  Install ALSA 1.0.0pre1, then set the appropriate mixer controls.
 
 What is this? I have no sound output [using ALSA 0.9.8]

No rear, or no sound at all?

 do you think it will work if I get a new version, or it's a
 hopeless dream?

The new ALSA code works on my P4P800 (maybe because I wrote it), so I
think there actually is a chance that it works on yours, too.


HTH
Clemens




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] CS46xx spdif output + ogle question

2003-11-19 Thread Clemens Ladisch
Henri wrote:

 On 19 Nov 2003, Clemens Ladisch [EMAIL PROTECTED] wrote:

  [EMAIL PROTECTED] wrote:
   it fails on the call to snd_ctl_elem_write.
 
  What is the error code/message?

 No such file or directory

 = control not found

   the snd_pcm_info_get_device(info) and
   snd_pcm_info_get_subdevice(info) are returning the correct values
   (device 2, sub device 0). just can't seem to update the IEC958
   control.
 
  What is the information for this control in /etc/asound.state?

 control.35 {
 comment.access 'read write inactive'
 comment.type IEC958
 iface PCM
 device 2
 name 'IEC958 Playback PCM Stream'
 value '00820002...
 }

This control is marked as inactive. AFAIK it's valid only while
something is playing.

Try to set this one instead:

 control.33 {
 comment.access 'read write'
 comment.type IEC958
 iface PCM
 device 2
 name 'IEC958 Playback Default'
 value '00820002000...
 }


HTH
Clemens




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Re: spdif input with cmipci based card

2003-11-19 Thread Clemens Ladisch
Michael Hunold wrote:

  The CMI chip doesn't support recording raw subframes, it only records
  the PCM data contained in these frames (i.e., -f S16_LE).

 Just to clarify this: it's not possible to record raw iec958 frames with
 this card, ie. frames with untouched ac3 data?

I've never used AC3, but I think it records the (untouched) AC3 data
and then pretends it's S16 PCM.  So recording a raw file should give
you the AC3 data (but not the IEC958 frames).


HTH
Clemens




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] SB Live/MIDI made difficult

2003-11-19 Thread Juhana Sadeharju
Hello. Can it be this difficult? We should have better user docs, I see.

I'm testing a MIDI keyboard with SB Live/LiveDrive, but Alsa
receives no MIDI. I tested cat -v on every midi device I found
and used rawmidi program.

I checked at MS Windows. The correct driver is SB Live! Midi In [C000]
and one that does not work is mpu401.

What to do? Do I have two MIDI devices; mpu401 in SB mainboard
and other in LiveDrive?

Regards,
Juhana


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] CS46xx spdif output + ogle question

2003-11-19 Thread Henri
On 19 Nov 2003, Clemens Ladisch [EMAIL PROTECTED] wrote: 

 Henri wrote:
 
  On 19 Nov 2003, Clemens Ladisch [EMAIL PROTECTED] wrote:
 
   [EMAIL PROTECTED] wrote:
it fails on the call to snd_ctl_elem_write.
  
   What is the error code/message?
 
  No such file or directory
 
  = control not found
 
the snd_pcm_info_get_device(info) and
snd_pcm_info_get_subdevice(info) are returning the correct values
(device 2, sub device 0). just can't seem to update the IEC958
control.

ARG. i posted the wrong asound.state output. sorry. here is
the .state for the CS46xx card:

how can i tell an app to use a specific control?

thanks

henri

control.55 {
comment.access 'read write'
comment.type IEC958
iface PCM
name 'IEC958 Playback Default'
value 
'00820002'
}
control.56 {
comment.access read
comment.type IEC958
iface PCM
name 'IEC958 Playback Mask'
value 
00ff
}
control.57 {
comment.access 'read write'
comment.type IEC958
iface PCM
name 'IEC958 Playback PCM Stream'
value 
'00820002'
}



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] ICE1724 driver doesn't work

2003-11-19 Thread Otto Wyss
When using alsaconf the soundcard is now detected. When I choose it the
configuration in /etc/alsa/modules/0.9 seems to work but afterwards when
alsa is started I get the following error:

Starting ALSA (version 0.9.6): ice1724-failed failed

Is there a log file somewhere where the error message is logged? After
shutting down X I see on the console the following message:

ALSA ../../alsa-kernel/pci/ice1712/ice1724.c:1614: invalid EEPROM (size=120)

I guess there is something in the kernel driver wrong. How can I fix
this? Is there a newer version?

O. Wyss

-- 
See http://wxguide.sourceforge.net/; for ideas how to design your app


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] SoundMAX (intel8x0) surround on a Asus P4P800

2003-11-19 Thread Alberto Monteiro
Clemens Ladisch wrote:
 
 What is this? I have no sound output [using ALSA 0.9.8]

 No rear, or no sound at all?

No sound at all. Nothing.

 do you think it will work if I get a new version, or it's a
 hopeless dream?

 The new ALSA code works on my P4P800 (maybe because I wrote it), so I
 think there actually is a chance that it works on yours, too.

It's a via82xx card.

Alberto Monteiro



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] alsa friendly DJ hardware ?

2003-11-19 Thread ivar
 First I've been told by those who know G that USB isn't real great
 as it  has latency problems.  You might look at the Midiman
 (www.midiman.com) Delta  cards.  They have a Delta 66 and a Delta 44
 with 6 and 4 channels  respectively.

Thanks for your prompt replies  recommendations. Unfortunately, the Delta
series is PCI based, which excludes them from working with a laptop. The
Midiman product line does look pretty good, and the M-audio Mobile Pre
(http://www.midiman.net/products/m-audio/mobilepre.php) would meet me
needs if I would be able to get a working ALSA driver.

Not that they're in my price range, but is there work on supporting some
of the new firewire audio interfaces ?( the Midiman Firewire 410 looks
pretty sweet.. http://www.midiman.com/products/m-audio/fw410.php )




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] alsa friendly DJ hardware ?

2003-11-19 Thread Frank Barknecht
Hallo,
[EMAIL PROTECTED] hat gesagt: // [EMAIL PROTECTED] wrote:

 Thanks for your prompt replies  recommendations. Unfortunately, the Delta
 series is PCI based, which excludes them from working with a laptop. The
 Midiman product line does look pretty good, and the M-audio Mobile Pre
 (http://www.midiman.net/products/m-audio/mobilepre.php) would meet me
 needs if I would be able to get a working ALSA driver.

The Mobile Pre looks nice. If I read this correctly, it will provide
two output pairs, which is important for DJing. You might also want to
take a look at the much cheaper boxes like the Audiotrak Mayas. As
multichannel PCMCIA cards are in general much more expensive, USB is
the only way to go in cost effective audio interfaces for DJs,
regardless of what the Jack folks are saying. ;)

One nice thing with USB is, that you can setup ALSA on your laptop in
advance, then take it to the shop and just test an interface in how
good it works. For multichannel interfaces you should also get the
asoundrc from the Quattro page on alsa-project.org and try things like
aplay -D q4 some.wav on your machine with any USB interface.

USB audio might be flawed in its specification, but in many cases it
Just Works (tm). Jack is one of those cases where you might run into
problems. But I remember, that on the first Linux Audio Dev conference
this year, several of the developers present had USB boxes (e.g. the
M-Audio Quattro)

The rich and famous had RME PCMCIA cards, of course. 

ciao
-- 
 Frank Barknecht   _ __footils.org__


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Joystick with alsa and snd-ens1371

2003-11-19 Thread pincon
It was hard and I hope it's nearly the end. I have succeeded in
activating the gameport.
I use Alsa included with my 2.6-test9 kernel. I activated the gameport
using alsactl-store and restore.
[EMAIL PROTECTED] thibaut $ cat /proc/asound/card0/audiopci
Ensoniq AudioPCI ES1371
Joystick enable  : on
Joystick port: 0x200
[EMAIL PROTECTED] thibaut $ cat /proc/ioports
...
[g]0200-0207 : ens137x: gameport[/g]
...
It seems to be enabled, I have also loaded the modules for my joystick:

[EMAIL PROTECTED] linux # lsmod
Module  Size  Used by
sidewinder 13056  0
joydev  9024  0
ac97_codec 17472  0
snd_ens137121764  4
snd_rawmidi21632  1 snd_ens1371
snd_ac97_codec 53060  1 snd_ens1371
gameport3776  2 sidewinder,snd_ens1371
But my pc says that there is no peripheric js0 :/. Special nodes have
been created.
I have read this
http://www.geocrawler.com/archives/3/12350/2002/7/0/9153136/ but I can't
load ns558 modules, it tells me that I haven't this.




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] also vs midi

2003-11-19 Thread Gene Heskett
Greetings all;

I've recently moved to a kernel-2.6.0-test9-mm4, which is getting 
pretty close to final.  The formerly OSS audio system has been 
replaced with alsasound, and can be built right into the kernel, 
which I have.

Most of the audio functions are working, with the notable exception of 
timidity.  It goes thru the motions visually, but makes no sound, and 
when its closed, it leaves a copy of itself using about 75% of the 
cpu behind that can be found and killed.

So whats the proceedure to make the midi synth work?

I have no alsa installed other than whats in the kernel.  The mixer 
that comes up is kmix, from kde-3.1.1a.  It apparently has no 
sequencer or synth controls.

-- 
Cheers, Gene
AMD [EMAIL PROTECTED] 320M
[EMAIL PROTECTED]  512M
99.27% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] C-Media CMI9739 and volume control

2003-11-19 Thread Stefan Bittner
Hi,
I have a motherboard with an nForce2 chipset and the CMI9739 AC97 codec.
As some helpful person has pointed out, the Chip lacks a PCM-Out volume 
control in hardware. All there is, is the mute bit.
Now, using alsa-libs plugin arcitecture, can I implement volume control in 
software (maybe by even writing a plugin) ?
If this seems to be possible, can anybody hint the direction to go, give
a rough sketch of what has to be done ?

Thanks a lot,
Stefan
-- 
Stefan Bittner
[EMAIL PROTECTED]



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Re: [Alsa-devel] [ANN] ALSA 1.0.0pre1 is released

2003-11-19 Thread Collins Richey
On 19 Nov 2003 17:30:29 -0800 Fernando Pablo Lopez-Lezcano
[EMAIL PROTECTED] wrote:

  as you might have already seen on the web news page, we released
  1.0.0pre1 tarball.  This is intended for the wide tests before the
  official 1.0.0 release.  We planned to release 1.0.0 (hopefully) in
  this month, so please everyone test this version and give bug reports
  now.
 
 Looks like somehow hdspmix and hdspconf did not make it to the
 alsa-tools tarball (but they are there in CVS)
 -- Fernando
 

Are these improvements in the 2.6 kernel series; if not, when?

-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] alsa 1.0

2003-11-19 Thread Gonzalo Zapata
Hi, i downloaded alsa 1 and installed but when i restart my systemthe 0.9 
still loading, how i have to make the change form 0.9 to 1.

Thanx

Gonzalo Zapata



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] alsa vs midi

2003-11-19 Thread Gene Heskett
On Wednesday 19 November 2003 19:37, Gene Heskett wrote:
Greetings all;

Yeah, I know, its poor form to answer/comment on ones own messages,  
but more info below.

I've recently moved to a kernel-2.6.0-test9-mm4, which is getting
pretty close to final.  The formerly OSS audio system has been
replaced with alsasound, and can be built right into the kernel,
which I have.

Most of the audio functions are working, with the notable exception
 of timidity.  It goes thru the motions visually, but makes no
 sound, and when its closed, it leaves a copy of itself using about
 75% of the cpu behind that can be found and killed.

So whats the proceedure to make the midi synth work?

I have no alsa installed other than whats in the kernel.  The mixer
that comes up is kmix, from kde-3.1.1a.  It apparently has no
sequencer or synth controls.

I have since discovered that kmidi works, while kmid doesn't.
Kmidi is a cpu hog though, taking about 80% of a 1400 mhz athlon, and 
skips a lot if other graphics are being drawn or copied.  It also 
seems to miss out on some voices its own sample .mid files call for.
 
Do I have a basic miss-understanding of the rolls of these two 
programs and timidity?

-- 
Cheers, Gene
AMD [EMAIL PROTECTED] 320M
[EMAIL PROTECTED]  512M
99.27% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] ice1712 dshare asoundrc config problem

2003-11-19 Thread Garett Shulman
Hello, I am having three particular issues that I was hopeing someone 
might have some insight into. I have an ice1712 card and would like to 
be able to have the digital mixer mix xmms  fluidsynth so I can jam 
with mp3s. Here is the asoundrc I have created so far:

pcm.44_1 {
type dshare
ipc_key 10242
slave {
pcm hw:0,0
period_size 64
periods 16
}
bindings {
0 0
1 1
}
}
pcm.44_1p {
type plug
slave {
pcm 44_1
}
}
pcm.44_2 {
type dshare
ipc_key 10245
slave {
pcm hw:0,0
}
bindings {
0 2
1 3
}
}
pcm.44_2p {
type plug
slave {
pcm 44_2
}
}
The first issue is that fluidsynth will only output S16_LE format. This 
is why I have 44_1p  44_2p. Is this the best way to get from hw:0,0 
which is S32_LE to S16_LE?

The second issue is that I cannot open more than one of the dshare 
devices. If 44_1p is opened by fluidsynth and I try and open 44_2 or 
44_2p I get an error that the device is already opened. Am I 
missunderstood that the point of dshare is so you can have different 
applications open different channels of a digital mixer? Or, am I using 
it incorrectly in the asoundrc?

The third issue is that even though I specify period_size 64 and periods 
16 in 44_1, fluidsynth still complains that it got a period_size of 3009 
and a periods of 2. I believe that the period_size of 3009 is causing 
serious latency.

I would really appreciate any suggestions that anyone might have. If you 
have any ideas, please take a moment to let me know. If I can get this 
working I will take some time and post info to the ice1712 wiki. Thanks. 
-Garett



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] alsa vs midi

2003-11-19 Thread Gene Heskett
On Thursday 20 November 2003 00:15, David Garcia wrote:
Timidity is a software (CPU wasting) synth that synths audio (say
 wav) from midi information. That audio information can be played by
 any Wav device so its sound level is controlled by pcm/wav
 controls.

Mainly, kmidi is a kde frontend to timidity. On the other side, kmid
uses any of the available MIDI devices (ALSA/OSS) to play midi.

But there doesn't seem to be a method to name the device in the menus 
for kmid.  Shouldn't this be configurable someplace?

Kmid can choose as output device:
- the soundcard builtin synth,

I don't think this one has such a beast.

- timidity (when running with some options),
- or the MIDI UART/USB output port as output device.

Which I do not have, and is not enabled in the kernel.

Depending on the device you choose then you should consider the
 following: - MIDI output port will not sound if no HW midi device
 is connected. - Some builtin soundcards synths need loading some
 pathes in order to sound (sfxload...)
- Builtin soundcards synths have their own channel on the mixer,
 unmute it.

Does this one have suuch a facility?:

Nov 18 11:04:58 coyote kernel: ac97_codec: AC97 Audio codec, id: ALG16 
(ALC200/200P)

If kmidi is a front end for timidity, its a puzzle that it works.  
When timidity is run by itself, its silent, and 2 copies need to be 
killed after the gui goes away.  I'd imagine there should be some way 
to configure this, but my admittedly limited searchs have not found 
the preferences tools.

Also, kmix has a subpanel for the brooktree/bttv stuffs, but they are 
all turned on, and the gain controls wide open but non-functional 
ANAICT.  So how does one go about setting that up?, with pointers to 
the web docs being fine.

I get messages in /var/log/dmesg saying something about the seq:

Nov 18 11:04:58 coyote kernel: Via 686a/8233/8235 audio driver 
1.9.1-ac3-2.5
Nov 18 11:04:58 coyote kernel: via82cxxx: Six channel audio available
Nov 18 11:04:58 coyote kernel: ac97_codec: AC97 Audio codec, id: ALG16 
(ALC200/200P)
Nov 18 11:04:58 coyote kernel: via82cxxx: board #1 at 0xE800, IRQ 12
Nov 18 11:04:58 coyote kernel: btaudio: driver version 0.7 loaded 
[digital+analog]
Nov 18 11:04:58 coyote kernel: btaudio: Bt878 (rev 17) at 00:09.1, 
irq: 5, latency: 32, mmio: 0xef005000
Nov 18 11:04:58 coyote kernel: btaudio: using card config default
Nov 18 11:04:58 coyote kernel: btaudio: registered device dsp1 
[digital]
Nov 18 11:04:58 coyote kernel: btaudio: registered device dsp2 
[analog]
Nov 18 11:04:58 coyote kernel: btaudio: registered device mixer1
Nov 18 11:04:58 coyote kernel: Advanced Linux Sound Architecture 
Driver Version 0.9.7 (Thu Sep 25 19:16:36 2003 UTC
).

Nov 18 11:04:58 coyote kernel: can't register device seq
Nov 18 11:04:58 coyote kernel: unable to register OSS mixer device 0:0

Nov 18 11:04:58 coyote kernel: ALSA device list:
Nov 18 11:04:58 coyote kernel:   #0: Virtual MIDI Card 1

Hope this helps.

It does, and thank you, but doesn't go far enough for me to make the 
leap of faith and actually put a big mental block diagram in the 
grey matter under my ancient, thinning hair.  Probably not your 
fault.

On Wed, 19 Nov 2003, Gene Heskett wrote:
 On Wednesday 19 November 2003 19:37, Gene Heskett wrote:
 Greetings all;

 Yeah, I know, its poor form to answer/comment on ones own
 messages, but more info below.

 I've recently moved to a kernel-2.6.0-test9-mm4, which is getting
 pretty close to final.  The formerly OSS audio system has been
 replaced with alsasound, and can be built right into the kernel,
 which I have.
 
 Most of the audio functions are working, with the notable
  exception of timidity.  It goes thru the motions visually, but
  makes no sound, and when its closed, it leaves a copy of itself
  using about 75% of the cpu behind that can be found and killed.
 
 So whats the proceedure to make the midi synth work?
 
 I have no alsa installed other than whats in the kernel.  The
  mixer that comes up is kmix, from kde-3.1.1a.  It apparently has
  no sequencer or synth controls.

 I have since discovered that kmidi works, while kmid doesn't.
 Kmidi is a cpu hog though, taking about 80% of a 1400 mhz athlon,
 and skips a lot if other graphics are being drawn or copied.  It
 also seems to miss out on some voices its own sample .mid files
 call for.

 Do I have a basic miss-understanding of the rolls of these two
 programs and timidity?

 --
 Cheers, Gene
 AMD [EMAIL PROTECTED] 320M
 [EMAIL PROTECTED]  512M
 99.27% setiathome rank, not too shabby for a WV hillbilly
 Yahoo.com attornies please note, additions to this message
 by Gene Heskett are:
 Copyright 2003 by Maurice Eugene Heskett, all rights reserved.



 ---
 This SF.net email is sponsored by: SF.net Giveback Program.
 Does SourceForge.net help you be more productive?  Does it
 help you create better code?  SHARE THE LOVE, and help us help
 YOU!  Click Here: 

[Alsa-user] [ANN] ALSA 1.0.0pre1 is released

2003-11-19 Thread Takashi Iwai
Hi all,

as you might have already seen on the web news page, we released
1.0.0pre1 tarball.  This is intended for the wide tests before the
official 1.0.0 release.  We planned to release 1.0.0 (hopefully) in
this month, so please everyone test this version and give bug reports
now.

Especially, if you have a card or a mobo with ICH (or compatible)
chip and *multiple* AC97 codecs, testing this version is appreciated.
Please give (also positive) feedback whether it works.  The handling
of multiple codecs was changed recently, but not tested well because
of lack of hardware.


Important changes / fixes since 0.9.8

- joystick is configured now (again) by module options instead of
  control API.  see alsa-kernel/Documentation/Joystick.txt.

- the default value of cards_limit option of sound module is 1.
  note that this doesn't mean that the max. number of cards is limited
  to 1, but it restricts the number of auto-loaded cards.  if you load
  a module manually, it's added safely.

- PCM OSS emulation was fixed, e.g. mplayer delay problem should be
  fixed now.  Hopefully this doesn't introduce another bug...

- AC97 handler is rewritten.  please test!

- some serious ISA PnP bugs are fixed (e.g. cs4236 freeze).

- some bugs in OSS-emulation library are fixed.  please test!

- dmix problems with xmms ALSA plugin is solved.

- alsa-driver tree can be built with 2.6 kernel.

- alsaconf is now moved to alsa-utils tarball.


Known problems

- pdplus driver seems broken.  more testers?

- korg1212 driver seems broken (somehow).

- PCM OSS emulation might cause oops when you compile the kernel
  without frame pointer (depending on the compiler).

- opti92x still might not work (although some bugs were fixed).


--
Takashi Iwai [EMAIL PROTECTED]ALSA Developer - www.alsa-project.org


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Re: [Alsa-devel] [ANN] ALSA 1.0.0pre1 is released

2003-11-19 Thread Fernando Pablo Lopez-Lezcano
 as you might have already seen on the web news page, we released
 1.0.0pre1 tarball.  This is intended for the wide tests before the
 official 1.0.0 release.  We planned to release 1.0.0 (hopefully) in
 this month, so please everyone test this version and give bug reports
 now.

Looks like somehow hdspmix and hdspconf did not make it to the
alsa-tools tarball (but they are there in CVS)
-- Fernando




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] In progress: *User* documentation in Spanish

2003-11-19 Thread David Garcia

I am currently working on a 'no-compilation, no-installation,
no-programming' user manual for Alsa-Jack-Ladspa.

I wanted to bring some friends of mine to Linux. They use Windows based
music software, so i intended to do some introduction (in spanish) to the
capababilities of Alsa-Jack-Ladspa(-Ladcca?) arquitecture for final users.
Due to the initial intent I did it in Spanish. Now it seems language was a
wrong choice. Most related documentation is full of programming and
installation details and I think that it is a globally needed
documentation. So i plan to do it more general and translate it but only
after the structure would get some degree of stability.

The current (Spanish) draft is located at:
http://www.salleurl.edu/~is04069/Modders/Docs/alsadoc.html

Most mature sections are 'General arquitecture', 'Sequencer' and 'Config
files syntax'. Maybe, some alsa hacker who undestand Spanish (Jordi?
Nando?) could review them. I have lot's of questions, since i had to
figure out a lot of things from code or from proposals (which i don't know
if they finally get implemented as explained). But I will ask those
questions only to the developers lists. That's the correct audience by
now, isn't it?


--
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
(Home) vokimon at telefonica adot net
http://www.salleurl.edu/~is04069



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user