Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Takashi Iwai
Hi Patrick, At Thu, 30 May 2002 14:15:55 +0900, Patrick Shirkey wrote: As you can tell I'm very excited about this. Here's some preliminary stuff. #dmesg usb.c: registered new driver audio hub.c: USB new device connect on bus1/1, assigned device number 3 ALSA usbaudio.c:1134:

[Alsa-devel] Re: [Alsa-user] Experimental USB audio support

2002-05-31 Thread Takashi Iwai
At Wed, 29 May 2002 14:31:12 -0500, Todd Witter wrote: Awesome! So perhaps some limited useage for those with the Soundblaster Extigy? well, yes, if creative follows the usb specification... but i once heard that extigy works with OSS audio driver, so it likely works. Takashi

Re: [Alsa-devel] Updated: via8233 driver -- testers wanted

2002-05-31 Thread Niek van der Maas
Hi, I've exectly the same problem. When I use cat /usr/kde/3/hare/sounds/pop.wav /dev/dsp, I get a I/O write error. The only thing that works is playing a CD, I can mute/unmute, set the volume via alsamixer etc. Bye, Niek. On Friday 31 May 2002 11:51, René Kermis wrote: Hi, I can't get

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Patrick Shirkey
Takashi Iwai wrote: just run lsusb (as root) without options. then it will list all devices out. or, you can specify the vendor and device ids per -d option. please send me the output. I enventually managed to get it. here it is again. - Bus 001 Device 004: ID 0763:2001

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Takashi Iwai
At Fri, 31 May 2002 18:23:31 +0900, Patrick Shirkey wrote: Takashi Iwai wrote: just run lsusb (as root) without options. then it will list all devices out. or, you can specify the vendor and device ids per -d option. please send me the output. I enventually managed to

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Takashi Iwai
At Fri, 31 May 2002 18:31:58 +0900, Patrick Shirkey wrote: Takashi Iwai wrote: devfs: devfs_register(): device already registered: unknown ALSA usbaudio.c:1191: 3:4:1 : frame size 3 doesn't match ALSA 24bit sample format oh, that's interesting. apparently the device uses 3

Re: [Alsa-devel] snd_pcm_close hangs

2002-05-31 Thread Takashi Iwai
At Thu, 30 May 2002 17:14:03 +0200 (CEST), Tim Goetze wrote: hi all, both emu8k and ice1712 pcm drivers hang forever in ioctl(2) when closing a playback stream if the stream has been linked to the same card's capture, has been prepared and written data to, but was never started:

Re: [Alsa-devel] cvs not compiling cleanly

2002-05-31 Thread Takashi Iwai
At Fri, 31 May 2002 12:27:26 +0900, Patrick Shirkey wrote: Fernando Pablo Lopez-Lezcano wrote: Hi, today's cvs, fresh download. Not all modules are compiled when doing a cvscompile from scratch. Last ones are the usb modules, the whole pci directory is apparently skipped. The final

[Alsa-devel] Fw: writing audiowerk driver (philips saa7146a), some questions

2002-05-31 Thread Martijn Sipkema
below is a message i sent earlier, but with the wrong email address: writing audiowerk driver (philips saa7146a), some questions hi, i have finally been able to get the information i need to be able to write a driver for the emagic audiowerk8 audio interface. now since i am not an

Re: [Alsa-devel] Updated: via8233 driver -- testers wanted

2002-05-31 Thread Takashi Iwai
Hi all, At Fri, 31 May 2002 10:51:35 +0200, René Kermis wrote: Hi, I can't get the driver (cvs-version 1.18) running on a VT8233A (EPoX 8K3A+). I get the following error when trying to play a sound file with aplay: ALSA lib pcm_hw.c:413:(snd_pcm_hw_drain) SNDRV_PCM_IOCTL_DRAIN failed:

Re: [Alsa-devel] arecord -D cards.pcm.iec958

2002-05-31 Thread Takashi Iwai
At Tue, 28 May 2002 19:22:45 +0200, Lars Heineken wrote: Hi ! I finaly managed to capture sound from spdif-in using my Terratec EWX24/96 (ICE1712) Doing it this way: arecord -D cards.pcm.iec958 -c 12 -r 44100 -f S32_LE test.wav // all other ways failed, as you can only record from

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Patrick Shirkey
Takashi Iwai wrote: At Fri, 31 May 2002 11:41:46 +0200, I wrote: devfs: devfs_register(): device already registered: unknown this is a bug of sound_core.c. you can fix it by replacing sound_core.c with the one in alsa-kernel tree. General question. Is the above

