Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SiS7012 (SiS746) mit Alsa unter Kernel 2.4.x oder 2.6.x
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
antares2001
Guru
Guru


Joined: 02 Mar 2004
Posts: 339
Location: Germany

PostPosted: Thu Jul 15, 2004 3:24 pm    Post subject: SiS7012 (SiS746) mit Alsa unter Kernel 2.4.x oder 2.6.x Reply with quote

Hallo!

Habe mein Problem schon bei linux-community.de gepostet, konnte es dort aber nicht lösen.

Vielleich kann ja hier jemand helfen. Alle bisherigen Versuche sind auch unter http://www.linux-community.de/Neues/story?storyid=13890 nachzulesen.

Ich habe auf meinem Rechner gentoo installiert. Auf dem Board ist ein SiS-Chipsatz, und lspci liefert für die Sound-Karte:

Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)

und overall:

0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 746 Host (rev 02)
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge) (rev 25)
0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
0000:00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
0000:00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
0000:00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
0000:00:0b.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 31)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a4)

Das KDE-Kontrollzentrum zeigt den Chipsatz korrekt an: Silicon Integrated Systems [SiS] Sound Controller SiS7012. Beim Kernel 2.6.7 ist der richtige Treiber geladen: SiS 7012. Allerdings erhalte ich keinen Sound. Kann zwar die Regler hoch und runter verschieben, wird anscheinend auch erkannt (KMix sieht normal aus) -- aber ich hör nix. Das gleiche passiert auf 2.4.26 mit Alsa wenn ich Intel8x0 nehme.

Unter 2.4.26 bekomm ich Sound, allerdings ohne Alsa zu installieren. KMix zeigt CMedia im rechten unteren Eck wo die Karte angezeigt wird. Allerdings kann ignoriert er Lautstärkeeinstellungen. Kann mir jemand hiermit helfen? Auf einem anderen System mit VIA-Chipsatz lief das alles problemlos.


Ausgabe von aadebug:

bash-2.05b# ./aadebug
ALSA Audio Debug v0.0.8 - Thu Jul 15 10:25:32 CEST 2004
http://alsa.opensrc.org/?aadebug

Kernel ----------------------------------------------------
Linux gandalf 2.6.7-gentoo-r9 #1 Wed Jul 14 20:46:31 CEST 2004 i686 AMD Athlon(tm) XP 1800+ AuthenticAMD GNU/Linux

Loaded Modules --------------------------------------------
snd_intel8x0 36524 1
snd_ac97_codec 70532 1 snd_intel8x0
snd_mpu401_uart 8064 1 snd_intel8x0
snd_rawmidi 23716 1 snd_mpu401_uart
snd_seq_oss 36224 0
snd_seq_midi_event 7040 1 snd_seq_oss
snd_seq 53392 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 8200 3 snd_rawmidi,snd_seq_oss,snd_seq
snd_pcm_oss 53928 0
snd_pcm 89480 2 snd_intel8x0,snd_pcm_oss
snd_page_alloc 11016 2 snd_intel8x0,snd_pcm
snd_timer 24452 2 snd_seq,snd_pcm
snd_mixer_oss 19712 1 snd_pcm_oss
snd 52708 14 snd_intel8x0,snd_ac97_codec,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

Proc Config -----------------------------------------------
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_MPU401_UART=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_INTEL8X0=m

Modprobe Conf ---------------------------------------------
alias char-major-14-* soundcore
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
alias char-major-116-* snd
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
options snd device_mode=0666

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.5a.
Compiled on Jul 14 2004 for kernel 2.6.7-gentoo-r9.
0 [SI7012 ]: ICH - SiS SI7012
SiS SI7012 at 0xdc00, irq 18
1: : sequencer
0: [0- 0]: ctl
25: [0- 1]: digital audio capture
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
33: : timer
cat: /proc/asound/hwdep: No such file or directory
00-00: Intel ICH : SiS SI7012 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : SiS SI7012 - MIC ADC : capture 1

Dev Snd ---------------------------------------------------
controlC0 pcmC0D0c pcmC0D0p pcmC0D1c seq timer

CPU -------------------------------------------------------
model name : AMD Athlon(tm) XP 1800+
cpu MHz : 1533.658

RAM -------------------------------------------------------
MemTotal: 255268 kB
SwapTotal: 867468 kB

Hardware --------------------------------------------------
0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 746 Host (rev 02)
0000:00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)[/quote]
Back to top
View user's profile Send private message
zielscheibe
l33t
l33t


Joined: 02 Apr 2004
Posts: 804
Location: Aachen

PostPosted: Thu Jul 15, 2004 9:27 pm    Post subject: Reply with quote

Das Problem kenn ich. Leider kann man mit dem Treiber nicht das
PCM Lautstärkemodul variieren.
Folgende Lösungsansätze kann ich anbieten.

1. Nachdem du hoffentlich alsaconf ausgeführt hast und alsasound im bootrunlevel läuft, kannst du folgendes ausführen

Code:

zielscheibe etc #amixer set Master 100 unmute
zielscheibe etc #amixer set PCM 100 unmute



2. Da der Sound jetzt laufen sollte, wirst du sicher bemerkt haben, daß sich keine vernünftige Lautstärkeeinstellung vornehmen läßt. Da ich kein KDE (dort wäre "arts" das Pendant zu esound) verwende nutze ich den "esound" Sounddeamon welcher auch mehrere gleichzeitige Soundausgaben ermöglicht.
Also nach:

