Форум русскоязычного сообщества Ubuntu


Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества?
Помогите нам с документацией!

Автор Тема: Звук в Ubuntu server 12.04.1  (Прочитано 3421 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн gogasan

  • Автор темы
  • Новичок
  • *
  • Сообщений: 3
    • Просмотр профиля
Звук в Ubuntu server 12.04.1
« : 06 Октября 2012, 20:38:35 »
Вся суть сводится к
# lspci| grep audio
#
, причем на данном железе уже была обычная Ubuntu и звук там проигрывался прекрасно

# uname -a
Linux home-serv 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:16:45 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Прошу у Вас помощи. Спасибо.

Пользователь решил продолжить мысль 07 Октября 2012, 08:24:35:
Причем в alsamixer есть две звуковые карты

Пользователь решил продолжить мысль 07 Октября 2012, 08:37:41:
Внезапно обнаружилось, что
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)Слово Audio с большой буквы. Смешно.

Подскажите модуль для этой карты?
« Последнее редактирование: 07 Октября 2012, 08:37:41 от gogasan »

Оффлайн vasilisc

  • Заслуженный пользователь
  • Старожил
  • *
  • Сообщений: 2563
  • г.Северодвинск - строим АПЛ
    • Просмотр профиля
    • Авторские статьи об OpenSource
Re: Звук в Ubuntu server 12.04.1
« Ответ #1 : 08 Октября 2012, 15:45:50 »
дайте вывод в спойлер
sudo lspci -vnnk

Оффлайн gogasan

  • Автор темы
  • Новичок
  • *
  • Сообщений: 3
    • Просмотр профиля
Re: Звук в Ubuntu server 12.04.1
« Ответ #2 : 08 Октября 2012, 17:15:03 »
vasilisc,
спасибо за ответ!

root@home-serv:~# lspci -vnnk:
root@home-serv:~# lspci -vnnk
00:00.0 Host bridge [0600]: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller [8086:29c0] (rev 02)
        Subsystem: Intel Corporation Desktop Board DP35DP [8086:5044]
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0b <?>

00:01.0 PCI bridge [0604]: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port [8086:29c1] (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: e0200000-e02fffff
        Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
        Capabilities: [88] Subsystem: Intel Corporation Device [8086:5044]
        Capabilities: [80] Power Management version 3
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [a0] Express Root Port (Slot+), MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [140] Root Complex Link
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:03.0 Communication controller [0780]: Intel Corporation 82G33/G31/P35/P31 Express MEI Controller [8086:29c4] (rev 02)
        Subsystem: Intel Corporation Desktop Board DP35DP [8086:5044]
        Flags: bus master, fast devsel, latency 0, IRQ 47
        Memory at e0325900 (64-bit, non-prefetchable) [size=16]
        Capabilities: [50] Power Management version 3
        Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: mei
        Kernel modules: mei

00:19.0 Ethernet controller [0200]: Intel Corporation 82566DC-2 Gigabit Network Connection [8086:294c] (rev 02)
        Subsystem: Intel Corporation Device [8086:0001]
        Flags: bus master, fast devsel, latency 0, IRQ 46
        Memory at e0300000 (32-bit, non-prefetchable) [size=128K]
        Memory at e0324000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at 30e0 [size=32]
        Capabilities: [c8] Power Management version 2
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [e0] Vendor Specific Information: Len=06 <?>
        Kernel driver in use: e1000e
        Kernel modules: e1000e

00:1a.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Desktop Board DP35DP [8086:5044]
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at 30c0 [size=32]
        Capabilities: [50] Vendor Specific Information: Len=06 <?>
        Kernel driver in use: uhci_hcd

00:1a.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Desktop Board DP35DP [8086:5044]
        Flags: bus master, medium devsel, latency 0, IRQ 21
        I/O ports at 30a0 [size=32]
        Capabilities: [50] Vendor Specific Information: Len=06 <?>
        Kernel driver in use: uhci_hcd

00:1a.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Desktop Board DP35DP [8086:5044]
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at 3080 [size=32]
        Capabilities: [50] Vendor Specific Information: Len=06 <?>
        Kernel driver in use: uhci_hcd

00:1a.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 02) (prog-if 20 [EHCI])
        Subsystem: Intel Corporation Desktop Board DP35DP [8086:5044]
        Flags: bus master, medium devsel, latency 0, IRQ 17
        Memory at e0325400 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] Vendor Specific Information: Len=06 <?>
        Kernel driver in use: ehci_hcd

00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 02)
        Subsystem: Intel Corporation Device [8086:4001]
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at e0320000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Root Complex Link
        Kernel modules: snd-hda-intel

