|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Permanently Change Default sound device.
New FreeBSD 7 Amd64 install with an AMD SB600 Southbridge.
pciconf shows: Code:
pcm1@pci0:0:20:2: class=0x040300 card=0x10131019 chip=0x43831002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'IXP SB600 High Definition Audio Controller' class = multimedia Code:
pcm1: <ATI SB600 High Definition Audio Controller> mem 0xfe8f4000-0xfe8f7fff irq 16 at device 20.2 on pci0 pcm1: [ITHREAD] Code:
acd0: DVDR <LITE-ON DVDRW LH-20A1S/9L03> at ata5-master SATA150 pcm0: <HDA Codec: Unknown Codec> pcm0: <HDA Driver Revision: 20071129_0050> pcm1: <HDA Codec: Realtek ALC883> pcm1: <HDA Driver Revision: 20071129_0050> SMP: AP CPU #1 Launched! Code:
$ sysctl hw.snd.default_unit hw.snd.default_unit: 0 next boot. How do I make this change permanent? ?/boot/device.hints? Thanks in advance |
|
|||
/etc/sysctl.conf
Last edited by richardpl; 14th June 2008 at 01:15 AM. |
|
|||
Is that /etc/sysctl.conf?
What is the syntax for the entry? I'm guessing hint.hw.snd.default_unit=1 Thanks Last edited by shep; 14th June 2008 at 12:46 AM. Reason: I'm quessing |
|
|||
That's correct.
|
|
|||
This is what ended up working in /etc/sysctl.conf
Code:
hw.snd.default_unit=1 |
|
||||
If your not sure about the syntax of a configuration file, you can usually find details in the manual
man conf_file_name (e.g. man sysctl.conf) or a reference to the proper manual page in the programs own manual under the SEE ALSO section. /usr/share/examples and /usr/local/share/examples if memory serves also has some nice things.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Recording sound with external sound card | backrow | OpenBSD General | 5 | 21st August 2009 08:17 PM |
How do I edit my .profile to permanently have an ftp site to point to | badguy | OpenBSD Packages and Ports | 12 | 19th July 2009 02:05 AM |
change default font of the X | rex | FreeBSD General | 2 | 26th October 2008 05:54 PM |
identifying device associated with USB device? | spiderpig | OpenBSD General | 2 | 7th July 2008 05:18 AM |
VIA sound device fails on boot, works with kldload | robbak | FreeBSD General | 0 | 16th June 2008 07:16 AM |