Re: [Alsa-devel] Re: devfs unable to handle permission: 2.4.17-pre[4,5] / ALSA-0.9.0beta[9,10]

2001-12-10 Thread Takashi Iwai
At Thu, 6 Dec 2001 23:09:14 -0700, Richard Gooch wrote: > > > Also loading the modules gives me: > > Dec 7 00:31:58 jackson kernel: devfs: devfs_register(unknown): could not append >to parent, err: -17 > > Two possibilities: > > - the module is trying to register "unknown" twice. The old devf

Re: [Alsa-devel] CS46xx chipset on thinkpad 770Z ?

2001-12-10 Thread Fabrice Bellet
On Sun, Dec 09, 2001 at 09:16:16PM +0100, Jaroslav Kysela wrote: > On Sun, 9 Dec 2001, Fabrice Bellet wrote: > > > On Sun, Dec 09, 2001 at 03:37:33PM +0100, Jaroslav Kysela wrote: > > > > > > You probably don't have any AC97 chip in your notebook. We have no > > > information, how to use the CS42

[Alsa-devel] synth support with the CS4239 chip ?

2001-12-10 Thread Fabrice Bellet
Hello, This is the next stage of my adventures with the 770Z audio chipsets :-) Everything started because I'm trying to enable the synth/sequencer capabilities of my audio chipset on my laptop. According to this old message to the alsa-devel list (http://www.geocrawler.com/archives/3/251/2001/

Re: [Alsa-devel] synth support with the CS4239 chip ?

2001-12-10 Thread Uros Bizjak
Hello! > Every concerned modules are finely loaded, /proc/asound > provides detailled information about the seq configuration, > the FM/synth controls in the mixer are enabled, and playmidi > seems to work currently (there's is -r options which provides > realtime graphics of what's currently pl

[Alsa-devel] driver for brooktree 878 audio? (btaudio)

2001-12-10 Thread Dag B
Hi. Is anyone working on a ALSA driver for the sound hardware on the bt878-based tvcards? The driver in the current linux kernel is named btaudio. For more information, see README.btaudio in this tarball: http://bytesex.org/bttv/bttv-0.7.87.tar.gz Regards, Dag B __

[Alsa-devel] MMAP direct API change?

2001-12-10 Thread Jaroslav Kysela
Hello all, I need your advice here. The current snd_pcm_mmap_commit() function returns zero or an error. I've added a new function snd_pcm_mmap_commit_partial() to detect partial transfers as well: int snd_pcm_mmap_commit(snd_pcm_t *pcm, snd_pcm_uframes_t offset,

[Alsa-devel] www.hack.sehri.com

2001-12-10 Thread www.hack.sehri.com
ww.hack.sehri.com ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel

Re: [Alsa-devel] synth support with the CS4239 chip ?

2001-12-10 Thread Fabrice Bellet
Hello, On Mon, Dec 10, 2001 at 12:56:50PM +0100, Uros Bizjak wrote: > playmidi could silently output notes to MPU401 interface. You > should use playmidi -f (or playmidi -4) to force playing to FM synth. I forced this options, and this didn't help. > > Also, you could #define DEBUG_MIDI at

RE: [Alsa-devel] MMAP direct API change?

2001-12-10 Thread James Courtier-Dutton
I generally prefer the value returned from a function to be the error code and function parameters passed to a function call, to also act as the return method for any extra information which needs returning. It makes the source look neater. So I prefer: - int snd_pcm_mmap_commit(snd_pcm_t *pcm,

Re: [Alsa-devel] MMAP direct API change?

2001-12-10 Thread Abramo Bagnara
James Courtier-Dutton wrote: > > I generally prefer the value returned from a function to be the error code > and > function parameters passed to a function call, to also act as the return > method for any extra information which needs returning. > > It makes the source look neater. > > So I pr

Re: [Alsa-devel] MMAP direct API change?

2001-12-10 Thread Paul Davis
>Perhaps only because error will be returned on next call and taken for >granted that a partial transfer definitely imply a next call, they have >considered the early return of error a little benefit. not that we have that problem, but this design really screwed up multithreaded programs too, bec

Re: [Alsa-devel] MMAP direct API change?

2001-12-10 Thread Abramo Bagnara
Paul Davis wrote: > > >Perhaps only because error will be returned on next call and taken for > >granted that a partial transfer definitely imply a next call, they have > >considered the early return of error a little benefit. > > not that we have that problem, but this design really screwed up

Re: [Alsa-devel] MMAP direct API change?

2001-12-10 Thread Tim Goetze
Jaroslav Kysela wrote: >Hello all, > > I need your advice here. The current snd_pcm_mmap_commit() >function returns zero or an error. I've added a new function >snd_pcm_mmap_commit_partial() to detect partial transfers as well: > >int snd_pcm_mmap_commit(snd_pcm_t *pcm, >

Re: [Alsa-devel] MMAP direct API change?

2001-12-10 Thread Paul Davis
>i'd make snd_pcm_mmap_commit return -errno in case of error and number of >frames commited otherwise. >that's approximately what read/write(2) do, and that's what i'd prefer. i'm with tim. --p ___ Alsa-devel mailing list [EMAIL PROTECTED] https://l

[Alsa-devel] No cards deteced using ALSA 0.9.0beta10 built directly into the kernel

2001-12-10 Thread Jordan Breeding
Hello, I am using linux-2.4.17-pre8 and have patched in ALSA 0.9.0beta10 using the file "alsa-2001-12-06-1-linux-2.5.1-pre8.patch" from ftp.alsa-project.org. There were a couple of rejects but they were rather easy to fix. Everything else wasn't hard at all, RTC support had to be disable

Re: [Alsa-devel] synth support with the CS4239 chip ?

2001-12-10 Thread Uros Bizjak
On Mon, 10 Dec 2001, Fabrice Bellet wrote: > I forced this options, and this didn't help. > > > > Also, you could #define DEBUG_MIDI at the beginning of > > alsa-driver/lowlevel/opl3_midi.c, and you will get all MIDI events > > for OPL3 chip logged in /var/log/messages. > > Here is a sample o

Re: [Alsa-devel] No cards deteced using ALSA 0.9.0beta10 built directly into the kernel

2001-12-10 Thread Jordan Breeding
Jordan Breeding wrote: > Hello, > > I am using linux-2.4.17-pre8 and have patched in ALSA 0.9.0beta10 > using the file "alsa-2001-12-06-1-linux-2.5.1-pre8.patch" from > ftp.alsa-project.org. There were a couple of rejects but they were > rather easy to fix. Everything else wasn't hard at

Re: [Alsa-devel] MMAP direct API change?

2001-12-10 Thread Abramo Bagnara
Tim Goetze wrote: > > Jaroslav Kysela wrote: > > >Hello all, > > > > I need your advice here. The current snd_pcm_mmap_commit() > >function returns zero or an error. I've added a new function > >snd_pcm_mmap_commit_partial() to detect partial transfers as well: > > > >int snd_pcm_mmap_comm