PDA

Показать полную графическую версию : Почему не работает звук?


BSDUsr
11-04-2005, 07:38
версия 5.3, ноут ASUS, видео ATI Mobility Radeon 9600/9700, звук - не пойму какой :confused:

как я понял звук должен работать без дополнительных настроек.
прочитал в книге что надо перекомпилировать ядро с device pcm - однако мне выдается - device not found! :fingal:

смотрел файл NOTES - там про звук ничего нет!

не могу понять где рыть :confused:

вот конфиг ядра на всякий, просьба если там есть что лишнее - укажите :shuffle: , а тоя пока не совсем разбираюсь.


#

# GENERIC -- Generic kernel configuration file for FreeBSD/i386


# An exhaustive list of options and more detailed explanations of the

# device lines is also present in the ../../conf/NOTES and NOTES files.

# If you are in doubt as to the purpose or necessity of a line, check first

# in NOTES.

#

# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.6.2.2 2004/10/24 18:02:52 scottl Exp $

machine i386

cpu I686_CPU

ident GENERIC

# To statically compile in device wiring instead of /boot/device.hints

#hints "GENERIC.hints" # Default places to look for devices.

options SCHED_4BSD # 4BSD scheduler

options INET # InterNETworking

options INET6 # IPv6 communications protocols

options FFS # Berkeley Fast Filesystem

options SOFTUPDATES # Enable FFS soft updates support

options UFS_ACL # Support for access control lists

options UFS_DIRHASH # Improve performance on big directories

options MD_ROOT # MD is a potential root device

options NFSCLIENT # Network Filesystem Client

options NFSSERVER # Network Filesystem Server

options NFS_ROOT # NFS usable as /, requires NFSCLIENT

options MSDOSFS # MSDOS Filesystem

options CD9660 # ISO 9660 Filesystem

options NTFS

options PROCFS # Process filesystem (requires PSEUDOFS)

options PSEUDOFS # Pseudo-filesystem framework

options GEOM_GPT # GUID Partition Tables.

options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]

options COMPAT_FREEBSD4 # Compatible with FreeBSD4

options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI

options KTRACE # ktrace(1) support

options SYSVSHM # SYSV-style shared memory

options SYSVMSG # SYSV-style message queues

options SYSVSEM # SYSV-style semaphores

options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions

options KBD_INSTALL_CDEV # install a CDEV entry in /dev

options AHC_REG_PRETTY_PRINT # Print register bitfields in debug

# output. Adds ~128k to driver.

options AHD_REG_PRETTY_PRINT # Print register bitfields in debug

# output. Adds ~215k to driver.

options ADAPTIVE_GIANT # Giant mutex is adaptive.

device apic # I/O APIC

# Bus support. Do not remove isa, even if you have no isa slots

device isa

device pci

# Floppy drives

#device fdc

# ATA and ATAPI devices

device ata

device atadisk # ATA disk drives

#device ataraid # ATA RAID drives

device atapicd # ATAPI CDROM drives

#device atapifd # ATAPI floppy drives

#device atapist # ATAPI tape drives

options ATA_STATIC_ID # Static device numbering

# SCSI peripherals

device scbus # SCSI bus (required for SCSI)

device da # Direct Access (disks)

# atkbdc0 controls both the keyboard and the PS/2 mouse

device atkbdc # AT keyboard controller

device atkbd # AT keyboard

device psm # PS/2 mouse

device vga # VGA video card driver

device splash # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console

device sc

# Enable this for the pcvt (VT220 compatible) console driver

#device vt

#options XSERVER # support for X server on a vt console

#options FAT_CURSOR # start with block cursor

device agp # support several AGP chipsets

# Floating point support - do not disable.

device npx

# Power management support (see NOTES for more options)

#device apm

# Add suspend/resume support for the i8254.

device pmtimer

# PCCARD (PCMCIA) support

# PCMCIA and cardbus bridge support

device cbb # cardbus (yenta) bridge

device pccard # PC Card (16-bit) bus

device cardbus # CardBus (32-bit) bus

# Serial (COM) ports

device sio # 8250, 16[45]50 based serial ports

# Parallel port

