Skip to contentSkip to conversation

SoundCards driver work no correctly.

DISCUSSION weifengsui 2 participants 2 messages Nov 8, 2004

lore
Share & tools
lore

weifengsui

author
#0 lore raw

Hi

I am facing problem when program the driver of ALSA HDAudio. My Redhat version is 9.01,the linux kernel version is 2.6.0 and the ALSA version is 1.0.6a. 1, The HDAudio driver can be detected by the ALSA-utils aplay and the driver work OK, but it cann't be detected by 'system settings/detect sound card'. 2, While aplay playback a WAV of 24bit Stereo 48k, the ALSA always insert a linear plugin to convert 24Bit into 16Bit,But my hardware supports 24Bit.

the following is the description of snd_pcm_hardware_t

static snd_pcm_hardware_t snd_azx_playback_hw = {
    .info =            (SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_INTERLEAVED |
                 SNDRV_PCM_INFO_BLOCK_TRANSFER |
                 SNDRV_PCM_INFO_MMAP_VALID |
                 SNDRV_PCM_INFO_PAUSE |
                 SNDRV_PCM_INFO_RESUME),
    .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FORMAT_S24_3LE,
    .rates =   (SNDRV_PCM_RATE_192000 | SNDRV_PCM_RATE_96000 |
               SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_44100),
    .rate_min =         44100,
    .rate_max =         192000,
    .channels_min =     2,
    .channels_max =     6,
    .buffer_bytes_max = 64 * 1024,
    .period_bytes_min = 128,
    .period_bytes_max = 4096,
    .periods_min =      4,
    .periods_max =      16,
    .fifo_size =        0,

the following is module configuration file /etc/modules.conf, My HDAudio module name is snd-azx.
#############################
alias usb-controller ehci-hcd
alias usb-controller1 usb-uhci

# ALSA native device support
alias char-major-116 snd
options snd major-116 cards_limit=1
alias snd-card-0 snd-azx
options snd-azx index=0 id "test"

# OSS/Free setup

alias sound-slot-0 snd-azx

################

"modprobe snd-azx", "rmmod snd-azx",and "lsmod", it seems to work correctly.

I dont know why.

Best Regards,
Fat cat

#1 lore raw
Quoted 1 line · weifengsui

I am facing problem when program the driver of ALSA HDAudio.

The azx driver was donated by Intel and is considered experimental. So far, nobody has found time to write a real driver.

Quoted 3 lines

1, The HDAudio driver can be detected by the ALSA-utils aplay and the driver work OK, but it cann't be detected by 'system settings/detect sound card'.

Redhat doesn't yet know about it.

Quoted 3 lines

2, While aplay playback a WAV of 24bit Stereo 48k, the ALSA always insert a linear plugin to convert 24Bit into 16Bit,But my hardware supports 24Bit.

The driver doesn't yet support 24 bits, even if the hardware does.

Clemens

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click