Subject: pcmcia modem support ? (WAS: pppd problems)
To: None <netbsd-help@netbsd.org>
From: Ja'far Railton <zen25058@zen.co.uk>
List: netbsd-help
Date: 05/04/2005 11:10:06
NetBSD 2.0.2_STABLE i386

Gs

>: can you try current with pccbb.c 1.118?

>: christos


I have compiled a GENERIC_LAPTOP kernel (with ACPI support) from netbsd-3 
cvs sources instead but with pccbb.c 1.118 from -current substituted. 
Should that be OK?

Booting the kernel fine, but when I run

	cu -p modem

I get "Connected" but when I type atz to test the modem - nothing appears. 
The modem works fine on 2.0.2. I will attach the 3.0 dmesg below. Does anyone
know what I need to do to get this pc card modem working with 3.0_BETA? 

This Acer laptop would like to use some more of its features, *before*
July/August and the next major release.

TIA

- ja'far

------------------------------------
dmesg output:

auich0: ac97: Avance Logic unknown (0x414c4752) codec; headphone, 20 bit DAC, 18 bit ADC, no 3D stereo
auich0: ac97: ext id a07<AC97_23,AMAP,SPDIF,DRA,VRA>
Intel 82801DB AC97 Modem Controller (modem communications, revision 0x03) at pci0 dev 31 function 6 not configured
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pms0: Synaptics touchpad version 5.9
pms0: Palm detect, Multi-finger
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
isapnp0: no ISA Plug 'n Play devices found
auich0: measured ac97 link rate at 48001 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent
Kernelized RAIDframe activated
cbb0: wait took 0.031501s
com3 at pcmcia0 function 0: <Billionton V92 Fax Modem, FM56C-BFS, 5.41>
com3: ns16550a, working fifo
wd0 at atabus0 drive 0: <HTS424040M9AT00>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 38154 MB, 77520 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-STCD-RW/DVD DRIVE GCC-4243N, , 1.02> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(piixide0:1:0): using PIO mode 4, DMA mode 2 (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
cbb0: wait took 0.031501s
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
syncing disks... 3 done
unmounting file systems... done
rebooting...
NetBSD 3.0_BETA (MY_LAP) #0: Wed May  4 04:24:23 ?? 2005
	jr0@bsd.makhraj.bsd:/home/jr0/build/obj/sys/arch/i386/compile/MY_LAP
total memory = 239 MB
avail memory = 227 MB
BIOS32 rev. 0 found at 0xe97d0
PCI BIOS rev. 2.1 found at 0xe97e4
pcibios: config mechanism [1][x], special cycles [x][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xfe890, size 160 bytes (8 entries)
PCI Interrupt Router at 000:31:0 (Intel 82801AA LPC Interface Bridge compatible)
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:02:0 0x8086 0x3582   A  0x00  11  0    already assigned
000:29:0 0x8086 0x24c2   A  0x00  11  0    fixed up
000:29:1 0x8086 0x24c4   B  0x03   5  2    fixed up
000:29:2 0x8086 0x24c7   C  0x02   5  2    fixed up
000:29:7 0x8086 0x24cd   D  0x07  10  0    already assigned
000:31:1 0x8086 0x24ca   A  0x02   5  2    fixed up
000:31:3 0x8086 0x24c3   B  0x01   5  0    fixed up
000:31:5 0x8086 0x24c5   B  0x01   5  0    already assigned
000:31:6 0x8086 0x24c6   B  0x01   5  0    already assigned
001:00:0 0x1106 0x3044   A  0x04  11  0    already assigned
001:01:0 0x10ec 0x8139   A  0x05  11  0    already assigned
001:02:0 0x8086 0x4220   A  0x06  11  0    already assigned
001:04:0 0x1524 0x1410   A  0x00  11  0    fixed up
------------------------------------------
PCI fixup examining 8086:3580
PCI fixup examining 8086:3584
PCI fixup examining 8086:3585
PCI fixup examining 8086:3582
PCI fixup examining 8086:3582
PCI fixup examining 8086:24c2
PCI fixup examining 8086:24c4
PCI fixup examining 8086:24c7
PCI fixup examining 8086:24cd
PCI fixup examining 8086:2448
PCI fixup examining 1106:3044
PCI fixup examining 10ec:8139
PCI fixup examining 8086:4220
PCI fixup examining 1524:1410
PCI bridge 1: primary 1, secondary 2, subordinate 2
PCI bridge 0: primary 0, secondary 1, subordinate 2
PCI fixup examining 8086:24cc
PCI fixup examining 8086:24ca
PCI fixup examining 8086:24c3
PCI fixup examining 8086:24c5
PCI fixup examining 8086:24c6
PCI bus #2 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x3580 
		[OK]
000:00:1 0x8086 0x3584 
		[OK]
000:00:3 0x8086 0x3585 
		[OK]
000:02:0 0x8086 0x3582 
	10h mem  0xb0000000 0x08000000
	14h mem  0xf0000000 0x00080000
	18h port 0x0000e000 0x00000008
		[OK]
000:02:1 0x8086 0x3582 
	10h mem  0x00000000 0x08000000
	14h mem  0x00000000 0x00080000
		[NG]
000:29:0 0x8086 0x24c2 
	20h port 0x00001200 0x00000020
		[OK]
000:29:1 0x8086 0x24c4 
	20h port 0x00001600 0x00000020
		[OK]
000:29:2 0x8086 0x24c7 
	20h port 0x00001700 0x00000020
		[OK]
000:29:7 0x8086 0x24cd 
	10h mem  0xf0080000 0x00000400
		[OK]
000:30:0 0x8086 0x2448 
		[OK]
000:31:0 0x8086 0x24cc 
		[OK]
000:31:1 0x8086 0x24ca 
	10h port 0x00000000 0x00000008
	14h port 0x00000000 0x00000004
	18h port 0x00000000 0x00000008
	1ch port 0x00000000 0x00000004
	20h port 0x00001100 0x00000010
	24h mem  0x00000000 0x00000400
		[NG]
000:31:3 0x8086 0x24c3 
	20h port 0x00001400 0x00000020
		[OK]
000:31:5 0x8086 0x24c5 
	10h port 0x0000e100 0x00000100
	14h port 0x0000e200 0x00000040
	18h mem  0xf0080400 0x00000200
	1ch mem  0xf0080600 0x00000100
		[OK]
000:31:6 0x8086 0x24c6 
	10h port 0x0000e300 0x00000100
	14h port 0x0000e400 0x00000080
		[OK]
001:00:0 0x1106 0x3044 
	10h mem  0xe0001800 0x00000800
	14h port 0x0000c100 0x00000080
		[OK]
001:01:0 0x10ec 0x8139 
	10h port 0x0000c000 0x00000100
	14h mem  0xe0001000 0x00000100
		[OK]
001:02:0 0x8086 0x4220 
	10h mem  0xe0000000 0x00001000
		[OK]
001:04:0 0x1524 0x1410 
	10h mem  0x00000000 0x00001000
		[NG]
--------------------------[  3 devices bogus]
 Physical memory end: 0x0efec000
 PCI memory mapped I/O space start: 0x0f000000
[PCIBIOS fixup stage]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x3580 
		[OK]
000:00:1 0x8086 0x3584 
		[OK]
000:00:3 0x8086 0x3585 
		[OK]
000:02:0 0x8086 0x3582 
	10h mem  0xb0000000 0x08000000
	14h mem  0xf0000000 0x00080000
	18h port 0x0000e000 0x00000008
		[OK]
000:02:1 0x8086 0x3582 
	10h mem  0x10000000 0x08000000
	14h mem  0x0f000000 0x00080000
		[OK]
000:29:0 0x8086 0x24c2 
	20h port 0x00001200 0x00000020
		[OK]
000:29:1 0x8086 0x24c4 
	20h port 0x00001600 0x00000020
		[OK]
000:29:2 0x8086 0x24c7 
	20h port 0x00001700 0x00000020
		[OK]
000:29:7 0x8086 0x24cd 
	10h mem  0xf0080000 0x00000400
		[OK]
000:30:0 0x8086 0x2448 
		[OK]
000:31:0 0x8086 0x24cc 
		[OK]
000:31:1 0x8086 0x24ca 
	10h port 0x00005800 0x00000008
	14h port 0x00005808 0x00000004
	18h port 0x00005810 0x00000008
	1ch port 0x0000580c 0x00000004
	20h port 0x00001100 0x00000010
	24h mem  0x0f080000 0x00000400
		[OK]
000:31:3 0x8086 0x24c3 
	20h port 0x00001400 0x00000020
		[OK]
000:31:5 0x8086 0x24c5 
	10h port 0x0000e100 0x00000100
	14h port 0x0000e200 0x00000040
	18h mem  0xf0080400 0x00000200
	1ch mem  0xf0080600 0x00000100
		[OK]
000:31:6 0x8086 0x24c6 
	10h port 0x0000e300 0x00000100
	14h port 0x0000e400 0x00000080
		[OK]
001:00:0 0x1106 0x3044 
	10h mem  0xe0001800 0x00000800
	14h port 0x0000c100 0x00000080
		[OK]
001:01:0 0x10ec 0x8139 
	10h port 0x0000c000 0x00000100
	14h mem  0xe0001000 0x00000100
		[OK]
001:02:0 0x8086 0x4220 
	10h mem  0xe0000000 0x00001000
		[OK]
001:04:0 0x1524 0x1410 
	10h mem  0x0f081000 0x00001000
		[OK]
--------------------------[  0 devices bogus]
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium M (Dothan) (686-class), 1598.68 MHz, id 0x6d6
cpu0: features afe9fbbf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR>
cpu0: features afe9fbbf<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features afe9fbbf<FXSR,SSE,SSE2,SS,TM,SBF>
cpu0: features2 180<EST,TM2>
cpu0: "Intel(R) Pentium(R) M processor 1.60GHz"
cpu0: using thermal monitor 2
cpu0: Enhanced SpeedStep running at 1600 MHz (1340 mV)
cpu0: Enhanced SpeedStep frequencies available (MHz): 1600 1400 1200 1000 800 600
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20040211
acpi0: X/RSDT: OemId <INSYDE,RSDT_000,00000001>, AslId <_CSI,00010101>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (PNP0C0E): ACPI Sleep Button
PNP0A03 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0200 at acpi0 not configured
PNP0C04 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0B00 at acpi0 not configured
PNP0800 at acpi0 not configured
PNP0100 at acpi0 not configured
PNP0303 at acpi0 not configured
SYN0702 at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0A05 at acpi0 not configured
SMCF010 at acpi0 not configured
PNP0400 at acpi0 not configured
acpiec0 at acpi0 (PNP0C09): ACPI Embedded Controller
acpiec0: io 0x62,0x66
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82855GM Host-Hub Controller (rev. 0x02)
agp0 at pchb0: detected 16252k stolen memory
agp0: aperture at 0xb0000000, size 0x8000000
Intel 82855GM GMCH Memory Controller (miscellaneous system, revision 0x02) at pci0 dev 0 function 1 not configured
Intel 82855GM GMCH Configuration Process (miscellaneous system, revision 0x02) at pci0 dev 0 function 3 not configured
vga1 at pci0 dev 2 function 0: Intel 82855GM GMCH Integrated Graphics Device (rev. 0x02)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
Intel 82855GM GMCH Integrated Graphics Device (miscellaneous display, revision 0x02) at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0: Intel 82801DB USB UHCI Controller (rev. 0x03)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801DB USB UHCI Controller (rev. 0x03)
uhci1: interrupting at irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801DB USB UHCI Controller (rev. 0x03)
uhci2: interrupting at irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801DB USB EHCI Controller (rev. 0x03)
ehci0: interrupting at irq 10
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: single transaction translator
uhub3: 6 ports with 6 removable, self powered
ppb0 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0x83)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
VIA Technologies VT6306 IEEE 1394 Host Controller (Firewire serial bus, interface 0x10, revision 0x80) at pci1 dev 0 function 0 not configured
rtk0 at pci1 dev 1 function 0: Realtek 8139 10/100BaseTX
rtk0: interrupting at irq 11
rtk0: Ethernet address 00:02:3f:0e:2a:dd
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
iwi0 at pci1 dev 2 function 0: Intel PRO/Wireless LAN 2200BG Mini-PCI Adapter (rev. 0x05)
iwi0: interrupting at irq 11
iwi0: 802.11 address 00:0e:35:a2:73:c6
iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
cbb0 at pci1 dev 4 function 0: ENE Technology CB1410 CardBus Controller (rev. 0x01)
cbb0: interrupting at irq 11
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801DB ISA Bridge (rev. 0x03)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801DBM IDE Controller (ICH4-M) (rev. 0x03)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
Intel 82801DB SMBus Controller (SMBus serial bus, revision 0x03) at pci0 dev 31 function 3 not configured
auich0 at pci0 dev 31 function 5: i82801DB/DBM (ICH4/ICH4M) AC-97 Audio
auich0: interrupting at irq 5
auich0: ac97: Avance Logic unknown (0x414c4752) codec; headphone, 20 bit DAC, 18 bit ADC, no 3D stereo
auich0: ac97: ext id a07<AC97_23,AMAP,SPDIF,DRA,VRA>
Intel 82801DB AC97 Modem Controller (modem communications, revision 0x03) at pci0 dev 31 function 6 not configured
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pms0: Synaptics touchpad version 5.9
pms0: Palm detect, Multi-finger
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
isapnp0: no ISA Plug 'n Play devices found
auich0: measured ac97 link rate at 48000 Hz
audio0 at auich0: full duplex, mmap, independent
Kernelized RAIDframe activated
cbb0: wait took 0.031506s
pcmcia0: CIS version PC Card Standard 5.1
pcmcia0: CIS info: Billionton V92 Fax Modem, FM56C-BFS, 5.41
pcmcia0: Manufacturer code 0x14e, product 0x88
pcmcia0: function 0: serial port, ccr addr 100 mask 13
pcmcia0: function 0, config table entry 32: I/O card; irq mask 10; iomask a, iospace 3f8-3ff; mwait_required io8 irqlevel powerdown audio
pcmcia0: function 0, config table entry 33: I/O card; irq mask 10; iomask a, iospace 2f8-2ff; mwait_required io8 irqlevel powerdown audio
pcmcia0: function 0, config table entry 34: I/O card; irq mask 10; iomask a, iospace 3e8-3ef; mwait_required io8 irqlevel powerdown audio
pcmcia0: function 0, config table entry 35: I/O card; irq mask 10; iomask a, iospace 2e8-2ef; mwait_required io8 irqlevel powerdown audio
pcmcia0: function 0, config table entry 36: I/O card; irq mask 1cb8; iomask 3, iospace 0-7; mwait_required io8 irqlevel powerdown audio
pcmcia0: function 0, config table entry 48: I/O card; irq mask 10; iomask 3, iospace 0-7; mwait_required io8 irqlevel powerdown audio
com3 at pcmcia0 function 0: <Billionton V92 Fax Modem, FM56C-BFS, 5.41>
com3: ns16550a, working fifo
wd0 at atabus0 drive 0: <HTS424040M9AT00>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 38154 MB, 77520 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-STCD-RW/DVD DRIVE GCC-4243N, , 1.02> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(piixide0:1:0): using PIO mode 4, DMA mode 2 (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
cbb0: wait took 0.031506s
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
cbb0: wait took 0.031507s
cbb0: wait took 0.031512s
cbb0: wait took 0.031503s
--
Ja'far Railton <ibn.richard@gmail.com> 
  ``Of course I run NetBSD''
--