Re: [Alsa-devel] An driver error when I using aplay!

2004-06-07 Thread Clemens Ladisch
Roc Wu wrote: # ./aplay -t wav -f U8 -r 22050 alarm.wav Playing WAVE 'alarm.wav' : Unsigned 8 bit, Rate 22050 Hz, Mono ALSA lib pcm_plug.c:727:(snd_pcm_plug_hw_refine_schange) Unable to find an usable access for 'default' aplay: set_params:832: Sample format non available And the

Re: [Alsa-devel] limits

2004-06-07 Thread Clemens Ladisch
Florin Andrei wrote: What's the max number of cards in a system that can be used by ALSA simultaneously? 8 What's the max number of MIDI ports that's supported by ALSA? There can be up to 8 rawmidi devices per card, but each device can have an unlimited number of subdevices. OSS emulation

Re: [Alsa-devel] alsa-lib spamming terminal

2004-05-28 Thread Clemens Ladisch
Måns Rullgård wrote: Is there a way to make alsa-lib stop spamming the terminal with error messages, for instance when a non-blocking open fails? snd_lib_error_set_handler() HTH Clemens --- This SF.Net email is sponsored by: Oracle 10g

Re: [Alsa-devel] MAYA44 USB audio device doesn't work with 1.0.4.

2004-05-28 Thread Clemens Ladisch
Luke Yelavich wrote: usbcore: registered new driver snd-usb-audio No other message? There should be at least an error message when the driver fails to initialize. Please try to compile the kernel with ALSA's Debug detection enabled, or --with-debug=detect when configuring the package.

Re: [Alsa-devel] Question regarding period/buffer and error handling

2004-05-28 Thread Clemens Ladisch
Cournapeau David wrote: My second problem is related to snd_card_next: If the card value returned by snd_card_next is different from -1, does that always mean than a alsa audio device is present on the system ? It means that same kind of device with an ALSA driver is present. This does not

Re: [Alsa-devel] MAYA44 USB audio device doesn't work with 1.0.4.

2004-05-27 Thread Clemens Ladisch
Luke Yelavich wrote: below is the information I get when attempting to use this soundcard under a 2.6.6 kernel with alsa drivers 1.0.5rc1 and hotplug. dmes: usbaudio: device 3 audiocontrol interface 0 has 1 input and 1 output AudioStreaming interfaces This is the OSS driver (audio). Put

Re: [Alsa-devel] RME 9632 Mixer...

2004-05-26 Thread Clemens Ladisch
Ed Wildgoose wrote: Can anyone suggest how to script the controls to default to some known values? alsactl store saves the current values of all mixer control in /etc/asound.state, alsactl restore restores them. HTH Clemens --- This

Re: [Alsa-devel] pcm buffer size

2004-05-25 Thread Clemens Ladisch
Nicolas Hüppelshäuser wrote: I'm using alsa 1.0.4. How can I get a larger alsa buffer size? PCM devices have a default maximum buffer size and a maximum maxmimum buffer size. For example, in the snd-usb-audio driver, it's 64 KB and 128 KB. The current value (in KB) can be seen in the file

Re: [Alsa-devel] 1.0.5rc1 release

2004-05-25 Thread Clemens Ladisch
Please, report (especially compilation) problems. depmod: *** Unresolved symbols in /lib/modules/2.4.26/kernel/sound/isa/wavefront/snd-wavefront.o depmod: errno The open/close/read system calls are implemented as inline functions which change errno which isn't exported from the kernel.

Re: [Alsa-devel] MPG123 and alsa

2004-05-25 Thread Clemens Ladisch
[EMAIL PROTECTED] * Ville Syrjala [EMAIL PROTECTED] + * Modified for ALSA 1.0.x by Clemens Ladisch [EMAIL PROTECTED] * - * You can use -a soundcard #:device #... - * For example: mpg123 -a 1:0 aaa.mpg - * mpg123 -a guspnp:1 aaa.mpg + * You can use -a devicename

Re: [Alsa-devel] 1.0.5rc1 release

2004-05-25 Thread Clemens Ladisch
Takashi Iwai wrote: I wrote: Clemens Ladisch wrote: depmod: *** Unresolved symbols in /lib/modules/2.4.26/kernel/sound/isa/wavefront/snd-wavefront.o depmod: errno The open/close/read system calls are implemented as inline functions which change errno which isn't

Re: [Alsa-devel] direct midi event dispatching

2004-05-24 Thread Clemens Ladisch
Gilles Dégottex wrote: Why SND_SEQ_EVENT_NOTE event doesnt accept direct dispatching ? technicaly, there is surely a reason, but conceptualy, I dont see. Why do a difference ? SND_SEQ_EVENT_NOTE isn't a 'real' event but gets split into two events, SND_SEQ_EVENT_NOTE_ON and _OFF, and the latter

Re: [Alsa-devel] USB audio kernel panic

