Hi,

I'm trying to get my SB Extigy working with ALSA and so far, I cannot
play any sound. Using OSS emulation, the device opens fine and the ioctl
(for speed, stereo, ...) succeed, but a write to the device generates an
"Invalid argument" error. The mixers all "seem" to work fine though
(alsa and OSS). When I use aplay, I get:

% aplay /home/jm/speextest2.wav
Playing WAVE '/home/jm/speextest2.wav' : Signed 16 bit Little Endian,
Rate 44100 Hz, Stereo
ALSA lib pcm_hw.c:428:(snd_pcm_hw_prepare) SNDRV_PCM_IOCTL_PREPARE
failed: Invalid argument
aplay: set_params:815: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (92879 92880)
PERIOD_SIZE: 4096
PERIOD_BYTES: 16384
PERIODS: 4
BUFFER_TIME: (371519 371520)
BUFFER_SIZE: 16384
BUFFER_BYTES: 65536
TICK_TIME: 10000


I've also tried recording from the card. Recording doesn't fail like
playback does but the result is strange. First, the signal I get looks
like it has an 8-bit resolution (I only see multiples of 256), but I'm
able to distinguish part of the signal.

Here's my setup:
RedHat 7.3 with 2.4.19 kernel on a Compaq Presario laptop (Pentium III)
CVS version of ALSA dated 2003/01/21

% cat /proc/asound/devices
  0: [0- 0]: ctl
  8: [0- 0]: raw midi
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
 33:       : timer

% cat /proc/asound/cards 
0 [Extigy         ]: USB-Audio - Sound Blaster Extigy
                     Creative Technology Ltd. at 001/004

% cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v0.9.0rc6 emulation code)
Kernel: Linux idefix.homelinux.org 2.4.19 #1 mer sep 4 13:05:53 EDT 2002
i686
Config options: 0

Installed drivers: 
Type 10: ALSA emulation

Card config: 
Creative Technology Ltd. at 001/004

Audio devices:
0: USB Audio (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices:
0: Sound Blaster Extigy

Timers:
7: system timer

Mixers:
0: USB Mixer

% lsmod
Module                  Size  Used by    Tainted: PF 
usb-uhci               24196   0  (unused)
snd-usb-audio          41888   1 
snd-rawmidi            16832   0  [snd-usb-audio]
snd-seq-device          5628   0  [snd-rawmidi]
sr_mod                 13944   0  (autoclean)
snd-pcm-oss            42660   0 
snd-pcm                75936   0  [snd-usb-audio snd-pcm-oss]
snd-timer              13920   0  [snd-pcm]
snd-mixer-oss          13472   1  [snd-pcm-oss]
snd                    42120   1  [snd-usb-audio snd-rawmidi
snd-seq-device snd-pcm-oss snd-pcm snd-timer snd-mixer-oss]
soundcore               6180   5  [snd]
vmnet                  21600   4 
parport_pc             17444   0 
parport                35456   0  [parport_pc]
vmmon                  22260   0  (unused)
hid                    14912   0  (unused)
prism2_cs              61752   1 
p80211                 15988   1  [prism2_cs]
ds                      8128   1  [prism2_cs]
i82365                 25392   1 
pcmcia_core            43840   0  [prism2_cs ds i82365]
ide-scsi                9216   0 
scsi_mod               95292   2  [sr_mod ide-scsi]
ntfs                   54528   1  (autoclean)


Anything I'm doing wrong, or is it a bug in the driver. In the first
case, can anyone help me? In the second case, I can provide testing to
improve the driver.

        Jean-Marc

-- 
Jean-Marc Valin, M.Sc.A.
LABORIUS (http://www.gel.usherb.ca/laborius)
Université de Sherbrooke, Québec, Canada

Attachment: signature.asc
Description: PGP signature

Reply via email to