G

Problemy dotyczące innych systemów operacyjnych
Awatar użytkownika
expertup
Posty: 17
Rejestracja: 24 marca 2013, 17:09

Głośniki i zestaw słuchawkowy - oddzielne zarządzanie

Post autor: expertup »

Witam.

Głowię się nad jedną rzeczą, jednak nie wiem jak się do tego zabrać.

Rzecz wygląda tak: mam laptopa z wbudowanymi głośnikami. Do niego podłączam też zestaw słuchawkowy na BT (dokładnie to jest SmartLink+ do aparatów słuchowych).
Chodzi mi o to, że teraz jedyną możliwością sterowania tych dwóch urządzeń jest wejście w ustawienia audio, przełączenie na wybrane głośniki (głośniki lub SmartLink+) i ustawienie głośności. Mało tego, dźwięk może grać tylko w jednym urządzeniu.

A ja się zastanawiam nad takim rozwiązaniem, że tam gdzie jest ikona głośnika, w indicator, byłaby druga dodatkowa ikonka. Jedna byłaby od głośników, a druga np. w kształcie zestawu słuchawkowego od SmartLink+. Kolejną rzeczą jaką bym chciał uzyskać, to to, aby była opcja, że mogę słuchać dźwięku na dwóch urządzeniach na raz z niezależną opcją regulacji głośności.

Czy ktoś ma jakiś pomysł jak to rozwiązać?

Kod: Zaznacz cały

cat /proc/asound/cards

0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xd6600000 irq 44
cat /proc/asound/modules:

Kod: Zaznacz cały

0 snd_hda_intel
cat /proc/asound/version:

Kod: Zaznacz cały

Advanced Linux Sound Architecture Driver Version 1.0.25.

Kod: Zaznacz cały

uname -a
Linux piotr-Satellite-L500 3.5.0-28-generic #48~precise1-Ubuntu SMP Wed Apr 24 21:42:24 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Kod: Zaznacz cały

lspci -k
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
 Subsystem: Toshiba America Info Systems Device ff00
 Kernel driver in use: agpgart-intel
 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
 Subsystem: Toshiba America Info Systems Device ff00
 Kernel driver in use: i915
 Kernel modules: i915
 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
 Subsystem: Toshiba America Info Systems Device ff00
 Kernel driver in use: mei
 Kernel modules: mei
 00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
 Subsystem: Toshiba America Info Systems Device ff00
 Kernel driver in use: ehci_hcd
 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
 Subsystem: Toshiba America Info Systems Device ff00
 Kernel driver in use: snd_hda_intel
 Kernel modules: snd-hda-intel
 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
 Kernel driver in use: pcieport
 Kernel modules: shpchp
 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
 Kernel driver in use: pcieport
 Kernel modules: shpchp
 00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 05)
 Kernel driver in use: pcieport
 Kernel modules: shpchp
 00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 05)
 Kernel driver in use: pcieport
 Kernel modules: shpchp
 00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 05)
 Kernel driver in use: pcieport
 Kernel modules: shpchp
 00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05)
 Kernel driver in use: pcieport
 Kernel modules: shpchp
 00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
 Subsystem: Toshiba America Info Systems Device ff00
 Kernel driver in use: ehci_hcd
 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
 Subsystem: Toshiba America Info Systems Device ff00
 Kernel modules: lpc_ich
 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
 Subsystem: Toshiba America Info Systems Device ff00
 Kernel driver in use: ahci
 Kernel modules: ahci
 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
 Subsystem: Toshiba America Info Systems Device ff00
 Kernel modules: i2c-i801
 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
 Subsystem: Toshiba America Info Systems Device ff00
 Kernel driver in use: intel ips
 Kernel modules: intel_ips
 06:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)
 Subsystem: Realtek Semiconductor Co., Ltd. Device 8181
 Kernel driver in use: rtl8192se
 Kernel modules: rtl8192se
 0b:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
 Subsystem: Toshiba America Info Systems Device ff00
 Kernel driver in use: r8169
 Kernel modules: r8169
 ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
 Subsystem: Intel Corporation Device 8086
 ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
 Subsystem: Intel Corporation Device 8086
 ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
 Subsystem: Intel Corporation Device 8086
 ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
 Subsystem: Intel Corporation Device 8086
 ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
 Subsystem: Intel Corporation Device 8086
 ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
 Subsystem: Intel Corporation Device 8086 

Kod: Zaznacz cały

