You are not logged in.

#1 2003-11-19 04:32:48

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Sound setup for mobo chip CMI8738 and alsa

big_smile No sound, not muted, Kde Kmix blank.

Loaded stock kernel with CD ...have video in mplayer but no sound

    What module is used for subject chip? sad  :?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#2 2003-11-19 09:08:52

dauphin
Member
From: Scotland
Registered: 2003-07-09
Posts: 188

Re: Sound setup for mobo chip CMI8738 and alsa

Me again!  cmpci should be the module you need.

Offline

#3 2003-11-19 19:32:40

johnisevil
Member
From: Hamilton, ON Canada
Registered: 2003-08-07
Posts: 221
Website

Re: Sound setup for mobo chip CMI8738 and alsa

No sound, not muted, Kde Kmix blank.

Loaded stock kernel with CD ...have video in mplayer but no sound

What module is used for subject chip?

Using ALSA, I believe the module for that card is snd-cmipci.

Offline

#4 2003-11-20 03:21:24

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound setup for mobo chip CMI8738 and alsa

big_smile  smile Hello again Dauphin!

     I assumed the correct module was ..cmipci.. and it is listed as ...snd -cmipci.o, but i am not sure if it is o or zero(0).

    It seems I am going to have a time in ordering up things in arch due to many inconsistencies...
    I tried to follow the posts on the subject such as ....modprobe snd-cmipci.o---
but I received the instruction that i must use /etc/rc/modules.devfs.

    This file was empty in my system.
     Another post called for the following;  PKGBUILD file in /var/abs/kde/arts....
as follows: ./configure --prefix=/opt/kde --without-alsa...  I assume I was to find this in that address but it was empty.

    Then it called for:  change to --with-alsa... run makepkg... install with pacman.

     My system runs X and kde, mail, and mplayer video(no snd).  I am in need of mods to enable USB mouse.

     I guess I have a long way to go with arch! roll


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2003-11-20 09:01:31

Bobonov
Member
From: Roma - Italy
Registered: 2003-05-07
Posts: 295

Re: Sound setup for mobo chip CMI8738 and alsa

About asla driver kde etc. as always the best palce to gater information is the official site. This is alsa page for your card.
http://www.alsa-project.org/alsa-doc/do … ule=cmipci
Here you find also how to set OSS/free emulation. In this way you do not have to messing up in recompiling packages.

I have to say something about alsa and OSS. Yesterday in late night I started to setup asla driver, following all instruction for my card OSS support included. My card is working with alsa but OSS support does not start. It was late may be I have done something wrong.
If you manage to get it let me know.

I am in need of mods to enable USB mouse.

To enable usbmouse under X, just add these line to your /etc/X11/XF86Config

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

Off course remeber to use the new configured device.

Offline

#6 2003-11-20 09:25:00

dauphin
Member
From: Scotland
Registered: 2003-07-09
Posts: 188

Re: Sound setup for mobo chip CMI8738 and alsa

Hi, Lilsirecho!
Sorry, I haven't used alsa myself.  Is it mplayer that requires to use it?  I have the same mobo sound chip as you and the cmpci module worked fine for me.   
I had more luck with the insmod command rather than modprobe.  Just insmod cmpci or snd-cmpci (without the .o [letter o!]) to see if it loads and if it works insert it in the MODULES line of /etc/rc.conf
Alternatively, you could always compile your own kernel which incorporates everything you need.
Keep at it, you will get there!

Offline

#7 2003-11-20 19:58:04

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound setup for mobo chip CMI8738 and alsa

big_smile Gents;  Tried both the suggestions and results not what was expected.

     When finished adding ...snd-cmipci... to /etc/rc.conf  .... went to XF86Config and entered the USB mouse data into ...Core Pointer Section...
     Received error when entering X stating ...Identifier not valid keyword....

   Reviewed the whole section which revealed that optional devices could be added...deleted the USB mouse data from ...Core Pointer Section and...entered all data into the optional device subsection.
    Continue to receive error message in X...Identifier not valid keyword...line 264

    The word ...Identifier appears in multiple places including the data on the USB mouse.

     Is there a way to segway to line 264 or whatever from the command line?
    I do not have X or kde so can't check the audio. roll


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#8 2003-11-20 20:04:07

Freedomzen
Member
From: Rhode Island
Registered: 2003-11-18
Posts: 10

Re: Sound setup for mobo chip CMI8738 and alsa

