Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Eine C-Media CMI8738-MC6 mit 5.1 Surround Sound betreiben
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
ByteBreaker
n00b
n00b


Joined: 06 Oct 2004
Posts: 7

PostPosted: Wed Oct 06, 2004 8:36 pm    Post subject: Eine C-Media CMI8738-MC6 mit 5.1 Surround Sound betreiben Reply with quote

Hallo,

ich hab ein Problem, und zwar besitzte ich, wie der Titel schon sagt, eine C-Media CMI8738-MC6 PCI Sound-Karte, welches die möglichkeit bietet ein 5.1 Surround Sound System anzuschließen. Dieses habe ich auch, nur leider kriege ich nicht alle Boxen zum laufen. Zur Zeit schweigen Center und Bass.

Ich weiß, dass es die Möglichkeit gibt, diese Sachen über den Line-In, bzw. dem Mic auszugeben, allerdings [abgesehen davon, dass ich lieber den Sub-Anschluss dafür verwenden möchte] gibt es da ein paar kleine Probleme:

1. Über den Line-In Eingang [als Bass] habe ich es schon Probiert - ich hab allerdings ein Boxensystem, dass pro 2 Boxen einen Anschluss verwendet [und für Bass und Center einen benutzt] - wenn ich den Line-In als Bass Konfiguriere, hör ich aus dem Subwoofer so gut wie keinen Ton [nur leichte Andeutungen], dafür krächst dann die Centerbox, die das ganze nicht mitmacht.

2. Über den Line-In [als Rear] geht dann zwar die Centerbox, allerdings bekomme ich garkien Bass mehr.

3. Da meine TV-Karte keinen eigenen Soundchip hat, muss ich den Sound mittels Kabel an den Line-In der Soundkarte stöpseln - daher brauch ich das Line-In eigentlich sowieso.

4. Bei meinem Boxensystem sind die drei Anschlüsse als ein Kabelstrang zusammengefasst - mein Mic-Eingang befindet sich aber an der PC-Front [Komplettsystem mit On-Board Soundkarte :/ ] - ich würde das Kabel ungern auseinandernehmen - ausserdem befürchte ich, dass da das gleiche wie beim Line-In Eingang passieren wird [Mic kann man nur als Center definieren].


Ich hab mich daher mal im Internet Umgeschaut und einige Links gefunden, allerdings hilft mir nichts davon wirklich weiter. Die meisten Tipps beziehen sich auf amixer Einstellungen, die es bei mir garnicht gibt :/ - allerdings bin ich unter anderem auch auf etwas interessantes gestoßen:

Hier unter dem Punkt "4/6 Multi-Channel Playback" finden sich 4 Konfigurations/Codezeilen, mit denen es wohl möglich sein soll, meine 6 Boxen zum laufen zu kriegen. Allerdings habe ich von ALSA nicht wirklich ahnung, und weiß nicht, wo diese Zeilen wie eingebaut werden müssen. Ich hab sie so wie sie sind mal in meine modules.conf aufgenommen, aber danach hat er ganz gestreikt, was Ton angeht. Was ich mir noch denken könnte, wo es reinkommen könnte, wäre die Datei .asoundrc - allerdings wüsste ich hier [auch nach lektüre der Beschreibung von der ALSA-Homepage nicht, wie ich diese Zeilen denn dann dort einbauen sollte. Eine andere Idee, wo des hinkönnte habe ihc nicht.

Daher hier meine Frage an euch? Kann jemand damit etwas anfangen? Oder weiß jemand eine andere möglichkeit wie ich meinen Center/Sub Ausgang richtig zum laufen bekomme? Für eure hilfe wär ich euch sehr dankbar.

Hier noch einige Daten:

Betriebssystem ist Gentoo
Kernel Version 2.6.8
In den Kernel einkompiliert sind:
Device Drivers -> Sound ->
<M> Sound card support
ALSA ->
Alle Alsa Sachen
PCI device ->
<M> Bt87x Audio Capture [den brauch ich eigentlich garnich %-) ]
<M> C-Media 8738, 8338 [das Modul cmipci]

Die weitere Alsa Installation habe ich nach dieser Anleitung durchgeführt [ich habe fürs erste keine Midi, Gameport, o.Ä. Installiert, sondern nur das Grundsystem]. Zuerst ohne alsa-tools und alsa-firmware, dann hab ich diese dazugenommen.


Die einzelnen Konfigurationsdatein sehen bei mir wie folgt aus:

Quote:
/home/kannan/.asoundrc

pcm.cmipci {
type hw
card 0
device 0
}

ctl.cmipci {
type hw
card 0
}



Quote:
/etc/modules.d/alsa

