> Hi again!
> 
> Well, after sucesfully installing (some tries...)  the
> alsa-driver-0.9.0beta10, alsa-lib-0.9.0beta10a, alsa-utils-0.9.0beta10a
> as Jaroslav Kysela adviced me (thanks !!) , I am still facing a big
> problem:
> 
> My SB 32 PnP (CT3600) seems to be working properly since it plays without
> problems wavs, midis and mp3s and also it records really nicelly (
> considering my voice as the target;)) ). but as long as I do it
> separatelly. I mean, it is not possible to play a file while �arecord' is
> working.
> 
> I need a clarification on the issue: wether it is really a problem with
> the driver or/and of my settings of the mixer-and or the modules-card,
> whatever....
> 
> In case someone is working in full duplex mode with any card, please let
> me know the model of it and which driver are you using. I need it for a
> videotelephony application as I mentioned in previous mails ( By the way,
> the suggestion that the problem could be due to the use of mmap in ophone
> (ww.openh323.org) can not fit here since ophone is not using that function
> but the traditional read/write method).
> 
> I try to clarify the problem through the outputs I am having:
> 
> So when I tried the operation above ( play a wav file in a console while
> simultaneously recording in another one) I have the following messages and
> error outputs:
> 
> in the playing console it says: 
> 
> audio: Device or resource bussy 
> 
> and the tail ( tail -f /var/log/messages/)  message says:
> 
> Dec  4 14:40:08 atm11 kernel: ALSA pcm_native.c:1250: playback drain error
> (DMA or IRQ trouble?)
> 
> 
> My configuration is the following ( it seems not to be any IRQ
> conflict...??):
> 
>  (Thanks in advance!!) 
> 
> [root@atm11 proc]# cat devices
> Character devices:
>   1 mem
>   2 pty
>   3 ttyp
>   4 ttyS
>   5 cua
>   7 vcs
>  10 misc
>  14 sound
> 116 alsa
> 128 ptm
> 136 pts
> 162 raw
> 226 drm
> 
> Block devices:
>   2 fd
>   3 ide0
> 
> [root@atm11 proc]# cat dma
>  1: SoundBlaster - 8bit------------------>
>  4: cascade
>  5: SoundBlaster - 16bit----------------->  Just to understand the whole
> :Can anyone explain me how the driver use/share the dma channels in a
> full-duplex operation of the SB?
>                                                                  Is it
> really possible with this card to achieve a real full-duplex operation?
>                                                                      Which
> other card should I try under Linux?
> [root@atm11 proc]# cat interrupts
>            CPU0       
>   0:     386044          XT-PIC  timer
>   1:       3052          XT-PIC  keyboard
>   2:          0          XT-PIC  cascade
>   5:     322901          XT-PIC  SoundBlaster
>  10:      40956          XT-PIC  eth0
>  14:       9654          XT-PIC  ide0
> NMI:          0 
> LOC:          0 
> ERR:          0
> MIS:          0
> 
> [root@atm11 proc]# cat modules
> snd-card-sbawe          5968   3
> snd-sb16-dsp            7360   0 [snd-card-sbawe]
> snd-sb16-csp           18160   0 [snd-card-sbawe]
> snd-sb-common           7552   0 [snd-card-sbawe snd-sb16-dsp
> snd-sb16-csp]
> snd-mpu401-uart         3760   0 [snd-card-sbawe snd-sb16-dsp]
> snd-seq-midi            4368   0 (autoclean) (unused)
> snd-synth-emu8000       5984   0 (autoclean) (unused)
> snd-synth-emux         29264   0 (autoclean) [snd-synth-emu8000]
> snd-seq-virmidi         3760   0 (autoclean) [snd-synth-emux]
> snd-util-mem            1776   0 (autoclean) [snd-synth-emu8000
> snd-synth-emux]
> snd-synth-opl3         10448   0 (autoclean) (unused)
> snd-seq-midi-emul       4944   0 (autoclean) [snd-synth-emux
> snd-synth-opl3]
> snd-seq-instr           5488   0 (autoclean) [snd-synth-opl3]
> snd-ainstr-fm           1232   0 (autoclean) [snd-synth-opl3]
> snd-seq-oss            24032   0 (unused)
> snd-seq-midi-event      3248   0 [snd-seq-midi snd-seq-virmidi
> snd-seq-oss]
> snd-seq                41872   2 [snd-seq-midi snd-synth-emux
> snd-seq-virmidi snd-synth-opl3 snd-seq-midi-emul snd-seq-instr snd-seq-oss
> snd-seq-midi-event]
> snd-pcm-oss            45744   0
> snd-mixer-oss          11248   0 [snd-pcm-oss]
> snd-pcm                62784   2 [snd-sb16-dsp snd-pcm-oss]
> snd-opl3                6752   0 [snd-card-sbawe snd-synth-opl3]
> snd-timer              12448   0 [snd-seq snd-pcm snd-opl3]
> snd-hwdep               4464   0 [snd-sb16-csp snd-opl3]
> snd-rawmidi            14496   0 [snd-mpu401-uart snd-seq-midi
> snd-seq-virmidi]
> snd-emu8000            11776   0 [snd-card-sbawe snd-synth-emu8000]
> snd-seq-device          4224   0 [snd-seq-midi snd-synth-emu8000
> snd-synth-emux snd-synth-opl3 snd-seq-oss snd-seq snd-opl3 snd-rawmidi
> snd-emu8000]
> snd                    34240   6 [snd-card-sbawe snd-sb16-dsp snd-sb16-csp
> snd-sb-common snd-mpu401-uart snd-seq-midi snd-synth-emux snd-seq-virmidi
> snd-util-mem snd-synth-opl3 snd-seq-midi-emul snd-seq-instr snd-seq-oss
> snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-pcm snd-opl3
> snd-timer snd-hwdep snd-rawmidi snd-emu8000 snd-seq-device]
> soundcore               4016  10 [snd]
> 3c509                   7216   1 (autoclean)
> isa-pnp                29072   0 (autoclean) [snd-card-sbawe 3c509]
> 
> the isapnp.conf looks like:
> 
> (CONFIGURE CTL0047/268464536 (LD 0
> #     ANSI string -->Audio<--
> 
> # Multiple choice time, choose one only !
> 
> #     Start dependent functions: priority preferred
> #       IRQ 5.
> #             High true, edge sensitive interrupt (by default)
> (INT 0 (IRQ 5 (MODE +E)))
> #       First DMA channel 1.
> #             8 bit DMA only
> #             Logical device is a bus master
> #             DMA may execute in count by byte mode
> #             DMA may not execute in count by word mode
> #             DMA channel speed in compatible mode
> (DMA 0 (CHANNEL 1))
> #       Next DMA channel 5.
> #             16 bit DMA only
> #             Logical device is a bus master
> #             DMA may not execute in count by byte mode
> #             DMA may execute in count by word mode
> #             DMA channel speed in compatible mode
> (DMA 1 (CHANNEL 5))
> #       Logical device decodes 16 bit IO address lines
> #             Minimum IO base address 0x0220
> #             Maximum IO base address 0x0220
> #             IO base alignment 1 bytes
> #             Number of IO addresses required: 16
> (IO 0 (SIZE 16) (BASE 0x0220))
> #       Logical device decodes 16 bit IO address lines
> #             Minimum IO base address 0x0330
> #             Maximum IO base address 0x0330
> #             IO base alignment 1 bytes
> #             Number of IO addresses required: 2
> (IO 1 (SIZE 2) (BASE 0x0330))
> #       Logical device decodes 16 bit IO address lines
> #             Minimum IO base address 0x0388
> #             Maximum IO base address 0x0388
> #             IO base alignment 1 bytes
> #             Number of IO addresses required: 4
> (IO 2 (SIZE 4) (BASE 0x0388))
> 
> #     End dependent functions
>  (NAME "CTL0047/268464536[0]{Audio               }")
> (ACT Y)
> ))
> (CONFIGURE CTL0047/268464536 (LD 2
> #     ANSI string -->WaveTable<--
> 
> # Multiple choice time, choose one only !
> 
> #     Start dependent functions: priority preferred
> #       Logical device decodes 16 bit IO address lines
> #             Minimum IO base address 0x0620
> #             Maximum IO base address 0x0620
> #             IO base alignment 1 bytes
> #             Number of IO addresses required: 4
> (IO 0 (SIZE 4) (BASE 0x0620))
> #     End dependent functions
>  (NAME "CTL0047/268464536[2]{WaveTable           }")
> (ACT Y)
> ))
> 
> 

_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to