Code:


zielscheibe etc #emerge esound
zielscheibe etc #etc-update
zielscheibe etc #rc-update add esound default


sollte alles wie gewünscht funktionieren. :D

(Wenn du nur den xmms betreiben möchtest reicht auch das alsa-xmms Modul auf "Softwaremixing" einzustellen damit kommst du ohne Sounddeamon aus)
Back to top
View user's profile Send private message
antares2001
Guru
Guru


Joined: 02 Mar 2004
Posts: 339
Location: Germany

PostPosted: Fri Jul 16, 2004 6:00 am    Post subject: Re: Reply with quote

Hallo!

Aha... kann sein dass wir dem Problem näher kommen... trotz amixer bleibt PCM stur auf 0 :-((

Kann man ihn noch irgendwie dazu zwingen auf 100 zu gehen? Hier die Ausgabe:

bash-2.05b# amixer set PCM 100 unmute
Simple mixer control 'PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]

Leider bleibt alles immernoch stumm. Die Programme verhalten sich als wäre alles Korrekt :-(
Back to top
View user's profile Send private message
antares2001
Guru
Guru


Joined: 02 Mar 2004
Posts: 339
Location: Germany

PostPosted: Fri Jul 16, 2004 6:13 am    Post subject: Reply with quote

In alsamixer steht übrigens:

Card: SiS SI7012 │
│ Chip: C-Media Electronics CMI9739

Braucht man für dieses C-Media noch was ausser intel8x0?? Dieses CMedia zeigte mir auch OSS an als ich was hörte.
Back to top
View user's profile Send private message
zielscheibe
l33t
l33t


Joined: 02 Apr 2004
Posts: 804
Location: Aachen

PostPosted: Fri Jul 16, 2004 9:45 am    Post subject: Reply with quote

Wie gesagt, die PCM Lautstärke kannst du nicht variieren die Ausgabe ist "normal".
Hier meine amixer Einstellung:
Code:

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


Ja der C-Media ist eigentliche AC97 Codec Chip, diesen habe ich zusätzlich im Kernel aktiviert.
Code:

CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m

#
# PCI devices
#
CONFIG_SND_AC97_CODEC=m
# CONFIG_SND_ALI5451 is not set
....
# CONFIG_SND_ALS4000 is not set
CONFIG_SND_CMIPCI=m
# CONFIG_SND_ENS1370 is not set
.....
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=m
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VX222 is not set


Der Sound funktionierte allerdings bei mir auch mit dem Intel Module allein, da der SIS 7012 das AC97 Frontend für die Ausgabe darstellt.

Hast du schon Esound installiert?
Im Xmms das Alsa-Plugin auf Softwaremixing?

Wenn es immer noch nicht funktionieren sollte, melde dich nochmal. Wenn der Sound läuft, ist einer der besten On-Board Lösungen und nicht schlechter als eine der beliebten Soundblasterkarten. :)

Gruß
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Fri Jul 16, 2004 1:20 pm    Post subject: Reply with quote

antares2001: Als ich versehentlich mal "Vollduplex" im Kontrollzentrum unter Sound/Hardware angeklickt habe (allerdings ARTS), ging nix mehr.

zielscheibe wrote:

Wenn der Sound läuft, ist einer der besten On-Board Lösungen und nicht schlechter als eine der beliebten Soundblasterkarten. :)

Vermatschter Sound, weil alles auf 48KHz umgerechnet wird...
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
Sas
Veteran
Veteran


Joined: 05 Jul 2003
Posts: 1229
Location: Germany

PostPosted: Fri Jul 16, 2004 2:17 pm    Post subject: Reply with quote

Ich hab auch ne SiS 7012 im Laptop und nur Gekratze in den Boxen, wenn ich ALSA > 0.91 und Arts nutze (wohlgemerkt nur in dieser Konstellation). Deshalb läuft bei mir schon seit fast nem Jahr wieder OSS :/
_________________
42
Back to top
View user's profile Send private message
Linuxpeter
Guru
Guru


Joined: 28 May 2004
Posts: 403
Location: Dresden, Germany

PostPosted: Fri Jul 16, 2004 2:21 pm    Post subject: Reply with quote

@Carlo:
Im Kontrollzentrum kannst du doch die KHz manuell setzen?
(Hab kein KDE mehr drauf, kann deshalb nicht nachschauen :wink: )
_________________
Regards, Linuxpeter
Wenn "Windows" die Antwort ist, war es eine dumme Frage. ;-)
Is "Windows" the answer, then it was a stupid question. ;-)
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Fri Jul 16, 2004 2:37 pm    Post subject: Reply with quote

Linuxpeter wrote:
@Carlo:
Im Kontrollzentrum kannst du doch die KHz manuell setzen?

Der Chip kann nix anderes - da kannst softwareseitig einstellen, was Du willst.
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
Linuxpeter
Guru
Guru


Joined: 28 May 2004
Posts: 403
Location: Dresden, Germany

PostPosted: Fri Jul 16, 2004 3:34 pm    Post subject: Reply with quote

Ich hab auch diesen OnBoard-Chipsatz - und habe mit meiner Soundausgabe keine Probleme - bis auf das mit PCM, aber ich regel eben überall Master, so stört es nicht.
_________________
Regards, Linuxpeter
Wenn "Windows" die Antwort ist, war es eine dumme Frage. ;-)
Is "Windows" the answer, then it was a stupid question. ;-)
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