2004-05-21 Thread Clemens Ladisch
Patrick Shirkey wrote: Using the latest usb-audio code from cvs I get a kernel panic when loading the drivers. I'm running kernel-2.2.21 with gcc-2.95.4 Unable to handle kernel paging request at virtual address 28302e63 EIP:0010:[e08eafc0]Tainted: PF e08e7060

Re: [Alsa-devel] MAYA44 USB audio device doesn't work with 1.0.4.

2004-05-21 Thread Clemens Ladisch
Luke Yelavich wrote: As above. The vendor and product IDs given are 0xa92 and 0x91 respectively. If there is any more information I can give, please let me know. Output of lsusb -v? And what exactly does doesn't work mean? Regards, Clemens

Re: [Alsa-devel] mixer device

2004-05-18 Thread Clemens Ladisch
Ronald S. Bultje wrote: is it possible for me to get the cardnumber (and thereby the hw:N entry) for a given non-hw device (e.g. dspN, hw:N,M, dmix, ...)? Try something like this: /* Get the slave pcm of a pcm node. Caller must free the result. */ static snd_config_t

Re: [Alsa-devel] BT878 support.

2004-05-13 Thread Clemens Ladisch
Rodrigo Severo wrote: With the Askey Magic I got only silence but with the Prolink PlayTV Pro revision 9D I got bad sound with btaudio. By bad I mean a slightly high pitch soundI got the sound of the TV with a slightly higher pitch than usual and with more than usual noise during silence. The

Re: [Alsa-devel] BT878 support.

2004-05-12 Thread Clemens Ladisch
Rodrigo Severo wrote: Clemens Ladisch wrote: Rodrigo Severo wrote: I have two Prolink PlayTV Pro capture cards (PV-BT878P+). One of them is revision 8E and tthe other is revision 9F. I tried to use both of them with the snd-bt87x driver. Both of them returned only static. Did you try

Re: [Alsa-devel] mixer device

2004-05-12 Thread Clemens Ladisch
Ronald S. Bultje wrote: for a given alsa device (default, dmix, plughw:N, hw:N,M, dspN, etc.), how do I automatically obtain the right device to use as a audio mixer with that device? Depends on your definition of right device. In the general case this isn't possible because many cards don't

Re: [Alsa-devel] ALSA snd-usb-audio kernel 2.6.5

2004-05-12 Thread Clemens Ladisch
Matt Flax wrote: The snd-usb-audio driver now doesn't hang my computer anymore during shutdown (it did with previous versions). Just BTW: Does it still work if you unload and then reload the snd-usb-audio module? :- Regards, Clemens ---

Re: [Alsa-devel] HELP! seq - writing to q in realtime mode

2004-05-12 Thread Clemens Ladisch
David McNab wrote: I'm trying to create and schedule outbound events, in realtime absolute mode. When sending these events directly, using SND_SEQ_QUEUE_DIRECT, the events get delivered fine to subscribers. But when adding realtime absolute timestamps, and marking the event to a queue I've

Re: [Alsa-devel] USB audio kernel panic

2004-05-11 Thread Clemens Ladisch
Patrick Shirkey wrote: Using the latest usb-audio code from cvs I get a kernel panic when loading the drivers. I'm running kernel-2.2.21 with gcc-2.95.4 Works fine with my 2.2.19(?). ALSA 1.0.4 fixed some horrible bugs in the USB compatibility code for 2.2.x kernels. Where exactly does this

Re: [Alsa-devel] spin_lock_irqwhat ?

2004-05-10 Thread Clemens Ladisch
Giuliano Pochini wrote: Some drivers use spin_lock_irq() a lot, while others always use spin_lock_irqsave(). I can't see the difference. When it's safe using the _irq() version ? Only when you know that you are not in interrupt context. Regards, Clemens

Re: [Alsa-devel] BT878 support.

2004-05-10 Thread Clemens Ladisch
Rodrigo Severo wrote: I have two Prolink PlayTV Pro capture cards (PV-BT878P+). One of them is revision 8E and tthe other is revision 9F. I tried to use both of them with the snd-bt87x driver. Both of them returned only static. Probably different mixer settings? I managed to get analog

Re: [Alsa-devel] Samples: Float to Int conversions.

2004-05-03 Thread Clemens Ladisch
James Courtier-Dutton wrote: Which section of code in alsa-lib is doing these conversions. I would like to see what code you use for the task of converting samples in float format to samples in int format. Function snd_pcm_lfloat_convert_float_integer() in alsa-lib/src/pcm/pcm_lfloat.c.

Re: [Alsa-devel] ALI M5451 (CMI 9739): PCM always muted?

2004-05-03 Thread Clemens Ladisch
Nico Schottelius wrote: anyone knows if there is the possibility to adjust sound volume or not. CMI hardware doesn't have this capability. It would be possible to write a plugin that scales sound data in software before sending it to the device, but nobody has done this yet. Regards, Clemens

Re: [Alsa-devel] Attempts on the ESS-1869 card (one more time)

2004-05-03 Thread Clemens Ladisch
Tom Watson wrote: Well, I've gone to another Compaq laptop. The previous one I had to resort to OSS (yuck) drivers and send it on its way. This laptop is one I'm going to use, so I'd like to get ALSA working on it. So... I've loaded ALSA and put the following in 'modules.conf': alias

Re: [Alsa-devel] configuration space never flattened? Bug?

2004-04-30 Thread Clemens Ladisch
Erik Inge Bolsø wrote: I'm having trouble doing snd_pcm_hw_params_can_pause() on a certain pcm, even though it has already (hopefully?) been fixed to one config by snd_pcm_hw_params()... snd_pcm_hw_params has been called, at least. How can I check? fileja { type file file

Re: [Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-29 Thread Clemens Ladisch
Caleb Crome wrote: Clemens Ladisch wrote: However, Realplayer uses the OSS emulation through /dev/dsp0. To make that work with your file device, add the following to the config file: pcm.dsp0 = file Awesome! It works like a charm. Than you so much! The one thing that doesn't work

Re: [Alsa-devel] [PATCH] intel8x0 - fixes 'periodical noisy output'

2004-04-26 Thread Clemens Ladisch
Arek Korbik wrote: To summarise: hardware generates an interrupt when it should not - the driver should handle it (the simplest solution: ignore). The attached patch: - adds interrupt-on-FIFOE handling(/ignoring) to handler routine IMNSHO it's better to check for the buffer completion

Re: [Alsa-devel] [linux-audio-dev] DSP2000 C-PORT and MIDI input

2004-04-26 Thread Clemens Ladisch
Lukas Degener wrote: Hi everybody and sorry for posting this to both, lad and alsa-dev, i was not sure which one fits better. alsa-devel would be appropriate, but non-subscribers cannot post there, so I'm keeping linux-audio-dev in the CCs. Concerning the issue with non-functional midi in on

Re: [Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-26 Thread Clemens Ladisch
Caleb Crome wrote: pcm.file { type file slave { pcm hw:0,0 } file /tmp/file.raw } Alright, I did what you suggested, and real player comes up and connects to the dummy sound card (I had to do a modprobe snd-pcm-oss and snd-mixer-oss). However, I don't get a file

Re: [Alsa-devel] How to branch from WDM to ALSA fastest way??

2004-04-26 Thread Clemens Ladisch
ns wrote: I have WDM driver for our lab's own propertiary sound card(ADAT+SPDIF+DB...) and wanna write ALSA drv. I have linux w/kernel 2.4.20 (original). I know that I must patch kernel for ALSA and write ALSA driver. HOw to do it fastest? look into

Re: [Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-23 Thread Clemens Ladisch
Caleb Crome wrote: Arek Korbik wrote: pcm.file { type file slave { pcm hw:0,0 } file /tmp/file.raw } what do I do with that bit of configuration data? I found the /usr/share/alsa/alsa.conf, and there is a similar pcm.file entry in that, but it seems to take

Re: [Alsa-devel] midisport 8x8

2004-04-16 Thread Clemens Ladisch
ian esten wrote: On Wed, 2004-04-14 at 10:00, Clemens Ladisch wrote: What happens when you exchange the two 8x8 files in /usr/share/usb/midisport? i get a working midisport 8x8! i can send it midi, and it shows up in /proc/asound/cards. thanks so much! so why is it incorrectly being

Re: [Alsa-devel] alsa driver data rates

2004-04-16 Thread Clemens Ladisch
Brian Furey wrote: i'm using an open source VoIP application with the alsa driver. My card is the onboard intel8x0. My problem is figuring out the patterns I am getting with the alsa driver when transmitting packets. This depends more on how the VoIP application does things, not on the

Re: [Alsa-devel] midisport 8x8

2004-04-14 Thread Clemens Ladisch
ian esten wrote: the midisport i have is reported as being hardware version 1.33 by the midisport control panel under windows xp (where it works fine). i looked in the midisport_fw loader, and it seems to only know about hardware versions 1.10 and 1.21. here are the entries in

Re: [Alsa-devel] Adding a Mute Switch to snd-tvmixer

2004-04-13 Thread Clemens Ladisch
Perry Gilfillan wrote: I've a couple of people using my snd-tvmixer module with success now, and would appreciate comments/critcism/abuse (any thing is better than the deathly silence my first announcement yeilded) from people more experienced than myself. Looks nice. (Not that I actually

Re: [Alsa-devel] DigiDesign MBox USB Audio device

2004-04-07 Thread Clemens Ladisch
Patrick Boettcher wrote: I only applied the patch, loaded the module, pluged in the device ... result is attached. EIP is at __wake_up_common+0x13/0x50 Call Trace: [c0119a0c] __wake_up+0x32/0x57 [c015cc1e] pipe_readv+0x288/0x2d8 [c015cca5] pipe_read+0x37/0x3b [c0150d74]

Re: [Alsa-devel] [PATCH] new options for arecordmidi

2004-04-06 Thread Clemens Ladisch
Pedro Lopez-Cabanillas wrote: This patch adds three new options to arecordmidi. Committed, with some changes. Thanks, Clemens --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins,

Re: [Alsa-devel] Bug in sis7012 driver - or probably I'm doing something wrong ?

2004-04-06 Thread Clemens Ladisch
Robert Rozman wrote: I've got advice how to use this 6 channel device as 3 stereo channels but there seems something not to be right (it could be my mistake). I have /etc/asound.conf : pcm.a { type plug slave.pcm ch12 } pcm.b { type plug slave.pcm ch34 } Now I do: - alsaplayer

Re: [Alsa-devel] snd_pcm_writei not returning (?!?)

2004-04-06 Thread Clemens Ladisch
Tom Browne wrote: Clemens Ladisch wrote: Tom Browne wrote: Under certain conditions (yet to be established properly - it doesn't happen every single time) with this ICE1712 card (DSP24), snd_pcm_writei doesn't just block... it never comes back. What is the state of the PCM device when

Re: [Alsa-devel] cannot submit datapipe for urb 0 on /dev/dsp access -extigy

2004-04-06 Thread Clemens Ladisch
John H. wrote: the usb 2.0 hub was at fault,. thanks! I have heard rumors that the latest 2.6.5 kernel is supposed to have support for playing audio data through 2.0 hubs to 1.x devices. HTH Clemens --- This SF.Net email is sponsored by:

Re: [Alsa-devel] DigiDesign MBox USB Audio device

2004-04-06 Thread Clemens Ladisch
Patrick Boettcher wrote: On Mon, 5 Apr 2004, Clemens Ladisch wrote: What sample rate/format uses 304000 bytes per second? I don't understand the question completely, what do you mean? The descriptors say that the device can transfer up to 304000 bytes per second in each direction. What

Re: [Alsa-devel] problem while opening device

2004-04-06 Thread Clemens Ladisch
Pavana Sharma wrote: ALSA lib pcm.c:1947:(snd_pcm_open_noupdate) Unknown PCM hw:0,0 Please show the output of aplay -l and aplay -L. Clemens --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by

Re: [Alsa-devel] DigiDesign MBox USB Audio device

2004-04-06 Thread Clemens Ladisch
I wrote: I think I'll write a quirk for this ... Please try the attached patch. HTH Clemens diff -urN alsaold/alsa-kernel/usb/usbaudio.c alsa/alsa-kernel/usb/usbaudio.c --- alsaold/alsa-kernel/usb/usbaudio.c Tue Mar 30 13:51:30 2004 +++ alsa/alsa-kernel/usb/usbaudio.c Tue Apr 6 13:20:36

Re: [Alsa-devel] snd_pcm_writei not returning (?!?)

2004-04-05 Thread Clemens Ladisch
Tom Browne wrote: Under certain conditions (yet to be established properly - it doesn't happen every single time) with this ICE1712 card (DSP24), snd_pcm_writei doesn't just block... it never comes back. What is the state of the PCM device when this happens? (see /proc/asound/cardX/pcm0p/*)

Re: [Alsa-devel] DigiDesign MBox USB Audio device

2004-04-05 Thread Clemens Ladisch
Patrick Boettcher wrote: I'm using a usbsnoop program to do some basic sniffing. Logs are really big :/. Try to play some 0.01-seconds wave file, and don't connect any other USB devices. After plugging in, the device shows like this in /proc/bus/usb/devices: I: If#= 0 Alt= 0 #EPs= 0

Re: [Alsa-devel] cannot submit datapipe for urb 0 on /dev/dsp access -extigy

2004-04-05 Thread Clemens Ladisch
John H. wrote: see, this is what is weird, it worked last week, now it doesn't work with exaudio or alsa! same errors! Then it's not a problem of the sound driver. cannot submit datapipe for urb 0, err = -38 -38 means not implemented. Probably some bug in the USB core in your kernel. Have

Re: [Alsa-devel] Disabling onboard codec

2004-04-02 Thread Clemens Ladisch
Ron Cococcia wrote: In a setup I'm working with, I have a motherboard (815 w/82801BA-ICH2) that has an onboard/primary (00) AC97 codec (AD1885). We've been playing around with adding a CNR card that would have a different/secondary (01) codec on it (CS4299). [...] The onboard chip is

Re: [Alsa-devel] cannot submit datapipe for urb 0 on /dev/dsp access -extigy

2004-04-01 Thread Clemens Ladisch
John H. wrote: I get this error repeatedly ALSA /tmp/alsa-driver-1.0.4rc2/usb/usbaudio.c:811: cannot submit datapipe for urb 0, err = -38 whenever i try to use /dev/dsp now, and i can only get sound from line in. i have kernel 2.6.4 and drivers 1.0.4rc2 What is in /proc/asound/cards? Is

Re: [Alsa-devel] 1.0.4rc1 release

2004-03-31 Thread Clemens Ladisch
Jaroslav Kysela wrote: On Wed, 31 Mar 2004, Clemens Ladisch wrote: But now: # modprobe snd modprobe: Too deep recursion in module dependencies! modprobe: Circular dependency? snd-page-alloc snd snd_pci_compat_get_pci_driver() is called from pci_compat_pm_callback() in misc.c

Re: [Alsa-devel] 1.0.4rc1 release

2004-03-31 Thread Clemens Ladisch
I wrote: Now the modules load. However, loading snd-usb-audio doesn't do anything, and unloading and reloading it results in a crash or a hang. Fixed. Apparently, snd-usb-audio has never been working on 2.2.x, and nobody noticed ... No remaining 2.2.x bugs AFAICS. Clemens

Re: [Alsa-devel] 1.0.4rc1 release

2004-03-30 Thread Clemens Ladisch
Jaroslav Kysela wrote: 1.0.4rc1 packages are out. Please, report compilation problems. On a 2.2.19 kernel: depmod: *** Unresolved symbols in /lib/modules/2.2.19/misc/snd-* depmod: synchronize_irq depmod: tqueue_lock depmod: waitqueue_lock depmod: *** Unresolved symbols

Re: [Alsa-devel] 1.0.4rc1 release

2004-03-30 Thread Clemens Ladisch
Jaroslav Kysela wrote: On Tue, 30 Mar 2004, Clemens Ladisch wrote: On a 2.2.19 kernel: depmod: *** Unresolved symbols in /lib/modules/2.2.19/misc/snd-* ... Missing inclusion of some header files? Sorry, my error. Wrong kernel configuration. (The result of Hey, this old file looks

Re: [Alsa-devel] help needed-- providing control interface

2004-03-26 Thread Clemens Ladisch
Pavana Sharma wrote: I am providing control interface for my driver to access from user space with functions get put . * while creating new controls should I be allowed to create my hardware specific controls like gain, power, rate other codec specific parameters. All controls are

Re: [Alsa-devel] snd_pcm_wait() More details required.

2004-03-24 Thread Clemens Ladisch
Jaroslav Kysela wrote: On Tue, 23 Mar 2004, Clemens Ladisch wrote: The following test program shows strange behaviour: Thanks. It's fixed in CVS now. The second problem persists, i.e., snd_pcm_wait() returns although the pcm isn't actually ready: $ ./waittest dmix:hw:0 12000 frames written

Re: [Alsa-devel] snd_pcm_wait() More details required.

2004-03-23 Thread Clemens Ladisch
Jaroslav Kysela wrote: On Mon, 22 Mar 2004, James Courtier-Dutton wrote: My current tests were not using the resampler. i.e. app using 48k, sound card using 48k. I will try some tests that would use the resampler. Then I need more info how I can reproduce the bug. The following test

Re: [Alsa-devel] snd-usb-audio and midisport1x1 little hack fixes hotplug pb

2004-03-17 Thread Clemens Ladisch
Hartmut Geissbauer wrote: I removed the quick hack from Mathieu and inserted snd_printk's in snd_usbmidi_disconnect. The new function: ... if (ep-out ep-out-urb) usb_unlink_urb(ep-out-urb); snd_printk(KERN_INFO usb_unlink_urb

Re: [Alsa-devel] Opening dev/dsp takes very long

2004-03-16 Thread Clemens Ladisch
Lars Heineken wrote: Takashi Iwai wrote: | try strace with -r option and check which call takes too long time. When I use the application 'play' the delay is only around one second, the strace output is attached below. It seems play is a shell script that calls sox to play the file. Please

Re: [Alsa-devel] snd-usb-audio and midisport1x1 little hack fixes hotplug pb

2004-03-16 Thread Clemens Ladisch
Mathieu Geli wrote: Ok, I applied your second patch, and get this dmesg output: drivers/usb/core/usb.c: deregistering driver snd-usb-audio ALSA /home/mathieu/alsa-driver/usb/usbaudio.c:2944: snd_usb_audio_disconnect called, refcount = 1 ALSA /home/mathieu/alsa-driver/usb/usbaudio.c:2944:

Re: [Alsa-devel] the emu10k1 midi bug

2004-03-15 Thread Clemens Ladisch
Ove Kaaven wrote: - wavetable drops notes sometimes. (a good test example wanted.) I've encountered this randomly sometimes, but I think I also have an example of the opposite - a note that is never turned off - that manifests every single time for me. So I'm wondering if anyone else can

Re: [Alsa-devel] snd-usb-audio hang when rmmoding after unplugging midisport1x1

2004-03-12 Thread Clemens Ladisch
Mathieu Geli wrote: ok, what I did, is first to apply your patch to my source tree (1.0.3rc2), clean, compile, install, and even reboot. That doesn't output anymore the two lines urb status -104, and usb_submit_urb: -32 but still hang after printing: drivers/usb/core/usb.c: deregistering

Re: [Alsa-devel] USB audio devices

2004-03-11 Thread Clemens Ladisch
Karsten Wiese wrote: We can also vary the exact USB frame time. With UHCI 1.1 USB Hosts there is the SOF Register. ... It really works here already with the us428: The trick is: We first make the USB-Frame longer until we capture 1 Sample Frame more 45 (for 44100). then the USB-Frame is

Re: [Alsa-devel] USB audio devices

2004-03-11 Thread Clemens Ladisch
Clemens Ladisch wrote: Jaroslav Kysela wrote: I don't know much about USB 2.0, Not too much differences for the driver. Well, I should have read the specification before saying such things. The format of synchronization information has changed, too; it's not 10.14 bits but 12.13 packed

Re: [Alsa-devel] snd-usb-audio hang when rmmoding after unplugging midisport1x1

2004-03-11 Thread Clemens Ladisch
Mathieu Geli wrote: I'm trying to plug/unplug the midisport1x1 from M-Audio. The plug works like a charm, hotplug does its job, load the firmware (fxload) and snd-usb-audio, if not inserted, is auto-loaded. But hen I unplug the device, and I want to plug it again, the usb just hang, trying to

Re: [Alsa-devel] USB audio devices

2004-03-10 Thread Clemens Ladisch
Jaroslav Kysela wrote: On Tue, 9 Mar 2004, Takashi Iwai wrote: BTW, the USB audio is another headache. the current ALSA PCM model isn't perfectly suitable for the devices like USB audio. Unfortunately I don't see a better model. Conceptually, USB devices have variable-sized periods. The

Re: [Alsa-devel] USB audio devices

2004-03-10 Thread Clemens Ladisch
Jaroslav Kysela wrote: On Wed, 10 Mar 2004, Clemens Ladisch wrote: Conceptually, USB devices have variable-sized periods. The question is whether we actually want to allow this in the API. Probably not. What this does mean? I though that the period size is specified with time (1ms

Re: [Alsa-devel] Full support for Creamware Noah and SFP

2004-03-10 Thread Clemens Ladisch
Willie Sippel wrote: But I'm not sure about, wether the NDA agrees in the basic alsa principles. What are the developers of alsa are thinking about that agreement? AFAIK drivers for ATI hardware are developed in a similar way (ATI gives specs under an NDA, the resulting driver is open

Re: [Alsa-devel] USB audio devices

2004-03-10 Thread Clemens Ladisch
Takashi Iwai wrote: Clemens Ladisch wrote: I don't know much about USB 2.0, Not too much differences for the driver. The main difference is that there are now 8000 microframes per second. I have written a patch (see below) and am about to test it. is there any real usb2-audio

Re: [Alsa-devel] How do I redirect sound from 1st soundacrd to 2nd soundcard?

2004-03-05 Thread Clemens Ladisch
Bauke Jan Douma wrote: I have two soundcards in my system, a cmipci(card) and an intel8x0 (on board). I have the audio cable of my CD/ROM drive wired onto the cmipci. Attached to line-out of the cmipci is just my headphones. I also have a TV-card. An audio cable runs from the TV-card to

Re: [Alsa-devel] library problems

2004-03-03 Thread Clemens Ladisch
[EMAIL PROTECTED] wrote: I wanted to get the tempo, so I did this: snd_seq_queue_tempo_t *qt; snd_seq_queue_tempo_alloca(qt); snd_seq_get_queue_tempo(seq,id,qt); return qt-tempo;//line 91 and the compiler told me this: alsa.cpp:91: invalid use of undefined type `struct

Re: [Alsa-devel] Re: [PATCH] snd_pcm_hw_params_set_rate_near val pointer

2004-03-03 Thread Clemens Ladisch
Jack O'Quin wrote: Samuel S Chessman [EMAIL PROTECTED] writes: This is caused by snd_pcm_hw_params_set_rate_near parameter val needing to be a pointer, and alsa_driver passing in the frame rate instead. This occurs against current CVS of alsa. (2004-03-02) I think this is the wrong

Re: [Alsa-devel] Re: [alsa-cvslog] CVS: alsa-lib/src/pcm pcm.c,1.271,1.272

2004-03-01 Thread Clemens Ladisch
Abramo Bagnara wrote: Jaroslav Kysela ha scritto: Log Message: Fixed return comment for *near() functions + * \return 0 otherwise a negative error code if configuration space would become empty *near() functions semantic cannot return error by design. Taken for granted that

[Alsa-devel] [PATCH] fix for Creamware Noah

2004-02-27 Thread Clemens Ladisch
Hartmut Geissbauer wrote: That _has_ helped. Now the device is fully functional. - search class-specific endpoint descriptor after the sync ep, too Index: alsa-kernel/usb/usbaudio.c === RCS file:

Re: [Alsa-devel] [partialy fixed] Creamware Noah, snd-usb-audio capable?

2004-02-26 Thread Clemens Ladisch
Hartmut Geissbauer wrote: Clemens Ladisch wrote: Hartmut Geissbauer wrote: The only thing that's missing now are the two playback ports. Please show the output of lsusb -v. The descriptors look OK. But only at first sight. Please try this patch. HTH Clemens -- Index

Re: [Alsa-devel] period_size, periods, count parameters

2004-02-26 Thread Clemens Ladisch
Mathieu Rondonneau wrote: I don't understand why count is 1024 ? why count is not equal to runtime-period_size (i.e. 16*1024)? If your frame size is 4, this is the size of a memory page. I guess ALSA wants to copy the data one page at a time, and this is required if the buffer isn't

Re: [Alsa-devel] [PATCH] add aplaymidi arecordmidi utils

2004-02-25 Thread Clemens Ladisch
Will wrote: Clemens Ladisch [EMAIL PROTECTED] wrote: If you get correct output when you run amidi -p virtual -d and aconnect your keyboard to that port, then it may be a bug in arecordmidi. I'll test when I'm at home. This is what I get: $ pmidi -l Port Client name

[Alsa-devel] [PATCH] fix amixer load error messages

2004-02-24 Thread Clemens Ladisch
fix error messages for snd_mixer_load BTW: yesterday's change to alsa-lib's asequencer.h hasn't been committed yet Index: alsa-utils/amixer/amixer.c === RCS file: /cvsroot/alsa/alsa-utils/amixer/amixer.c,v retrieving revision

Re: [Alsa-devel] [PATCH] add aplaymidi arecordmidi utils

2004-02-24 Thread Clemens Ladisch
Will wrote: How easy would it be to make aplaymidi be able to adjust the playback speed like playmidi? (playmidi -t 0.5 music.mid plays at twice the default speed) Very easy. How easy would it be to make aplaymidi be able to move forwards and backwards during playback, e.g. by pressing f or

Re: [Alsa-devel] [PATCH] add aplaymidi arecordmidi utils

2004-02-24 Thread Clemens Ladisch
Will wrote: Clemens Ladisch [EMAIL PROTECTED] wrote: I'm getting empty MIDI files containing only the MIDI header. Are you using the latest CVS version of ALSA? Some of the bugfixes I sent yesterday are needed by arecordmidi. No, but I applied your patches to alsa-lib-1.0.3rc1 and Linux

Re: [Alsa-devel] Compile errors with latest alsa releases

2004-02-24 Thread Clemens Ladisch
snookertb wrote: SND_CTL_READONLY does not appear to be declared anywhere. It's defined in alsa-lib/include/control.h. You have to install the alsa-lib package before compiling alsa-utils and alsa-tools. Are you part of the alsa development team? SourceForge says no, the bugtracker says yes.

Re: [Alsa-devel] period_size, periods, count parameters

2004-02-24 Thread Clemens Ladisch
Mathieu Rondonneau wrote: .period_bytes_min = 1092, .period_bytes_max = 32768, .periods_min = 8, .periods_max = 512, When i start to send a file, I Don't know why: runtime-period_size = 8192 runtime-periods: 8 and the ¨count¨ parameter in the copy

[Alsa-devel] [PATCH] change snd-seq-midi client names

2004-02-23 Thread Clemens Ladisch
This patch reverses the order of the Rawmidi x and rawmidi name parts of client names to enable selecting clients by a unique prefix (as snd_seq_parse_address does). Index: alsa-kernel/core/seq/seq_midi.c === RCS file:

[Alsa-devel] [PATCH] add USB MIDI port names

2004-02-23 Thread Clemens Ladisch
26 Jan 2004 14:19:24 - 1.22 +++ alsa-kernel/usb/usbmidi.c 23 Feb 2004 08:27:42 - @@ -1,7 +1,7 @@ /* * usbmidi.c - ALSA USB MIDI driver * - * Copyright (c) 2002 Clemens Ladisch + * Copyright (c) 2002-2004 Clemens Ladisch * All rights reserved. * * Based on the OSS usb-midi

[Alsa-devel] [PATCH] fix KERNEL_QUOTE event handling

2004-02-23 Thread Clemens Ladisch
Timestamping (if enabled on a subscription or a port) is not applied to the quoted event but to the quoting event. This patch adds a function to copy only selected fields into the event to be delivered. - fix KERNEL_QUOTE event timestamping - fix typo in port_broadcast_event Index:

[Alsa-devel] [PATCH] fix MPU-401 port names

2004-02-23 Thread Clemens Ladisch
remove unneeded technical information from port names Index: alsa-kernel/drivers/mpu401/mpu401_uart.c === RCS file: /cvsroot/alsa/alsa-kernel/drivers/mpu401/mpu401_uart.c,v retrieving revision 1.29 diff -u -r1.29 mpu401_uart.c ---

[Alsa-devel] [PATCH] fix typo in port flags

2004-02-23 Thread Clemens Ladisch
- fix typo in port flags - add GM2 capability bit Index: alsa-kernel/include/asequencer.h === RCS file: /cvsroot/alsa/alsa-kernel/include/asequencer.h,v retrieving revision 1.11 diff -u -r1.11 asequencer.h ---

[Alsa-devel] [PATCH] add aplaymidi arecordmidi utils

2004-02-23 Thread Clemens Ladisch
if none is given on the command line. + +.TP +.I -d, --delay=seconds +Specifies how long to wait after the end of each MIDI file, +to allow the last notes to die away. + +.SH SEE ALSO +pmidi(1) +.br +playmidi(1) + +.SH AUTHOR +Clemens Ladisch [EMAIL PROTECTED] diff -urN ../../oalsa/alsa/alsa-utils

Re: [Alsa-devel] Compile errors with latest alsa releases

2004-02-23 Thread Clemens Ladisch
snookertb wrote: I am attempting to update the Sun JDS distro from alsa version 0.9.0 to a later version which supports newer Intel sound chips. I get the following errors in these two compiles. /home/tarpon/downloads/alsa-driver-1.0.2c/include/adriver.h:295: redefinition of `usb_make_path'

Re: [Alsa-devel] emagic mt4

2004-02-23 Thread Clemens Ladisch
ian esten wrote: thanks clemens. the mt4 now shows up in /proc/asound/cards. unfortunately though it doesnt seem to be working. i sent it some midi from seq24, and got no blinking lights on the front of the unit. do you think it will be possible to get the mt4 working with alsa? It's

Re: [Alsa-devel] emagic mt4

2004-02-20 Thread Clemens Ladisch
ian esten wrote: On Thu, 2004-02-19 at 03:28, Clemens Ladisch wrote: Please post the output of lsusb -v. Bus 001 Device 040: ID 086a:0003 Emagic Soft-und Hardware GmbH . . . These descriptors look very much like those of earlier Edirol devices. It may be possible that the MT4 is similar

Re: [Alsa-devel] [partialy fixed] Creamware Noah, snd-usb-audio capable?

2004-02-19 Thread Clemens Ladisch
Hartmut Geissbauer wrote: Clemens Ladisch wrote: Might the patch(the code in it) for usbaudio.c you posted before be helpfull for the program? No. Please remove the patch. Done, except of the entries in usbquirks.h. Is it still needed? No. The quirk entry causes the driver

Re: [Alsa-devel] emagic mt4

2004-02-19 Thread Clemens Ladisch
ian esten wrote: i have an emagic mt4 i'm trying to use with alsa. Currently, nobody knows how to communicate with this device. Please post the output of lsusb -v. Regards, Clemens --- SF.Net is sponsored by: Speed Start Your Linux Apps

Re: [Alsa-devel] crashes usb-audio yamaha rp-u200

2004-02-19 Thread Clemens Ladisch
jaap wrote: When I start jack with jackstart -d alsa -P hw:0,0 -C hw:0,1, jack seems to start ,but then the system freezes with kernel panic.Sometimes jack is running but then the system crashes as soon as I try to do something with audio alsa-driver 0.9.8 This is quite old. Please try

Re: [Alsa-devel] ad1888 as in ASUS P4R800-VM motherboards

2004-02-16 Thread Clemens Ladisch
Peter Antypas wrote: I 've had no luck in using the cvs version with the ad1888 update. In fact, I can't even load snd-intel8x0. I thought the intel8x0 module was supposed to work here? An AC'97 system consists of two components: an AC'97 codec (in your case, the AD1888), and an AC'97

Re: [Alsa-devel] Creamware Noah, snd-usb-audio capable?

2004-02-16 Thread Clemens Ladisch
Hartmut Geissbauer wrote: Clemens Ladisch wrote: The problem is that the kernel automatically selects the first configuration. Please try the patch below. drivers/usb/core/usb.c: usb_hotplug usb 1-2.4: configuration #1 chosen from 2 choices usb 1-2.4: registering 1-2.4:1.0 (config #1

Re: [Alsa-devel] Creamware Noah, snd-usb-audio capable?

2004-02-12 Thread Clemens Ladisch
Frank Barknecht wrote: Clemens Ladisch hat gesagt: // Clemens Ladisch wrote: it should be possible to use the MIDI_STANDARD_INTERFACE quirk (see below). I'd love to test it, but I had to send back the device already. :( Could you test it? I would test it if I actually had the device

Re: [Alsa-devel] Creamware Noah, snd-usb-audio capable?

2004-02-12 Thread Clemens Ladisch
Hartmut Geissbauer wrote: I own a piece of hardware called Noah EX. It's a tactive instrument modeller. My goal is to get this device working with the alsa usb driver, because the output of lsusb -v leads me to the hope, that it has a standard usb audio interface. ... Interface Descriptor:

[Alsa-devel] [PATCH] UA-3FX support

2004-02-12 Thread Clemens Ladisch
Frank Barknecht wrote: Now I discovered a teenytiny switch on the back if the UA-3 FX that switches the Advanced Driver features of the device on or off. Setting this to OFF, I now got ALSA to recognize the device as a simple 44100 Hz device. No higher samplerates, though. Probably a quirk

Re: [Alsa-devel] [Fwd: Audigy2 NX (USB 2.0) on ALSA 1.0.2]

2004-02-12 Thread Clemens Ladisch
John W. Cocula wrote: I have an Audigy2 NX working under ALSA 1.0.2 (the latest 1.0.2 :) ... 2. I downloaded the latest firmware under Windows that supposedly permits USB 2.0 operation, but lsusb -v stills shows it as a 1.1 device. Bus 002 Device 004: ID 041e:3020 Creative Technology, Ltd

  1   2   3   4   >