Subject: Socket Dual Serial Port PCMCIA Card wouldn't work
To: None <netbsd-bugs@netbsd.org>
From: Joerg Niendorf <joerg.bsd@internode.net.au>
List: netbsd-bugs
Date: 11/10/2006 02:49:04
Hi all,

I just spent mega-bucks on a Socket Dual Serial Port PCMCIA Card
as I don't like those USB<->RS232 converters and this PCMCIA card
is metioned here: http://www.netbsd.org/Hardware/pcmcia.html

I built the kernel with cbb, cardslot, cardbus, pcmcia, pcmcom and
com support but unfortunately, the pcmcom driver, which is necessary
for these dual-port cards, is not being configured. Consequently, no
serial ports are available.

It looks like the product ID of this card (0xa1) differs from the
relevant entry in src/sys/dev/pcmcia/pcmciadevs:
product SOCKET DUAL_RS232       0x0006 Socket Communications Dual RS232

So my card seems to be a newer/different hardware revision.

Is there a way to make this thing work? That would be _really_ great!

Cheers,
Joerg


uname -a

NetBSD hp.jn 4.0_BETA NetBSD 4.0_BETA (JN.MP) #5: Thu Nov  9 23:47:21
EST 2006 joerg@exp.jn:/usr/src/sys/arch/amd64/compile/JN.MP amd64


dmesg (with "options PCMCIAVERBOSE")

NetBSD 4.0_BETA (JN.MP) #5: Thu Nov  9 23:04:41 EST 2006
	joerg@exp.jn:/usr/src/sys/arch/amd64/compile/JN.MP
