M-Audio Delta DiO 2496 sound card setup with Fedora Core 3 linux and ALSA
Got driver/module info from http://www.alsa-project.org/alsa-doc/
FC3 came with alsa. Confirmed with:
modinfo soundcore
Inserted modules for maudio 2496 with:
modprobe snd-ice1712;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
Actually these modprobe's were not necessary for future reboots (Fedora Core 3)
Viewed with:
lsmod
Adjusted volume with 'alsamixer'.
Saw "Card: M Audio Delta DiO 2496"
"Chip: ICE1712 - multitrack"
"Item: IEC958"
Read how to use alsamixer: man page
M key toggles muting
===
Add fedora-extra to yum repository:
The best way to use Fedora Extras is via yum. Add a file (e.g. fedora-extras.repo) in your /etc/yum.repos.d dir with following
content:
[extras]
name=Fedora Extras - $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
gpgcheck=1
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/
RPM-GPG-KEY-Fedora-Extras
[extras-testing]
name=Fedora Extras Test Updates - $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/
linux/extras/testing/$releasever/$basearch/
gpgcheck=1
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/
RPM-GPG-KEY-Fedora-Extras
enabled=0
[extras-debug]
name=Fedora Extras - $releasever - $basearch - Debugging packages
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/debug/
gpgcheck=1
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/
RPM-GPG-KEY-Fedora-Extras
enabled=0
----
Import the authentication key:
You will also want to make sure you've imported this:
http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras
key into your rpm database. Use this command to import it:
rpm --import http://download.fedora.redhat.com/pub/fedora/linux/
extras/RPM-GPG-KEY-Fedora-Extras
=====
Installed alsa-tools (from Fedora Extras) to get envy24control tool (gui sound mixer for M-Audio)
yum install alsa-tools
=====
CDROM /media/cdrecorder (when a data cd is loaded, doesn't automount an Audio CD):
[root@mythtv ~]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/hdb on /media/cdrecorder type iso9660 (ro,nosuid,nodev,fscontext=system
_u:object_r:removable_t,user=donn)
[root@mythtv ~]# eject /dev/hdb
===============
yum install xmms-cdread
[still cant read cdrom]
============
Make xmms play mp3's:
get xmms-mp3 from DAG repository.
added /etc/yum.repo.d/dag.repo
Contents of dag.repo:
[dag]
name=Dag RPM Repository for Fedora Core
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
Added dag key:
[root@mythtv yum.repos.d]# rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
yum install xmms-mp3
=====
List soundcards:
[root@mythtv ~]# cat /proc/asound/cards
0 [M2496 ]: ICE1712 - M Audio Delta DiO 2496
M Audio Delta DiO 2496 at 0xa000, irq 11
(soundcard 0 is Maudio 2496)
===========
tried various suggestions from the internet: basic /etc/asound.conf and .asoundrc files.
revert to default (removed /etc/asound.conf, .asoundrc files). /etc/modprobe.conf contains its orig lines:
[root@mythtv ~]# cat /etc/modprobe.conf
alias eth0 8139too
alias snd-card-0 snd-ice1712
options snd-card-0 index=0
install snd-ice1712 /sbin/modprobe --ignore-install snd-ice1712 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-ice1712 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-ice1712
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias ieee1394-controller ohci1394
===========
Got 44.1KHz mono wav off net. BUSTIN.wav:
goog search "wav 44.1khz"
aplay -d default BUSTIN.wav (WORKS! :-)
NOTE: I had to reboot once before aplay worked.
[root@mythtv ~]# aplay -D default bustin.wav
Playing WAVE 'bustin.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
<<<
[ xmms player still complains that it cant use sound device ]
Was able to fix xmms:
* Preferences, Under "Output plugin", plugin name "ALSA 1.2.10 output plugin [libALSA.so]", Click "Configure" button and set
"Audio device" to "default" (was set to hw:0,0 during troubleshooting). Left Mixer unchecked. Then was able to play bustin.wav
with xmms.
then, audio cd's wouldn't play. enabled cd reader, disabled cd audio player per internet instructions. cd appears to
be playing visually, but no sound.
also was able to use envy24control mixer sliders by changing patchbay to spdif out(L)=Digital Mix L, and spdif out(R)=Digital Mix R
After changing envy24ctrl to "Digital Mix L/R", xmms could play Audio CDs :-)
Adjusted Digital mixer sliders in envy24control to my prefferred volume levels for listening.
Setting up xmms for Audio CD playing:
Open the xmms media player. Right click in xmms and select Options>Preferences>Audio I/O Plugins
Select 'CD Audio Player' and uncheck the 'Enable plugin' button. Select 'Audio CD Reader' and 'enable' it. Select 'Configure' for
audio CD Reader and ensure the correct device is selected you want to play CDs from (/dev/hdx where x is a,b,c, or d, or /dev/scd0
etc if it is a SCI device)
Now save the options and right click on xmms and select 'Play File' a dialogue box will open. Enter the device name in the selection
box, for example /dev/hdc and click 'OK'
The CD will now play, and if you are online and cddb was enabled in the plugin options you will see the CD track names appear in the
xmms playlist. The next time you put in a CD you will not need to 'Select File' Just press the 'Play' button and it should start
playing.
[ in my system, /dev/hdb is the cdrom drive (a HP dvd burner actually) ]
After all this was working, checked what alsamixer said the setting were:
Along the sliders, it said "Digital" and "Digital" instead of "PCM out" and "PCM out". So "Digital" seems to be the right
setting.
then, tested mp3 playing (note, that xmms-mp3 was yum/installed earlier, see above). loaded file and it played :-)
==========
alsamixer:
Digital, Digital
envy24control:
Patchbay: spdif out(L)=Digital Mix L, spdif out(R)=Digital Mix R
Hardware settings: Master clock=44100, Locked(unchecked), Reset(checked), Vol Change rate=140,
Professional(checked), Data mode=Audio, Stream=Stereophonic, Emphasis=Not indicated, spdif input=Coaxial
Note, despite what some people said on the internet, soundcard seems to work fine while sharing IRQ with eth0:
[root@mythtv ~]# cat /proc/interrupts
CPU0
0: 1811760 XT-PIC timer
1: 991 XT-PIC i8042
2: 0 XT-PIC cascade
8: 1 XT-PIC rtc
9: 0 XT-PIC acpi
10: 105175 XT-PIC uhci_hcd, uhci_hcd, ohci1394, radeon@pci:0000:01:00.0
11: 16761 XT-PIC ICE1712, ehci_hcd, uhci_hcd, eth0
12: 14160 XT-PIC i8042
14: 14989 XT-PIC ide0
NMI: 0
ERR: 0
(Notice ice1712 is sharing irq11 with eth0 and other stuff)
0 Comments:
Post a Comment
<< Home