00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: 00007000-00007fff
        Memory behind bridge: f8e00000-f8ffffff
        Prefetchable memory behind bridge: 00000000f9000000-00000000f91fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Intel Corporation Optiplex 755 [8086:2940]
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.1 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 [8086:2942] (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 00006000-00006fff
        Memory behind bridge: f8a00000-f8bfffff
        Prefetchable memory behind bridge: 00000000f8c00000-00000000f8dfffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 [8086:2942]
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.2 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 [8086:2944] (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        I/O behind bridge: 00001000-00001fff
        Memory behind bridge: e0100000-e01fffff
        Prefetchable memory behind bridge: 00000000f8800000-00000000f89fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 [8086:2944]
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.3 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 [8086:2946] (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        I/O behind bridge: 00005000-00005fff
        Memory behind bridge: f8400000-f85fffff
        Prefetchable memory behind bridge: 00000000f8600000-00000000f87fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 [8086:2946]
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.4 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 [8086:2948] (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
        I/O behind bridge: 00004000-00004fff
        Memory behind bridge: f8000000-f81fffff
        Prefetchable memory behind bridge: 00000000f8200000-00000000f83fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 [8086:2948]
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1d.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Desktop Board DP35DP [8086:5044]
        Flags: bus master, medium devsel, latency 0, IRQ 23
        I/O ports at 3060 [size=32]
        Capabilities: [50] Vendor Specific Information: Len=06 <?>
        Kernel driver in use: uhci_hcd

00:1d.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Desktop Board DP35DP [8086:5044]
        Flags: bus master, medium devsel, latency 0, IRQ 19
        I/O ports at 3040 [size=32]
        Capabilities: [50] Vendor Specific Information: Len=06 <?>
        Kernel driver in use: uhci_hcd

00:1d.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Desktop Board DP35DP [8086:5044]
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at 3020 [size=32]
        Capabilities: [50] Vendor Specific Information: Len=06 <?>
        Kernel driver in use: uhci_hcd

00:1d.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 02) (prog-if 20 [EHCI])
        Subsystem: Intel Corporation Desktop Board DP35DP [8086:5044]
        Flags: bus master, medium devsel, latency 0, IRQ 23
        Memory at e0325000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] Vendor Specific Information: Len=06 <?>
        Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 92) (prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=07, subordinate=07, sec-latency=32
        Memory behind bridge: e0000000-e00fffff
        Capabilities: [50] Subsystem: Intel Corporation Device [8086:5044]

00:1f.0 ISA bridge [0601]: Intel Corporation 82801IR (ICH9R) LPC Interface Controller [8086:2916] (rev 02)
        Subsystem: Intel Corporation Desktop Board DP35DP [8086:5044]
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>
        Kernel modules: iTCO_wdt

00:1f.2 IDE interface [0101]: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA Controller [IDE mode] [8086:2920] (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: Intel Corporation Device [8086:5044]
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 21
        I/O ports at 3458 [size=8]
        I/O ports at 346c [size=4]
        I/O ports at 3450 [size=8]
        I/O ports at 3468 [size=4]
        I/O ports at 3430 [size=16]
        I/O ports at 3420 [size=16]
        Capabilities: [70] Power Management version 3
        Capabilities: [b0] Vendor Specific Information: Len=06 <?>
        Kernel driver in use: ata_piix

00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 02)
        Subsystem: Intel Corporation Desktop Board DP35DP [8086:5044]
        Flags: medium devsel, IRQ 11
        Memory at e0325800 (64-bit, non-prefetchable) [size=256]
        I/O ports at 3000 [size=32]
        Kernel modules: i2c-i801

00:1f.5 IDE interface [0101]: Intel Corporation 82801I (ICH9 Family) 2 port SATA Controller [IDE mode] [8086:2926] (rev 02) (prog-if 85 [Master SecO PriO])
        Subsystem: Intel Corporation Device [8086:5044]
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 21
        I/O ports at 3448 [size=8]
        I/O ports at 3464 [size=4]
        I/O ports at 3440 [size=8]
        I/O ports at 3460 [size=4]
        I/O ports at 3410 [size=16]
        I/O ports at 3400 [size=16]
        Capabilities: [70] Power Management version 3
        Capabilities: [b0] Vendor Specific Information: Len=06 <?>
        Kernel driver in use: ata_piix

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI RV730XT [Radeon HD 4670] [1002:9490] (prog-if 00 [VGA controller])
        Subsystem: Hightech Information System Ltd. Device [1787:2268]
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Memory at e0200000 (64-bit, non-prefetchable) [size=64K]
        I/O ports at 2000 [size=256]
        Expansion ROM at e0220000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Kernel driver in use: fglrx_pci
        Kernel modules: fglrx, radeon

01:00.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI RV710/730 HDMI Audio [Radeon HD 4000 series] [1002:aa38]
        Subsystem: Hightech Information System Ltd. Device [1787:aa38]
        Flags: bus master, fast devsel, latency 0, IRQ 9
        Memory at e0210000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Kernel modules: snd-hda-intel

04:00.0 IDE interface [0101]: Marvell Technology Group Ltd. 88SE6101/6102 single-port PATA133 interface [11ab:6101] (rev b2) (prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: Marvell Technology Group Ltd. 88SE6101/6102 single-port PATA133 interface [11ab:6101]
        Flags: bus master, fast devsel, latency 0, IRQ 18
        I/O ports at 1018 [size=8]
        I/O ports at 1024 [size=4]
        I/O ports at 1010 [size=8]
        I/O ports at 1020 [size=4]
        I/O ports at 1000 [size=16]
        Memory at e0100000 (32-bit, non-prefetchable) [size=512]
        Capabilities: [48] Power Management version 2
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [e0] Express Legacy Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Kernel driver in use: pata_marvell
        Kernel modules: pata_marvell

07:03.0 FireWire (IEEE 1394) [0c00]: LSI Corporation FW322/323 [11c1:5811] (rev 70) (prog-if 10 [OHCI])
        Subsystem: LSI Corporation FW322/323 [11c1:5811]
        Flags: bus master, fast Back2Back, medium devsel, latency 32, IRQ 19
        Memory at e0000000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2
        Kernel driver in use: firewire_ohci
        Kernel modules: firewire-ohci

root@home-serv:~#

Заменил спойлер на КОД

--Сперанский


+ добавились следующие неприятности:
root@home-serv:~# alsamixer
Не удаётся открыть микшер: Нет такого файла или каталога
root@home-serv:~# aplay -l
aplay: device_list:252: не найдено ни одной звуковой карты...

Пользователь решил продолжить мысль 08 Октября 2012, 17:18:46:
root@home-serv:~# rmmod snd-hda-intel
ERROR: Module snd_hda_intel does not exist in /proc/modules
root@home-serv:~# modprobe snd-hda-intel
FATAL: Error inserting snd_hda_intel (/lib/modules/3.2.0-31-generic/kernel/sound/pci/hda/snd-hda-intel.ko): Invalid argument

offtop: почему под спойлером в конце такие большие буквы? Я не менял кегль.

Пользователь решил продолжить мысль 08 Октября 2012, 17:21:05:
offtop: А... bb-коды из вывода.
« Последнее редактирование: 08 Октября 2012, 18:00:40 от Сперанский »

Оффлайн vasilisc

  • Заслуженный пользователь
  • Старожил
  • *
  • Сообщений: 2563
  • г.Северодвинск - строим АПЛ
    • Просмотр профиля
    • Авторские статьи об OpenSource
Re: Звук в Ubuntu server 12.04.1
« Ответ #3 : 09 Октября 2012, 10:14:12 »
судя по
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 02)
Kernel modules: snd-hda-intel

модуль ядра обслуживает вашу аудиокарту.

вы не трогали звуковой сервер PulseAudio?
поставьте утилиту pavucontrol и посмотрите как звуковая карта видится звуковой системой PulseAudio.

дайте вывод
aplay -l

Оффлайн gogasan

  • Автор темы
  • Новичок
  • *
  • Сообщений: 3
    • Просмотр профиля
Re: Звук в Ubuntu server 12.04.1
« Ответ #4 : 09 Октября 2012, 14:50:41 »
вы не трогали звуковой сервер PulseAudio?
Не могу сказать: не знаю даже.

pavucontrol (окно с сообщением):
Fatal Error: Unable to connect to PulseAudio: OK
root@home-serv:~# aplay -l
aplay: device_list:252: не найдено ни одной звуковой карты...

Оффлайн vasilisc

  • Заслуженный пользователь
  • Старожил
  • *
  • Сообщений: 2563
  • г.Северодвинск - строим АПЛ
    • Просмотр профиля
    • Авторские статьи об OpenSource
Re: Звук в Ubuntu server 12.04.1
« Ответ #5 : 12 Октября 2012, 15:38:33 »
попробуйте как вариант
sudo apt-get update && sudo apt-get -o DPkg::options::=--force-confmiss --reinstall install alsa-base alsa-utils pulseaudio
что же вы с системой сделали если у вас
aplay: device_list:252: не найдено ни одной звуковой карты...

Fatal Error: Unable to connect to PulseAudio: OK Не могу соединится с PulseAudio


Оффлайн Madzhenta

  • Новичок
  • *
  • Сообщений: 1
    • Просмотр профиля
Re: Звук в Ubuntu server 12.04.1
« Ответ #6 : 12 Января 2013, 21:04:55 »
У меня эта ошибка сразу после установки ОС выползла!

 

Страница сгенерирована за 0.021 секунд. Запросов: 22.