Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Please help me with sound! Please help me!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
kirbata
n00b
n00b


Joined: 30 Jan 2007
Posts: 8

PostPosted: Mon Mar 05, 2007 11:14 pm    Post subject: Please help me with sound! Please help me! Reply with quote

I made a post earlier about trying to get my sound working. I explained how I couldn't even get alsaconf to detect my card at first, but now at least that's working...
But I was probably too long-winded for anyone to fully understand my problem.

Please let me know precisely what information I should provide that might be useful for someone to help me in getting sound working. I thought that I followed the instructions given about setting up alsa on the gentoo.org website to the dot, but I could be wrong.

Last time I posted the output of dmesg, which included some of the sound error messages I had been getting.

What can I post that will be useful for someone to help me? Please?
Back to top
View user's profile Send private message
The Unknown
Guru
Guru


Joined: 28 Feb 2007
Posts: 335
Location: Minnesota, U.S.A

PostPosted: Mon Mar 05, 2007 11:33 pm    Post subject: Reply with quote

Have you checked out the HOW-TO-ALSA at www.gentoo-wiki.com
Back to top
View user's profile Send private message
kirbata
n00b
n00b


Joined: 30 Jan 2007
Posts: 8

PostPosted: Mon Mar 05, 2007 11:39 pm    Post subject: Gentoo Wiki Reply with quote

Thanks. I'll give it a try.

I have actually looked at the wiki, but I will double-check my steps against it. If anyone else has ideas, feel free to still comment because any information will be educational to me.
Back to top
View user's profile Send private message
raven5
n00b
n00b


Joined: 10 Feb 2005
Posts: 19

PostPosted: Tue Mar 06, 2007 2:50 pm    Post subject: Reply with quote

how about a link back to your original post here? So we can see what's up.
Back to top
View user's profile Send private message
kirbata
n00b
n00b


Joined: 30 Jan 2007
Posts: 8

PostPosted: Tue Mar 06, 2007 6:30 pm    Post subject: post Reply with quote

https://forums.gentoo.org/viewtopic-t-544479.html
Back to top
View user's profile Send private message
raven5
n00b
n00b


Joined: 10 Feb 2005
Posts: 19

PostPosted: Wed Mar 07, 2007 2:41 pm    Post subject: Reply with quote

I too had a great deal of trouble getting my sound working.

I think sound/multimedia is the most troublesome part of linux -- a place where Windows does in fact far exceed it. Which causes a lot of trouble for me because I don't want to use windows, but I do use Audacity, Hydrogen drum machine and other things for my guitar practice.

I have an M-audo card that I wanted to use with gentoo -- I also went through all the gyrations you describe to try to get it working.

I don't want to send you off on a wild goose chase but what I finally ended up doing was installing PortAudio.

I also wrote udev rules for my card -- those notes are at the bottom.

Here are some of my notes from then -- It's definitely not a guide but I hope it helps.

**********************************************************************************************
Setup up m-audio on gentoo

