Date: Sun, 13 Jul 1997 21:40:20 -0400 From: Randall Hopper <rhh@ct.picker.com> To: Alan Batie <batie@aahz.jf.intel.com> Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: onboard sound problem Message-ID: <19970713214020.28548@ct.picker.com> In-Reply-To: <m0wmjBF-000hy2C@aahz.jf.intel.com>; from Alan Batie on Fri, Jul 11, 1997 at 10:08:29AM -0700 References: <19970710220458.09697@ct.picker.com> <m0wmjBF-000hy2C@aahz.jf.intel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I've never used rat (maybe an MBONE expert will chime in with some help here), but the ktrace output here looks mighty fishy. First, it's opening /dev/audio (8KHz ULAW device). Then it tries to change the sample rate...Hmmmmmmm. Looks like it should have opened /dev/dsp if that's what it wanted to do. That fails of course. Then it looks like it goes off into LaLa land sending an ioctl and close to fd -1, following up that act by trying to reopen /dev/audio. Sorry, only one device at a time there. Appears rat might not be configured right and could use some fixes to handle incorrect configuration and error handling. ...that's just my best guess never having run rat before. BTW, your device files have the same major and minor as mine, so that looks OK. Hope this helps. Randall Alan Batie: |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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970713214020.28548>