All of lore.kernel.org
 help / color / mirror / Atom feed
From: georg <georg.brand@web.de>
To: alsa-devel@alsa-project.org
Subject: CS5530 on Geode GX1 won't work
Date: Tue, 15 Jul 2008 23:15:22 +0200	[thread overview]
Message-ID: <200807152315.23490.georg.brand@web.de> (raw)

Hello

As Alsa-User mailinglist could not help, I hopefully sent my mail to this list 
now.

I am playing around, trying to get this sound card working for a while now. 

The Hardware is an embedded Geode GX1. Kernel is vanilla 2.6.25.9.

Problem:
------------------------ 8<-------------------------
root@tux:~# aplay foo.wav         
ALSA lib pcm_dmix.c:866:(snd_pcm_dmix_open) unable to open slave
aplay: main:546: audio open error: Device or resource busy

root@tux:~# lspci 
...
00:12.2 IDE interface: Cyrix Corporation 5530 IDE [Kahlua]
00:12.3 Multimedia audio controller: Cyrix Corporation 5530 Audio [Kahlua]
00:12.4 VGA compatible controller: Cyrix Corporation 5530 Video [Kahlua]
...

root@tux:~# lsmod
Module                  Size  Used by
snd_cs5530              4388  0 
snd_sb16_dsp            8608  1 snd_cs5530
snd_sb_common          14432  2 snd_cs5530,snd_sb16_dsp
snd_pcm                63208  1 snd_sb16_dsp
snd_timer              19492  1 snd_pcm
snd                    38804  5 
snd_cs5530,snd_sb16_dsp,snd_sb_common,snd_pcm,snd_timer
snd_page_alloc          7752  1 snd_pcm

dmesg:
...
CS5530: XpressAudio at 0x220
CS5530: MPU at 0x330
CS5530: IRQ: 5 DMA8: 1 DMA16: 5
...

root@tux:~# cat /proc/interrupts 
           CPU0       
  0:     249130    XT-PIC-XT        timer
  1:          2    XT-PIC-XT        i8042
  2:          0    XT-PIC-XT        cascade
  5:          0    XT-PIC-XT        SoundBlaster
  9:     184193    XT-PIC-XT        ohci_hcd:usb1, eth0
 12:          1    XT-PIC-XT      
 14:      41917    XT-PIC-XT        ide0


root@tux:~# strace aplay foo.wav
...
shmctl(32768, 0x102 /* SHM_??? */, 0xbfc94a68) = 0
shmctl(32768, 0x101 /* SHM_??? */, 0xbfc94a68) = 0
open("/dev/snd/controlC0", O_RDWR)      = 3
ioctl(3, USBDEVFS_CONTROL, 0xbfc947a8)  = 0
ioctl(3, 0x40045532, 0xbfc947a4)        = 0
open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK) = -1 EBUSY (Device or resource 
busy)
close(3)                                = 0
write(2, "ALSA lib pcm_dmix.c:866:(snd_pcm"..., 44ALSA lib pcm_dmix.c:866:
(snd_pcm_dmix_open) ) = 44
write(2, "unable to open slave", 20unable to open slave)    = 20
write(2, "\n", 1)                       = 1
...

root@tux:~# lsof | grep -i pcmC0D0p
root@tux:~# 

root@tux:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [CS5530 Audio], device 0: SB16 DSP [DSP v4.12]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

root@tux:~# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)

------------------------ 8<-------------------------

No one is using the sound device. But strace shows error 'Device or resource 
busy'. The thing that confuses me is the output of 'aplay -L'...

Any help is appreciated :-)...

Bye
Georg

             reply	other threads:[~2008-07-15 21:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-15 21:15 georg [this message]
2008-07-16  8:43 ` CS5530 on Geode GX1 won't work Clemens Ladisch
2008-07-16 14:29   ` georg
2008-07-16 15:42     ` Juergen Beisert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200807152315.23490.georg.brand@web.de \
    --to=georg.brand@web.de \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.