device ppc

device ppbus # Parallel port bus (required)

device lpt # Printer

device plip # TCP/IP over parallel

device ppi # Parallel port interface device

#device vpo # Requires scbus and da

# If you've got a "dumb" serial or parallel PCI card that is

# supported by the puc(4) glue driver, uncomment the following

# line to enable it (connects to the sio and/or ppc drivers):

#device puc

# PCI Ethernet NICs that use the common MII bus controller code.

# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!

device miibus # MII bus support

#device bfe # Broadcom BCM440x 10/100 Ethernet

device bge # Broadcom BCM570xx Gigabit Ethernet

# Wireless NIC cards

device wlan # 802.11 support

#device an # Aironet 4500/4800 802.11 wireless NICs.

#device awi # BayStack 660 and others

#device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.

#device wl # Older non 802.11 Wavelan wireless NIC.

# Pseudo devices.

device loop # Network loopback

device mem # Memory and kernel memory devices

device io # I/O device

device random # Entropy device

device ether # Ethernet support

device sl # Kernel SLIP

device ppp # Kernel PPP

device tun # Packet tunnel.

device pty # Pseudo-ttys (telnet etc)

device md # Memory "disks"

device gif # IPv6 and IPv4 tunneling

device faith # IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.

# Be aware of the administrative consequences of enabling this!

device bpf # Berkeley packet filter

# USB support

device uhci # UHCI PCI->USB interface

device ohci # OHCI PCI->USB interface

device usb # USB Bus (required)

#device udbp # USB Double Bulk Pipe devices

device ugen # Generic

#device uhid # "Human Interface Devices"

#device ukbd # Keyboard

#device ulpt # Printer

device umass # Disks/Mass storage - Requires scbus and da

device ums # Mouse

#device urio # Diamond Rio 500 MP3 player

#device uscanner # Scanners

# USB Ethernet, requires mii

#device aue # ADMtek USB Ethernet

#device axe # ASIX Electronics USB Ethernet

#device cue # CATC USB Ethernet

#device kue # Kawasaki LSI USB Ethernet

#device rue # RealTek RTL8150 USB Ethernet

# FireWire support

device firewire # FireWire bus code

#device sbp # SCSI over FireWire (Requires scbus and da)

device fwe # Ethernet over FireWire (non-standard!)

device acpi_asus

device radeondrm

