Open Sound Issue or OS issue ?
Like many have posted before, the issue again is related to
sound on my laptop. But then, I am not being able to fathom,
as to whether it is an oss issue or is it to do with the
kernel. This mail is a bit long, but to shorten things
(somewhat), I have placed three text outputs from my system as
attachments for diagnostic purposes.
I have a Dell Inspiron 1520, which I am using for over 16
months now, (the hardware components from pciconf output of my
system attached). Mine would be one of the best boxes for
comparisons because I have four OSs concurrently running from
native partitions (not on vmware), on the same box. They are
Win-XP, SuSE-11, OpenSolaris 2008.5 and PC-BSD 7.0.1.
Yes, the hardware is definitely Win-friendly, and all
hardware, specially sound is not supported by available open
source drivers for the *nices. For SuSE, sound is functional
under ALSA, though microphone could not be made to work.
My surprise is under OpenSolaris and PC-BSD. I am using
exactly the same OSS driver for both OSs on the same box.
(Debug info for both OSs attached). Whereas I get sound
perfectly (no microphone though) on OpenSolaris, for PC-BSD it
is still a silent box.
My question is, if the same OSS driver (version and build)
works under one OS, why should not it work for another on
exactly the same box ?
Bish
PS : I am not sure if attachments are permitted on this list.
If not, I will post them inline in a follow-up mail.
[bish <at> pcbsd ~]$ pciconf -l -v
hostb0 <at> pci0:0:0:0: class=0x060000 card=0x01f11028 chip=0x2a008086 rev=0x0c hdr=0x00
vendor = 'Intel Corporation'
device = 'Mobile PM965/GM965/GL960 Express Processor to DRAM Controller'
class = bridge
subclass = HOST-PCI
vgapci0 <at> pci0:0:2:0: class=0x030000 card=0x01f11028 chip=0x2a028086 rev=0x0c hdr=0x00
vendor = 'Intel Corporation'
device = 'Mobile 965 Express Integrated Graphics Controller'
class = display
subclass = VGA
vgapci1 <at> pci0:0:2:1: class=0x038000 card=0x01f11028 chip=0x2a038086 rev=0x0c hdr=0x00
vendor = 'Intel Corporation'
device = 'Mobile 965 Express Integrated Graphics Controller'
class = display
uhci0 <at> pci0:0:26:0: class=0x0c0300 card=0x01f11028 chip=0x28348086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) USB UHCI'
class = serial bus
subclass = USB
uhci1 <at> pci0:0:26:1: class=0x0c0300 card=0x01f11028 chip=0x28358086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) USB UHCI'
class = serial bus
subclass = USB
ehci0 <at> pci0:0:26:7: class=0x0c0320 card=0x01f11028 chip=0x283a8086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '81EC1043 (?) ICH8 Enhanced USB2 Enhanced Host Controller'
class = serial bus
subclass = USB
pcm0 <at> pci0:0:27:0: class=0x040300 card=0x01f11028 chip=0x284b8086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801H &SUBSYS_81EC1043&REV_02\3&11583659&0&D8'
class = multimedia
pcib1 <at> pci0:0:28:0: class=0x060400 card=0x01f11028 chip=0x283f8086 rev=0x02 hdr=0x01
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) PCIe Port 1'
class = bridge
subclass = PCI-PCI
pcib2 <at> pci0:0:28:1: class=0x060400 card=0x01f11028 chip=0x28418086 rev=0x02 hdr=0x01
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) PCIe Port 2'
class = bridge
subclass = PCI-PCI
pcib3 <at> pci0:0:28:3: class=0x060400 card=0x01f11028 chip=0x28458086 rev=0x02 hdr=0x01
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) PCIe Port 4'
class = bridge
subclass = PCI-PCI
uhci2 <at> pci0:0:29:0: class=0x0c0300 card=0x01f11028 chip=0x28308086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) USB UHCI'
class = serial bus
subclass = USB
uhci3 <at> pci0:0:29:1: class=0x0c0300 card=0x01f11028 chip=0x28318086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) USB UHCI'
class = serial bus
subclass = USB
uhci4 <at> pci0:0:29:2: class=0x0c0300 card=0x01f11028 chip=0x28328086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) USB UHCI'
class = serial bus
subclass = USB
ehci1 <at> pci0:0:29:7: class=0x0c0320 card=0x01f11028 chip=0x28368086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) USB2 EHCI'
class = serial bus
subclass = USB
pcib4 <at> pci0:0:30:0: class=0x060401 card=0x01f11028 chip=0x24488086 rev=0xf2 hdr=0x01
vendor = 'Intel Corporation'
device = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge'
class = bridge
subclass = PCI-PCI
isab0 <at> pci0:0:31:0: class=0x060100 card=0x01f11028 chip=0x28158086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = 'ICH8M-E (ICH8 Family) LPC Interface Controller'
class = bridge
subclass = PCI-ISA
atapci0 <at> pci0:0:31:1: class=0x01018a card=0x01f11028 chip=0x28508086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) Ultra ATA Storage Controllers'
class = mass storage
subclass = ATA
atapci1 <at> pci0:0:31:2: class=0x01018f card=0x01f11028 chip=0x28288086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = 'ICH8M (ICH8 Family) 3 port SATA Controller'
class = mass storage
subclass = ATA
none0 <at> pci0:0:31:3: class=0x0c0500 card=0x01f11028 chip=0x283e8086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801H (ICH8 Family) SMBus Controller'
class = serial bus
subclass = SMBus
wpi0 <at> pci0:12:0:0: class=0x028000 card=0x10208086 chip=0x42228086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '10418086 Intel 3945ABG Wireless LAN controller'
class = network
bfe0 <at> pci0:3:0:0: class=0x020000 card=0x01f11028 chip=0x170c14e4 rev=0x02 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'BCM4401 Broadcom NetLink 4401 10/100 Ethernet NIC'
class = network
subclass = ethernet
fwohci0 <at> pci0:3:1:0: class=0x0c0010 card=0x01f11028 chip=0x08321180 rev=0x05 hdr=0x00
vendor = 'Ricoh Company, Ltd.'
device = 'unknown IEEE 1394 (4 pin firewire) chip)'
class = serial bus
subclass = FireWire
none1 <at> pci0:3:1:1: class=0x080501 card=0x01f11028 chip=0x08221180 rev=0x22 hdr=0x00
vendor = 'Ricoh Company, Ltd.'
device = 'R5C832, R5C843 SDA Standard Compliant SD Host Controller'
class = base peripheral
none2 <at> pci0:3:1:2: class=0x088000 card=0x01f11028 chip=0x08431180 rev=0x12 hdr=0x00
vendor = 'Ricoh Company, Ltd.'
device = 'unknown Ricoh MMC Host Controller'
class = base peripheral
none3 <at> pci0:3:1:3: class=0x088000 card=0x01f11028 chip=0x05921180 rev=0x12 hdr=0x00
vendor = 'Ricoh Company, Ltd.'
device = '13871043 Ricoh Memory Stick Host Controller'
class = base peripheral
none4 <at> pci0:3:1:4: class=0x088000 card=0x01f11028 chip=0x08521180 rev=0x12 hdr=0x00
vendor = 'Ricoh Company, Ltd.'
device = 'unknown Ricoh xD-Picture Card Host Controller'
class = base peripheral
[bish <at> pcbsd ~]$
bish:~$ uname -a
SunOS gallum 5.11 snv_86 i86pc i386 i86pc
bish:~$
bish:~$
bish:~$ modinfo | grep -i sound
167 fffffffff7e5d000 8c5e0 - 1 osscommon (Open Sound System 4.0 (b1015/20)
bish:~$
bish:~$
bish:~$ cat /dev/sndstat
OSS 4.0 (b1015/200803241124) (C) 4Front Technologies 1996-2008
Audio devices:
0: HD Audio front (OUTPUT)
Engine 1 opened OUT by VMIX/0 <at> 48000/48000 Hz Fragment: 128/192000 (0.6 msec)
Engine 2 opened INOUT by SADA/0 <at> 48000/48000 Hz Fragment: 1024/192000 (5.3 msec)
1: HD Audio rear (OUTPUT)
2: HD Audio modem-out (OUTPUT)
3: High Definition Audio rec1 (INPUT)
Opened IN by VMIX_IN/0 <at> 48000/48000 Hz Fragment: 128/192000 (0.6 msec)
4: High Definition Audio rec2 (INPUT)
5: High Definition Audio modem-in (INPUT)
Mixers:
0: High Definition Audio STAC9205
bish:~$ cat /dev/sndstat
bish:~$
bish:~$ ossinfo
Version info: OSS 4.0 (b1015/200803241124) (0x00040003)
Platform: SunOS/i86pc 5.11 snv_86 (gallum)
Number of audio devices: 6
Number of audio engines: 14
Number of mixer devices: 1
Device objects
0: sadasupport0 SADA compatibility layer interrupts=313 (728)
HD Audio controller Intel HD Audio
Vendor ID 0x8086284b
Subvendor ID 0x102801f1
Codec 0: STAC9205 (0x838476a0/0x102801f1)
Codec 1: Conexant2c06 (0x14f12c06)
1: hdaudio0 Intel HD Audio interrupts=12464566 (24945335)
HD Audio controller Intel HD Audio
Vendor ID 0x8086284b
Subvendor ID 0x102801f1
Codec 0: STAC9205 (0x838476a0/0x102801f1)
Codec 1: Conexant2c06 (0x14f12c06)
2: osscore0 OSS common devices
3: ossusb0 USB audio/MIDI device
4: vmix0 OSS transparent virtual mixer
Mixer devices
0: High Definition Audio STAC9205 (Mixer 0 of device object 1)
Audio devices
HD Audio front /dev/oss/hdaudio0/pcm0 (device index 0)
HD Audio rear /dev/oss/hdaudio0/pcm1 (device index 1)
HD Audio modem-out /dev/oss/hdaudio0/pcm2 (device index 2)
High Definition Audio rec1 /dev/oss/hdaudio0/pcmin0 (device index 3)
High Definition Audio rec2 /dev/oss/hdaudio0/pcmin1 (device index 4)
High Definition Audio modem-in /dev/oss/hdaudio0/pcmin2 (device index 5)
bish:~$
[bish <at> pcbsd ~]$ uname -a
FreeBSD pcbsd 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Mon Nov 24 20:22:16 EST 2008
root <at> pcbsdx32-7:/usr/obj/pcbsd-build/cvs/7.0.2-src/sys/PCBSD i386
[bish <at> pcbsd ~]$
[bish <at> pcbsd ~]$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: <Intel 82801H High Definition Audio Controller> at memory 0xfe9fc000 irq 21 kld snd_hda
[20080420_0052] [MPSAFE] (1p:4v/1r:4v channels duplex default)
[bish <at> pcbsd ~/usr/home/bish]$
bish <at> pcbsd ~]$ kldstat
Id Refs Address Size Name
1 26 0xc0400000 a62418 kernel
2 2 0xc0e63000 284d4 linux.ko
3 1 0xc0e8c000 3818 ulpt.ko
4 1 0xc0e90000 6a2b4 acpi.ko
5 1 0xc570f000 7000 linprocfs.ko
6 1 0xc576c000 26000 wpifw.ko
7 1 0xc5a26000 14000 snd_hda.ko
8 1 0xc5a3a000 3f000 sound.ko
9 3 0xc5b8b000 7e000 osscore.ko
10 1 0xc5c1f000 2d000 oss_hdaudio.ko
11 1 0xc5c4c000 3c000 oss_imux.ko
12 1 0xc5d8a000 6000 i915.ko
13 1 0xc5d90000 f000 drm.ko
[bish <at> pcbsd ~]$
[bish <at> pcbsd ~]$ ossdetect
/usr/local/lib/oss/etc/installed_drivers: Permission denied
[bish <at> pcbsd ~]$ su -
Password:
root <at> pcbsd# ossdetect
root <at> pcbsd#
root <at> pcbsd# ossinfo
Version info: OSS 4.1 (b 1051/200901040350) (0x00040100)
Platform: FreeBSD/i386 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Mon Nov 24 20:22:16 EST 2008
root <at> pcbsdx32-7:/usr/obj/pcbsd-build/cvs/7.0.2-src/sys/PCBSD (pcbsd)
Number of audio devices: 0
Number of audio engines: 0
Number of mixer devices: 0
Device objects
0: oss_imux0 OSS IMUX driver
Mixer devices
Audio devices
root <at> pcbsd#
_______________________________________________
Support mailing list
Support@...
http://lists.pcbsd.org/mailman/listinfo/support