Re: [Alsa-devel] Fw: writing audiowerk driver (philips saa7146a),some questions

2002-05-31 Thread tomasz motylewski
On Fri, 31 May 2002, Martijn Sipkema wrote: - does alsa allow varipitch? i think the new rme cards are supposed to have this feature and the audiowerk8 has it, i.e. it can change its sampling rate from about 37700 to 58200 hz while running in 1hz increments. this allows for sync to

Re: [Alsa-devel] Fw: writing audiowerk driver (philips saa7146a), some questions

2002-05-31 Thread Martijn Sipkema
- does alsa allow varipitch? i think the new rme cards are supposed to have this feature and the audiowerk8 has it, i.e. it can change its sampling rate from about 37700 to 58200 hz while running in 1hz increments. this allows for sync to video/tape/midi or whatever. or it allows

Re: [Alsa-devel] Updated: via8233 driver -- testers wanted

2002-05-31 Thread Niek van der Maas
On Friday 31 May 2002 13:55, Takashi Iwai wrote: it seems like no interrupts are generated during playback. could you check whether the status in /proc/interrupts is changed during playback? also, could you check whether capture works? capture uses a different SGD, so it might work

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Patrick Shirkey
Takashi Iwai wrote: now a new version is cvs. it dumps the descriptor at /proc/asound/cardX/descriptor. if the cvs servers is not sync'ed, please let me know. i'll send you a patch. With this patch there is *alot * more info in lsusb. Excellent work. Bus 001 Device 003: ID

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Patrick Shirkey
Here's the descriptor. Now there are two entries in the card2,3,4 dirs. 'descriptor' and 'id'. The descriptor files all appear to be the same. M Audio USB AudioSport Quattro (tm) 00: 09 02 ce 03 0a 01 00 40 00 09 04 00 00 00 01 01 10: 00 02 0a 24 01 00 01 34 00 02 01 02 0c 24 02 05 20: 01

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Patrick Shirkey
Just a thought. That new info from lsusb could be because I just upgraded my jernel from 2.4.16 to 2.4.19-pre9. Nodoubt there was a lot of additions to the usb code during the past 5 months. -- Patrick Shirkey - Boost Hardware Ltd. For the discerning hardware connoisseur

Re: [Alsa-devel] Fw: writing audiowerk driver (philips saa7146a), some questions

