Date: Sat, 10 Jan 2004 14:10:27 -0500 From: Mathew Kanner <mat@cnd.mcgill.ca> To: soralx@cydem.org Cc: freebsd-multimedia@freebsd.org Subject: Re: CT5880-E 4-speaker output Message-ID: <20040110191027.GZ38657@cnd.mcgill.ca> In-Reply-To: <200401100110.30045.soralx@cydem.org> References: <200401082355.03988.soralx@cydem.org> <20040109155048.GS38657@cnd.mcgill.ca> <200401100110.30045.soralx@cydem.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 10, soralx@cydem.org wrote: > > > > Is anyone interested in patching 'es137x.c' to enable 4-speaker output > > > on a CS5880-E based audio card (built into mainboard; Line-In can be > > > reconfigured as another Line-Out)? I've recieved some souce code of > > > DOS drivers (written in C) for the 137x-based cards from Creative, > > > but I don't have enough experience to port the functionality to the > > > FreeBSD dirver. Also, after I managed to completely halt my machine > > > while experimenting with the driver, which almost killed the /usr > > > slice (softupdates...), I'd prefer to spend the spare time I have > > > on doing backups :) > > > > Hey, don't give up! > > I don't, but I figured that it would be _much_ faster [and safer :)] > for somebody more experienced in sound coding (and C coding in general) > than I to do that. All I need for now is to make the driver flip some bits > in the card's register to conver Line-In to Line-Out and enable copying > primary stereo stream to this other output. I think this is a reasonable starting point to get into the sound code. I suggest you try to hook-up a sysctl to make this configurable behaviour. Look at /sys/dev/sound/pci/via8233.c line 709-752 for ideas. > When I get some time (and experience), I plan to extend the driver > functionality a bit more by adding (bass/treble,3D enh,gain,mic boost) > controls and real double DAC 4-speaker (surround) output mode. It seems > like most (all?) of this is already done in ALSA, so I'd need just to > figure out how it all works and port the necessary bits. I look forward to it, and I hope this will be the beginning getting easy and fancy features out of alsa. > > Or probably I'll buy some PCI card with higher sound quality (not that > it is bad now, but it still could be better) and [5|6|7].1 mode. Does > anyone have any reccomendations on such good (but not too expensive) > card? Is there any sound card that can work in FreeBSD in 4 (and more) > speakers config mode? I'm not an authority on sound, I don't think we able to produce analog except in mono and stereo other than copying whole channels to different outputs (like your goal #1). I've heard Cameron suggest that the emu10k1 has good features that we should aspire to tapping into. --Mat > > > Bring the system to single user mode > > (kill -TERM 1) and force the the disks the re-mount read-only (mount > > -u -o ro /). Then load your hacked module. This is typically how I > > test/debug kernel modules. > > OK, this sounds sane; I probably should have done that right when I started %) > > Timestamp: 1073721041 > [SorAlx] http://cydem.org.ua/ -- Having your book made into a movie is like having your ox made into a bouillon cube. - Bill Neely
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040110191027.GZ38657>