Belansky
11-04-2005, 11:50
BSDUsr
Ну, не вижу я смысла тысячный раз повторять одно и тоже. Для начала просмотрите сообщения данного раздела, относящиеся к проблемам со звуком.
Далее, почитайте Руководство пользователя о настройке звуковых карт (http://www.freebsd.org/doc/ru_RU.KOI8-R/books/handbook/sound-setup.html).
А, уж, если после прочтения всего рекомендованного, ничто не поможет, пишите.

BSDUsr
12-04-2005, 02:57
ээээ ... :biggrin:
сорри сорри сорри :maniac:

BSDUsr
12-04-2005, 03:02
кстати, а какая файловая система у диска с mp3 или у Audio?

а то мне выдает чтото связанное с неизвестной файловой системой чтоли...

Belansky
12-04-2005, 10:14
а какая файловая система у диска с mp3
Файловая система cd9660.
Аудио CD не монтируются. Об этом уже писали неоднократно.
а то мне выдает чтото связанное с неизвестной файловой системой чтоли...
А что конкретно выдается?

9112root
12-04-2005, 21:33
я немного подругому открываю аудио диски - просто в XMMS (никакого монтирования не делаю) жму открыть, там выбираю папку диска - и там лежат файлы(обычными просмотрщиками они не видны).... вот так вот...
(не знаю, возможно я не первооткрыватель, но всё же автору темы это возможно пригодится...)

9112root
12-04-2005, 21:35
BSDUsr Вы пробывали включать модуль звука в loader.conf? Попробуйте включить поддержку всех звуковых плат... впрочем в handbook'e всё подробно если не ошибаюсь написано...

BSDUsr
13-04-2005, 03:31
вчера добавил в ядро device sound без драйвера - не помогло, очевидно изза того что не знаю что за звук у меня на буке - да и как узнать? хз ... седня попробую sandra sisoft или подобное.

кстати, у меня стоял как раз диск с mp3 - он не монтировался, попробую еще раз и напишу здесь что выдает :fingal:
возможно я чтото путал

9112root
13-04-2005, 19:28
BSDUsrпопробуйте всё же включить поддержку звуковых плат в loader.conf - всех.. в windows Вам точную информацию даст приложение EVEREST

BSDUsr
14-04-2005, 02:26
вчера с помощью aida прочитал как назывется звук - ~Intel AC'97 - подключил в ядро драйвер device "ihc" по моему,
запустил оконный менеджер, запустил kde - появился звук при загрузке, потом через пару секунд он резко оборвался и все, звук не воспроизводится :(

перегружаюсь ребутом, опять тоже самое :(

загрузился в windows, отрегулировал громкость - опять в bsd - теперь вообще молчание!
привожу листинг из терминала:

>> running as realtime process now (priority 15)
There are already artsd objects registered, looking if they are active...

Error: Can't add object reference (probably artsd is already running).
If you are sure it is not already running, remove the relevant files:

/tmp/mcop-root/Arts_SoundServerV2
/tmp/mcop-root/Arts_SoundServer
/tmp/mcop-root/Arts_SimpleSoundServer
/tmp/mcop-root/Arts_PlayObjectFactory
/tmp/mcop-root/Arts_AudioManager

Can't get own host name. Your system is severely misconfigured

kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = 0x8195748 ): KAccel object already contains an action name "del"
X Error: BadValue (integer parameter out of range for operation) 2
Major opcode: 102
Minor opcode: 0
Resource id: 0x0
X Error: BadValue (integer parameter out of range for operation) 2
Major opcode: 102
Minor opcode: 0
Resource id: 0x0
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
***********после этого пропал звук***********

BSDUsr
14-04-2005, 02:30
2 9112root

я же включил драйвер в ядро - неужели надо править loader.conf?

9112root
14-04-2005, 19:13
хех... запустите микшер kmix, выстройте уровни громкости и всё должно заработать!
а девайс это ich

9112root
14-04-2005, 19:15
просто загружается кде, появляется звук, потом загружается микшер в обнулённом режиме... у меня такое было, правда уже знал как поправить - возможно кстати выглядет как дурость - но помогает...

BSDUsr
15-04-2005, 06:35
ок попробую kmix
вот еще, при выходе с kde заметил:

ICE default IO error handler doing an exit(), pid = 515, errno = 0

ICE default IO error handler doing an exit(), pid = 504, errno = 0

ICE default IO error handler doing an exit(), pid = 521, errno = 2

ICE default IO error handler doing an exit(), pid = 517, errno = 2

WARNING: DCOP communication problem!

warning: leaving MCOP Dispatcher and still 9 object references alive.

- Arts::SampleStorage

- Arts::Synth_MULTI_ADD

- Arts::Synth_MULTI_ADD

- Arts::Synth_PLAY

- Arts::StereoVolumeControl

- Arts::StereoEffectStack

- Arts::Synth_BUS_DOWNLINK

- Arts::SoundServerV2

- Arts::MidiManager

warning: leaving MCOP Dispatcher and still 112 types alive.

Belansky
15-04-2005, 12:38
BSDUsr
Если не знаете, какая звуковая у Вас установлена, то придется действавать методом тыка. Из-под root'а переходите в /boot/modules/ и по очереди подгружаете модули, начинающиеся на snd. Например, kldload snd_cmi.ko. И так до тех пор, пока Ваша сетевая не будет распознана. Можно поступить несколько по-другому. Загрузить сразу все звуковые модули kldload sound.ko. А затем посмотреть, как Ваша звуковая распозналась в /var/log/messages. И подгружать только соответствующий модуль в дальшейшем. Или вкомпиллировать его в ядро.

9112root
16-04-2005, 17:32
BSDUsr ну так как там успехи то со звуком?

BSDUsr
17-04-2005, 05:46
все ок заработало!! :rolleyes:

kmix на нуле был - щаз все есть! :jump:

:beer:




© OSzone.net 2001-2012