Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 1999 12:23:34 +0200
From:      DarkZero <darkzero@otenet.gr>
To:        mobile@freebsd.org
Subject:   Micronet PCMCIA 56K data/fax modem problem (& mwave sndcard)
Message-ID:  <99111415223100.00641@anarchy.chaos>

next in thread | raw e-mail | index | archive | help
Hello everyone!
I am writing this because of a problem in configuring a fairly unknown PCMCIA
56K modem (brand name: Micronet) on a ThinkPad 390, running  FreeBSD 3.2- 
stable and PAO (the archives didn't help).

When I plug it in I get the following  message from the pccardd:
Card inserted, slot 0
Card "CIRRUS LOGIC 56K MODEM"("CL-MD56XX") [5.41] [(null)] has function ID 2
Slot 0, unfielded interrupt (0)
card0: assign sio3 iobase 0x2f8 irq 3 flags 0x80
sio3: type 16550A
PCMCIA Modem inserted

Moreover when I boot the system with the card plugged in, without touching it I
get: 
sio: strange line status - PC-card removed?
Card inserted, slot 0
card0: assign sio3 iobase 0x2f8 irq 3 flags 0x80
sio3: type 16550A

So, when I use e.g. the terminal mode of the user-ppp with /dev/cuaa3 I get:
at
OK
atdt123
NO DIALTONE

Could anyone please help me out with this? As I said I' m using a pccard.conf
file and a kernel that derived from the PAO package.What does "function ID 2"
mean? Is there support for the specific chipset?

And something else, just to get greedy :) :Has anyone managed to use the mwave
soundcard of the 390 as anything more than a simple SoundBlaster Pro 3.1
(something like a sb16 would give higher volume and better quality!) There is no
support for the mwave soundcard, is there?

"pccardc dumpcis" output, modem part of pccardd.conf and KERNEL follow
(I know there are redundancies :) )

Many thanks in advance, keep on rocking!

*************************************************************************************
pccardc dumpcis output

Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 2
    000:  00 ff
	Common memory device information:
		Device number 1, type No device, WPS = OFF
		Speed = No speed, Memory block size = reserved, 32 units
Tuple #2, code = 0x15 (Version 1 info), length = 42
    000:  05 01 43 49 52 52 55 53 20 4c 4f 47 49 43 20 35
    010:  36 4b 20 20 4d 4f 44 45 4d 00 43 4c 2d 4d 44 35
    020:  36 58 58 00 35 2e 34 31 00 ff
	Version = 5.1, Manuf = [CIRRUS LOGIC 56K  MODEM], card vers = [CL-MD56XX]
	Addit. info = [5.41]
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
    000:  4e 01 88 00
	PCMCIA ID = 0x14e, OEM ID = 0x88
Tuple #4, code = 0x21 (Functional ID), length = 2
    000:  02 01
	Serial port/modem - POST initialize
Tuple #5, code = 0x1a (Configuration map), length = 5
    000:  01 30 00 01 13
	Reg len = 2, config register addr = 0x100, last config = 0x30
	Registers: XX--X--- 
Tuple #6, code = 0x1b (Configuration entry), length = 19
    000:  e0 81 9d 5f 55 4d 5d 26 36 35 fc 14 aa 60 f8 03
    010:  07 24 28
	Config index = 0x20(default)
	Interface byte = 0x81 (I/O)  wait signal supported
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
		Minimum operating supply voltage: 4.5 x 1V
		Maximum operating supply voltage: 5.5 x 1V
		Continuous supply current: 2 x 100mA
		Max current average over 1 second: 3 x 100mA
		Power down supply current: 3 x 10mA
	Wait scale Speed = 1.2 x 10 us
	Card decodes 10 address lines, 8 Bit I/O only
		I/O address # 1: block start = 0x3f8 block length = 0x8
		IRQ modes: Level
		IRQ level = 4
	Max twin cards = 0
	Misc attr: (Audio-BVD2) (Power down supported)
Tuple #7, code = 0x1b (Configuration entry), length = 7
    000:  21 08 aa 60 f8 02 07
	Config index = 0x21
	Card decodes 10 address lines, 8 Bit I/O only
		I/O address # 1: block start = 0x2f8 block length = 0x8
Tuple #8, code = 0x1b (Configuration entry), length = 7
    000:  22 08 aa 60 e8 03 07
	Config index = 0x22
	Card decodes 10 address lines, 8 Bit I/O only
		I/O address # 1: block start = 0x3e8 block length = 0x8