lspci -n
00:00.0 0600: 8086:0044 (rev 02)
 00:02.0 0300: 8086:0046 (rev 02)
 00:16.0 0780: 8086:3b64 (rev 06)
 00:1a.0 0c03: 8086:3b3c (rev 05)
 00:1b.0 0403: 8086:3b56 (rev 05)
 00:1c.0 0604: 8086:3b42 (rev 05)
 00:1c.1 0604: 8086:3b44 (rev 05)
 00:1c.2 0604: 8086:3b46 (rev 05)
 00:1c.3 0604: 8086:3b48 (rev 05)
 00:1c.4 0604: 8086:3b4a (rev 05)
 00:1c.5 0604: 8086:3b4c (rev 05)
 00:1d.0 0c03: 8086:3b34 (rev 05)
 00:1e.0 0604: 8086:2448 (rev a5)
 00:1f.0 0601: 8086:3b09 (rev 05)
 00:1f.2 0106: 8086:3b29 (rev 05)
 00:1f.3 0c05: 8086:3b30 (rev 05)
 00:1f.6 1180: 8086:3b32 (rev 05)
 06:00.0 0280: 10ec:8172 (rev 10)
 0b:00.0 0200: 10ec:8136 (rev 02)
 ff:00.0 0600: 8086:2c62 (rev 02)
 ff:00.1 0600: 8086:2d01 (rev 02)
 ff:02.0 0600: 8086:2d10 (rev 02)
 ff:02.1 0600: 8086:2d11 (rev 02)
 ff:02.2 0600: 8086:2d12 (rev 02)
 ff:02.3 0600: 8086:2d13 (rev 02)
Awatar użytkownika
Rafal_F
Moderator
Posty: 2350
Rejestracja: 29 sierpnia 2008, 16:45

Post autor: Rafal_F »

Sprawdź suwaki w:

Kod: Zaznacz cały

alsamixer
Awatar użytkownika
expertup
Posty: 17
Rejestracja: 24 marca 2013, 17:09

Post autor: expertup »

Odnośnie:

Kod: Zaznacz cały

alsamixer
to nie wiem jak to opisać, więc pokazałem na filmiku.
http://www.youtube.com/watch?v=Ie8dEUWP1cQ]
A w jakim sensie mam sprawdzić te suwaki?
Awatar użytkownika
Rafal_F
Moderator
Posty: 2350
Rejestracja: 29 sierpnia 2008, 16:45

Post autor: Rafal_F »

Pobaw się nimi, zobacz czy przy pomocy suwaków z alsamixer możesz zrobić to czego oczekujesz. Jak widzisz jest ich znacznie więcej niż w tym graficznym narzędziu.
Awatar użytkownika
expertup
Posty: 17
Rejestracja: 24 marca 2013, 17:09

Post autor: expertup »

Włączyłem odtwarzanie dźwięku ze Smartlink+ (BT) i próbowałem włączyć dźwięk w głośnikach. Ustawiłem już nawet wszystkie suwaki na maksimum i bez pozytywnego rezultatu. A na odwrót nie ma jak, bo nie widać suwaka od SmartLink+.
giaur
Member
Posty: 1915
Rejestracja: 25 maja 2007, 22:16

Post autor: giaur »

Poczytaj o urządzeniach łączonych w Pulse Audio. Tworzysz tzw "łączone urządzenie" czyli taką jakby wirtualną kartę dźwiękową, z której dźwięk może być wysłany równocześnie na 2 fizyczne karty (jedna może być bluetooth, nie powinno to mieć znaczenia). Dźwięk z programu wysyłasz na tą kartę wirtualną. W regulacji głośności masz oddzielną regulację głośności dla urządzenia łączonego, oraz dla każdej z fizycznych kart.
Dokładnie taki scenariusz jak u ciebie: http://blog.boobleccie.org/2012/05/simu ... vices.html

Bez PulseAudio, tylko używając Alsa nie wiem czy da się to zrobić, ale przy użyciu PulseAudio sprawa jest całkiem prosta. Możliwości jest nawet sporo więcej, możesz sobie np uruchomić 3 aplikacje, z jednej wysłać dźwięk na domyślną kartę, z drugiej na bluetooth a z trzeciej np na inny komputer lub na smartfon z Androidem (przez wifi).
Awatar użytkownika
expertup
Posty: 17
Rejestracja: 24 marca 2013, 17:09

Post autor: expertup »

Muszę popatrzeć co i jak. z tego co widzę, to możliwości PulseAudio są spore, bo sam używałem Equalizera właśnie PulseAudio.

Ale jak na razie to nie wiem co i jak i muszę poczytać co jak się robi.


Edycja:
Udało mi się w ustawieniach PulseAudio zrobić tak, aby był dźwięk w dwóch miejscach.

Teraz szukam, aby domyślnym menadżerem dźwięku było Pulse Audio, czyli jak wchodzę w ikonę głośnika na górze i potem wybieram 'Ustawienia Dźwięku...' to chcę żeby pokazywał mi się panel Pulse Audio a nie domyślny systemowy.
ODPOWIEDZ