alias char-major-116 snd
alias char-major-14 soundcore

alias snd-card-0 snd-cmipci
alias sound-slot-0 snd-card-0

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

options snd cards_limit=1


und dann noch die make.conf:

Quote:
/etc/make.conf

USE="alsa oss"
ALSA_TOOLS="ac3dec"



Die Ausgabe [und damit meine Möglichkeiten] von amixer:

Quote:
amixer

bash-2.05b# amixer
Simple mixer control 'Master',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 31 [100%]
Front Right: Playback 31 [100%]

Simple mixer control '3D Control - Switch',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]

Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 31 [100%] [on] Capture [off]
Front Right: Playback 31 [100%] [on] Capture [off]

Simple mixer control 'Synth',0
Capabilities: pvolume pswitch pswitch-joined cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 31 [100%] [on] Capture [off]
Front Right: Playback 31 [100%] [on] Capture [off]

Simple mixer control 'Line',0
Capabilities: pvolume pswitch cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 31 [100%] [off] Capture [off]
Front Right: Playback 31 [100%] [off] Capture [off]

Simple mixer control 'Line-In As Bass',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]

Simple mixer control 'Line-In As Rear',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]

Simple mixer control 'CD',0
Capabilities: pvolume pswitch cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 31 [100%] [off] Capture [off]
Front Right: Playback 31 [100%] [off] Capture [off]

Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined cvolume pswitch pswitch-joined cswitch cswitch-joined
Playback channels: Mono
Capture channels: Mono
Limits: Playback 0 - 31 Capture 0 - 7
Mono: Playback 31 [100%] [off] Capture 7 [100%] [off]

Simple mixer control 'Mic As Center/LFE',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]

Simple mixer control 'Mic Boost',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]

Simple mixer control 'IEC958 5V',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]

Simple mixer control 'IEC958 Copyright',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]

Simple mixer control 'IEC958 In Monitor',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]

Simple mixer control 'IEC958 In Phase Inverse',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]

Simple mixer control 'IEC958 In Select',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]

Simple mixer control 'IEC958 In Valid',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]

Simple mixer control 'IEC958 Loop',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]

Simple mixer control 'IEC958 Output',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]

Simple mixer control 'PC Speaker',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 3
Mono: Playback 3 [100%]

Simple mixer control 'Aux',0
Capabilities: pvolume pswitch cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 15
Front Left: Playback 15 [100%] [off] Capture [off]
Front Right: Playback 15 [100%] [off] Capture [off]

Simple mixer control 'Four Channel Mode',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
bash-2.05b#



Und dann hier nochmals die geladenen Module:

Quote:
lsmod

snd_cmipci 31876 0
snd_opl3_lib 10112 1 snd_cmipci
snd_hwdep 8196 1 snd_opl3_lib
snd_mpu401_uart 7040 1 snd_cmipci
snd_rawmidi 22052 1 snd_mpu401_uart
snd_seq_oss 32768 0
snd_seq_midi_event 6272 1 snd_seq_oss
snd_seq 53648 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 7176 4 snd_opl3_lib,snd_rawmidi,snd_seq_oss,snd_seq
snd_pcm_oss 56872 0
snd_pcm 95240 2 snd_cmipci,snd_pcm_oss
snd_page_alloc 9608 1 snd_pcm
snd_timer 23684 3 snd_opl3_lib,snd_seq,snd_pcm
snd_mixer_oss 19200 1 snd_pcm_oss
snd 57476 13 snd_cmipci,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_oss,snd_seq_midi_event,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss





Vielen dank im Voraus für eure Hilfe!
Back to top
View user's profile Send private message
bx
Tux's lil' helper
Tux's lil' helper


Joined: 10 May 2003
Posts: 136
Location: Germany

PostPosted: Wed Oct 06, 2004 9:04 pm    Post subject: Reply with quote

hast nur den chip davon oder direkt die karte von cmedia? denn das teil kommt mir bekannt vor und bei mir hab ich garnicht groß rumprobiert. alle 5.1 boxen gehen mit eSound als dsp. Zum Sound einstellen nehme ich derzeit vor allem Gamix.
Back to top
View user's profile Send private message
ByteBreaker
n00b
n00b


Joined: 06 Oct 2004
Posts: 7

PostPosted: Wed Oct 06, 2004 9:24 pm    Post subject: Reply with quote

Ich habe nur den Chip davon - als On-Board Chip.

Als mixer hab ich bis jetzt nur den a- bzw. alsamixer benutzt. Ermöglicht Gamix denn optionen die der alsamixer nicht ermöglicht? [geht das überhaupt?] - Ich kenn mich mit Sound leider viel zu wenig aus [mit sound im generellen - aber auch gerade mit Alsa, ist mein erster Alsa Kernel].

