DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th July 2008
casper007 casper007 is offline
New User
 
Join Date: May 2008
Posts: 1
Default problem with Virtual Sound Channels in FreeBSD 7

Hi I have installed FreeBSD 7.0-RELEASE with custom modified kernel. If I try to utilize multiple sound sources like say freebsd handbook in this section and when I try to set this two nobs

Code:
sysctl hw.snd.pcm0.vchans=4
sysctl hw.snd.maxautovchans=4
sysctl gives me an error message.

Code:
[root@cormallon /]# sysctl hw.snd.pcm0.vchans=4
sysctl: unknown oid 'hw.snd.pcm0.vchans'
the second sysctl nob is corectly write

Code:
[root@cormallon /]# sysctl hw.snd.maxautovchans=4
hw.snd.maxautovchans: 4 -> 4
I have an intel ich soundcard which is corectly recognized by kernel

Code:
pcm0: <Intel ICH6 (82801FB)> port 0x1c00-0x1cff,0x1880-0x18bf mem 0xb0000800-0xb00009ff,0xb0000400-0xb00004ff irq 22 at device 30.2 on pci0
pcm0: [ITHREAD]
pcm0: <Analog Devices AD1981B AC97 Codec>
so any idea what is wrong ?

Code:
FreeBSD cormallon.local.bsd 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Mon Jul 14 21:02:05 CEST 2008     casper@comallon.local.bsd:/usr/obj/usr/src/sys/CORMALLON  i386
thx casper007
Reply With Quote
  #2   (View Single Post)  
Old 16th July 2008
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Default

On FreeBSD 7 you dont need to change such sysctl variables.

Code:
hw.snd.maxautovchans: 16
dev.pcm.0.play.vchans: 1
dev.pcm.0.play.vchanrate: 48000
dev.pcm.0.play.vchanformat: s16le
dev.pcm.0.rec.vchans: 1
dev.pcm.0.rec.vchanrate: 48000
dev.pcm.0.rec.vchanformat: s16le
Reply With Quote
  #3   (View Single Post)  
Old 16th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default

Quote:
Originally Posted by richardpl View Post
On FreeBSD 7 you dont need to change such sysctl variables.

Code:
hw.snd.maxautovchans: 16
dev.pcm.0.play.vchans: 1
dev.pcm.0.play.vchanrate: 48000
dev.pcm.0.play.vchanformat: s16le
dev.pcm.0.rec.vchans: 1
dev.pcm.0.rec.vchanrate: 48000
dev.pcm.0.rec.vchanformat: s16le
really, i didn't new that
I had same error, but i was lazy to fix it
Reply With Quote
  #4   (View Single Post)  
Old 16th July 2008
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Default

Virtual channels on 7 are automatically created when needed:

% ls /dev/dsp0.?

% ls /dev/dsp0.{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}

% ls /dev/dsp0.?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD 8.0-CURRENT (amd64 & i386) VMware Virtual Appliances Available glarkin_at_FreeBSD FreeBSD Installation and Upgrading 1 3rd December 2008 08:49 AM
Sound Problem. MetalHead OpenBSD General 3 16th November 2008 09:27 PM
Sound problem renej FreeBSD General 18 12th September 2008 07:30 PM
Have no sound freeBSD 7.0 yavko FreeBSD Installation and Upgrading 3 31st July 2008 10:20 AM
Problem with no sound in games troberts FreeBSD General 9 21st July 2008 08:53 PM


All times are GMT. The time now is 11:28 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick