Subject: Re: Boca PnP modem setup
To: Fujie Zhang <fzhang@NMSU.Edu>
From: Christos Zoulas <christos@zoulas.com>
List: port-i386
Date: 07/29/1998 08:12:22
On Jul 28,  6:35pm, fzhang@NMSU.Edu (Fujie Zhang) wrote:
-- Subject: Re: Boca PnP modem setup

| This is a multi-part message in MIME format.
| --------------ECC46C8963BC75C6A8366B90
| Content-Type: text/plain; charset=us-ascii
| Content-Transfer-Encoding: 7bit
| 
| I tried the current kernel source (072898). I added a line: "devlogic com
| BRIB400" to the dev/isapnp/pnpisadevs file before i built the kernel. In the

That is good and your modem got detected.

| kernel source config file, i still used the sb (not ym which is for OPL3-SA3.
| mine is OPL3-SA2, SB pro compatible) driver. Both the sound card and the modem
| card seemed to be detected correctly at bootup. I attached the dmesg output in
| this message. however, as can be seen, only part of the output is generated. I
| saw  a lot more at bootup. Fortunately both the sound card and modem parts are
| present except that there appeared be many repeated lines. I don't know why. if

This is because each device may have many alternate configurations.

| you need my complete kernel config file, please let me know.
| BTW, if anybody reading this message know where i can get the installboot
| program, please also let me know. thx.

Installboot source is in /usr/src/sys/arch/i386/stand/.... If you make and
make install there it should appear in /usr/mdec where is its usual resting
place.

[stuff deleted ]

| isapnp0: configuring <OPL3-SA2 Sound Board, YMH0021, , >
| isapnp0: <OPL3-SA2 Sound Board, YMH0021, , > port 0x220/16,0x530/8,0x388/4,0x330/2,0x370/2 irq 5 drq 0,1 not configured
| Found <OPL3-SA2 Sound Board, YMH0022, PNPB02F, > config: preferred
| 1 IO Ports: 16 address bits, alignment 1 min 0x201, max 0x201
| Register configuration:
| io[0]: 0x201/0
| drq[0]: 0
| drq[1]: 0

OK, if you want to try to configure this as an sb device, add:

	devlogic db YMH021

To the isapnpdevs and rebuild the header files and the kernel.

| isapnp0: configuring <OPL3-SA2 Sound Board, YMH0022, PNPB02F, >
| joy0 at isapnp0 port 0x201/1
| Found <OPL3-SA2 Sound Board, YMH0022, PNPB02F, > config: preferred
| 1 IO Ports: 16 address bits, alignment 1 min 0x201, max 0x201
| joy0: OPL3-SA2 Sound Board 
| joy0: joystick not connected
| PnP version 1.0, Vendor version 0.0
| ANSI Ident: Boca Research 56,000 k56 Modem
| Logical device id BRIB400

[lots of alternate configurations deleted]

| isapnp0: configuring <Boca Research 56,000 k56 Modem, BRIB400, , >
| com2 at isapnp0 port 0x3e8/8 irq 5Found <Boca Research 56,000 k56 Modem, BRIB400, , > config: preferred
| 8 IO Ports: 16 address bits, alignment 8 min 0x3e8, max 0x3e8
| IRQ's supported: 3 5 7 9 10 11 12 15 E+
| : ns16550a, working fifo

That says that your modem was attached properly at com2

| biomask c040 netmask c040 ttymask d0c2
| WARNING: old BSD partition ID!
| boot device: wd0
| root on wd0a dumps on wd0b
| root file system type: ffs

christos