[ΛΥΘΗΚΕ] Ο ήχος δεν παίζει με Karmic Koala και κάρτα ήχου M-Audio Audiophille 24/96

blackcoatman | Δευ, 11/09/2009 - 10:22 | 6' | 3

Για κάποιο λόγο, με το Karmic Koala ο ήχος μου πέρασε στις θρυλικές εποχές του Dapper Drake που τα προβλήματα ερχόντουσαν απανωτά και έτρωγα πολύ χρόνο για να βγάλω άκρη και να ακούσω όπως άρμοζε... Αφού όλα κάποια στιγμή φτιάξανε, ήρθε το pulseaudio και τα ξαναέκανε ρημαδιό :P Αφού πάλι κι αυτό "έστρωσε" στην πορεία, νά και οι καινούριες.. τζιριτζάντζουλες!

Ευτυχώς αυτή τη φορά δεν χρειάστηκε να παιδευτώ πολύ γιατί η (προσωρινή ελπίζω!) λύση βρέθηκε κάπου στα forums του ubuntu... Και την παραθέτω επίσης εδώ στα ελληνικά.

Λοιπόν, στο Ubuntu 9.10 Karmic Koala, είχα ένα πρόβλημα με την κάρτα ήχου μου M-audio Audiophille 24/96, το Karmic έβλεπε μόνο την digital έξοδο/είσοδο και δεν είχα ήχο. Τι πρέπει να κάνεις σε αυτή την περίπτωση; Αρχικά...

...προσθέτεις στο αρχείο /lib/udev/rules.d/90-pulseaudio.rules τα εξής: 

SUBSYSTEMS=="pci", ATTRS{vendor}=="0x1412", ATTRS{device}=="0x1712", ATTRS{subsystem_vendor}=="0x1412", ATTRS{subsystem_device}=="0xd634", ENV{PULSE_PROFILE_SET}="m_audio-audiophile-2496.conf"

 

... και μετά δημιουργείς ένα νέο αρχειο: /usr/share/pulseaudio/alsa-mixer/profile-sets/m_audio-audiophile-2496.conf με τα εξής περιεχόμενα:

# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of the
# License, or (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

; M-Audio Delta Audiophile 2496
;
; This card, based on the Via ICE1712 chipset, has two stereo audio channels
; (1 in and 1 out) and a separate S/PDIF digital stereo channel. Like with
; all ICE1712-based cards, this is exposed by ALSA as a single 10-channel
; device with some of the channels not connected.
;
; See default.conf for an explanation on the directives used here.

[General]
auto-profiles = no

[Mapping analog-stereo-in]
description = Analog Stereo Input
device-strings = hw:%f,0
channel-map = front-left,front-right,aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7,aux8,aux9
direction = input

[Mapping analog-stereo-out]
description = Analog Stereo Output
device-strings = hw:%f,0
channel-map = front-left,front-right,aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7
direction = output

[Mapping analog-digital-stereo-out]
description = Analog/Digital Stereo Output
device-strings = hw:%f,0
channel-map = front-left,front-right,aux0,aux1,aux2,aux3,aux4,aux5,front-left,front-right
direction = output

[Mapping digital-stereo-out]
description = Digital Stereo Output
device-strings = hw:%f,0
channel-map = aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7,front-left,front-right
direction = output

[Mapping digital-stereo-in]
description = Digital Stereo Input
device-strings = hw:%f,0
channel-map = front-left,front-right,front-left,front-right,front-left,front-right,front-left,front-right,front-left,front-right,front-left,front-right
direction = input

[Mapping digital-stereo]
description = Digital Stereo Input/Output
#device-strings = hw:%f,1
device-strings = iec958:%f
channel-map = left,right
direction = any

[Profile output:stereo]
description = Analog Stereo Output
output-mappings = analog-stereo-out
input-mappings =
priority = 80
skip-probe = yes

[Profile output:stereo-da+input:stereo-analog]
description = Analog Stereo Input/Output
output-mappings = analog-stereo-out
input-mappings = analog-stereo-in
priority = 100
skip-probe = yes

[Profile output:stereo-da+input:stereo-analog]
description = Analog Stereo Input/Output, Digital Stereo Output
output-mappings = analog-digital-stereo-out
input-mappings = analog-stereo-in
priority = 90
skip-probe = yes

[Profile output:spdif]
description = Digital Stereo Output (Analog Disabled)
output-mappings = digital-stereo-out
input-mappings = 
priority = 60
skip-probe = yes

[Profile output:spdif+input:spdif]
description = Digital Stereo Input/Output (Analog Disabled)
output-mappings = digital-stereo-out
input-mappings = digital-stereo-in
priority = 70
skip-probe = yes

 

 

... και μετά από ένα restart είσαι κομπλέ! Δυστυχώς σε κάθε update του pulseaudio θα πρέπει να ξαναπροσθέτεις την μία αυτή γραμμή στο 90-pulseaudio.rules

Δώσε αστέρια!

MO: (ψήφοι: 0)

Σχόλια

 Ασχετο, αλλά πως γινεται να φτιάξει κανείς τα πλαίσια που έχεις φτιάξει εσύ, και πάει το κείμενο πάνω-κάτω, δεξιά αριστερά??

Χαχα, έγινε paste από μόνο του όταν το πήρα από το forum... Αλλά απ, ότι είδα, μπρείς να κάνεις το εξής - πατάς "Source" εδώ πάνω αριστερά στο πλαίσιο που γράφεις, και στο σημείο που θες βάζεις κάτι τέτοιο:

     <pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 498px; text-align: left;">

     ***μπλα μπλα μπλα κείμενο που θα μπει στο πλαίσιο***

     </pre>

Τις παραμέτρους στο pre μέσα τις αλλάζεις όπως θες.

Για να κάνω ένα τεστ...

*
**
***
****
*****
*