LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-20-2005, 07:01 PM   #31
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53

You need an ncurses development library. Do an apt-cache search ncurses dev to get a list of related packages and then install the right one.
 
Old 09-20-2005, 07:13 PM   #32
rossjman1
Member
 
Registered: Oct 2004
Location: Chicago, IL, USA
Distribution: Debian
Posts: 71

Original Poster
Rep: Reputation: 15
I have libncurses5, libncurses5-dev, and libncursesw-dev.
Code:
debian:/usr/src/alsa/alsa-utils-1.0.9a# apt-cache search ncurses dev
bochs-term - Terminal (ncurses-based) plugin for Bochs
dav-text - A minimalist ncurses-based text editor
kernel-source-2.2.25 - Linux kernel source for version 2.2.25
kernel-source-2.4.24 - Linux kernel source for version 2.4.24 with Debian patches
kernel-source-2.4.25 - Linux kernel source for version 2.4.25 with Debian patches
kernel-source-2.4.26 - Linux kernel source for version 2.4.26 with Debian patches
kernel-source-2.4.27 - Linux kernel source for version 2.4.27 with Debian patches
kernel-source-2.6.8 - Linux kernel source for version 2.6.8 with Debian patches
libncurses5-dev - Developer's libraries and docs for ncurses
libncursesw5-dev - Developer's libraries for ncursesw
librote-dev - a simple C library for VT102 terminal emulation - development
moc - ncurses based console audio player
php4-cli - command-line interpreter for the php4 scripting language
tcd - Portable CD player with an ncurses interface
whiptail - Displays user-friendly dialog boxes from shell scripts
 
Old 09-20-2005, 07:41 PM   #33
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Here are the ones which I have installed. Make sure you have them installed too.
Code:
adz@hades:~/storage/alsa-utils-1.0.8$ dpkg -l *curses*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
un  libcurses-ruby <none>         (no description available)
un  libncurses-dev <none>         (no description available)
ii  libncurses5    5.4-9          Shared libraries for terminal handling
ii  libncurses5-de 5.4-9          Developer's libraries and docs for ncurses
ii  libncursesw5   5.4-9          Shared libraries for terminal handling (wide
un  ncurses        <none>         (no description available)
ii  ncurses-base   5.4-9          Descriptions of common terminal types
ii  ncurses-bin    5.4-9          Terminal-related programs and man pages
un  ncurses-dev    <none>         (no description available)
un  ncurses-develo <none>         (no description available)
un  ncurses-runtim <none>         (no description available)
ii  ncurses-term   5.4-9          Additional terminal type definitions
un  pinentry-curse <none>         (no description available)
 
Old 09-20-2005, 07:52 PM   #34
rossjman1
Member
 
Registered: Oct 2004
Location: Chicago, IL, USA
Distribution: Debian
Posts: 71

Original Poster
Rep: Reputation: 15
Yep. That worked. I got everything installed. then I did
Code:
debian:/usr/src/alsa/alsa-utils-1.0.9a# modprobe snd-ca0106;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
Then alsamixer, but sound still does not work, should I have apt-get remove alsa, before I did this? It seems that the old settings are still in effect.
 
Old 09-20-2005, 10:14 PM   #35
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Can you post the output of cat /var/lib/alsa/asound.state? I'd like to compare it to another set I found.

Another thing, do you have a volume control called "Audigy Analogue/Digital Output Jack" in alsamixer?
 
Old 09-20-2005, 10:27 PM   #36
rossjman1
Member
 
Registered: Oct 2004
Location: Chicago, IL, USA
Distribution: Debian
Posts: 71

Original Poster
Rep: Reputation: 15
Code:
debian:~# cat /var/lib/alsa/asound.state
state.CA0106 {
        control.1 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 255'
                iface MIXER
                name 'Analog Front Volume'
                value.0 205
                value.1 205
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 255'
                iface MIXER
                name 'Analog Rear Volume'
                value.0 205
                value.1 205
        }
        control.3 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 255'
                iface MIXER
                name 'Analog Center/LFE Volume'
                value.0 205
                value.1 205
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 255'
                iface MIXER
                name 'Analog Unknown Volume'
                value.0 205
                value.1 205
        }
        control.5 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 255'
                iface MIXER
                name 'SPDIF Front Volume'
                value.0 205
                value.1 205
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 255'
                iface MIXER
                name 'SPDIF Rear Volume'
                value.0 205
                value.1 205
        }
        control.7 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 255'
                iface MIXER
                name 'SPDIF Center/LFE Volume'
                value.0 205
                value.1 205
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 255'
                iface MIXER
                name 'SPDIF Unknown Volume'
                value.0 205
                value.1 205
        }
        control.9 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 255'
                iface MIXER
                name 'CAPTURE feedback into PLAYBACK'
                value.0 205
                value.1 205
        }
        control.10 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Mask'
                value ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
        }
        control.11 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Mask'
                index 1
                value ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
        }
        control.12 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Mask'
                index 2
                value ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
        }
        control.13 {
                comment.access read
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Mask'
                index 3
                value ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
        }
        control.14 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'SPDIF Out'
                value true
        }
        control.15 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 'SPDIF out'
                comment.item.1 'i2s mixer out'
                comment.item.2 'SPDIF in'
                comment.item.3 'i2s in'
                comment.item.4 'AC97 in'
                comment.item.5 'SRC out'
                iface MIXER
                name 'Capture Source'
                value 'i2s in'
        }
        control.16 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                value '0492100200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        }
        control.17 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                index 1
                value '0492100200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        }
        control.18 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                index 2
                value '0492100200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        }
        control.19 {
                comment.access 'read write'
                comment.type IEC958
                comment.count 1
                iface MIXER
                name 'IEC958 Playback Default'
                index 3
                value '0492100200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
        }
}
Here are all of the things that I can manipulate in alsamixer:
Analog Center/LFE
Analog Front
Analog Rear
Analog Side
CAPTURE feedback into PLAYBACK
SPDIF Center/LFE
SPDIF Rear
SPDIF Out (no vol control, only mute/unmute)
SPDIF Rear
SPDIF Unknown