seems to me you misspelled something or forgot a quotation " somewhere check the file and see if there are misspelt words or if there is a " missing big_smile

Offline

#9 2003-11-20 20:59:23

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound setup for mobo chip CMI8738 and alsa

big_smile Thanks for response... It seems your response has some missing data...
    Still would like to find line 264 someway..somehow
    As to the spelling... Identifier is correctly spelled but the error says it is not a valid "keyword"  As to what this means I have no clue.  Probable that something that should be there before that is missing but if it is missing I don't have a clue to what that is.
  sad  smile


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#10 2003-11-20 22:14:39

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound setup for mobo chip CMI8738 and alsa

big_smile  smile Hello again Dauphin...
     Your info refers to module for sound as ...cmpci

     I have searched .. /lib/modules/2.4.21/kernel/sound/pci... received a listing of.....snd-cmipci-o.....
    Am I to use cmipci ... or cmpci?
     I have lost x and Kde for some unknown reason...per haps a typo again!!!!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#11 2003-11-21 02:15:09

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound setup for mobo chip CMI8738 and alsa

big_smile Gents.,  still outa x and Kde despite many trials at satisfying XF86Config error messages.
      Entered all the data for the USB mouse in ... Core device section....

      Perhaps that is wrong?
     What is proper....keyword...... for this section? roll


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#12 2003-11-21 03:08:43

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Sound setup for mobo chip CMI8738 and alsa

Why not post your whole xf86config on here?  That way we can analyze it and tell you what's wrong with it.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#13 2003-11-21 03:19:14

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound setup for mobo chip CMI8738 and alsa

big_smile Please advise as to how I should post the file smile


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#14 2003-11-21 07:07:52

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound setup for mobo chip CMI8738 and alsa

big_smile  smile Gents....Have finally corrected the XFConfig file by realizing that the indication in the error message...Section is not a keyword....means that the corresponding ...EndSection... entry is missing!!!!!!  Dunno why the error is indicated thusly.  I also had to change the entries for the USB mouse provided in a prior post as shown.......
    Identifier     "Mouse1"   ....instead of  ... Identifier    "USB Mouse"....

   Upon restarting x and Kde I found that sound has been initiated also by following Dauphin's info
  I appreciate the support from you all and have a strong suspicion I will need even more help in the future.
    If you celebrate ....Happy Thanksgiving!!! smile  smile  big_smile


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#15 2003-11-21 14:49:04

Bobonov
Member
From: Roma - Italy
Registered: 2003-05-07
Posts: 295

Re: Sound setup for mobo chip CMI8738 and alsa

Off course remeber to use the new configured device

Sorry I wasn't very clear, by that I was meaning to use the new Identifier.

About the sound card and alsa.
DO NOT USE the example on the alsa website, for me it wasn't working.
By assuming that snd-interwave is the alsa module for your card (and it should be as far as I know), try the following in your /etc/modules.conf

above snd-interwave snd-pcm-oss
alias sound-slot-0 snd-interwave

Remeber each time you modify /etc/modules.conf you need to run depmod befor rebooting.
To try it at command line:

modprobe ssnd-interwave;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss

At thi point you shoul see the alsa device under
/dev/snd
and the oss emulation device under
/dev/sound

If sdn is empty this means that my suggestion is not working.
If only sound is empty is just the oss emulation not working

Offline

#16 2003-11-21 19:02:08

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound setup for mobo chip CMI8738 and alsa

big_smile  smile Hello Bobonov....I appreciate the info on the USB which helped me to get the mouse working...
     I looked into the card index for my kernel 2.4.21 and it lists the  cmipci  snd interface.   I assume that when a person refers to  "card" it also applies to motherboard included elements performing the same function.
     Your first post referred to the ...snd-cmipci...interface and a URL defining the entries needed to enable alsa with such an interface.

     I am confused with the latest post info concerning ....snd-interwave.....  This module is not referenced in my kernel 2.4.21.  Is it an item obtained from alsa?
    In addition, when I address modprobe, I am redirected to.../etc/rc.conf....

   My experience with arch to this point indicates I have to be accurate and complete or I will get errors that I cannot interpret nor eliminate because the real problem is not what the error message implies.
   I obtained one instance of sound after utilizing the posts previous to this after which the kde start-up sound appeared.  It has again disappeared.  I have ...arts windows..appearing all over the screen...kmix blank..no sound on anything again.
    I am missing something along the way even before trying to use ...alsa...
    Ah, the learning curve!!!!!

