Re: [Alsa-devel] intek8x0 driver

2003-07-21 Thread Jaroslav Kysela
On Sun, 20 Jul 2003, Dirk Aust wrote: Hello all, I have some difficulties using the /dev/dsp devices, when trying to use the call: mmap2(NULL, 16384, PROT_READ, MAP_SHARED, 5, 0) = -1 EIO (Input/output error) Note that you are allowed to mmap only stereo 16-bit streams with the intel8x0

Re: [Alsa-devel] [OOPS] Alsa 0.9.4 / kernel 2.6.0-test1-mm1

2003-07-21 Thread Vince
Jaroslav Kysela wrote: On Sat, 19 Jul 2003, Vince wrote: Jaroslav Kysela wrote: On Fri, 18 Jul 2003, Vince wrote: P.S.: I intended to test alsa 0.9.5 (in the hope that this bug was already known has already been fixed), but unfortunately I get a compile error (I simply dropped alsa-kernel

[Alsa-devel] Measuring latency on my Apple G3

2003-07-21 Thread Ismael Valladolid Torres
Hi, I am trying latencytest-0.42-png.tar.gz for measuring latency on my Apple G3 (Debian/Sid PowerPC). Of course I am enabling USE_GENERIC_TIMER and tuning my hard disk using hdparam before tests. But, results show a very poor performance. Indeed, any X11 stressing involves a raise of the

[Alsa-devel] Re: Measuring latency on my Apple G3

2003-07-21 Thread Ismael Valladolid Torres
Michel Dänzer escribio el 21/07/03 13:09: First of all, you mentioned in another post that you use x11perf to create X11 stress. Are there also problems with real world apps? Real world apps work properly (except for the Gnome theme manager which displays garbage). I only find video performance

Re: [Alsa-devel] [OOPS] Alsa 0.9.4 / kernel 2.6.0-test1-mm1

2003-07-21 Thread Jaroslav Kysela
On Mon, 21 Jul 2003, Vince wrote: Jaroslav Kysela wrote: On Sat, 19 Jul 2003, Vince wrote: Jaroslav Kysela wrote: On Fri, 18 Jul 2003, Vince wrote: P.S.: I intended to test alsa 0.9.5 (in the hope that this bug was already known has already been fixed), but unfortunately I

Re: [Alsa-devel] [OOPS] Alsa 0.9.4 / kernel 2.6.0-test1-mm1

2003-07-21 Thread Ville Syrjälä
On Mon, Jul 21, 2003 at 02:38:03PM +0200, Jaroslav Kysela wrote: +static int rate_match(unsigned int src_rate, unsigned int dst_rate) +{ + unsigned int low = (src_rate * 95) / 100; + unsigned int high = (src_rate * 105) / 105; ^^^ Typo.

Re: [Alsa-devel] [OOPS] Alsa 0.9.4 / kernel 2.6.0-test1-mm1

2003-07-21 Thread Jaroslav Kysela
On Mon, 21 Jul 2003, [iso-8859-1] Ville Syrjl wrote: On Mon, Jul 21, 2003 at 02:38:03PM +0200, Jaroslav Kysela wrote: +static int rate_match(unsigned int src_rate, unsigned int dst_rate) +{ + unsigned int low = (src_rate * 95) / 100; + unsigned int high = (src_rate * 105) / 105;

Re: [Alsa-devel] [OOPS] Alsa 0.9.4 / kernel 2.6.0-test1-mm1

2003-07-21 Thread Jaroslav Kysela
On Mon, 21 Jul 2003, Vince wrote: Sorry, I still get the oops with the patch... Please, change '(src_rate * 105) / 105;' expression from the patch to '(src_rate * 105) / 100;'... Jaroslav - Jaroslav Kysela [EMAIL PROTECTED] Linux Kernel

Re: [Alsa-devel] [OOPS] Alsa 0.9.4 / kernel 2.6.0-test1-mm1

2003-07-21 Thread Vince
And I also still get an oops after correcting the patch... Unable to handle kernel paging request at virtual address d0a91000 printing eip: d0c8607b *pde = 013ea067 *pte = Oops: [#1] PREEMPT CPU:0 EIP:0060:[d0c8607b]Tainted: PF VLI EFLAGS: 00010202 EIP is at

Re: [Alsa-devel] [OOPS] Alsa 0.9.4 / kernel 2.6.0-test1-mm1

2003-07-21 Thread Takashi Iwai
At Mon, 21 Jul 2003 15:32:17 +0200, Vince wrote: Sorry, I still get the oops with the patch... perhaps you built the modules without frame pointer? Takashi --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple

[Alsa-devel] Intel 865G -- no sound

2003-07-21 Thread Stephen Waters
Hi, I'm running Linux 2.4.20 with ALSA 0.9.4 on Intel 865G (Dell GX270, if you wanna look up the machine at http://support.dell.com). Although the snd-intel8x0 driver, etc. load fine, no sound actually comes out of the card. I've got all the meters (mono, stereo, PCM, etc.) on 100 in both ALSA

Re: [Alsa-devel] [OOPS] Alsa 0.9.4 / kernel 2.6.0-test1-mm1

2003-07-21 Thread Vince
Takashi Iwai wrote: At Mon, 21 Jul 2003 15:32:17 +0200, Vince wrote: Sorry, I still get the oops with the patch... perhaps you built the modules without frame pointer? Indeed: diablo:/usr/src/linux-2.6.0test1# grep FRAME .config # CONFIG_FRAME_POINTER is not set Should I make a build with

Re: [Alsa-devel] [OOPS] Alsa 0.9.4 / kernel 2.6.0-test1-mm1

2003-07-21 Thread Jaroslav Kysela
On Mon, 21 Jul 2003, Jaroslav Kysela wrote: On Mon, 21 Jul 2003, Vince wrote: Sorry, I still get the oops with the patch... Please, change '(src_rate * 105) / 105;' expression from the patch to '(src_rate * 105) / 100;'... Ok, here is also a patch which should solve the error for all

Re: [Alsa-devel] [OOPS] Alsa 0.9.4 / kernel 2.6.0-test1-mm1

2003-07-21 Thread Vince
Jaroslav Kysela wrote: On Mon, 21 Jul 2003, Vince wrote: Sorry, I still get the oops with the patch... Please, change '(src_rate * 105) / 105;' expression from the patch to '(src_rate * 105) / 100;'... I already did (see my last mail)... and still the oops. :-(

Re: [Alsa-devel] [OOPS] Alsa 0.9.4 / kernel 2.6.0-test1-mm1

2003-07-21 Thread Takashi Iwai
At Mon, 21 Jul 2003 16:11:28 +0200, Vince wrote: Takashi Iwai wrote: At Mon, 21 Jul 2003 15:32:17 +0200, Vince wrote: Sorry, I still get the oops with the patch... perhaps you built the modules without frame pointer? Indeed: diablo:/usr/src/linux-2.6.0test1# grep

Re: [Alsa-devel] [OOPS] Alsa 0.9.4 / kernel 2.6.0-test1-mm1

2003-07-21 Thread Vince
Jaroslav Kysela wrote: On Mon, 21 Jul 2003, Jaroslav Kysela wrote: On Mon, 21 Jul 2003, Vince wrote: Sorry, I still get the oops with the patch... Please, change '(src_rate * 105) / 105;' expression from the patch to '(src_rate * 105) / 100;'... Ok, here is also a patch which should solve

[Alsa-devel] RE: compilation

2003-07-21 Thread Denis, jMarc
Hi i forgot to tell you my configuration : [EMAIL PROTECTED] alsa-oss-0.9.4]# rpm -qa |grep alsa alsa-lib-0.9.0-fr0.rc7.0.rh73.1 alsa-driver-0.9.0-fr0.rc7.0.rh73.2 alsa-utils-0.9.0-fr0.rc7.0.rh73.1 [EMAIL PROTECTED] alsa-oss-0.9.4]# locate libasound /usr/lib/libasound.so /usr/lib/libasound.so.2

Re: [Alsa-devel] Known error with signed samples at high samplerate?

2003-07-21 Thread Takashi Iwai
At Fri, 18 Jul 2003 14:43:09 -0400, Garrett Kajmowicz wrote: Is there a known error requesting signed integer samples at a high (44100+) sample rate? I am using the plughw interface on a SBLive! value card. When I request samples as listed above, snd_pcm_readi always returns -EPIPE.

Re: [Alsa-devel] SIS7012 works but get's frozen

2003-07-21 Thread Takashi Iwai
At 18 Jul 2003 18:47:17 -0400, P.I.Julius [EMAIL PROTECTED] wrote: Hi all ALSA developers I have a sis7012 sound card with my new laptop SonyVaio PCG-GRT100 but the sound is not working. I tried out with the kernel i810_audio modul, with the OpenSounSystem, and with the alsa too, but with

Re: [Alsa-devel] SIS7012 works but get's frozen

2003-07-21 Thread Takashi Iwai
At Sat, 19 Jul 2003 06:25:42 -0400, David B Harris wrote: [1 text/plain; US-ASCII (7bit)] On 18 Jul 2003 18:47:17 -0400 P.I.Julius [EMAIL PROTECTED] wrote: Hi all ALSA developers I have a sis7012 sound card with my new laptop SonyVaio PCG-GRT100 but the sound is not working. I tried

Re: [Alsa-devel] refactoring of maestro continues

2003-07-21 Thread Takashi Iwai
Hi Warren, At Sat, 19 Jul 2003 01:59:44 -0500, Warren Turkal wrote: Here is a patch against the HEAD of linus' tree. This time there are no AC97 defines in maestro3.c for the generic AC97 support. thanks. but i thought we agreed to move ASSP things to maestro3 part..? please let me know

Re: [Alsa-devel] using the sequencer with raw byte streams?

2003-07-21 Thread Takashi Iwai
At Sun, 20 Jul 2003 19:28:02 -0400, Paul Davis wrote: is there a relatively simple way to use the sequencer with raw byte streams? i want to create an ASEQ_Port type for libmidi++, but unlike the current support port types, the sequencer seems to be totally based on typed events. libmidi++

Re: [Alsa-devel] hecking for libasound headers version

2003-07-21 Thread Takashi Iwai
At Mon, 21 Jul 2003 14:41:20 +0200, Denis, jMarc [EMAIL PROTECTED] wrote: Hi, I have installed : alsa-driver, alsa-lib, alsa-utils. When i try to compile alsa-oss-0.9.4 i have this problem : checking for libasound headers version = 0.9.0... not present. configure: error: Sufficiently

Re: [Alsa-devel] [OOPS] Alsa 0.9.4 / kernel 2.6.0-test1-mm1

2003-07-21 Thread Vince
Indeed, I do not have the bug with the frame pointer buid... Perhaps this is a compiler problem ? (mine is gcc version 3.3.1 20030626 (Debian prerelease)) Anyway, I'm still willing to help solve this problem... Vincent Takashi Iwai wrote: At Mon, 21 Jul 2003 16:11:28 +0200, Vince wrote:

[Alsa-devel] Re: snd-usb-audio hacking

2003-07-21 Thread Takashi Iwai
At Fri, 18 Jul 2003 11:43:17 -0700, Andrew Burgess wrote: Takashi said: I have a Griffin USB iMic that hard hangs 2.4.21ac just by running arecord and then ^C. I got no response here a few weeks ago... does this happen still with the latest cvs? Yes. I just tried alsa 9.2, 9.4, 9.5

Re: [Alsa-devel] USB disconnect/connect messages

2003-07-21 Thread Takashi Iwai
At Mon, 21 Jul 2003 00:40:32 +0100, James Courtier-Dutton wrote: Hi, Is there any way to tell if a USB sound card has been disconnected or not? IIRC, this is not notified to the application. the app simply would get an error at the further access. it sounds not bad to notify the status

[Alsa-devel] [PATCH] intel8x0 - IBM Thinkpad T30

2003-07-21 Thread Arnaud de Bossoreille de Ribou
Hi, here is a patch which fixes a bug on T30 computers when switching back from suspend mode. The first modification allow the system to recover from errors when a warm reset is not enough. The second one fixes the bug I explained. With this patch no need to kill all the applications using

Re: [Alsa-devel] SIS7012 works but get's frozen

2003-07-21 Thread David B Harris
(Please note that I'm subscribed to the list, thus personal copies need not be sent to me.) On Mon, 21 Jul 2003 16:35:11 +0200 Takashi Iwai [EMAIL PROTECTED] wrote: Playing MPEG stream from Don MacLean - American Pie.mp3 ... MPEG 1.0 layer III, 192 kbit/s, 44100 Hz stereo ALSA lib

Re: [Alsa-devel] using the sequencer with raw byte streams?

2003-07-21 Thread Takashi Iwai
At Mon, 21 Jul 2003 13:18:37 -0400, Paul Davis wrote: i'd like to find a way to connect these two abstractions together somehow, since it would make Ardour play nice in the set of sequencer clients that already exist. i can see the RAW event type flag, which looks as if it might work for

Re: [Alsa-devel] USB disconnect/connect messages

2003-07-21 Thread James Courtier-Dutton
Takashi Iwai wrote: At Mon, 21 Jul 2003 00:40:32 +0100, James Courtier-Dutton wrote: Hi, Is there any way to tell if a USB sound card has been disconnected or not? IIRC, this is not notified to the application. the app simply would get an error at the further access. it sounds not bad to notify

[Alsa-devel] some interesting docs for 2.6 testers...

2003-07-21 Thread Joern Nettingsmeier
hello everyone! if you are thinking about testing the new 2.6-pre kernels (which would be helpful to shake out problems with typical audio-workloads that might not get tested by others), here are two links worth a read (found on lwn.net): * the 2.5 what to expect document by dave jones:

Re: [Alsa-devel] using the sequencer with raw byte streams?

2003-07-21 Thread Paul Davis
own sophisticated parser that includes heavy use of libsigc++ to allow anonymous notification of many more event types than the sequencer code currently defines. arbitrary includes non-MIDI byte streams? no, MIDI definitely, but its dominated by sysex stuff (MTC, MMC, dump, load requests,

[Alsa-devel] atomicity in linked streams

2003-07-21 Thread Takashi Iwai
Hi, so far, some pcm operator callbacks are assumed to be atomic. but looking at the code, this restriction seems coming only from the rwlock of linked streams. there are some hardwares which need (idally) the non-atomic operations for prepare and trigger. they usually require the ack as the

Re: [Alsa-devel] USB disconnect/connect messages

2003-07-21 Thread Takashi Iwai
At Mon, 21 Jul 2003 19:03:29 +0100, James Courtier-Dutton wrote: Takashi Iwai wrote: At Mon, 21 Jul 2003 00:40:32 +0100, James Courtier-Dutton wrote: Hi, Is there any way to tell if a USB sound card has been disconnected or not? IIRC, this is not notified to the application.

[Alsa-devel] aplay not playing MPEG

2003-07-21 Thread Eliot Blennerhassett
Can aplay/alsa send raw MPEG data to a card? aplay -Dhw:0 -v -t raw --channels=2 --format=MPEG --rate=44100 ~/audio/44khz Playing raw data '/home/eliot/audio/44khz' : MPEG, Rate 44100 Hz, Stereo aplay: set_params:805: Sample format non available This command works fine if I specify

[Alsa-devel] No sound output on PowerBook Titanium II (TAS3001c) - resend(subscribed now)

2003-07-21 Thread ted
(Originally sent on the 17th, subscribed and resent due to lack of response from moderators.) I've been unable to get the latest stable ALSA to produce any sound at all. I even tried the loading+unloading dmasound_pmac first trick, but to no avail. Everything looks fine, but applications using

[Alsa-devel] Re: aplay not playing MPEG

2003-07-21 Thread Måns Rullgård
Eliot Blennerhassett [EMAIL PROTECTED] writes: Can aplay/alsa send raw MPEG data to a card? aplay -Dhw:0 -v -t raw --channels=2 --format=MPEG --rate=44100 ~/audio/44khz Playing raw data '/home/eliot/audio/44khz' : MPEG, Rate 44100 Hz, Stereo aplay: set_params:805: Sample format non

Re: [Alsa-devel] Minor bug(s) in hdsp.c (RME HDSP driver)

2003-07-21 Thread alsa-devel
Quoting Paul Davis [EMAIL PROTECTED]: I also think that the behaviour of hdsp_set_rate() should change. If the card is set to AutoSync, and there is no input signal, hdsp_set_rate() will fail on line 888. In this case, I think the proper behaviour would be to set the card in Master mode

[Alsa-devel] silence_size

2003-07-21 Thread aknuds-1
Hi I'm afraid I dont completely understand the documentation of the snd_pcm_sw_params_set_silence_size function. Is it so to understand that a size equal to pcm-boundary causes uninitialized parts of the ring buffer to be silenced, in the case of xruns? Thanks A

[Alsa-devel] VT1712 (ENVY 24) -Consumer mode of playback and capture.

2003-07-21 Thread Anthony Truong
If you are interested in exchanging info. about this audio controller, please let me know. As you know, the ALSA driver is completely broken for consumer mode playback and capture. Nothing works! I manage to have capture working. However playback is still very elusive. Regards, Anthony Dominic

Re: [Alsa-devel] Minor bug(s) in hdsp.c (RME HDSP driver)

2003-07-21 Thread Paul Davis
Quoting Paul Davis [EMAIL PROTECTED]: I also think that the behaviour of hdsp_set_rate() should change. If the card is set to AutoSync, and there is no input signal, hdsp_set_rate() will fail on line 888. In this case, I think the proper behaviour would be to set the card in Master mode

[Alsa-devel] Re: aplay not playing MPEG

2003-07-21 Thread Eliot Blennerhassett
What model is your card? Are you sure that it really supports mpeg, and that it isn't just a windows driver faking it for marketing reasons? Audioscience ASI6244, definitely has MPEG decode on the card (I am one of the cards designers) I am writing the driver for this card, but can't figure

Re: [Alsa-devel] refactoring of maestro continues

2003-07-21 Thread Warren Turkal
On Monday 21 July 2003 09:37 am, Takashi Iwai wrote: Hi Warren, At Sat, 19 Jul 2003 01:59:44 -0500, Warren Turkal wrote: Here is a patch against the HEAD of linus' tree. This time there are no AC97 defines in maestro3.c for the generic AC97 support. thanks. but i thought we agreed to

[Alsa-devel] Re: aplay not playing MPEG

2003-07-21 Thread Måns Rullgård
Eliot Blennerhassett [EMAIL PROTECTED] writes: What model is your card? Are you sure that it really supports mpeg, and that it isn't just a windows driver faking it for marketing reasons? Audioscience ASI6244, definitely has MPEG decode on the card (I am one of the cards designers) Well,