NEWCARD and ComOne Platinum MC221 Modem

Stanislav Grozev <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Hi all,

I have a Sony VAIO Picturebook PCG-C1VE, running -CURRENT (rebuild
as of several hours), using NEWCARD. My 3Com network card is working
perfectly, recognized as ep0. However, I also have a ComOne Platinum
Card MC221 Discovery V.90 Data/Fax Modem.

When I insert it, I get the following from the kernel:

cardbus0: Expecting link target, got 0xff
cardbus0: Resource not specified in CIS: id=10, size=100
cardbus0: Resource not specified in CIS: id=14, size=10
cardbus0: Resource not specified in CIS: id=18, size=100
cardbus0: <unknown card> (vendor=0x11c1, dev=0x044e) at 0.0 irq 9
pccbb0: CardBus card activation failed

and the card obviously doesn't get recognized. I tried adding the
following to /sys/dev/pccard/pccarddevs :

vendor COMONE		0x11c1 ComOne
product COMONE MC221	0x044e ComOne Platinum Card MC221 Discovery V.90 Modem

and regenerating the header using make -f Makefile.pccarddevs, and then
rebuilding the kernel with buildkernel/installkernel (I have the correct
KERNCONF in my /etc/make.conf), but exactly the same happens - I would
thing that at least the card would be recognized by name now, but to
no avial. :-(

So, any ideas how to proceed? Any help would be appreciated.

PS. I am attaching the dmesg output and the kernel config file, which
is a modified NEWCARD config, and also the /boot/device.hints, which
is a standard NEWCARD.hints, with a modified memory address for the
pcic0 device (the vaio works only with 0xd4000 instead of the default
0xd0000).

-tacho
-- 
[a lie is my shield] | [http://daemonz.org/ || [email protected]]
0x44fc3339 || [02b5 798b 4bd1 97fb f8db 72e4 dca4 be03 44fc 3339]
dmesg.vaio (text/plain, 3.8 KB)
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #4: Fri May 17 14:23:41 CEST 2002
    [email protected]:/home/scratch/obj/usr/src/sys/LOGRUS
Preloaded elf kernel "/boot/kernel/kernel" at 0xc047b000.
Preloaded elf module "/boot/kernel/accf_http.ko" at 0xc047b0a8.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc047b158.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 595504803 Hz
CPU: Transmeta(tm) Crusoe(tm) Processor TM5600 (595.50-MHz 586-class CPU)
  Origin = "GenuineTMx86"  Id = 0x543
real memory  = 117374976 (114624K bytes)
avail memory = 109264896 (106704K bytes)
netsmb_dev: loaded
Using $PIR table, 9 entries at 0xc00fdf30
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <SONY   P1      > on motherboard
Timecounter "ACPI-safe"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_pcib0: <Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <PCI bus> on acpi_pcib0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1050-0x105f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, USB> at device 7.2 (no driver attached)
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pci0: <serial bus, FireWire> at device 8.0 (no driver attached)
pcm0: <Yamaha DS-1E (YMF754)> port 0x1080-0x1083,0x1000-0x103f mem 0xfc000000-0xfc007fff irq 9 at device 9.0 on pci0
pci0: <multimedia> at device 11.0 (no driver attached)
pccbb0: <RF5C475 PCI-CardBus Bridge> at device 12.0 on pci0
cardbus0: <CardBus bus> on pccbb0
pccard0: <16-bit PCCard bus> on pccbb0
acpi_pcib0: device is routed to IRQ 9
pci0: <display, VGA> at device 13.0 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
acpi_ec0: <embedded controller> port 0x66,0x62 on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_acad0: <AC adapter> on acpi0
orm0: <Option ROMs> at iomem 0xdc000-0xdffff,0xc0000-0xd3fff on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
ad0: 11513MB <HITACHI_DK23AA-12> [23392/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s2a
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled
cardbus0: Expecting link target, got 0xff
cardbus0: Resource not specified in CIS: id=10, size=100
cardbus0: Resource not specified in CIS: id=14, size=10
cardbus0: Resource not specified in CIS: id=18, size=100
cardbus0: <unknown card> (vendor=0x11c1, dev=0x044e) at 0.0 irq 9
pccbb0: CardBus card activation failed
ep0: <3Com 3c574-TX 10/100Mbps Ethernet> at port 0x100-0x11f irq 9 function 0 config 1 on pccard0
ep0: Ethernet address 00:50:04:58:e6:f3
swi_net: unregistered isr number: 18.
swi_net: unregistered isr number: 18.
LOGRUS (text/plain, 7.6 KB)
# $FreeBSD: src/sys/i386/conf/NEWCARD,v 1.62 2002/04/09 11:18:38 phk Exp $

machine		i386
#cpu		I486_CPU
cpu		I586_CPU
#cpu		I686_CPU
ident		LOGRUS
maxusers	0

#To statically compile in device wiring instead of /boot/device.hints
#hints		"NEWCARD.hints"		#Default places to look for devices.

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_DIRHASH		#Improve performance on big directories
options 	MD_ROOT			#MD is a potential root device
options 	NFSCLIENT		#Network Filesystem Client
options 	NFSSERVER		#Network Filesystem Server
options 	NFS_ROOT		#NFS usable as root device, requires NFSCLIENT
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		#Pseudo-filesystem framework
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev

# Debugging for use in -current
#options 	DDB			#Enable the kernel debugger
#options 	INVARIANTS		#Enable calls of extra sanity checking
#options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
#options 	WITNESS			#Enable mutex checks to detects deadlocks and cycles
#options		WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed

# To make an SMP kernel, the next two are needed
#options 	SMP			# Symmetric MultiProcessor Kernel
#options 	APIC_IO			# Symmetric (APIC) I/O

device		isa
#device		eisa
device		pci
#options 	PCI_ENABLE_IO_MODES	# Enable pci resources left off by a "lazy BIOS"

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
#device		atapifd			# ATAPI floppy drives
#device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering

# SCSI Controllers
#device		ahb		# EISA AHA1742 family
#device		ahc		# AHA2940 and onboard AIC7xxx devices
#device		amd		# AMD 53C974 (Tekram DC-390(T))
#device		isp		# Qlogic family
#device		ncr		# NCR/Symbios Logic
#device		sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')

#device		adv		# Advansys SCSI adapters
#device		adw		# Advansys wide SCSI adapters
#device		aha		# Adaptec 154x SCSI adapters
#device		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
#device		bt		# Buslogic/Mylex MultiMaster SCSI adapters

#device		ncv		# NCR 53C500
#device		nsp		# Workbit Ninja SCSI-3
#device		stg		# TMC 18C30/18C50

# RAID controllers interfaced to the SCSI subsystem
#device		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
#device		ciss		# Compaq Smart RAID 5*
#device		dpt		# DPT Smartcache III, IV - See NOTES for options!
#device		iir		# Intel Integrated RAID
#device		mly		# Mylex AcceleRAID/eXtremeRAID

# SCSI peripherals
device		scbus		# SCSI bus (required)
device		ch		# SCSI media changers
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)
device		ses		# SCSI Environmental Services (and SAF-TE)

# RAID controllers
#device		aac		# Adaptec FSA RAID
#device		amr		# AMI MegaRAID
#device		ida		# Compaq Smart RAID
#device		mlx		# Mylex DAC960 family
#device		twe		# 3ware ATA RAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc	1	# At keyboard controller
device		atkbd		# at keyboard
device		psm		# psm mouse

device		vga		# VGA screen

# splash screen/screen saver
device		splash

# syscons is the default console driver, resembling an SCO console
device		sc	1

# Enable this for the pcvt (VT220 compatible) console driver
#device		vt
#options 	XSERVER			# support for X server on a vt console
#options 	FAT_CURSOR		# start with block cursor

# Floating point support - do not disable.
device		npx

# Power management support (see NOTES for more options)
#device		apm
# Add suspend/resume support for the i8254.
device		pmtimer

# Pcmcia and cardbus bridge support
device		pccbb			# cardbus (yenta) bridge
device		pccard
device		cardbus

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
#device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da


# PCI Ethernet NICs.
#device		de		# DEC/Intel DC21x4x (``Tulip'')
#device		txp		# 3Com 3cR990 (``Typhoon'')
#device		vx		# 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
#device		miibus		# MII bus support
#device		dc		# DEC/Intel 21143 and various workalikes
#device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
#device		pcn		# AMD Am79C97x PCI 10/100 NICs
#device		rl		# RealTek 8129/8139
#device		sf		# Adaptec AIC-6915 (``Starfire'')
#device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
#device		ste		# Sundance ST201 (D-Link DFE-550TX)
#device		tl		# Texas Instruments ThunderLAN
#device		tx		# SMC EtherPower II (83c170 ``EPIC'')
#device		vr		# VIA Rhine, Rhine II
#device		wb		# Winbond W89C840F
#device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.  pccard nics included.
#device		cs		# Crystal Semiconductor CS89x0 NIC
# 'device ed' requires 'device miibus'
#device		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards
#device		ex		# Intel EtherExpress Pro/10 and Pro/10+
device		ep		# Etherlink III based cards
#device		fe		# Fujitsu MB8696x based cards
#device		lnc		# NE2100, NE32-VL Lance Ethernet cards
#device		sn		# SMC's 9000 series of ethernet chips
#device		xe		# Xircom pccard ethernet

# ISA devices that use the old ISA shims
#device		le

# Wireless NIC cards
#device		an		# Aironet 4500/4800 802.11 wireless NICs. 
#device		awi		# BayStack 660 and others
#device		wi		# WaveLAN/IEEE 802.11 wireless NICs. 
#device		wl		# Older non 802.11 Wavelan wireless NIC.

# Pseudo devices - the number indicates how many units to allocate.
device		random		# Entropy device
device		loop		# Network loopback
device		ether		# Ethernet support
#device		sl		# Kernel SLIP
#device		ppp	1	# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
device		gif		# IPv6 and IPv4 tunneling
device		faith		# IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device		bpf		# Berkeley packet filter

# USB support
#device		uhci		# UHCI PCI->USB interface
#device		ohci		# OHCI PCI->USB interface
#device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
#device		ugen		# Generic
#device		uhid		# "Human Interface Devices"
#device		ukbd		# Keyboard
#device		ulpt		# Printer
#device		umass		# Disks/Mass storage - Requires scbus and da
#device		ums		# Mouse
#device		urio		# Diamond Rio 500 MP3 player
#device		uscanner	# Scanners
# USB Ethernet, requires mii
#device		aue		# ADMtek USB ethernet
#device		cue		# CATC USB ethernet
#device		kue		# Kawasaki LSI USB ethernet

device		pcm
device		agp
device		"r128drm"
options		DRM_DEBUG
options         SMBFS
options         LIBICONV
options         LIBMCHAIN
options         NETSMB
options         NETSMBCRYPTO
device.hints (text/plain, 1.8 KB)
# $FreeBSD: src/sys/i386/conf/NEWCARD.hints,v 1.5 2001/11/11 20:19:36 imp Exp $
hint.fdc.0.at="isa"
hint.fdc.0.port="0x3F0"
hint.fdc.0.irq="6"
hint.fdc.0.drq="2"
hint.fd.0.at="fdc0"
hint.fd.0.drive="0"
hint.fd.1.at="fdc0"
hint.fd.1.drive="1"
hint.ata.0.at="isa"
hint.ata.0.port="0x1F0"
hint.ata.0.irq="14"
hint.ata.1.at="isa"
hint.ata.1.port="0x170"
hint.ata.1.irq="15"
hint.adv.0.at="isa"
hint.bt.0.at="isa"
hint.aha.0.at="isa"
hint.aic.0.at="isa"
hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060"
hint.atkbd.0.at="atkbdc"
hint.atkbd.0.irq="1"
hint.atkbd.0.flags="0x1"
hint.psm.0.at="atkbdc"
hint.psm.0.irq="12"
hint.vga.0.at="isa"
hint.sc.0.at="isa"
hint.sc.0.flags="0x100"
hint.vt.0.at="isa"
hint.npx.0.at="nexus"
hint.npx.0.port="0x0F0"
hint.npx.0.irq="13"
hint.apm.0.at="nexus"
hint.apm.0.flags="0x20"
hint.apm.0.disabled="1"
hint.pmtimer.0.at="isa"
hint.pcic.0.at="isa"
hint.pcic.0.irq="10"
hint.pcic.0.port="0x3e0"
hint.pcic.0.maddr="0xd4000"
hint.sio.0.at="isa"
hint.sio.0.port="0x3F8"
hint.sio.0.flags="0x10"
hint.sio.0.irq="4"
hint.sio.1.at="isa"
hint.sio.1.port="0x2F8"
hint.sio.1.irq="3"
hint.sio.2.at="isa"
hint.sio.2.disabled="1"
hint.sio.2.port="0x3E8"
hint.sio.2.irq="5"
hint.sio.3.at="isa"
hint.sio.3.disabled="1"
hint.sio.3.port="0x2E8"
hint.sio.3.irq="9"
hint.ppc.0.at="isa"
hint.ppc.0.irq="7"
hint.ed.0.at="isa"
hint.ed.0.port="0x280"
hint.ed.0.irq="10"
hint.ed.0.maddr="0xd8000"
hint.cs.0.at="isa"
hint.cs.0.port="0x300"
hint.sn.0.at="isa"
hint.sn.0.port="0x300"
hint.sn.0.irq="10"
hint.ie.0.at="isa"
hint.ie.0.port="0x300"
hint.ie.0.irq="10"
hint.ie.0.maddr="0xd0000"
hint.fe.0.at="isa"
hint.fe.0.port="0x300"
hint.le.0.at="isa"
hint.le.0.port="0x300"
hint.le.0.irq="5"
hint.le.0.maddr="0xd0000"
hint.lnc.0.at="isa"
hint.lnc.0.port="0x280"
hint.lnc.0.irq="10"
hint.lnc.0.drq="0"
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE85P4/3KS+A0T8MzkRAkFSAJkB6ZmFyMvSkcw6BzzT30k/Xn60FQCfRmlf
pCTTq8JusHiDitz2sRj/tr0=
=fpmR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.