Tuple #9, code = 0x1b (Configuration entry), length = 7
    000:  23 08 aa 60 e8 02 07
	Config index = 0x23
	Card decodes 10 address lines, 8 Bit I/O only
		I/O address # 1: block start = 0x2e8 block length = 0x8
Tuple #10, code = 0x1b (Configuration entry), length = 6
    000:  24 18 23 30 b8 1c
	Config index = 0x24
	Card decodes 3 address lines, 8 Bit I/O only
		IRQ modes: Level
		IRQs:  3 4 5 7 10 11 12
Tuple #11, code = 0x1b (Configuration entry), length = 3
    000:  30 08 23
	Config index = 0x30
	Card decodes 3 address lines, 8 Bit I/O only
Tuple #12, code = 0xff (Terminator), length = 0
2 slots found

************************************************************************************`
modem part of pccard.conf (I have an ethernet card too)


# Generally available IO ports
io	0x240-0x3ff
# Generally available IRQs (DEPRECATED, USE OF THE OPTION IS DISCOURAGED)
#irq	10 11
# Unavailable IRQs
#ignirq	9
# refrain from using SoundBlaster's IRQ, by default.
ignirq 5
# it may be helful for most of notebook PCs
#ignirq 15
# Available memory slots
memory	0xd4000	96k


#-----------------------------------------------------------------------
# Modem Cards
#-----------------------------------------------------------------------
# Most of modem cards does not match these definitions.  Please read 
# "wildcard entries" listed at the end of this file.
#-----------------------------------------------------------------------

# Omron MD24XCA FAX/Data Modem
card "OMRON Corp\." "MD24XCA"
	config	auto "sio3" pio
	reset	10000
	insert	logger -s OMRON MD24XCA Modem inserted
	remove	logger -s OMRON MD24XCA Modem removed


# -------------------------------------------------------------------
#
# "Wildcard" entries
#
# -------------------------------------------------------------------

# GENERIC PCMCIA modem
function serial
	config	auto "sio3" any
#	config	0x23 "sio3" any		# alternative definitions
#	config	0x21 "sio3" any		# .........
#	config	0x22 "sio3" any
#	config	0x23 "sio3" pio
#	config	0x21 "sio3" pio
#	config	0x22 "sio3" pio
#	config	0x23 "sio3" 5
#	config	0x21 "sio3" 5
#	config	0x22 "sio3" 5
#	reset	100			# default
	reset 	1000			# safety reset time
#	reset 	10000			# for unstable cards
	insert	logger -s PCMCIA Modem inserted
	remove	logger -s PCMCIA Modem removed

**************************************************************************************
KERNEL

machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
cpu		"I686_CPU"
ident		THINKPAD
maxusers	10

options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		NFS			#Network Filesystem
options		NFS_ROOT		#NFS usable as root device, "NFS" req'ed
options		MFS			#Memory Filesystem
options		MFS_ROOT		#MFS usable as root device, "MFS" req'ed
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		"CD9660_ROOT"		#CD-ROM usable as root. "CD9660" req'ed
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
options		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

# You may need to reset all pccards after resuming
options		PCIC_RESUME_RESET

config		kernel	root on wd0

controller	isa0
controller	pnp0
controller	eisa0
controller	pci0

# Dont remove these two lines!
pseudo-device	card	1

# You must use "flags 0x1" when you don't hear any negotiation noise(?)
# if you use modem card, or pccardd doesn't read cis tuple, tell you 
# 'No card in database for"(null)"("(null)")' in case of Cirrus Logic's 
# pcic is your PC.
device		pcic0   at isa? port 0x3e0 flags 0x1 irq 11
device		pcic0   at isa? port 0x3e0 irq 11
device		pcic0   at isa? port 0x3e4 irq 11
device		pcic1   at isa? port 0x3e2	# for HiNote Ultra II
device		pcic1   at isa? port 0x3e4	# for Chandra II

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

controller	fdc1	at isa? disable port "IO_YEFDC" bio irq ?
disk		fd2	at fdc1 drive 0
#disk		fd3	at fdc1 drive 1
options		FDC_YE

options		"CMD640"	# work around CMD640 chip deficiency
controller	wdc0	at isa? port "IO_WD1" bio irq 14
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

controller	wdc1	at isa? port "IO_WD2" bio irq 15
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1

controller	wdc2	at isa? disable port "IO_WD2" bio irq ?
disk		wd4	at wdc2 drive 0
#disk		wd5	at wdc2 drive 1

controller	wdc3	at isa? disable port "IO_WD2" bio irq ?
disk		wd6	at wdc3 drive 0
#disk		wd7	at wdc3 drive 1

options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		acd0		#IDE CD-ROM
device		wfd0		#IDE floppy (LS-120)

# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
controller	ncr0
controller	ahb0
controller	ahc0
controller	isp0

controller	dpt0

controller	adv0	at isa? port ? cam irq ?
controller	adw0
controller	bt0	at isa? port ? cam irq ?
controller	aha0	at isa? port ? cam irq ?

controller	scbus0

device		da0

device		sa0

device		pass0

device		cd0	#Only need one of these, the code dynamically grows

device		wt0	at isa? port 0x300 bio irq 5 drq 1
device		mcd0	at isa? port 0x300 bio irq 10

controller	matcd0	at isa? port 0x230 bio

device		scd0	at isa? port 0x230 bio

# atkbdc0 controlls both the keyboard and the PS/2 mouse
controller	atkbdc0	at isa? port IO_KBD tty
device		atkbd0	at isa? tty irq 1
device		psm0	at isa? tty irq 12

device		vga0	at isa? port ? conflicts

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? tty
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? tty
#options		XSERVER			# support for X server
#options		FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options		PCVT_SCANSET=2		# IBM keyboards are non-std

device		npx0	at isa? port IO_NPX irq 13

device		apm0    at isa?		# Advanced Power Management

device		sio0	at isa? port "IO_COM1" tty irq 4
device		sio1	at isa? port "IO_COM2" tty irq 3
device		sio2	at isa? disable port "IO_COM3" tty irq 5
device		sio3	at isa? disable port "IO_COM4" tty irq 9
device		sio4
device		sio5

#device		mse0	at isa? port 0x23c tty irq 5

# Parallel port
device		ppc0	at isa? port? flags 0x40 net irq 7
controller	ppbus0
device		lpt0	at ppbus?
device		plip0	at ppbus?
device		ppi0	at ppbus?
#controller	vpo0	at ppbus?

#
# The following Ethernet NICs are all PCI devices.
#
device ax0		# ASIX AX88140A
device de0		# DEC/Intel DC21x4x (``Tulip'')
device fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
device mx0		# Macronix 98713/98715/98725 (``PMAC'')
device pn0		# Lite-On 82c168/82c169 (``PNIC'')
device rl0		# RealTek 8129/8139
device tl0		# Texas Instruments ThunderLAN
device tx0		# SMC 9432TX (83c170 ``EPIC'')
device vr0		# VIA Rhine, Rhine II
device vx0		# 3Com 3c590, 3c595 (``Vortex'')
device wb0		# Winbond W89C840F
device xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000
device ed1 at isa? disable port 0x300 net irq 10 iomem 0xd8000
device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000
device ep0 at isa? port 0x300 net irq 10
device ep1 at isa? disable port 0x300 net irq 10
device ex0 at isa? port? net irq?
device fe0 at isa? port 0x300 net irq 10
device fe1 at isa? disable port 0x300 net irq 10
device le0 at isa? port 0x300 net irq 5 iomem 0xd0000
device lnc0 at isa? port 0x280 net irq 10 drq 0
device sn0 at isa? port 0x300 net irq 10
device sn1 at isa? disable port 0x300 net irq 10
device wlp0 at isa? port 0x300 net irq 11
device wlp1 at isa? disable port 0x300 net irq 11
device cs0 at isa? disable port 0x300 net irq ?
device cnw0 at isa? port 0x300 net irq 5
device cnw1 at isa? disable port 0x300 net irq 5
device ux0
device wi0
device xe0


# IBM Smart Capture PCMCIA card
device	scc0
device	scc1

# Hitachi microcomputer system Speach Synthesizer card
device hss0
device hss1

# PCMCIA Joystick
device		joy0	at isa? port "IO_GAME"

# PCMCIA GPIB card
device		gp0	at isa? port 0x2c0 tty

pseudo-device	loop
pseudo-device	ether
pseudo-device	sl	1
# ijppp uses tun instead of ppp device
pseudo-device	ppp	1
pseudo-device	vn	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

options		DDB

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

pseudo-device	bpfilter 4	#Berkeley packet filter

controller snd0

device sb0 at isa? port 0x220 irq 5 drq 0 flags 0x1 conflicts vector sbintr
device sbxvi0 at isa? port? irq? drq 5 conflicts
device sbmidi0 at isa? port 0x330 irq? conflicts
device opl0 at isa? port 0x388 irq? conflicts
#device mss0 at isa? port 0x530 irq 10 drq 1 conflicts vector adintr
#device mpu0 at isa? port 0x300 irq 5 drq 0 conflicts

device pca0 at isa? port "IO_TIMER1" tty
pseudo-device speaker

--
DarkZero
darkzero@otenet.gr


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99111415223100.00641>