LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-07-2005, 01:04 PM   #16
abk4523
Member
 
Registered: Jun 2004
Distribution: RH8/Fedora Core 4
Posts: 139

Original Poster
Rep: Reputation: 15

I recompiled the kernel with only sound support selected as a module and soundcore is now working. I downloaded alsa-1.0.9rc4a drivers, libs and utilities, but still get errors when inserting the modules into the kernel. Any other ideas?
 
Old 12-08-2005, 03:48 PM   #17
abk4523
Member
 
Registered: Jun 2004
Distribution: RH8/Fedora Core 4
Posts: 139

Original Poster
Rep: Reputation: 15
tried the alsa modules from alsa-project.org, no go. I loaded everything under the ALSA option in menuconfig, the modules load properly. I tried playing a music disk, no sound. Also get errors when bringing up the gnome mixer. The errors are:

"An error occurred while loading or saving configuration information for gnome-volume-control. Some of your configuration settings may not work properly.

Details button brings up:

"Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/vol": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/pcm": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/speaker": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/line": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/mic": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/cd": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/igain": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/line1": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/dig1": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/phin": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/phout": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/video": `,' is an invalid character in key/directory names
" Any ideas?
 
Old 12-08-2005, 04:26 PM   #18
abk4523
Member
 
Registered: Jun 2004
Distribution: RH8/Fedora Core 4
Posts: 139

Original Poster
Rep: Reputation: 15
I recompiled the kernel with ALSA built in as modules. Everything loads okay, but when bringing up the gnome mixer, I get the following errors:

"An error occurred while loading or saving configuration information for gnome-volume-control. Some of your configuration settings may not work properly."

and:
"Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/vol": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/pcm": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/speaker": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/line": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/mic": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/cd": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/igain": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/line1": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/dig1": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/phin": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/phout": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/video": `,' is an invalid character in key/directory names
"

No sound comes out. I have a dual boot, ALSA works on my FC4 box okay.
 
Old 12-08-2005, 04:30 PM   #19
abk4523
Member
 
Registered: Jun 2004
Distribution: RH8/Fedora Core 4
Posts: 139

Original Poster
Rep: Reputation: 15
I tried building ALSA as modules, everything seemed to go okay. The sound modules load, but when bringing up the gnome mixer, I get:

"An error occurred while loading or saving configuration information for gnome-volume-control. Some of your configuration settings may not work properly."

and:
"Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/vol": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/pcm": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/speaker": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/line": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/mic": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/cd": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/igain": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/line1": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/dig1": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/phin": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/phout": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/video": `,' is an invalid character in key/directory names
"
errors.
 
Old 12-09-2005, 10:47 AM   #20
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
Try running "alsaconf" as root, some of the aliases might not have been set correctly yet. Then you have to run "alsamixer" to set the sound volumes, then "alsamixer store". Then on each boot you should run "alsamixer restore" to bring the volume settings back.

You don't have to use alsamixer, there are other mixer programs - gnome probably has the capability of restoring audio settings on each restart as does KDE.
 
Old 12-09-2005, 03:26 PM   #21
abk4523
Member
 
Registered: Jun 2004
Distribution: RH8/Fedora Core 4
Posts: 139

Original Poster
Rep: Reputation: 15
I ran alsaconf and tried running alsamixer, got "alsamixer: function snd_ctl_open failed for default: No such device or address
[root@localhost root]#" as an error.

Its not going to happen. I tried recompiling the kernel with sound support and without alsa. I downloaded alsa from the web, followed the directions, but still get the errors from the previous page of this thread when loading the modules. When I build alsa into the kernel, I get the errors posted on the second page of this thread.

Last edited by abk4523; 12-09-2005 at 03:30 PM.
 
Old 12-09-2005, 09:38 PM   #22
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
Ok, one last suggestion - try running the "snddevices" script that's included with the alsa-driver package. This will create the proper device nodes in /dev which should already be there but evidently are not. If this doesn't help then I don't know what else to try without having access to your computer :)
 
Old 12-13-2005, 02:17 PM   #23
abk4523
Member
 
Registered: Jun 2004
Distribution: RH8/Fedora Core 4
Posts: 139

Original Poster
Rep: Reputation: 15
Had to reinstall my harddrive. Tried installing ALSA from tar files again. Got

"make[4]: *** [/root/alsa-driver-1.0.9rc4a/usb/usbaudio.o] Error 1
make[3]: *** [/root/alsa-driver-1.0.9rc4a/usb] Error 2
make[2]: *** [_module_/root/alsa-driver-1.0.9rc4a] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14'
make: *** [compile] Error 2
" errors when running the make.

Got

"ind /lib/modules/2.6.14/kernel/sound -name 'snd*.*o' | xargs rm -f
make[1]: Entering directory `/root/alsa-driver-1.0.9rc4a/acore'
mkdir -p /lib/modules/2.6.14/kernel/sound/acore
cp snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-rtctimer.ko snd-timer.ko snd.ko /lib/modules/2.6.14/kernel/sound/acore
cp: cannot stat `snd-hwdep.ko': No such file or directory
make[1]: *** [modules_install] Error 1
make[1]: Leaving directory `/root/alsa-driver-1.0.9rc4a/acore'
make: *** [install-modules] Error 1
" when running the make install. Modinfo soundcore shows:

"filename: /lib/modules/2.6.14/kernel/sound/soundcore.ko
description: Core sound module
author: Alan Cox
license: GPL
alias: char-major-14-*
vermagic: 2.6.14 K7 gcc-3.2
depends:
". I have not got to the point where I run ./snddevices.
 
Old 12-14-2005, 01:31 AM   #24
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
The messages just prior to the first ones you mentioned will have the information neccesary to see what went wrong. Usually it's a missing dependency - in this case it looks like it has something to do with USB support (maybe kernel headers). I'm not sure why USB support is required at all - when you ran the configure script did you restrict it to the ens1371?

If you're going with alsa independent of the kernel you might as well get the most recent release which is 1.0.11rc1. Maybe it will fix some of the other problems you've been having too.

Last edited by ciotog; 12-14-2005 at 01:49 AM.
 
Old 12-14-2005, 06:11 PM   #25
abk4523
Member
 
Registered: Jun 2004
Distribution: RH8/Fedora Core 4
Posts: 139

Original Poster
Rep: Reputation: 15
I tried installing the latest drivers, (1.0.11rc1), did not get errors. I did use the --with-cards=ens1371 option. I ran alsaconf, rebooted and tried gnome mixer, got errors. Details as follows:

"Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/vol": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/pcm": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/speaker": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/line": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/mic": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/cd": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/igain": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/line1": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/dig1": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/phin": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/phout": `,' is an invalid character in key/directory names
Bad key or directory name:
"/apps/gnome-volume-control/OSS-SigmaTel_STAC9721,23-1/video": `,' is an invalid character in key/directory names
"

Last edited by abk4523; 12-14-2005 at 06:13 PM.
 
  


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
kernel-2.6.3 compiled with alsa but xmms alsa output dont plays demmylls Linux - General 3 09-01-2006 04:32 AM
Kernel-source, alsa-driver and kernel compile jasone Linux - General 13 05-26-2005 12:15 AM
alsa-driver-1.0.5.tar.gz or kernel alsa? shanenin Linux - Software 2 05-29-2004 01:47 PM
ALSA and Kernel 2.6.0 basix Red Hat 15 05-23-2004 01:43 PM
ALSA on Debian, Kernel Source is There Alsa dosent see it? pfizur Linux - Software 3 12-27-2003 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:55 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