Ich werds mir mal emergen und anschauen. Danke, für deinen Antowort!
Back to top
View user's profile Send private message
ByteBreaker
n00b
n00b


Joined: 06 Oct 2004
Posts: 7

PostPosted: Wed Oct 06, 2004 10:08 pm    Post subject: Reply with quote

Ich hab jetzt mal gamix emerged, und wie ichs erwartet hab, hab ihc auch hier nur die Regler zur Verfügung, die ich auch unter alsamixer zur Verfügung hab [1. Master, 2. 3D Control, 3. PCM, 4. Synth, 5. CD, 6. Line, 7. Mic, 8. PC Speaker, 9. Aux, 10. Four Channel Mode, 11. Line-In As, 12 IEC958, 13 Modem].

Hab nochmals alle möglichen Konfigurationsmöglichkeiten durchgespielt, die mir sinnig vorkamen - ohne besserun.

Vielleicht kannst du mir nochmal ganz genau sagen, welche Schritte du alle bei der Alsa Installation gemacht hast? [Angefangen bei den Kerneloptionen diesbezüglich]. Ich hab die Alsa Utils schon mal neu emerged - das hat auch keine Besserung gebracht... zur Zeit bin ich nur noch ratlos... :/
Back to top
View user's profile Send private message
bx
Tux's lil' helper
Tux's lil' helper


Joined: 10 May 2003
Posts: 136
Location: Germany

PostPosted: Wed Oct 06, 2004 10:33 pm    Post subject: Reply with quote

<*> Advanced Linux Sound Architecture │ │
│ │ <*> Sequencer support │ │
│ │ < > Sequencer dummy client │ │
│ │ <*> OSS Mixer API │ │
│ │ <*> OSS PCM (digital audio) API │ │
│ │ [*] OSS Sequencer API

und folgendes:

<*> C-Media 8738, 8338

habe übrigens eine terratec aureon 5.1 fun als pci karte, ansonsten bin ich nur dem gentoo sound leitfaden gefolgt, solltest dir die doku mal ansehen. programme starte ich mit bzw. über eSound dsp
Back to top
View user's profile Send private message
ByteBreaker
n00b
n00b


Joined: 06 Oct 2004
Posts: 7

PostPosted: Wed Oct 06, 2004 10:57 pm    Post subject: Reply with quote

Ja, hab ich ja auch. [Ausser die zusatzsachen, wie MIDI und so - da hätt ich dann weiter gemacht, wenn mein 5.1 Sound gehen würde]. Das eizige was ich dann anders hab, ist dieser Sequencer Dummy Client - den hab ich drin, als Modul... aber daran sollte es doch nicht liegen, oder?

Welchen Gentoo Kernel hast du denn gewählt?
Back to top
View user's profile Send private message
equinox0r
l33t
l33t


Joined: 18 Feb 2004
Posts: 614

PostPosted: Thu Oct 07, 2004 4:44 am    Post subject: Reply with quote

Ich wollte eigentlich nur 2 Sachen loswerden:

1. Ich versuch das bei mir auch zum Laufen zu kriegen, schaffs jedoch nicht ganz, ich werde das hier mal weiterverfolgen ;)

2. Grosses und dickes Lob an den Threadstarter. Eine vorbildliche Leistung was Du da an Vorarbeit reingesteckt hast: sehr ausführlich, Hintergrundinfos, Rumprobiereirei, Rechtschreibung ist in Ordnung.. Was will man mehr?
Bei so ner Fehlerbeschreibung hilft man doch gerne (wenn man es kann...) :)

Das wollte ich nur mal loswerden ;)
_________________
AMD 2400+ XP | 1024 MB RAM | ATI Radeon 9600Pro
Gentoo Base System version 1.4.16 | Portage 2.0.51.19 | 2.6.11-gentoo-r9 Kernel
Back to top
View user's profile Send private message
bx
Tux's lil' helper
Tux's lil' helper


Joined: 10 May 2003
Posts: 136
Location: Germany

PostPosted: Thu Oct 07, 2004 7:13 am    Post subject: Reply with quote

2.6.8-r7 gentoo-dev-sources, läuft aber seit etwa 2.6.3 einwandfrei
Back to top
View user's profile Send private message
ByteBreaker
n00b
n00b


Joined: 06 Oct 2004
Posts: 7

PostPosted: Fri Oct 08, 2004 1:39 pm    Post subject: Reply with quote

ich hab jetzt auch den gentoo kernel benutzt... ihn neu kompiliert... aber das bringts auch nicht... hab auch ein wenig mit den modulen zu alsa gespielt... ohne erfolg.... :(
Back to top
View user's profile Send private message
bx
Tux's lil' helper
Tux's lil' helper


Joined: 10 May 2003
Posts: 136
Location: Germany

PostPosted: Fri Oct 08, 2004 5:45 pm    Post subject: Reply with quote

bei mir hängt ein logitech z 640 dran mit reingedrücktem matrix (sonst geht der middle speaker nicht). hast denn getestet ob aus jedem ausgang auch was rauskommt? spdif benutze ich nicht.
Back to top
View user's profile Send private message
ByteBreaker
n00b
n00b


Joined: 06 Oct 2004
Posts: 7

PostPosted: Fri Oct 08, 2004 11:31 pm    Post subject: Reply with quote

Ich hab die Creative Inspire 5.1 5300 - ne Matrix kann man da nicht reindrücken [jedenfalls nicht, dass ich wüste - kann mit dem was du da sagst nichts anfangen *Gg* ]. spdif benutz ich auch nicht. Und aus dem Center und dem Bass kommt eben nichts - sonst hätt ich ja kein Problem - unter Windows laufen die Boxen wie gesagt problemlos, da hab ich keine Probleme. Also die Boxen sind alle in Ordnung. Es ist schon ein Linuxproblem - wie man sieht, fehlen bei mir in den Mixerkonfigurationen auch etliche Regler, die andere Menschen zu haben scheinen [sowas wie Surround Sound, etc.]
Back to top
View user's profile Send private message
bx
Tux's lil' helper
Tux's lil' helper


Joined: 10 May 2003
Posts: 136
Location: Germany

PostPosted: Sat Oct 09, 2004 6:17 am    Post subject: Reply with quote

mh bei mir steht nur was von 3d sound und 4 speaker modus, hab da auch nix mit 5.1 stehen.
Back to top
View user's profile Send private message
ByteBreaker
n00b
n00b


Joined: 06 Oct 2004
Posts: 7

PostPosted: Sun Oct 10, 2004 1:26 pm    Post subject: Reply with quote

Könntest du mir dann mal deine gesammten Mixereinstellungen durchgeben?
Und mal bei dir gucken, ob du die datei ~/.asoundrc hast, und wenn ja, was da drin steht?
Und was in deiner /etc/modules.d/alsa steht?


Ich hab jetzt auch eine Antwort auf einem Anderem Board bekommen. Dort wurde mir geraten, dass ich folgendes in die ~/.asoundrc schreiben soll:

Quote:
#in pcm.cmipci
pcm "hw:0,0"
channels 6
rate 44100
buffer_size 4096
period_size 512
periods 0
period_time 0


Quote:
pcm.ch56 {
type dmix
ipc_key 47110815
slave sis
bindings.0 4
bindings.1 5
}
pcm.c {
type plug
slave.pcm ch56
}

pcm.dmixerALL {
type dmix
ipc_key 47110815
slave sis
bindings.0 0
bindings.1 1
bindings.2 2
bindings.3 3
bindings.4 4
bindings.5 5
}

pcm.channelALL {
type plug
slave.pcm "dmixerALL"
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 1
ttable.1.5 1
}



Mir wurde weiterhin gesagt, dass ich die Programme dann mit dem device ch56 starten muss, d.H. den mplayer z.B. über mplayer dvd:// -ao alsa1x:ch56

Dabei bekomme ich dann allerdings folgende Fehlermeldung:

Quote:

Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: soundcard set to ch56
ALSA lib pcm.c:6204:(snd_pcm_slave_conf) Invalid slave definition
alsa-init: playback open error: Das Argument ist ungültig
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...



Also die Lösung ist es immer noch nicht...
Back to top
View user's profile Send private message
bx
Tux's lil' helper
Tux's lil' helper


Joined: 10 May 2003
Posts: 136
Location: Germany

PostPosted: Sun Oct 10, 2004 7:15 pm    Post subject: Reply with quote

.asoundrc:

Code:

pcm.dmixer {
    type dmix
    ipc_key 1024
    slave {
        pcm "hw:0,0"
        period_time 0
        period_size 1024
        buffer_size 8192
   rate 44100
    }

    bindings {
        0 0
        1 1
    }
}

pcm.dsp0 {
    type plug
    slave.pcm "dmixer"
}

pcm.!default {
        type plug
        slave.pcm "dmixer"
}

pcm.default {
   type plug
   slave.pcm "dmixer"
}

ctl.mixer0 {
    type hw
    card 0
}



/etc/modules.d/alsa

Code:

# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.co$
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1


programme starte ich mit essdsp vorm programm-namen, bei einigen wie z.B. xmms brauche ich das nicht weil die automatisch eSound unterstützen.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum