Hi all.

I'm trying to activate my fm-801 soundcard under linux 2.4.18 (since 4 days 
now).

With my SuSE Distribution (v7.3, installed Kernel 2.4.0-GB and alsa 0.5.x (i 
guess); well done SuSE!!!, thx.) the installation and automatic configuration 
of the card with Yast2 can be done without any problems and the card works 
fine in that constellation.

Now I have build a 2.4.18 Kernel (with soundsupport activated (as a module)) 
and i have tried to activate the card with alsa 0.9.0.

For this, I've downloaded the files
alsa-driver-0.9.0rc2.tar.bz2
alsa-lib-0.9.0rc2.tar.bz2
alsa-utils-0.9.0rc2.tar.bz2

and followed the Quick Install guide on alsa.opensrc.org.
The installation proceeded with no error (only some warnings occured), the 
modules started without an error too, alsamixer and amixer recognized the 
card (i hope so) and I've unmuted the card and set the mastervolume, 
pcm-volume, wave-volume and all the other volumes to maximum, but 
unfortunatly the card doesn't play anything....

The last 3 days I have searched the net for articles, howtos, tips and tricks, 
recompiled the kernel and the alsa-files up to 10 times with different 
configurations .... without success. 

My first question is, where can i find some information about things like 
"pcm", "ac97", "I2S", "IEC958", or a description of amixer that explain a 
little bit more than the ouput of the man-command. 

A little bit more information about wich modules are really necessary to play 
i.e. a .wav-file with aplay could also be helpfull. In the Quick Install - 
guide the command line 
> modprobe snd-fm801;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe 
snd-seq-oss
is given for inserting the modules into kernel space, but the 
alsasound-rc-script starts the snd-fm801 and related module but (for example) 
not the snd-mixer-oss..... So why?

Another question is, if aplay needs any configuration-file like asound.conf or 
asound.state (for what is the last file???) (where can i find a better 
description of alsactl (what is it for???) than the manpage).

Perhaps, somebody reads this and spent some time on my problem.... For those 
people I've attached some information about my actual system (See the P.S.).

Best regards
        Olli.

P.S.:
The history of my installation:

1. Complilation: 
-----------
I configured the makefile with the options 
--with-card=fm-801
--with-isapnp=no
--with-sequencer=yes
--with-debug=full

During compilation of the drivers i received the following warnings (sorry but 
I dont know much about C):
pdplus.c:3032: warning: #warning "This driver need to be ported to new
hw_info"
pdplus.c:3082: warning: #warning "This driver need to be ported to new
hw_info"
pdplus.c:3107: warning: #warning "This driver need to be ported to new
hw_info"
pdplus.c:3136: warning: #warning "The S/PDIF setup code needs to be
rewritten."
pdplus.c:3212: warning: #warning "This driver need to be ported to new
hw_info"
pdplus.c:3032: warning: #warning "This driver need to be ported to new
hw_info"
pdplus.c:3082: warning: #warning "This driver need to be ported to new
hw_info"
pdplus.c:3107: warning: #warning "This driver need to be ported to new
hw_info"
pdplus.c:3136: warning: #warning "The S/PDIF setup code needs to be
rewritten."
pdplus.c:3212: warning: #warning "This driver need to be ported to new 
hw_info"
pdplus.c: In function Pdplus_d_capt_ioctl':
pdplus.c:3206: warning: unused variable Scard'
pdplus.c: At top level:
pdplus.c:2412: warning: D_rate_llr' defined but not used

2. Editing the modules.conf:
-------------------

# ALSA portion
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=1
# OSS/Free portion
alias char-major-14 soundcore

alias snd-card-0 snd-fm801
#options snd-fm801 snd_index=0 snd_id=card0
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

3. Inserting the modules
-----------------
The output of cat /proc/modules:
snd-seq-midi            4304   0 (autoclean) (unused)
snd-opl3-synth          9984   0 (autoclean) (unused)
snd-seq-instr           4576   0 (autoclean) [snd-opl3-synth]
snd-seq-midi-emul       4768   0 (autoclean) [snd-opl3-synth]
snd-ainstr-fm           1520   0 (autoclean) [snd-opl3-synth]
snd-seq-oss            23584   0 (unused)
snd-seq-midi-event      3104   0 [snd-seq-midi snd-seq-oss]
snd-seq                42816   2 [snd-seq-midi snd-opl3-synth snd-seq-instr 
snd-seq-midi-emul snd-seq-oss snd-seq-midi-event]
snd-pcm-oss            45040   0 (unused)
snd-mixer-oss          10896   0 [snd-pcm-oss]
snd-fm801               8624   0
snd-pcm                59584   0 [snd-pcm-oss snd-fm801]
snd-ac97-codec         25200   0 [snd-fm801]
snd-mpu401-uart         3328   0 [snd-fm801]
snd-rawmidi            14624   0 [snd-seq-midi snd-mpu401-uart]
snd-opl3-lib            6496   0 [snd-opl3-synth snd-fm801]
snd-seq-device          4224   0 [snd-seq-midi snd-opl3-synth snd-seq-oss 
snd-seq snd-rawmidi snd-opl3-lib]
snd-hwdep               4528   0 [snd-opl3-lib]
snd-timer              12448   0 [snd-seq snd-pcm snd-opl3-lib]
snd                    32544   0 [snd-seq-midi snd-opl3-synth snd-seq-instr 
snd-seq-midi-emul snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss 
snd-mixer-oss snd-fm801 snd-pcm snd-ac97-codec snd-mpu401-uart snd-rawmidi 
snd-opl3-lib snd-seq-device snd-hwdep snd-timer]
soundcore               3568   8 [snd]