total memory = 895 MB
avail memory = 851 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
timecounter: selected timecounter "i8254" frequency 1193182 Hz quality 100
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Turion(tm) 64 X2 Mobile Technology TL-60, 1995.23 MHz
cpu0: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu0: features: ffdbfbff<FXSR,SSE,SSE2,B27,HTT,LONG,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 512 KB 64B/line 16-way
cpu0: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: AMD Power Management features: TS FID VID TTP TM STC
cpu0: 8 page colors
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: ATI Technologies RS480 Host Bridge (rev. 0x10)
ppb0 at pci0 dev 1 function 0: ATI Technologies product 0x5a3f (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 5 function 0: ATI Technologies product 0x5975 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ppb1 at pci0 dev 4 function 0: ATI Technologies product 0x5a36 (rev. 0x00)
pci2 at ppb1 bus 16
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ppb2 at pci0 dev 5 function 0: ATI Technologies product 0x5a37 (rev. 0x00)
pci3 at ppb2 bus 32
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
ppb3 at pci0 dev 6 function 0: ATI Technologies product 0x5a38 (rev. 0x00)
pci4 at ppb3 bus 48
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
Broadcom product 0x4311 (miscellaneous network, revision 0x01) at pci4 dev 0 function 0 not configured
ixpide0 at pci0 dev 18 function 0
ixpide0: ATI Technologies IXP IDE Controller (rev. 0x80)
ixpide0: bus-master DMA support present
ixpide0: primary channel configured to native-PCI mode
ixpide0: using irq 10 for native-PCI interrupt
atabus0 at ixpide0 channel 0
ixpide0: secondary channel configured to native-PCI mode
atabus1 at ixpide0 channel 1
ohci0 at pci0 dev 19 function 0: ATI Technologies SB400 USB Host Controller (rev. 0x80)
ohci0: interrupting at irq 11
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ATI Technologie OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
ohci1 at pci0 dev 19 function 1: ATI Technologies SB400 USB Host Controller (rev. 0x80)
ohci1: interrupting at irq 11
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: ATI Technologie OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
ehci0 at pci0 dev 19 function 2: ATI Technologies SB400 USB2 Host Controller (rev. 0x80)
ehci0: interrupting at irq 11
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 4 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: ATI Technologies EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 8 ports with 8 removable, self powered
ATI Technologies SB400 SMBus Controller (SMBus serial bus, revision 0x81) at pci0 dev 20 function 0 not configured
ixpide1 at pci0 dev 20 function 1
ixpide1: ATI Technologies IXP IDE Controller (rev. 0x80)
ixpide1: bus-master DMA support present
ixpide1: primary channel configured to compatibility mode
ixpide1: primary channel interrupting at irq 14
atabus2 at ixpide1 channel 0
ixpide1: secondary channel wired to compatibility mode
ixpide1: secondary channel interrupting at irq 15
atabus3 at ixpide1 channel 1
azalia0 at pci0 dev 20 function 2: Generic High Definition Audio Controller
azalia0: interrupting at irq 10
azalia0: host: 0x1002/0x437b (rev. 1)
azalia0: host: High Definition Audio rev. 1.0
pcib0 at pci0 dev 20 function 3
pcib0: ATI Technologies SB400 PCI-ISA Bridge (rev. 0x80)
ppb4 at pci0 dev 20 function 4: ATI Technologies SB400 PCI-PCI Bridge (rev. 0x80)
pci5 at ppb4 bus 2
pci5: i/o space, memory space enabled
bge0 at pci5 dev 1 function 0: Broadcom BCM5788 Gigabit Ethernet
bge0: interrupting at irq 10
bge0: ASIC BCM5705 A3 (0x3003), Ethernet address 00:17:08:33:83:b6
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5705 1000BASE-T media interface, rev. 2
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
cbb0 at pci5 dev 4 function 0: Texas Instruments product 0x8039 (rev. 0x00)
cbb0: interrupting at irq 10
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3
pcmcia0 at cardslot0
pchb1 at pci0 dev 24 function 0
pchb1: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb2 at pci0 dev 24 function 1
pchb2: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb3 at pci0 dev 24 function 2
pchb3: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb4 at pci0 dev 24 function 3
pchb4: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
isa0 at pcib0
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)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker (CPU-intensive output)
sysbeep0 at pcppi0
pcppi0: attached to attimer0
timecounter: Timecounter "TSC" frequency 1995170650 Hz quality 800
timecounter: selected timecounter "TSC" frequency 1995170650 Hz quality 800
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
azalia0: codec[0]: Analog Devices AD1981HD (rev. 2.0)
azalia0: codec[0]: High Definition Audio rev. 1.0
azalia0: playback: max channels=2, encodings=1<PCM>
azalia0: playback: PCM formats=e007f<24bit,20bit,16bit,48kHz,44.1kHz,32kHz,22.05kHz,16kHz,11.025kHz,8kHz>
azalia0: recording: max channels=2, encodings=1<PCM>
azalia0: recording: PCM formats=6007f<20bit,16bit,48kHz,44.1kHz,32kHz,22.05kHz,16kHz,11.025kHz,8kHz>
azalia0: codec[1]: 0x14f1/0x2bfa (rev. 0.0)
azalia0: codec[1]: High Definition Audio rev. 0.9
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1] has no audio function groups
audio0 at azalia0: full duplex, independent
raidattach: Asked for 8 units
Kernelized RAIDframe activated
pcmcia0: CIS checksum failed
pcmcia0: CIS version PC Card Standard 5.0
pcmcia0: CIS info: Socket, Dual I/O HS Card Win CE Rev 2.1(Legacy)
pcmcia0: Manufacturer code 0x104, product 0xa1
pcmcia0: function 0: serial port, ccr addr 400 mask 3
pcmcia0: function 0, config table entry 13: I/O card; irq mask ffff; iomask 10, iospace 3f8-3ff 2f8-2ff; rdybsy_active io8 irqlevel powerdown
pcmcia0: function 0, config table entry 21: I/O card; irq mask ffff; iomask 10, iospace 2f8-2ff 3e8-3ef; rdybsy_active io8 irqlevel powerdown
pcmcia0: function 0, config table entry 37: I/O card; irq mask ffff; iomask 10, iospace 2f8-2ff 2e8-2ef; rdybsy_active io8 irqlevel powerdown
pcmcia0: function 0, config table entry 29: I/O card; irq mask ffff; iomask 10, iospace 3e8-3ef 2e8-304; rdybsy_active io8 irqlevel powerdown
pcmcia0: function 0, config table entry 45: I/O card; irq mask ffff; iomask 3, iospace 0-7; rdybsy_active io8 irqlevel powerdown
com2 at pcmcia0 function 0: <Socket, Dual I/O HS Card Win CE Rev 2.1(Legacy)>
com2: ns16550a, working fifo
ehci0: handing over full speed device on port 2 to ohci0
uhub2: port 2, device disappeared after reset
wd0 at atabus0 drive 0: <FUJITSU MHV2100BH>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 95396 MB, 193821 cyl, 16 head, 63 sec, 512 bytes/sect x 195371568 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ixpide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus2: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-ST DVDRAM GMA-4082N, K08683N3930, HQ04> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(ixpide1:0:0): using PIO mode 4, DMA mode 2 (using DMA)
Searching for RAID components...
boot device: wd0
root on wd0a dumps on wd0b
mountroot: trying lfs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
com2: com_iflush timeout ff
com2: com_iflush timeout ff
com2: com_iflush timeout ff
com2: com_iflush timeout ff
com2: com_iflush timeout ff
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)