Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CMI8330 sound card on freeBSD 4.8

Status
Not open for further replies.

TintaLiviu

Programmer
Aug 21, 2003
11
0
0
CA
Hello,

I'm trying to configure my CMI8330 sound card. It is not onboard (so
Code:
options PNPBIOS[\code] I think is out of question).
I've tried to configure it: first I've added to the kernel configuration file:
[code]
 device pcm
[\code]
After compiling the kernel:
[code]
cd /dev
sh MAKEDEV snd0
[\code]
When I'm trying to listen one .mp3 file I receive:
[code]pcm0:play:0: play interrupt timeout, channel dead[\code]

I've tried also:
[code]
device pcm
device sbc
[\code]
The same result.

To help you better understand the situation I will add some command outputs:
[code]
bash-2.05b# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <CMI8330> at io 0x530 irq 11 drq 0 bufsz 4096 (1p/1r/0v channels duplex)
bash-2.05b# grep pcm /var/run/dmesg.boot
pcm0: <CMI8330> at port 0x530-0x537,0x388-0x38f irq 11 drq 0 on isa0
bash-2.05b# uname -a
FreeBSD liviu.p16.pub.ro 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Sat Oct  4 17:14:44 EEST 2003     root@liviu.p16.pub.ro:/usr/src/sys/compile/MYKERNEL  i386
bash-2.05b# vmstat -i
interrupt                   total       rate
ata0 irq14                   4604          6
uhci0 irq10                     1          0
ed0 irq12                  538029        762
fdc0 irq6                       2          0
atkbd0 irq1                  2224          3
sio1 irq3                    6824          9
clk irq0                    70579         99
rtc irq8                    90356        127
Total                      712619       1009
[\code]

As you can see irq 11 is not used. 
I've also checked to see if other application is using the device, but no one used it.

Help will be very much appreciated,
  Liviu.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top