4. Output of amixer:
--------------
>amixer info
Card default 'card0'/'ForteMedia FM801-AU at 0xd000, irq 11'
  Mixer name    : '0x44543031 DT0'
  Components    : 'AC97'
  Controls      : 44
  Simple ctrls  : 26
#################################
>amixer contents
numid=9,iface=MIXER,name='Master Mono Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=on
numid=10,iface=MIXER,name='Master Mono Playback Volume'
  ; type=INTEGER,access=rw---,values=1,min=0,max=31,step=0
  : values=16
numid=1,iface=MIXER,name='Master Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=on
numid=2,iface=MIXER,name='Master Playback Volume'
  ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
  : values=31,31
numid=31,iface=MIXER,name='3D Control - Center'
  ; type=INTEGER,access=rw---,values=1,min=0,max=15,step=0
  : values=0
numid=32,iface=MIXER,name='3D Control - Depth'
  ; type=INTEGER,access=rw---,values=1,min=0,max=15,step=0
  : values=0
numid=26,iface=MIXER,name='PCM Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=on
numid=27,iface=MIXER,name='PCM Playback Volume'
  ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
  : values=31,31
numid=7,iface=MIXER,name='Surround Playback Switch'
  ; type=BOOLEAN,access=rw---,values=2
  : values=off,off
numid=8,iface=MIXER,name='Surround Playback Volume'
  ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
  : values=0,0
numid=3,iface=MIXER,name='Center Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=on
numid=4,iface=MIXER,name='Center Playback Volume'
  ; type=INTEGER,access=rw---,values=1,min=0,max=31,step=0
  : values=31
numid=5,iface=MIXER,name='LFE Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=on
numid=6,iface=MIXER,name='LFE Playback Volume'
  ; type=INTEGER,access=rw---,values=1,min=0,max=31,step=0
  : values=31
numid=38,iface=MIXER,name='FM Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=on
numid=37,iface=MIXER,name='FM Playback Volume'
  ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
  : values=31,31
numid=34,iface=MIXER,name='Wave Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=on
numid=33,iface=MIXER,name='Wave Playback Volume'
  ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
  : values=31,31
numid=18,iface=MIXER,name='Line Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=on
numid=19,iface=MIXER,name='Line Playback Volume'
  ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
  : values=15,15
numid=20,iface=MIXER,name='CD Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=on
numid=21,iface=MIXER,name='CD Playback Volume'
  ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
  : values=15,15
numid=17,iface=MIXER,name='Mic Boost (+20dB)'
  ; type=BOOLEAN,access=rw---,values=1
  : values=off
numid=15,iface=MIXER,name='Mic Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=off
numid=16,iface=MIXER,name='Mic Playback Volume'
  ; type=INTEGER,access=rw---,values=1,min=0,max=15,step=0
  : values=0
numid=13,iface=MIXER,name='Phone Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=on
numid=14,iface=MIXER,name='Phone Playback Volume'
  ; type=INTEGER,access=rw---,values=1,min=0,max=15,step=0
  : values=15
numid=22,iface=MIXER,name='Video Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=on
numid=23,iface=MIXER,name='Video Playback Volume'
  ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
  : values=15,15
numid=11,iface=MIXER,name='PC Speaker Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=off
numid=12,iface=MIXER,name='PC Speaker Playback Volume'
  ; type=INTEGER,access=rw---,values=1,min=0,max=15,step=0
  : values=0
numid=24,iface=MIXER,name='Aux Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=on
numid=25,iface=MIXER,name='Aux Playback Volume'
  ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
  : values=15,15
numid=28,iface=MIXER,name='Capture Source'
  ; type=ENUMERATED,access=rw---,values=2,items=8
  ; Item #0 'Mic'
  ; Item #1 'CD'
  ; Item #2 'Video'
  ; Item #3 'Aux'
  ; Item #4 'Line'
  ; Item #5 'Mix'
  ; Item #6 'Mix Mono'
  ; Item #7 'Phone'
  : values=0,0
numid=29,iface=MIXER,name='Capture Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=on
numid=30,iface=MIXER,name='Capture Volume'
  ; type=INTEGER,access=rw---,values=2,min=0,max=15,step=0
  : values=0,0
numid=36,iface=MIXER,name='I2S Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=off
numid=35,iface=MIXER,name='I2S Playback Volume'
  ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
  : values=23,23
numid=44,iface=MIXER,name='IEC958 Raw Data Capture Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=off
numid=43,iface=MIXER,name='IEC958 Raw Data Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=off
numid=42,iface=MIXER,name='IEC958 Capture Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=off
numid=41,iface=MIXER,name='AC97 18-bit Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=off
numid=40,iface=MIXER,name='AC97 2ch->4ch Copy Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=off
numid=39,iface=MIXER,name='Digital Capture Source'
  ; type=ENUMERATED,access=rw---,values=1,items=5
  ; Item #0 'AC97 Primary'
  ; Item #1 'FM'
  ; Item #2 'I2S'
  ; Item #3 'PCM'
  ; Item #4 'AC97 Secondary'
  : values=0
#####################################
> amixer scontents
 Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on]
  Front Right: Playback 31 [100%] [on]
Simple mixer control 'Master Mono',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 16 [52%] [on]
Simple mixer control '3D Control - Center',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Limits: 0 - 15
  Mono: 0 [0%]
Simple mixer control '3D Control - Depth',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Limits: 0 - 15
  Mono: 0 [0%]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on]
  Front Right: Playback 31 [100%] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off]
  Front Right: Playback 0 [0%] [off]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [on]
Simple mixer control 'FM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on]
  Front Right: Playback 31 [100%] [on]
Simple mixer control 'Wave',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on]
  Front Right: Playback 31 [100%] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 15 [48%] [on] Capture [off]
  Front Right: Playback 15 [48%] [on] Capture [off]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 15 [48%] [on] Capture [off]
  Front Right: Playback 15 [48%] [on] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch 
cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 15
  Mono: Playback 0 [0%] [off]
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Video',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 15 [48%] [on] Capture [off]
  Front Right: Playback 15 [48%] [on] Capture [off]
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch 
cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 15
  Mono: Playback 15 [100%] [on]
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'I2S',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 23 [74%] [off]
  Front Right: Playback 23 [74%] [off]
Simple mixer control 'IEC958',0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'IEC958 Raw Data',0
  Capabilities: pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Mono: Playback [off] Capture [off]
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 0 [0%] [off]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 15 [48%] [on] Capture [off]
  Front Right: Playback 15 [48%] [on] Capture [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [on]
  Front Right: Capture 0 [0%] [on]
Simple mixer control 'Mix',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Mix Mono',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'AC97 18-bit',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'AC97 2ch->4ch Copy',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
################################

5. Outputs of /proc/asound
-------------------
> cat cards
0 [card0          ]: FM801 - ForteMedia FM801-AU
                     ForteMedia FM801-AU at 0xd000, irq 11
###########
> cat version
Advanced Linux Sound Architecture Driver Version 0.9.0rc2.
Compiled on Jul 26 2002 for kernel 2.4.18 with versioned symbols.
###########
> cat devices
  0: [0- 0]: ctl
  4: [0- 0]: hardware dependent
  8: [0- 0]: raw midi
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  1:       : sequencer
 33:       : timer
##########
> cat pcm
00-00: FM801 : FM801 : playback 1 : capture 1
##########
> cat card0/ac97#0
0-0/0: 0x44543031 DT0

Capabilities     :
DAC resolution   : 18-bit
ADC resolution   : 18-bit
3D enhancement   : Delta Integration 3D Enhancement

Current setup
Mic gain         : +0dB [+0dB]
POP path         : pre 3D
Sim. stereo      : off
3D enhancement   : off
Loudness         : off
Mono output      : MIX
Mic select       : Mic1
ADC/DAC loopback : off
Extended ID      : codec=0 rev=0 LDAC SDAC CDAC DSA=0 VRA
Extended status  : PRL LDAC SDAC CDAC VRA
PCM front DAC    : 11025Hz
PCM Surr DAC     : 11025Hz
PCM LFE DAC      : 11025Hz
PCM ADC          : 48000Hz

--> I tried to setup this with amixer, but failed to change any values...
###################
> cat card0/pcm0c/info
card: 0
device: 0
subdevice: 0
stream: CAPTURE
id: FM801
name: FM801
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
##################
> cat card0/pcm0c/sub0/status
closed
##################
>cat card0/pcm0p/info
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: FM801
name: FM801
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
#################
> cat card0/pcm0p/sub0/status
closed


Do you need any further information?



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to