Zyxel 56K Omni PCI and FreeBSD 4.8-Stable

Hvorostyan Sergey hvorostyan at mail.ru
Sat May 10 00:44:09 PDT 2003


Hi All,
Is here anybody who managed to have to work "Zyxel 56K Omni PCI" with
FreeBSD 4.8-Stable?
I`ve done everything with it, what can came into my head!
Thats device have vendor id=134D and device id=7892. 
I`ve added corresponding string 
        /* PCTEL Inc. */
        {   "PCT 789T-A HSP MicroModem 56",
            {   0x134d, 0x7892, 0,      0       },
            {   0xffff, 0xffff, 0,      0       },
            {
                { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
            },
        },

to pucdata.c and then after installed new kernel and booted 
with argument -v I had next outout of dmesg

pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
found-> vendor=0x8086, dev=0x7190, revid=0x03
        class=06-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        map[10]: type 1, range 32, base d0000000, size 26
found-> vendor=0x8086, dev=0x7191, revid=0x03
        class=06-04-00, hdrtype=0x01, mfdev=0
        subordinatebus=1        secondarybus=1
found-> vendor=0x8086, dev=0x7110, revid=0x02
        class=06-01-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
found-> vendor=0x8086, dev=0x7111, revid=0x01
        class=01-01-80, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        map[20]: type 1, range 32, base 0000f000, size  4
found-> vendor=0x8086, dev=0x7112, revid=0x01
        class=0c-03-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=d, irq=10
        map[20]: type 1, range 32, base 0000e000, size  5
found-> vendor=0x8086, dev=0x7113, revid=0x02
        class=06-80-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        map[90]: type 1, range 32, base 00005000, size  4
found-> vendor=0x134d, dev=0x7892, revid=0x02
        class=07-03-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=7
        map[10]: type 1, range 32, base 0000e400, size  6
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
found-> vendor=0x10de, dev=0x002c, revid=0x15
        class=03-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=11
        map[10]: type 1, range 32, base d4000000, size 24
        map[14]: type 1, range 32, base d6000000, size 25
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva Vanta TNT2 graphics accelerator> (vendor=0x10de, dev=0x002c) at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf000
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI 00 00
ata0-slave: ATAPI 00 00
ata0: mask=03 stat0=50 stat1=00
ata0-master: ATA 01 a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xf008
ata1: mask=03 ostat0=50 ostat2=50
ata1-master: ATAPI 00 00
ata1-slave: ATAPI 14 eb
ata1: mask=03 stat0=50 stat1=00
ata1-master: ATA 01 a5
ata1: devices=09
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> (vendor=0x8086, dev=0x7112) at 7.2 irq 10
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on pci0
!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!
puc0: <PCT 789T-A HSP MicroModem 56> port 0xe400-0xe43f irq 7 at device 16.0 on pci0
sio0: configured irq 7 not in bitmap of probed irqs 0
sio0: irq maps: 0x1 0x1 0x1 0x1
sio0: probe failed test(s): 0 1 2 4 6 7 9
!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!
ata-: ata0 exists, using next available unit number
ata-: ata1 exists, using next available unit number
pnpbios: 13 devices, largest 69 bytes
PNP0000: adding irq mask 00x4
PNP0000: adding io range 0x20-0x21, size=0x2, align=0
PNP0000: adding io range 0xa0-0xa1, size=0x2, align=0
PNP0000: end config
pnpbios: handle 0 device ID PNP0000 (0000d041)
PNP0200: adding dma mask 0x10
PNP0200: adding io range 0-0xf, size=0x10, align=0
PNP0200: adding io range 0x81-0x83, size=0x3, align=0
PNP0200: adding io range 0x87-0x87, size=0x1, align=0
PNP0200: adding io range 0x89-0x8b, size=0x3, align=0
PNP0200: adding io range 0x8f-0x91, size=0x3, align=0
PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0
PNP0200: end config
pnpbios: handle 1 device ID PNP0200 (0002d041)
PNP0100: adding irq mask 00x1
PNP0100: adding io range 0x40-0x43, size=0x4, align=0
PNP0100: end config
pnpbios: handle 2 device ID PNP0100 (0001d041)
PNP0b00: adding irq mask 0x100
PNP0b00: adding io range 0x70-0x71, size=0x2, align=0
PNP0b00: end config
pnpbios: handle 3 device ID PNP0b00 (000bd041)
PNP0303: adding irq mask 00x2
PNP0303: adding io range 0x60-0x60, size=0x1, align=0
PNP0303: adding io range 0x64-0x64, size=0x1, align=0
PNP0303: end config
pnpbios: handle 4 device ID PNP0303 (0303d041)
PNP0800: adding io range 0x61-0x61, size=0x1, align=0
PNP0800: end config
pnpbios: handle 5 device ID PNP0800 (0008d041)
PNP0c04: adding irq mask 0x2000
PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0
PNP0c04: end config
pnpbios: handle 6 device ID PNP0c04 (040cd041)
PNP0c01: adding fixed memory32 range 0-0x9ffff, size=0xa0000
PNP0c01: adding fixed memory32 range 0xfffe0000-0xffffffff, size=0x20000
PNP0c01: adding fixed memory32 range 0x100000-0x7ffffff, size=0x7f00000
PNP0c01: end config
pnpbios: handle 7 device ID PNP0c01 (010cd041)
PNP0c02: adding fixed memory32 range 0xf0000-0xf3fff, size=0x4000
PNP0c02: adding fixed memory32 range 0xf4000-0xf7fff, size=0x4000
PNP0c02: adding fixed memory32 range 0xf8000-0xfbfff, size=0x4000
PNP0c02: adding fixed memory32 range 0xfc000-0xfffff, size=0x4000
PNP0c02: end config
pnpbios: handle 8 device ID PNP0c02 (020cd041)
PNP0a03: adding io range 0x294-0x297, size=0x4, align=0
PNP0a03: adding io range 0x4d0-0x4d1, size=0x2, align=0
PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0
PNP0a03: adding io range 0x480-0x48f, size=0x10, align=0
PNP0a03: adding io range 0x4000-0x403f, size=0x40, align=0
PNP0a03: adding io range 0x5000-0x501f, size=0x20, align=0
PNP0a03: end config
pnpbios: handle 9 device ID PNP0a03 (030ad041)
PNP0f13: adding irq mask 0x1000
PNP0f13: end config
pnpbios: handle 10 device ID PNP0f13 (130fd041)
PNP0c02: adding io range 0x208-0x20f, size=0x8, align=0
PNP0c02: end config
pnpbios: handle 11 device ID PNP0c02 (020cd041)
PNP0700: adding dma mask 0x4
PNP0700: adding io range 0x3f2-0x3f5, size=0x4, align=0
PNP0700: adding irq mask 0x40
PNP0700: end config
pnpbios: handle 13 device ID PNP0700 (0007d041)
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata2 failed to probe at port 0x1f0 irq 14 on isa0
ata3 failed to probe at port 0x170 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0047
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 54 80 
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 54 80 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 54 80 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
pcic0 failed to probe at port 0x3e0-0x3e1 on isa0
pcic1 failed to probe at port 0x3e0-0x3e1 on isa0
isa_probe_children: probing PnP devices
sio1: irq maps: 0x61 0x69 0x61 0x61
sio1: <USRobotics Courier V.Everything> at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
unknown: <ESS ES1869 Plug and Play AudioDrive> failed to probe at port 0x800-0x807 on isa0
unknown: <ESS ES1869 Plug and Play AudioDrive> failed to probe at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 on isa0
unknown: <ESS ES1869 Plug and Play AudioDrive> failed to probe at port 0x201 on isa0
unknown: <PNP0000> can't assign resources
unknown: <PNP0000> at port 0x20-0x21,0xa0-0xa1 irq 2 on isa0
unknown: <PNP0200> failed to probe at port 0-0xf,0x81-0x83,0x87,0x89-0x8b,0x8f-0x91,0xc0-0xdf drq 4 on isa0
unknown: <PNP0100> failed to probe at port 0x40-0x43 irq 0 on isa0
unknown: <PNP0b00> failed to probe at port 0x70-0x71 irq 8 on isa0
unknown: <PNP0303> can't assign resources
unknown: <PNP0303> at port 0x60 on isa0
unknown: <PNP0800> failed to probe at port 0x61 on isa0
unknown: <PNP0c04> failed to probe at port 0xf0-0xff irq 13 on isa0
unknown: <PNP0c01> failed to probe at iomem 0-0x9ffff,0xfffe0000-0xffffffff,0x100000-0x7ffffff on isa0
unknown: <PNP0c02> failed to probe at iomem 0xf0000-0xf3fff,0xf4000-0xf7fff,0xf8000-0xfbfff,0xfc000-0xfffff on isa0
unknown: <PNP0a03> failed to probe at port 0x294-0x297,0x4d0-0x4d1,0xcf8-0xcff,0x480-0x48f,0x4000-0x403f,0x5000-0x501f on isa0
unknown: <PNP0f13> can't assign resources
unknown: <PNP0f13> at irq 12 on isa0
unknown: <PNP0c02> failed to probe at port 0x208-0x20f on isa0
unknown: <PNP0700> can't assign resources
unknown: <PNP0700> at port 0x3f2-0x3f5 on isa0
BIOS Geometries:
 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
 1:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
bpf: ppp0 attached
new masks: bio 68c040, tty 63108a, net 67108a
ad0: DMA limited to UDMA33, non-ATA66 cable or device
ad0: success setting UDMA2 on Intel chip
Creating DISK ad0
ar: FreeBSD check1 failed
ad0: <ST38410A/3.32> ATA-5 disk at ata0-master
ad0: 8223MB (16841664 sectors), 16708 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=4 cblid=0
ad2: DMA limited to UDMA33, non-ATA66 cable or device
ad2: success setting UDMA2 on Intel chip
Creating DISK ad2
ar: FreeBSD check1 failed
ad2: <IC35L020AVER07-0/ER2OA46A> ATA-5 disk at ata1-master
ad2: 19623MB (40188960 sectors), 39870 C, 16 H, 63 S, 512 B
ad2: 16 secs/int, 1 depth queue, UDMA33
ad2: piomode=4 dmamode=2 udmamode=5 cblid=0
ata1-slave: piomode=4 dmamode=2 udmamode=2 dmaflag=1
ata1-slave: success setting PIO4 on generic chip
acd0: <CDU5211/YYS2> CDROM drive at ata1 as slave
acd0: read 8957KB/s (53034KB/s), 120KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
acd0: Writes:
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: no/blank disc
Mounting root from ufs:/dev/ad0s2a
ad0s1: type 0xb, start 63, end = 10249469, size 10249407 : OK
ad0s2: type 0xa5, start 10249470, end = 16836119, size 6586650 : OK
start_init: trying /sbin/init


Also i`ve added string
        { 0x7892134d, "Zyxel 56K Omni PCI", 0x10 },
to sio.c, but there isn`t any rezult :(

What should i do for to work my modem with FreeBSD???
Anybody help me please!!!

  

-- 
Best regards,
 Hvorostyan                          mailto:hvorostyan at mail.ru



More information about the freebsd-questions mailing list