LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-10-2003, 11:56 AM   #31
BlckJck
Member
 
Registered: Jun 2003
Location: Midwest USA
Distribution: Debian (www.knoppix.net)
Posts: 43

Rep: Reputation: 15

This topic wandered abit... lol...

As adz and I have been trying to find out, are the modules for you sound being loaded. Can you post the following command and result:

lsmod

It will list the loaded modules...
 
Old 09-10-2003, 04:21 PM   #32
r3l4x
LQ Newbie
 
Registered: Aug 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Module Size Used by Not tainted
soundcore 3844 0 (autoclean)
input 3392 0
 
Old 09-10-2003, 09:52 PM   #33
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
You should have a module called cmi8738 or something like that. Have a look through the directory /lib/modules/`uname -r`/kernel/sound/ (and any subdirectories) for files with the ".o" extension. There should be one corresponding to your sound card (I remember from your kernel config you compiled it so it should be there) and will be called something like your sound card's chipset (eg "cmi8738.o"). If you find something like that then type "modprobe cmi8738" (notice the ".o" extension is not used with this function) from any directory. Once you have done that, make sure all your playback volume levels are set high and try to play a piece of music. If that works add the line "cmi8738" to your /etc/modules file and it will be loaded automatically on start up.

PS: the soundcore module is required aswell but you need a card-specific one also to get sound working fully.

If you find the sound a little poor quality, you can also download and install the alsa drivers from www.alsa-project.org.

Last edited by adz; 09-10-2003 at 10:01 PM.
 
Old 09-11-2003, 07:42 AM   #34
r3l4x
LQ Newbie
 
Registered: Aug 2003
Posts: 21

Original Poster
Rep: Reputation: 15
I loaded cmpci.o and ac97_codec.o.
I run sndconfig, it found the audio chip but it tells me "An error occured while writing the config file".
and, another question: when I launch xmms it needs a plugin to use audio. Which plugin I need to select?
 
Old 09-11-2003, 07:59 AM   #35
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
I've never used sndconfig. Once you load those modules you should be OK and not need to do any more config apart from volume levels and the like. However, if you know the location of where it's trying to save the config file to you may be able to change the permissions or run the program as root.

As for xmms, it shouldn't need a plugin for audio. It's an audio program. I've heard some distros make it so that by default xmms can't play back mp3's but you're using debian and I've never seen anything like that under debian. Maybe unstable is different (I run testing). All I can suggest is have alook through the packages that start with "xmms" and see if there's an mp3 plugin (I assume you're playing mp3's?). To do this type: dpkg -l xmms* and see what comes up.
 
Old 09-11-2003, 08:09 AM   #36
r3l4x
LQ Newbie
 
Registered: Aug 2003
Posts: 21

Original Poster
Rep: Reputation: 15
incredible!!!! now everything works!!!

I restarted my linux box and the audio didn't work yet. Then I did chmod 666 /dev/dsp, I reloaded cmpci and ac97_codec modules and everything now work!! I saw that soundcore module now use cmpci

cmpci 25904 1
ac97_codec 13428 0 (unused)
soundcore 3844 2 (autoclean) [cmpci]
input 3392 0

Now I inserted ac97_codec and cmpci modules in /etc/modules


Many tnx to all

Now I know that when I'll have some problems, here there are a lot of debian's genius

Bye
 
Old 09-11-2003, 03:47 PM   #37
r3l4x
LQ Newbie
 
Registered: Aug 2003
Posts: 21

Original Poster
Rep: Reputation: 15
yuuuhuuuu

another problem

I would see cpu temperature so I've aptgetted lm_sensors

But when I launch "sensors-detect" (as root, of course) this is the message:

Quote:
This program will help you to determine which I2C/SMBus modules you need to
load to use lm_sensors most effectively.
You need to have installed lm-sensors modules before you can use
some functions of this utility.
Also, you need to be `root', or at least have access to
the /dev/i2c[-/]* files for some things.
If you have patched your kernel and have some drivers built-in you can
safely answer NO if asked to load some modules. In this case, things may
seem a bit confusing, but they will still work.

BIOS vendor (ACPI): ASUS
System vendor (DMI): System Manufacturer
BIOS version (DMI): ASUS A7S333 ACPI BIOS Revision 1005
We can start with probing for (PCI) I2C or SMBus adapters.
You do not need any special privileges for this.
Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-sis645' for device 00:00.0: Silicon Integrated Systems SIS745
Use driver `i2c-sis645' for device 00:02.0: Silicon Integrated Systems 85C503/5513 (LPC Bridge)
Probe succesfully concluded.

We will now try to load each adapter module in turn.
Load `i2c-sis645' (say NO if built into your kernel)? (YES/no):
modprobe: Can't locate module i2c-sis645
Loading failed... skipping.
Load `i2c-sis645' (say NO if built into your kernel)? (YES/no):
modprobe: Can't locate module i2c-sis645
Loading failed... skipping.
Do you now want to be prompted for non-detectable adapters? (yes/NO):
To continue, we need module `i2c-dev' to be loaded.
If it is built-in into your kernel, you can safely skip this.
i2c-dev is not loaded. Do you want to load it now? (YES/no):
modprobe: Can't locate module i2c-dev
Loading failed, expect problems later on.

We are now going to do the adapter probings. Some adapters may hang halfway
through; we can't really help that. Also, some chips will be double detected;
we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can
specify that address to remain unprobed. That often
includes address 0x69 (clock chip).
Couldn't open /proc/bus/i2c?!? at /usr/sbin/sensors-detect line 3607, <STDIN> line 5.
heelp

Bye
 
Old 09-11-2003, 08:13 PM   #38
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
It would be a good idea to start a new thread. You can post the link to it here and I'll go there. But if you want more help then it's a good thing.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lot of problems with Mplayer ni0wn Slackware 11 09-22-2006 11:05 PM
debian sarge server uses a lot of memory cccc Debian 2 08-08-2005 04:56 PM
lot of problems with mandrake 10.0 vblondel Mandriva 0 06-08-2004 03:10 PM
a lot of problems kryckan Linux - Hardware 4 10-04-2003 07:37 AM
plzzz help me out....new to linux(lot of problems) ram13apr Linux - General 4 08-26-2003 02:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration