Skip site navigation (1)Skip section navigation (2)
Date:      18 May 2000 06:23:51 +0200
From:      Kent Boortz <kent@erix.ericsson.se>
To:        freebsd-questions@freebsd.org
Subject:   HP OmniBook 4100 and sound?
Message-ID:  <d21z305vvs.fsf@erix.ericsson.se>

next in thread | raw e-mail | index | archive | help

I have problems to install "FreeBSD 3.4-RELEASE #17" on a HP OmniBook
4100. Video is ok but sound and networking with a 3Com 589D PCCARD
fails.

The sound chip is a Crystal CS4237B. pnpinfo shows no entries. The
BIOS has no setting for PnP OS or not.

I can see the values for the sound chip in the BIOS and the same
values are used in Windows98 and there the sound is working.

        WSS I/O:   0x530
        AdLib I/O: 0x388
        SB I/O:    0x220
        IRQ:           5
        1st DMA        1
        2nd DMA        0

If I use a simple kernel configuration line like

  device pcm0

but it doesn't work at all. I have a bit more success with

  device pcm0 at isa? port ? irq 5 drq 1 flags 0x0

then port 0x220 is found but the sound I get is just noise. If I use
the more correct line (I think) I get no sound at all. I have tried
every combination that I could find searching the Internet. I think
the correct configuration line is

  device pcm0 at isa? port 0x530 irq 5 drq 1 flags 0x10

and I also tried to configure the kernel with "boot -c" and the line

  pnp 1 0 os enable port0 0x530 port1 0x388 port2 0x220 irq0 5 drq0 1 drq1 0

but that does not help.

Is the main problem that the chip does not show up with "pnpinfo" and
if so, what could be the reason for this problem?

I'm still confused about the PnP stuff in FreeBSD (and PnP in
general). What commands/tools do I use to debug things like this?

Yes, I checked that "mixer" was not set to zero ;-)

Hints about how to make the 3c589D show up are also welcome.  I
tried the zp0 driver but could not make it work both ways.  (Don't
remember exactly but a ping packet went one way but failed to go
back.) Switched to the ep0 driver and the card don't even show up.

kent


Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.4-RELEASE #17: Thu May 18 05:26:59 CEST 2000
    root@hp.kgb.se:/usr/src/sys/compile/HP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (265.26-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 33554432 (32768K bytes)
config> pnp 1 0 os irq0 5 irq1 0 drq0 1 drq1 0 port0 0x530 port1 0x388 port2 0x220
avail memory = 30121984 (29416K bytes)
Preloaded elf kernel "kernel" at 0xc02a6000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02a609c.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02a60ec.
Pentium Pro MTRR support enabled
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge (AGP disabled)> rev 0x02 on pci0.0.0
vga0: <NeoMagic NM2160 laptop SVGA controller> rev 0x01 int a irq 255 on pci0.2.0
pcic0: <TI PCI-1250 PCI-CardBus Bridge> rev 0x02 int a irq 255 on pci0.4.0
pcic1: <TI PCI-1250 PCI-CardBus Bridge> rev 0x02 int b irq 255 on pci0.4.1
chip1: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.7.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
intpm0: <Intel 82371AB Power management controller> rev 0x02 on pci0.7.3
intpm0: I/O mapped 2180 ALLOCED IRQ 0 intr IRQ 9 enabled revision 0
intsmb0: <Intel PIIX4 SMBUS Interface>
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped 8000 
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <IBM-DADA-26480>
wd0: 6194MB (12685680 sectors), 13424 cyls, 15 heads, 63 S/T, 512 B/S
wdc1 not found at 0x170
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
ep0 not found
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
pcm0 not found at 0x530
apm0 on isa
apm: found APM BIOS version 1.2
PC-Card VLSI 82C146 (5 mem & 2 I/O windows)
pcic: controller irq 5
Initializing PC-card drivers: ep sio
changing root device to wd0s2a
Card inserted, slot 0



machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
cpu		"I686_CPU"
ident		HP
maxusers	16

options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	MFS			#Memory Filesystem
options 	MFS_ROOT		#MFS usable as root device, "MFS" req'ed
options 	NFS			#Network Filesystem
options 	NFS_ROOT		#NFS usable as root device, "NFS" req'ed
options 	MSDOSFS			#MSDOS Filesystem
options 	"CD9660"		#ISO 9660 Filesystem
options 	"CD9660_ROOT"		#CD-ROM usable as root. "CD9660" req'ed
options 	PROCFS			#Process filesystem
options 	"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options 	UCONSOLE		#Allow users to grab the console
options 	FAILSAFE		#Be conservative
options 	USERCONFIG		#boot -c editor
options 	KTRACE			#ktrace(1) syscall trace support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores

config		kernel	root on wd0

controller	isa0
controller	pnp0			# PnP support for ISA
controller	pci0

# Floppy drives
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
disk		fd0	at fdc0 drive 0

# IDE controller and disks
controller	wdc0	at isa? port "IO_WD1" bio irq 14
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1
controller	wdc1	at isa? port "IO_WD2" bio irq 15
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1

# ATAPI devices
options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		acd0		#IDE CD-ROM

# atkbdc0 controls both the keyboard and the PS/2 mouse
controller	atkbdc0	at isa? port IO_KBD tty
device		atkbd0	at isa? tty irq 1
device		psm0	at isa? tty irq 12

device		vga0	at isa? port ? conflicts

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? tty

# Floating point support - do not disable.
device		npx0	at isa? port IO_NPX irq 13

# Power management support (see LINT for more options)
device		apm0    at isa?	disable	flags 0x31 # Advanced Power Management

# PCCARD (PCMCIA) support
controller	card0
device		pcic0	at card?
device		pcic1	at card?

# Serial (COM) ports
device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4
device		sio1	at isa? port "IO_COM2" tty irq 3

# Parallel port
device		ppc0	at isa? port? flags 0x40 net irq 7
controller	ppbus0			# Parallel port bus (required)
device		lpt0	at ppbus?	# Printer
device		plip0	at ppbus?	# TCP/IP over parallel
device		ppi0	at ppbus?	# Parallel port interface device

# PCCARD NIC drivers.
device ep0 at isa? port ? net irq ?

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	sl	1	# Kernel SLIP
pseudo-device	ppp	1	# Kernel PPP
pseudo-device	tun	1	# Packet tunnel
pseudo-device	pty	16	# Pseudo-ttys (telnet etc)
pseudo-device	gzip		# Exec gzipped a.out's

pseudo-device	bpfilter 1	#Berkeley packet filter

# SOUND!!!!!
device pcm0 at isa? port 0x530 irq 5 drq 1 flags 0x10

# intpm	Intel PIIX4 Power Management Unit
controller smbus0
controller intpm0
device smb0 at smbus?

device apm0 at isa? flags 0x0


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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