FreeBSD、音が出ない

FreeBSD、音が出ない

私のスピーカーがFreeBSD 10.2-RELEASEで動作していないようです。すべてのドライバは、次のようにロードされます。kldload snd_driver。何をすべきか?

pciconf-lv:

hostb0@pci0:0:0:0: class=0x060000 card=0x50001458 chip=0x27708086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82945G/GZ/P/PL Memory Controller Hub'
class = bridge
subclass = HOST-PCI
pcib1@pci0:0:1:0: class=0x060400 card=0x50001458 chip=0x27718086 rev=0x02 hdr=0x01
vendor = 'Intel Corporation'
device = '82945G/GZ/P/PL PCI Express Root Port'
class = bridge
subclass = PCI-PCI
hdac1@pci0:0:27:0: class=0x040300 card=0xa0021458 chip=0x27d88086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = 'NM10/ICH7 Family High Definition Audio Controller'
class = multimedia
subclass = HDA
uhci0@pci0:0:29:0: class=0x0c0300 card=0x50041458 chip=0x27c88086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = 'NM10/ICH7 Family USB UHCI Controller'
class = serial bus
subclass = USB
uhci1@pci0:0:29:1: class=0x0c0300 card=0x50041458 chip=0x27c98086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = 'NM10/ICH7 Family USB UHCI Controller'
class = serial bus
subclass = USB
uhci2@pci0:0:29:2: class=0x0c0300 card=0x50041458 chip=0x27ca8086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = 'NM10/ICH7 Family USB UHCI Controller'
class = serial bus
subclass = USB
uhci3@pci0:0:29:3: class=0x0c0300 card=0x50041458 chip=0x27cb8086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = 'NM10/ICH7 Family USB UHCI Controller'
class = serial bus
subclass = USB
ehci0@pci0:0:29:7: class=0x0c0320 card=0x50061458 chip=0x27cc8086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = 'NM10/ICH7 Family USB2 EHCI Controller'
class = serial bus
subclass = USB
pcib2@pci0:0:30:0: class=0x060401 card=0x50001458 chip=0x244e8086 rev=0xe1 hdr=0x01
vendor = 'Intel Corporation'
device = '82801 PCI Bridge'
class = bridge
subclass = PCI-PCI
isab0@pci0:0:31:0: class=0x060100 card=0x50011458 chip=0x27b88086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = '82801GB/GR (ICH7 Family) LPC Interface Bridge'
class = bridge
subclass = PCI-ISA
atapci0@pci0:0:31:2: class=0x010180 card=0xb0021458 chip=0x27c08086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = 'NM10/ICH7 Family SATA Controller [IDE mode]'
class = mass storage
subclass = ATA
none0@pci0:0:31:3: class=0x0c0500 card=0x50011458 chip=0x27da8086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = 'NM10/ICH7 Family SMBus Controller'
class = serial bus
subclass = SMBus
vgapci0@pci0:1:0:0: class=0x030000 card=0x35251458 chip=0x0a6510de rev=0xa2 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'GT218 [GeForce 210]'
class = display
subclass = VGA
hdac0@pci0:1:0:1: class=0x040300 card=0x35251458 chip=0x0be310de rev=0xa1 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'High Definition Audio Controller'
class = multimedia
subclass = HDA
re0@pci0:2:5:0: class=0x020000 card=0xe0001458 chip=0x816710ec rev=0x10 hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL-8110SC/8169SC Gigabit Ethernet'
class = network
subclass = ethernet

そしてdmesg | grep PCM:

pcm0: <NVIDIA GT21x (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm1: <NVIDIA GT21x (HDMI/DP 8ch)> at nid 5 on hdaa1
pcm2: <NVIDIA GT21x (HDMI/DP 8ch)> at nid 5 on hdaa2
pcm3: <NVIDIA GT21x (HDMI/DP 8ch)> at nid 5 on hdaa3
pcm4: <Realtek ALC888 (Rear Analog 7.1/2.0)> at nid 20,22,21,23 and 24,26 on hdaa4
pcm5: <Realtek ALC888 (Front Analog)> at nid 27 and 25 on hdaa4
pcm6: <Realtek ALC888 (Rear Digital)> at nid 30 and 31 on hdaa4
pcm7: <USB audio> on uaudio0

助けてください! :)

ベストアンサー1

システムはデフォルトでnVidiaカードのサウンドを有効にすることができます。

表示されたリストを確認してデフォルトのデバイスを変更してください。フロントパネルのジャックで出力したいとしますpcm5

次の行を追加してください/etc/sysctl.conf

hw.snd.default_unit=5  

(5はpcm5数字の部分です)。次に、次のようにします。

service sysctl restart

おすすめ記事