Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 1997 10:08:29 -0700 (PDT)
From:      batie@aahz.jf.intel.com (Alan Batie)
To:        rhh@ct.picker.com (Randall Hopper)
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: onboard sound problem
Message-ID:  <m0wmjBF-000hy2C@aahz.jf.intel.com>
In-Reply-To: <19970710220458.09697@ct.picker.com> from "Randall Hopper" at Jul 10, 97 10:04:58 pm

next in thread | previous in thread | raw e-mail | index | archive | help
In a previous message, Randall Hopper said:
> Though if IRQ 5 is free in your system, move the soundcard to that.  The
> traditional SB16 config is IRQ5 DMA1 (8-bit) for the SB part and DMA5
> (16-bit) for the SB16 part.

After checking in BIOS setup (which doesn't say where the audio is, nor does
it let you fiddle with it, other than to enable/disable it), and the manual,
which says nothing, and finally Dell's website told me that the default irq
for the audio is irq 5.  Reconfiguring the kernel fixed *that* problem (though
now the uart0 isn't found because it would conflict; I don't do real midi
stuff anyhow).

Now (and it was doing it before, but I wanted the audio to be working in
general before reporting it), rat repeatedly reports "audio busy" when I
start it up.  It's 3.0.22, the pre-compiled binary from the Multimedia
Conferencing Applications Archive at http://ugwww.ucs.ed.ac.uk/mice/archive/

   301 rat      CALL  open(0x10130,0x4,0xffffffff)
   301 rat      NAMI  "/dev/audio"
   301 rat      RET   open 7
   301 rat      CALL  ioctl(0x7,0x20005016 ,0)
   301 rat      RET   ioctl -1 errno 22 Invalid argument
   301 rat      CALL  ioctl(0x7,0xc004500a ,0xefbf976c)
   301 rat      RET   ioctl 0
   301 rat      CALL  ioctl(0x7,0xc0045005 ,0xefbf9768)
   301 rat      RET   ioctl 0
   301 rat      CALL  fstat(0x1,0xefbf93fc)
   301 rat      RET   fstat 0
   301 rat      CALL  ioctl(0x1,TIOCGETA,0xefbf9438)
   301 rat      RET   ioctl 0
   301 rat      CALL  write(0x1,0x19c000,0x2c)
   301 rat      GIO   fd 1 wrote 44 bytes
       "Device doesn't support 16bit linear format!
       "
   301 rat      RET   write 44/0x2c
   301 rat      CALL  ioctl(0xffffffff,0x20005016 ,0)
   301 rat      RET   ioctl -1 errno 9 Bad file descriptor
   301 rat      CALL  close(0xffffffff)
   301 rat      RET   close -1 errno 9 Bad file descriptor
   301 rat      CALL  open(0x10130,0x5,0x12a000)
   301 rat      NAMI  "/dev/audio"
   301 rat      RET   open -1 errno 16 Device busy
   301 rat      CALL  writev(0x2,0xefbf9730,0x4)
   301 rat      GIO   fd 2 wrote 24 bytes
       "audio_open: Device busy
       "
   301 rat      RET   writev 24/0x18
   301 rat      CALL  close(0xffffffff)
   301 rat      RET   close -1 errno 9 Bad file descriptor

lrwxrwxrwx  1 root  wheel  6 Jul 10 13:44 /dev/audio@ -> audio0
crw-rw-rw-  1 root  wheel   30,   4 Jul 10 13:44 /dev/audio0
lrwxrwxrwx  1 root  wheel  4 Jul 10 13:44 /dev/dsp@ -> dsp0
crw-rw-rw-  1 root  wheel   30,   3 Jul 11 09:58 /dev/dsp0


-- 
Alan Batie                     ------        What goes up, must come down.
batie@aahz.jf.intel.com        \    /        Ask any system administrator.
+1 503-264-8844 (voice)         \  /         --unknown
D0 D2 39 0E 02 34 D6 B4          \/          5A 41 21 8F 23 5F 08 9D



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0wmjBF-000hy2C>