Here are some more things that alsamixer wont let me do anything with.
AC97 in
SPDIF in
SPDIF out
SRC out
i2s in
i2s mixer out
 
Old 09-20-2005, 10:45 PM   #37
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Can you experiment with muting/unmuting SPDIF Out? In other words play sound, toggle SPDIF Out, play sound, toggle SPDIF Out.

Also, I've found some information on the drivers here. It may help you in some way.
 
Old 09-20-2005, 11:30 PM   #38
Greg Mink
LQ Newbie
 
Registered: Sep 2005
Location: orlando
Distribution: debian
Posts: 3

Rep: Reputation: 0
I seem to be having similar problems with my sound card. However, I don't have modules for snd-ca0106, snd-emu10k1 or snd-emu10k2. I'm running 3.1 with 2.6.8-2-386 kernel (debian precompiled).

Also, how do you make the /dev/dsp device under 2.6 kernels?
 
Old 09-21-2005, 02:42 AM   #39
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Greg Mink, you should definetly have the modules. How did you come to the conclusion that you didn't?
 
Old 09-21-2005, 03:56 PM   #40
rossjman1
Member
 
Registered: Oct 2004
Location: Chicago, IL, USA
Distribution: Debian
Posts: 71

Original Poster
Rep: Reputation: 15
Sound doesn't work when it's off or on. When I toggle it, though, I hear a faint "popping sound".
 
Old 09-22-2005, 08:02 AM   #41
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Well try this link and see if it helps.

Also, it sounds a bit like there may be some confusion between analogue and digital outputs on your card/driver. Check out this link as it has some good analysis that gets down to some nitty-gritty. It may serve only to educate you a little but that couldn't hurt, I suppose.
 
Old 09-22-2005, 01:39 PM   #42
rossjman1
Member
 
Registered: Oct 2004
Location: Chicago, IL, USA
Distribution: Debian
Posts: 71

