Sound Device Toruble

Alin-Adrian Anton aanton at reversedhell.net
Fri Sep 12 07:42:02 PDT 2003


admin at abaceeli.net.md wrote:

>I have a problem with my Toshiba Satellite 2105 CDS laptop
>I compiled the kernel with "device pcm" option, and I can see the card in dmesg, but when I'm trying to play smth to /dev/dsp0 the system is not respondig till hard-reboot.
>There is an ESS Maestro-2E Soundcard, and it works fine under Windows OS.
>Thanks.
>
>cat /dev/sndstat result:
>deathless# cat /dev/sndstat
>FreeBSD Audio Driver (newpcm)
>Installed devices:
>pcm0: <ESS Technology Maestro-2E> at I/O port 0xff00 irq 11 (4p/0r/0v channels duplex default)
>
>
>uname -a:
>FreeBSD deathless 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Fri Sep 12 04:53:50 EEST 2003     macros at 11.dnt.md:/usr/obj/usr/src/sys/MKERN  i386
>
>
>dmesg:
>
>Copyright (c) 1992-2003 The FreeBSD Project.
>Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>        The Regents of the University of California. All rights reserved.
>FreeBSD 5.1-RELEASE #0: Fri Sep 12 04:53:50 EEST 2003
>    macros at 11.dnt.md:/usr/obj/usr/src/sys/MKERN
>Preloaded elf kernel "/boot/kernel/kernel" at 0xc058c000.
>Preloaded elf module "/boot/kernel/acpi.ko" at 0xc058c2bc.
>Timecounter "i8254"  frequency 1193182 Hz
>Timecounter "TSC"  frequency 400911128 Hz
>CPU: AMD-K6(tm) 3D processor (400.91-MHz 586-class CPU)
>  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
>  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
>  AMD Features=0x80000800<SYSCALL,3DNow!>
>real memory  = 66912256 (63 MB)
>avail memory = 58994688 (56 MB)
>K6-family MTRR support enabled (2 registers)
>npx0: <math processor> on motherboard
>npx0: INT 16 interface
>acpi0: <TOSHIB 750     > on motherboard
>acpi0: power button is handled as a fixed feature programming model.
>Timecounter "ACPI-fast"  frequency 3579545 Hz
>acpi_timer0: <32-bit timer at 3.579545MHz> port 0x18a8-0x18ab on acpi0
>acpi_cpu0: <CPU> port 0x530-0x537 on acpi0
>acpi_tz0: <thermal zone> port 0x530-0x537 on acpi0
>acpi_lid0: <Control Method Lid Switch> on acpi0
>acpi_acad0: <AC adapter> on acpi0
>acpi_cmbat0: <Control method Battery> on acpi0
>pcibios: BIOS version 2.10
>Using $PIR table, 5 entries at 0xc00fec60
>pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
>pci0: <ACPI PCI bus> on pcib0
>pci0: <simple comms> at device 7.0 (no driver attached)
>pci0: <display, VGA> at device 8.0 (no driver attached)
>ohci0: <NEC uPD 9210 USB controller> mem 0xf7fff000-0xf7ffffff irq 11 at device 11.0 on pci0
>usb0: OHCI version 1.0
>usb0: <NEC uPD 9210 USB controller> on ohci0
>usb0: USB revision 1.0
>uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>uhub0: 2 ports with 2 removable, self powered
>pcm0: <ESS Technology Maestro-2E> port 0xff00-0xffff irq 11 at device 12.0 on pci0
>pcm0: <SigmaTel STAC9721/23 AC97 Codec>
>atapci0: <GENERIC ATA controller> port 0x1800-0x180f at device 16.0 on pci0
>ata0: at 0x1f0 irq 14 on atapci0
>ata1: at 0x170 irq 15 on atapci0
>cbb0: <ToPIC97 PCI-CardBus Bridge> at device 19.0 on pci0
>cardbus0: <CardBus bus> on cbb0
>pccard0: <16-bit PCCard bus> on cbb0
>pcib0: slot 19 INTA is routed to irq 11
>cbb1: <ToPIC97 PCI-CardBus Bridge> at device 19.1 on pci0
>cardbus1: <CardBus bus> on cbb1
>pccard1: <16-bit PCCard bus> on cbb1
>pcib0: slot 19 INTB is routed to irq 11
>atkb0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
>atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
>kbd0 at atkbd0
>psm0: <PS/2 Mouse> irq 12 on atkbdc0
>psm0: model GlidePoint, device ID 0
>fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
>fd0: <1440-KB 3.5" drive> on fdc0 drive 0
>sio0 port 0x3f8-0x3ff irq 4 on acpi0
>sio0: type 16550A
>ppc0 port 0x778-0x77a,0x378-0x37f irq 7 drq 3 on acpi0
>ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
>ppc0: FIFO with 16/16/8 bytes threshold
>ppbus0: <Parallel port bus> on ppc0
>plip0: <PLIP network interface> on ppbus0
>lpt0: <Printer> on ppbus0
>lpt0: Interrupt-driven port
>ppi0: <Parallel I/O> on ppbus0
>Timecounters tick every 1.000 msec
>DUMMYNET initialized (011031)
>ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging limited to 10 packets/entry by default
>acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
>rl0: <RealTek 8139 10/100BaseTX> port 0x1000-0x10ff mem 0x88002000-0x880021ff irq 11 at device 0.0 on cardbus1
>rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
>rl0: Ethernet address: 00:02:44:3c:dd:0d
>miibus0: <MII bus> on rl0
>rlphy0: <RealTek internal media interface> on miibus0
>rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>ad0: 4126MB <TOSHIBA MK4313MAT> [8944/15/63] at ata0-master BIOSDMA
>acd0: CDROM <TOSHIBA CD-ROM XM-1902B> at ata1-master BIOSPIO
>Mounting root from ufs:/dev/ad0s1a
>
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
>  
>
Try recompiling the kernel without pcm support, and using the soundcard 
driver as a module (see snd_*.ko in the modules dir).

#kldload snd_driver.ko

Alin.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3194 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030912/52a59898/smime.bin


More information about the freebsd-questions mailing list