roll  roll  roll  roll  roll  roll  smile  big_smile


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#17 2003-11-21 22:20:45

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound setup for mobo chip CMI8738 and alsa

big_smile  smile The sound file in my system follows:file:/root/Desktop/Sound Fileroot@n6re snd]# ls -v |more
controlC0
controlC1
controlC2
controlC3
controlC4
controlC5
controlC6
controlC7
hwC0D0
midiC0D0
pcmC0D0c
pcmC0D0p
pcmC0D1p
pcmC0D2c
pcmC0D2p
timer
    What is this?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#18 2003-11-21 23:28:29

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound setup for mobo chip CMI8738 and alsa

big_smile  smile Kde Info Center reports that i do not have audio, synth, or midi enabled in Config.

   
Do not know which config that must contain this enabling!!


    The  "sound card" is correctly identified and alsa type 10 emulator and the alsa souns driver is present.
    Where do I enable the items in  "config" roll


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#19 2003-11-22 10:46:42

hApy
Member
From: Victoria, BC
Registered: 2003-04-13
Posts: 194
Website

Re: Sound setup for mobo chip CMI8738 and alsa

Here is what my modules.conf looks like it seems to have that sort of stuff in it. wink

# Sound (ALSA)
alias char-major-116 snd
alias snd-card-0 snd-cmipci
post-install snd-cmipci /usr/sbin/alsactl restore
pre-remove snd-cmipci /usr/sbin/alsactl store
alias sound-slot-0 snd-card-0
                                                                                
# Soundcard 1 (OSS Emulation)
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 sn-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
                                                                                
# Sound lookup entries for devfs support
alias /dev/dsp sound-service-0-3
alias /dev/sequencer sound-service-0-1
alias /dev/mixer sound-service-0-0

but it's essentially copied from their website so I don't know if it's perfect -- i haven't used midi or anything.

Hapy.

Offline

#20 2003-11-22 18:41:28

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound setup for mobo chip CMI8738 and alsa

big_smile Happy Thanksgiving hApy:

     Will give that data a try....


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#21 2003-11-22 19:06:22

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound setup for mobo chip CMI8738 and alsa

big_smile  smile Hello again Hapy:

     Have copied the data but not yet run it.

    I am posting to report an observation concerning the data
you posted.....

     # Soundcard 1 (OSS Emulatio)
Line 2 must read...
    alias  sound-service-0-1 snd-seq-oss

   Your entry is:

    alias  sound-service-0-1 sn-seq-oss

I'm off to see the wizard!!!!!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#22 2003-11-22 19:51:03

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound setup for mobo chip CMI8738 and alsa

big_smile  smile   Some progress Hapy:

    I now have Kde sound on start-up and a K-mixer display.

     Still no sound in mplayer, however.
   
    Also no CDplay or sound..error no mountcd...

    Pleased to get the Kmixer up!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#23 2003-11-22 22:07:35

hApy
Member
From: Victoria, BC
Registered: 2003-04-13
Posts: 194
Website

Re: Sound setup for mobo chip CMI8738 and alsa

alright.... well one issue is that if you are using KDE and aRTs, if you don't have mplayer compiled with arts support then arts will be stealing the soundcard and until it times out from non-use or you kill the artsd .... at least that is what I remember.. look under multimedia and there should be an aRTs-control type program -- shut down the arts server if you can from there. or "killall -9 artsd" should also work.

You might also want to recompile the kde-multimedia & arts packages with alsa support. and then recompile mplayer with aRTs support.

Although -- when I was using KDE I decided to forgo using arts at all because it adds latency and my movies were always playing slightly out of sync. so I would just use alsa straight up, which has the disadvantage of only allowing 1 program to use the soundcard at any one time whereas arts will mix the two. But if you don't have latency issues with videos then there's really no reason not to use arts.

Hapy.

Offline

#24 2003-11-22 22:21:14

hApy
Member
From: Victoria, BC
Registered: 2003-04-13
Posts: 194
Website

Re: Sound setup for mobo chip CMI8738 and alsa

on second thought usually if it can't allocate the soundcard then it sits there waiting and won't start playing the video... but regardless if you are going to use alsa then it's better to re-compile those packages so arts supports alsa, and so that mplayer supports arts & alsa.

Hapy.

Offline

#25 2003-11-22 23:04:43

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound setup for mobo chip CMI8738 and alsa

big_smile  smile   Thanks Hapy...Will pursue your suggestions which I am sure will solve the problem smile


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB