Re: [Alsa-devel] cs46xx: alsa-docs note

2003-02-26 Thread Duncan Sands
On Wednesday 26 February 2003 18:59, Patrick Shirkey wrote: > Sorry I must have missed sending this here. > > The following has been submitted as a note for the documentation of cs46xx. > > sender: [EMAIL PROTECTED] > date: Friday, 03 January 2003 > > Terratec DMX XFire 1024: > > The

Re: [Alsa-devel] gcc 3.x build issue? (was: cat /proc/asound/version: "No such device": HELP!!)

2003-02-18 Thread Duncan Sands
> are you sure both all kernel sources and alsa drivers are compiled > with the same compiler? > you cannot mix gcc-2.x and gcc-3.x binaries for kernel. the > combination likely causes oops. I just tried compiling the kernel with 2.95 and alsa with 3.2. This combination results in the kind of no-

Re: [Alsa-devel] gcc 3.x build issue? (was: cat /proc/asound/version: "No such device": HELP!!)

2003-02-18 Thread Duncan Sands
> are you sure both all kernel sources and alsa drivers are compiled > with the same compiler? > you cannot mix gcc-2.x and gcc-3.x binaries for kernel. the > combination likely causes oops. I had this problem some time ago. The same compiler was used for both kernel and ALSA. I assumed it was

Re: [Alsa-devel] 2.5.50: sleeping function called from illegal context

2002-12-06 Thread Duncan Sands
> > I guess another way of dealing with this kind of problem is to use a > > semaphore rather than a spinlock, and a workqueue: when the interrupt > > comes in, the call to snd_ctl_notify is put on the queue, where it will > > later be run in process context, and can safely take the semaphore. > >

Re: [Alsa-devel] 2.5.50: sleeping function called from illegal context

2002-12-03 Thread Duncan Sands
On Tuesday 03 December 2002 19:34, Paul Davis wrote: > >I guess another way of dealing with this kind of problem is to use a > >semaphore rather than a spinlock, and a workqueue: when the interrupt > >comes in, the call to snd_ctl_notify is put on the queue, where it will > > later be run in proces

Re: [Alsa-devel] 2.5.50: sleeping function called from illegal context

2002-12-03 Thread Duncan Sands
> yes, basically what snd_ctl_notify() does is the same. > it queues an event and wakes up the sleepers. > thus, it's ok to separate the stuff from the semaphore. > > the attached is a patch to rewrite the locks with rwsem. > please check whether it works for you. This is against alsa cvs and not

Re: [Alsa-devel] 2.5.50: sleeping function called from illegal context

2002-12-03 Thread Duncan Sands
On Tuesday 03 December 2002 14:56, Takashi Iwai wrote: > At Tue, 3 Dec 2002 04:55:15 +0100, > > Duncan Sands wrote: > > On Tuesday 03 December 2002 13:01, Takashi Iwai wrote: > > > At Tue, 3 Dec 2002 04:07:52 +0100, > > > > > > Duncan Sands wrot

Re: [Alsa-devel] 2.5.50: sleeping function called from illegal context

2002-12-03 Thread Duncan Sands
On Tuesday 03 December 2002 13:01, Takashi Iwai wrote: > At Tue, 3 Dec 2002 04:07:52 +0100, > > Duncan Sands wrote: > > Got this with today 2.5 BK tree: > > > > Debug: sleeping function called from illegal context at > > include/asm/semaphore.h:119 Call Trace

[Alsa-devel] 2.5.50: sleeping function called from illegal context

2002-12-03 Thread Duncan Sands
Got this with today 2.5 BK tree: Debug: sleeping function called from illegal context at include/asm/semaphore.h:119 Call Trace: [] __might_sleep+0x52/0x58 [] snd_cs46xx_iec958_put+0x36/0xf8 [] snd_ctl_elem_write+0xe0/0x1a4 [] snd_ctl_ioctl+0x184/0x2c8 [] sys_ioctl+0x1fa/0x244 [] syscall_cal

[Alsa-devel] Oops in 2.5.46 (snd-usb-audio)

2002-11-05 Thread Duncan Sands
The usb subsystem has been pretty unstable lately, so this oops may not be the fault of snd-usb-audio. Duncan. drivers/usb/core/usb.c: deregistering driver snd-usb-audio Unable to handle kernel paging request at virtual address cc8b4278 printing eip: cc8b4278 *pde = 0be81067 *pte = Oops

Re: [Alsa-devel] init script with hotplug & usb audio

2002-09-30 Thread Duncan Sands
> > Another point to keep in mind here, is that a lot of people are now > > using journaled filesystems, and may just turn off the computer > > without shutting down. You could say that they deserve what they > > get, but I'm not so sure. Imagine someone using alsamixer to change > > mixer setti

Re: [Alsa-devel] init script with hotplug & usb audio

2002-09-30 Thread Duncan Sands
On Friday 27 September 2002 19:53, Takashi Iwai wrote: > except for the check of /proc/asound, the hotplug problem can be > sorted to the following: > > 1. hotplug may be called before alsa init script. > > 2. hotplug needs to manage the mixer configuration of plugged / >unplugged devices dyna

Re: [Alsa-devel] init script with hotplug & usb audio

2002-09-27 Thread Duncan Sands
On Thursday 26 September 2002 12:40, Tim Goetze wrote: > Duncan Sands wrote: > >(1) the hotplug subsytem is started. This automatically > >loads the snd-usb-audio module and the modules it > >depends on. In particular /proc/asound/ is created. > > > >(2) the

Re: [Alsa-devel] init script with hotplug & usb audio