2002-05-31 Thread Martijn Sipkema
- should i use the normal double buffered aproach or does having more than 2 buffers have advantages? most of pci drivers use a linear contigous buffer for pcm (per stream). the scatter-gather buffer is not supported yet on alsa (as a mid/high level layer -- it would be possible if you

Re: [Alsa-devel] Updated: via8233 driver -- testers wanted

2002-05-31 Thread René Kermis
Hi, I tried to to record from mic and line in. I have no problems with recording, but the file is empty. Some very strange things happend on my machine. I tried to use the oss module and it worked without problems. Then I uninstalled the evaluation version and removed the modules from memory

Re: [Alsa-devel] Updated: via8233 driver -- testers wanted

2002-05-31 Thread René Kermis
Sorry, forgot to mention, that I cannot check the status of the interrupt, because there are other devices on the same interrupt (NIC and SCSI-adapter). I could not find an option in my bios to give the audio chip an own interrupt. CPU0 0:1551713 XT-PIC timer 1:

Re: [Alsa-devel] Fw: writing audiowerk driver (philips saa7146a), some questions

2002-05-31 Thread Takashi Iwai
At Fri, 31 May 2002 14:05:20 +0100, Martijn Sipkema wrote: - should i use the normal double buffered aproach or does having more than 2 buffers have advantages? most of pci drivers use a linear contigous buffer for pcm (per stream). the scatter-gather buffer is not supported yet

Re: [Alsa-devel] Updated: via8233 driver -- testers wanted

2002-05-31 Thread René Kermis
I tried to measure the interrupts. Here are the results: If I don't play sounds, I have about 1 interrupt/sec on interrupt 11. If I play a mp3 with mpg321 (44,1kHz, 16bit), I get about 1375 interrupts/sec. All values are measured after initializing the chip with oss-module, removing it from

Re: [Alsa-devel] Updated: via8233 driver -- testers wanted

2002-05-31 Thread Takashi Iwai
At Fri, 31 May 2002 14:13:28 +0200, René Kermis wrote: Hi, I tried to to record from mic and line in. I have no problems with recording, but the file is empty. ok, then at least interrupts for capture work well. Some very strange things happend on my machine. I tried to use the oss

Re: [Alsa-devel] Updated: via8233 driver -- testers wanted

2002-05-31 Thread Takashi Iwai
Hi, At Fri, 31 May 2002 14:13:28 +0200, René Kermis wrote: Hi, I tried to to record from mic and line in. I have no problems with recording, but the file is empty. Some very strange things happend on my machine. I tried to use the oss module and it worked without problems. Then I

Re: [Alsa-devel] Fw: writing audiowerk driver (philips saa7146a), some questions

2002-05-31 Thread Martijn Sipkema
there is a runtime instance for a pcm stream, and this holds the informaton such as the current rate, channels, formats, etc. there is no pitch parameter implemented in alsa, but this can be added easily into the runtime instance, if inevitablly necessary. i don't think the audiowerk is the

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Takashi Iwai
At Fri, 31 May 2002 20:55:01 +0900, Patrick Shirkey wrote: Takashi Iwai wrote: now a new version is cvs. it dumps the descriptor at /proc/asound/cardX/descriptor. if the cvs servers is not sync'ed, please let me know. i'll send you a patch. With this patch there is *alot *

Re: [Alsa-devel] Experimental USB audio support

2002-05-31 Thread Takashi Iwai
At Fri, 31 May 2002 20:14:36 +0900, Patrick Shirkey wrote: Takashi Iwai wrote: At Fri, 31 May 2002 11:41:46 +0200, I wrote: devfs: devfs_register(): device already registered: unknown this is a bug of sound_core.c. you can fix it by replacing sound_core.c with

Re: [Alsa-devel] Updated: via8233 driver -- testers wanted

2002-05-31 Thread René Kermis
Congratulations!!! It's running, I have many unresolved symbols, but that does not matter, the card runs without trouble, quality is better than from commerical oss-module. I don't hear a difference to my SB 128 PCI with es1370. Now I will try to use the recording function. Thank you very much!

[Alsa-devel] Re: [Alsa-user] Experimental USB audio support

2002-05-31 Thread Takashi Iwai
At Fri, 31 May 2002 07:53:48 -0500, Todd Witter wrote: On Fri, 2002-05-31 at 03:47, Takashi Iwai wrote: At Wed, 29 May 2002 14:31:12 -0500, Todd Witter wrote: Awesome! So perhaps some limited useage for those with the Soundblaster Extigy? well, yes, if creative follows the

Re: [Alsa-devel] more sample formats? too little place left.

2002-05-31 Thread Martijn Sipkema
it seems that USB audio supports 24 bit sample in 3 bytes format. and additionally i've found there are 20bit and 18bit sample formats. the world is large... an arising problem is that the number of formats is limited to 32. already 26 format types are used. the rest are only 6, and not

Re: [Alsa-devel] more sample formats? too little place left.

2002-05-31 Thread Martijn Sipkema
are formats currently a bit in a 'supported formats' flag? i meant mask instead of flag... --martijn ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas --

Re: [Alsa-devel] Updated: via8233 driver -- testers wanted

2002-05-31 Thread Vlad Danego
I downloaded revision 1.19 of the via8233.c file, and it works!!! Really great work! It also works with Soltek SL-75DRV4 - VT8233A sb. Thanks, Vlad -- *= * Vlad Danego * Nic-handles: VD437 *

Re: [Alsa-devel] snd_pcm_close hangs

2002-05-31 Thread Tim Goetze
Takashi Iwai wrote: At Thu, 30 May 2002 17:14:03 +0200 (CEST), Tim Goetze wrote: hi all, both emu8k and ice1712 pcm drivers hang forever in ioctl(2) when closing a playback stream if the stream has been linked to the same card's capture, has been prepared and written data to, but was

[Alsa-devel] hdsp and oss emulation

2002-05-31 Thread Fernando Pablo Lopez-Lezcano
Hi, we're starting to test a new hdsp Hammerfall card (thanks Paul!!) and we're running into some small problems (jack works great, as would be expected). This is for a freshly compiled alsa cvs download as of this morning, running under 2.4.19-pre8 + ll + preempt, Hammerfall DSP pci card +

Re: [Alsa-devel] snd_pcm_close hangs

2002-05-31 Thread Tim Goetze
me wrote: me wrote: Takashi Iwai wrote: At Thu, 30 May 2002 17:14:03 +0200 (CEST), Tim Goetze wrote: hi all, both emu8k and ice1712 pcm drivers hang forever in ioctl(2) when closing a playback stream if the stream has been linked to the same card's capture, has been prepared and