00:05.0 Multimedia audio controller: nVidia Corporation nForce Audio Processing Unit (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
01:0a.0 Multimedia audio controller: VIA Technologies Inc. ICE1712 [Envy24] PCI Multi-Channel I/O Controller (rev 0

added midi use flag
USE="X -arts alsa avahi bash-completion cdr cairo cups dri dvd dvdr dbus eds gnome gnutls gphoto2 gtk gtk2 guile hal kerberos jpeg -kde ldap mmx midi motif mp3 mpeg mplayer nptl ntplonly nvidia pda png -qt3 -qt4 quicktime ruby session udev usb xine xml"

Checked make alsa load as module now
added under pci sound drivers
< > ICE/VT1724/1720 (Envy24HT/PT) <<---- this isn't the card I have changed to the correct one
<M> Intel/SiS/nVidia/AMD/ALi AC97 Controller

vi make.conf
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="nvidia"
ALSA_CARDS="ice1712 intel8x0"

emerging alsa-driver wont work when alsa is in the kernel

add this
snd-ice1712
to
/etc/modules.autoload.d/kernel-2.6

cambridge # cat /proc/asound/cards
0 [M2496 ]: ICE1712 - M Audio Audiophile 24/96
M Audio Audiophile 24/96 at 0x9000, irq 21

# gedit /etc/asound.conf

pcm.ice1712 {
type hw
card 0
}
ctl.ice1712 {
type hw
card 0
}
# Automatic sample conversion etc...
pcm.d44 {
type plug
slave.pcm ice1712
route_policy copy
}
ctl.d44 {
type hw
card 0
}

alsaconf ran
502 vi /etc/modules.d/alsa
503 rc-update add alsasound boot
507 vi /etc/modules.autoload.d/kernel-2.6
508 modules-update -f
509 /etc/init.d/alsasound stop
510 /etc/init.d/alsasound start
511 alsamixer
512 /etc/init.d/alsasound save

alsamixer -c1 (The number after the "C" is the enumerated value).
In this example "c1" would be the 2nd soundcard.
alsamixer defaults to -c0 if not entered with a switch.

aplay -D ice1712 testclip.wav

emerge ecasound
ecasound -i:/home/music/audacity/8BarInG/8BarInG.wav -o:alsa,d44

Envy24control is a graphical utility for controlling cards based on the envy24 or ice1712 chipset, e.g., the Midiman Delta series and the Terratec EWS and EWX series. It is supplied as part of the alsa-tools package. The utility allows control of the digital mixer, channel gains and other hardware settings, as well as displaying a level meter for each input and output channel.
The program to directly access the cards chipsets is
envy24control (You may have to get that somewhere's else)

emerge -p alsa-tools

You can more than one sound card in your system simultaneously, provided that you have built ALSA as modules in your kernel (or have installed alsa-driver instead).
changed to

options snd cards_limit=2
options snd-ice1712 index=0
options snd-intel8x0 index=1

Type lsmod or "lsmod | more" to scroll thru the long listing.
If you see it listed then it's loaded.

**************************************
Port audio stuff:

added port audio use flag
USE="X -arts alsa avahi bash-completion cdr cairo cups dri dvd dvdr dbus eds gnome gnutls gphoto2 gtk gtk2 guile hal kerberos jpeg -kde ldap mmx midi motif mp3 mpeg mplayer nptl ntplonly nvidia pda png portaudio -qt3 -qt4 quicktime ruby session udev usb xine xml"

could not get an ebuild for portaudio 19 decided to build my own

unzipped in /opt/portaudio

Libraries have been installed in:
/usr/local/lib

PortAudio was successfully installed.

On some systems (e.g. Linux) you should run 'ldconfig' now
to make the shared object available. You may also need to
modify your LD_LIBRARY_PATH environment variable to include
the directory /usr/local/lib

497 cd audacity-src-1.3.2-beta/
502 ./configure --prefix=/usr/local/audacity-1.3.0b --without-portmixer --with-portaudio=v19 --without-vorbis
503 make
506 make install

I suggest that you keep your own rules in a file at /etc/udev/rules.d/10-local.rules

udevtest /class/sound/dsp
udevinfo -a -p /sys/block/sda

edited gedit 10-drb.rules

BUS=="pci", ID=="0000:01:0a.0 " KERNEL=="mixer*", NAME="mixer"
BUS=="pci", ID=="0000:01:0a.0" KERNEL=="midi*", NAME="midi"
BUS=="pci", ID=="0000:01:0a.0" KERNEL=="dsp*", NAME="dsp"
BUS=="pci", ID=="0000:01:0a.0" KERNEL=="audio*", NAME="audio"
BUS=="pci", ID=="0000:01:0a.0" KERNEL=="audio*", NAME="adsp"
BUS=="pci", ID=="0000:01:0a.0" KERNEL=="audio*", NAME="dmmidi"
BUS=="pci", ID=="0000:01:0a.0" KERNEL=="audio*", NAME="dmfm

this works: ecasound -i:/home/music/audacity/8BarInG/8BarInG.wav -o:alsa
OSS has to be loaded as module under ALSA for any of this to work
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Wed Mar 07, 2007 5:52 pm    Post subject: Reply with quote

No crossposting, please continue here
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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