2002-09-26 Thread Duncan Sands
On Thursday 26 September 2002 13:49, Takashi Iwai wrote: > At Thu, 26 Sep 2002 10:20:25 +0200, Duncan Sands wrote: > > I have a usb webcam with audio plugged into my computer, > > and a cs46xx sound card inside. > > > > When I boot the following sequence occurs: >

[Alsa-devel] init script with hotplug & usb audio

2002-09-26 Thread Duncan Sands
I have a usb webcam with audio plugged into my computer, and a cs46xx sound card inside. When I boot the following sequence occurs: (1) the hotplug subsytem is started. This automatically loads the snd-usb-audio module and the modules it depends on. In particular /proc/asound/ is created. (2)

[Alsa-devel] [PATCH] Add missing break to sound_core.c

2002-04-19 Thread Duncan Sands
This patch is against 2.5.8. It is not needed for 2.4.18. It adds in a missing break. All the best, Duncan. --- linux-2.5.8.orig/sound/sound_core.c Sun Apr 14 21:18:51 2002 +++ linux-2.5.8/sound/sound_core.c Fri Apr 19 09:14:39 2002 @@ -243,6 +243,7 @@ if (unit >= SOUND_ST

[Alsa-devel] kernel 2.5.6: devfs could not append to parent

2002-03-08 Thread Duncan Sands
While booting kernel 2.5.6 I get the following error: devfs_register(midi): could not append to parent, err: -17 NB: 0 [card0 ]: CS46xx - Sound Fusion CS46xx Sound Fusion CS46xx at 0xda80/0xda00, irq 5 Duncan. _

[Alsa-devel] kernel alsa modprobes too early

2002-02-21 Thread Duncan Sands
If alsa is compiled directly into the 2.5.5 kernel (rather than as modules) then it calls modprobe before the root file system is mounted. The call of course fails leading to a slew of annoying error messages. All the best, Duncan. ___ Alsa-devel mai

Re: [Alsa-devel] 2.5.5-pre1 kernel - compile as modules?

2002-02-15 Thread Duncan Sands
On Friday 15 February 2002 1:14 pm, Jaroslav Kysela wrote: > On Fri, 15 Feb 2002, Duncan Sands wrote: > > Actually, the problem is deeper: even if I compile everything as > > modules, I still get "no such device" when trying to read from > > /proc/asound entries.

Re: [Alsa-devel] 2.5.5-pre1 kernel - compile as modules?

2002-02-15 Thread Duncan Sands
On Friday 15 February 2002 9:30 am, Guenther Sohler wrote: > did you insmod the snd.o ??? Yes. I have /proc/asound with all entries. They just aren't readable. The soundcard is detected when I modprobe the card module (nonetheless /proc/asound/cards is not readable: no such device). I have be

Re: [Alsa-devel] 2.5.5-pre1 kernel - compile as modules?

2002-02-15 Thread Duncan Sands
Actually, the problem is deeper: even if I compile everything as modules, I still get "no such device" when trying to read from /proc/asound entries. I will look into this further myself. Duncan. ___ Alsa-devel mailing list [EMAIL PROTECTED] https://l

[Alsa-devel] 2.5.5-pre1 kernel - compile as modules?

2002-02-14 Thread Duncan Sands
I just gave the 2.5.5-pre1 kernel a whirl. Just to be different, I compiled all sound support into the kernel rather than as modules. On startup I get: Feb 14 15:43:55 baldrick kernel: Advanced Linux Sound Architecture Driver Version 0.9.0beta10. Feb 14 15:43:55 baldrick kernel: kmod: failed t

Re: [Alsa-devel] Corrupted kmalloc

2002-01-25 Thread Duncan Sands
On Thursday 24 January 2002 6:10 pm, Takashi Iwai wrote: > Hi Duncan, > > At Thu, 24 Jan 2002 18:02:13 +0100, > > Duncan Sands wrote: > > I got the following in my syslog using CVS alsa of a few days ago > > and kernel 2.5.2-dj2. While shutting down: > > > >

[Alsa-devel] Corrupted kmalloc

2002-01-24 Thread Duncan Sands
I got the following in my syslog using CVS alsa of a few days ago and kernel 2.5.2-dj2. While shutting down: Jan 23 23:09:24 baldrick kernel: ALSA ../alsa-kernel/core/memory.c:71: Not freed snd_alloc_kmalloc = 6157848 Jan 23 23:09:24 baldrick kernel: ALSA ../alsa-kernel/core/memory.c:78: Corrup

Re: [Alsa-devel] Freeze on SMP with Alsa-0.9.0 CVS

2001-11-27 Thread Duncan Sands
> So I tried to collect as much information as I can about this freezing > bug. Try using the magic SysRq key to get information (see the sysrq.txt file in the linux/Documentation directory of your kernel sources; you will probably have to recompile your kernel). Duncan. ___

Re: [Alsa-devel] kernel 2.5.0

2001-11-27 Thread Duncan Sands
> > If nobody has comments, I'm ready to prepare a whole patch for Linus > > against the actual 2.5.1pre code. Since there is no need for this patch to support 2.2 kernels, some simplifications should be possible. Duncan. PS: I'm not saying that it is desirable to remove 2.2 support, it's just

[Alsa-devel] Test suite

2001-09-26 Thread Duncan Sands
Not too long ago I fixed some bugs in channel reduction/recording part of the oss-emulation layer (kernel modules). It seemed clear to me that the code had not been tested, since the problems were kind of "in your face". What kind of test suite does ALSA have? One useful thing for testing, or so

[Alsa-devel] [PATCH] Fix oss-emulation channel reduction

2001-09-14 Thread Duncan Sands
The following patch fixes the following problem: sound drowned out by loud pulses when recording via oss-emulation if doing channel reduction (in my case, 2 channels -> 1 channel). There were three mistakes in the code: (1) A typo (src_channels rather than src_channel) in route.c. This was not ser