Original Poster
Rep: Reputation: 15
I give up with alsa. I'm going to try to see if Oss works, but I need to uninstall alsa first. I tried 'make uninstall' for all alsa-driver, alsa-lib, alsa-oss, and alsa-utils (all the things i compiled from source). In addition I 'apt-get uninstall' for alsa-base, alsa-oss, and alsa-utils (none of which were installed). Debian still tries to load the driver. It gives me errors like this:
Code:
modprobe: fatal error trying to load snd-ca0106
driver ca0106 loaded successfully
This makes it impossible to install oss.
Code:
Debian:/home/jantosh/sound# ./oss-install
Checking for any previously installed sound drivers...
You appear to have the the kernel level sound driver installed as a loadable
module. Unload it by executing rmmod sound and try installing OSS/Linux again.

If this error repeats again you probably have the sound driver being loaded
automagically by the kerneld daemon. In this case you should log out from the
X Windows session, then press <ctl><alt><F1> and log in on the Linux console
as root and then install OSS again.
I also deleted the /etc/modutils/alsa file. Is there anyway to get rid of Alsa?
 
Old 09-22-2005, 06:54 PM   #43
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
After you delete that file you have to run update-modules.

Quote:
Unload it by executing rmmod sound and try installing OSS/Linux again.
Did you try that?

Quote:
If this error repeats again you probably have the sound driver being loaded
automagically by the kerneld daemon. In this case you should log out from the
X Windows session, then press <ctl><alt><F1> and log in on the Linux console
as root and then install OSS again.
Or that?
 
Old 09-22-2005, 08:30 PM   #44
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773
Blog Entries: 1

Rep: Reputation: 34
for nongeeks only:-
For sound working for ur new cards mostly onboard u may need to compile a new kernel with
kernel-module-alsa .deb files.to be more precise get this link and read it fully.
http://www.linuxforu.com/yabbse/inde...;threadid=1223
for kernel compiling
http://www.linuxquestions.org/questi...hreadid=206992
IT is not that tough.u can atleast experiment it in a spare deb sarge machine or by installing a new deb sarge on another partition on same pc.best of Luck

Last edited by deepclutch; 09-22-2005 at 08:44 PM.
 
Old 09-25-2005, 03:24 PM   #45
Greg Mink
LQ Newbie
 
Registered: Sep 2005
Location: orlando
Distribution: debian
Posts: 3

Rep: Reputation: 0
>Greg Mink, you should definetly have the modules. How did you >come to the conclusion that you didn't?

I tried to modprobe the ca0106 and snd-ca0106 modules and it says module not found. When I look in the modules directory, I find the emu module but no ca. Also when I run modconf, I see emu is in the list ca isn't.

Here is what I have installed:
install:/dev# dpkg -l | grep alsa
ii alsa-base 1.0.8-7 ALSA driver configuration files
ii alsa-oss 1.0.8-1 ALSA wrapper for OSS applications
ii alsa-utils 1.0.8-4 ALSA utilities
ii alsamixergui 0.9.0rc2-1-7 graphical soundcard mixer for ALSA soundcard
ii alsaplayer 0.99.76-0.3 PCM player designed for ALSA
ii alsaplayer-com 0.99.76-0.3 PCM player designed for ALSA (common files)
ii alsaplayer-gtk 0.99.76-0.3 PCM player designed for ALSA (GTK version)
ii alsaplayer-oss 0.99.76-0.3 PCM player designed for ALSA (OSS output mod

What's sounds cards are high quality for music/recording, etc but is (and has been for a while) completely supported, that I could buy without ending up with some weirdo late rev model that's not compatible with the original?
 
  


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
Installing ALSA 1.0.6 luigidrummer Linux - Hardware 4 09-07-2004 11:00 PM
installing alsa drenal Linux - Newbie 5 02-02-2004 04:29 AM
Installing alsa raid517 Linux - Hardware 14 08-27-2003 09:40 PM
Installing ALSA bkeating Linux - Software 2 05-16-2003 10:08 PM
installing ALSA urinater Linux - Software 5 10-01-2002 09:29 AM

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

All times are GMT -5. The time now is 10:10 AM.

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