Date: Thu, 9 Dec 1999 15:57:54 +0100 (CET) From: "D. Rock" <rock@dead-end.net> To: Daniel Eischen <eischen@vigrid.com> Cc: current@FreeBSD.ORG, mobile@FreeBSD.ORG Subject: pccard sio problems (Re: HEADSUP: wd driver will be retired!) Message-ID: <199912091457.PAA21888@dead-end.net>
next in thread | raw e-mail | index | archive | help
This message is in MIME format.
---MOQ94475147400318d51268831008a1842cc1db59fb8
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
Zitiere Daniel Eischen <eischen@vigrid.com>:
> > In message <19991208150807.A16687@netmonger.net>
Christopher Masto
> writes:
> > : Right now, I have no sound (not detected), no USB
(panic on removal),
> > : can\\\\\\\\\\\\\\\'t use my sio pccard, can\\\\\\\\\\\\\\\'t
eject my ed
pccard, my IDE drives are
> > : taking hours to dump and fsck, and my TV card is
missing every other
> > : line if I try to use the (not working anyway)
closed caption decoder.
> >
> > I have some patches for the can\'t eject the network
cards from a user
> > that I\'m trying out and would then need to get
committed to the
> > network layer to properly support if_detach().
> >
> > What\'s wrong with your sio pccard? Mine works
well
enough...
>
> Mine hasn\'t worked since a kernel built from Nov 23
sources. It
> broke sometime between then and December 4th. Just
built a new
> kernel from todays sources, and still no go.
>
> pccardd[47]: driver allocation failed for Motorola
(MONTANA 33.6 FAX/MODEM):
> Device not configured
>
I also had problems with latest -current. After a little
debugging I noticed that sio.c doesn\'t include \"card.h\"
which defines NCARD, so the pccard stuff isn\'t compiled
in. I added that line to sio.c, recompiled, and sio for
pccard was at least again partially functional.
I have two pccard sio devices, one seems to work, the
other one freezes the machine during a simple
\"stty -a < /dev/cuaaX\". I have attached the CIS
information of these cards with my pccard.conf.
Ejecting sio also doesn\'t seem to work. The machine
is freezed afterwards. I can eject my DLink ed card,
but after a re-insertion the driver isn\'t attached any
more.
Daniel
---MOQ94475147400318d51268831008a1842cc1db59fb8
Content-Type: text/plain; name="cis.crash"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline; filename="cis.crash"
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 = 32
000: 04 01 49 6e 74 65 6c 6c 69 67 65 6e 74 00 50 43
010: 4d 43 49 41 20 46 41 58 2b 4d 4f 44 45 4d 00 ff
Version = 4.1, Manuf = [Intelligent],card vers = [PCMCIA FAX+MODEM]
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
000: 00 02 01 00
PCMCIA ID = 0x200, OEM ID = 0x1
Tuple #4, code = 0x21 (Functional ID), length = 2
000: 02 00
Serial port/modem
Tuple #5, code = 0x22 (Functional EXT), length = 4
000: 00 02 0f 5c
Serial interface extension:
16550 UART, Parity - Space,Mark,Odd,Even,
Tuple #6, code = 0x22 (Functional EXT), length = 9
000: 05 1f 1f 00 04 00 00 04 00
Modem interface capabilities:
Tuple #7, code = 0x22 (Functional EXT), length = 9
000: 06 1f 1f 00 04 00 00 04 00
Modem interface capabilities:
Tuple #8, code = 0x22 (Functional EXT), length = 12
000: 02 06 00 3f 1c 03 03 0f 07 00 01 b5
Data modem services available:
Tuple #9, code = 0x22 (Functional EXT), length = 8
000: 13 06 00 1f 00 02 00 b5
Tuple #10, code = 0x22 (Functional EXT), length = 8
000: 23 06 00 1f 00 02 00 b5
Tuple #11, code = 0x1a (Configuration map), length = 5
000: 01 27 80 ff 67
Reg len = 2, config register addr = 0xff80, last config = 0x27
Registers: XXX--XX-
Tuple #12, code = 0x1b (Configuration entry), length = 19
000: cf 41 99 79 55 3d 86 46 26 4c aa 60 f8 03 07 f0
010: bc 86 28
Config index = 0xf(default)
Interface byte = 0x41 (I/O) +RDY/-BSY active
Vcc pwr:
Nominal operating supply voltage: 5 x 1V
Continuous supply current: 3.5 x 10mA
Max current average over 1 second: 1 x 100mA, ext = 0x46
Max current average over 10 ms: 2 x 100mA
Power down supply current: 4.5 x 1mA
Card decodes 10 address lines, 8 Bit I/O only
I/O address # 1: block start = 0x3f8 block length = 0x8
IRQ modes: Level, Pulse, Shared
IRQs: 4 5 6 7 10 11 12 13 15
Max twin cards = 0
Misc attr: (Audio-BVD2) (Power down supported)
Tuple #13, code = 0x1b (Configuration entry), length = 7
000: 17 08 aa 60 f8 02 07
Config index = 0x17
Card decodes 10 address lines, 8 Bit I/O only
I/O address # 1: block start = 0x2f8 block length = 0x8
Tuple #14, code = 0x1b (Configuration entry), length = 7
000: 1f 08 aa 60 e8 03 07
Config index = 0x1f
Card decodes 10 address lines, 8 Bit I/O only
I/O address # 1: block start = 0x3e8 block length = 0x8
Tuple #15, code = 0x1b (Configuration entry), length = 7
000: 27 08 aa 60 e8 02 07
Config index = 0x27
Card decodes 10 address lines, 8 Bit I/O only
I/O address # 1: block start = 0x2e8 block length = 0x8
Tuple #16, code = 0xff (Terminator), length = 0
---MOQ94475147400318d51268831008a1842cc1db59fb8
Content-Type: text/plain; name="cis.working"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline; filename="cis.working"
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 = 15
000: 04 01 47 53 4d 00 44 53 41 20 43 61 72 64 00
Version = 4.1, Manuf = [GSM],card vers = [DSA Card]
Addit. info = [],[],[],[],[],[],[],[$],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[PP`p`],[],[],[],[],[],[!`],[],[],[],[],[],[],[],[],[],[],[],[],[],[],["`],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[#`],[],[],[],[],[],[],[],[],[0],[],[],[],[],[],[ $@],[],[],[],[],[],[],[],[],[],[],[P!],[],[],[],[],[],[@],[],[],[],[],[],[],[],[],[],[],[],[],[],[`],[],[],[],[],[],[],[],[],[],[],[],[],[],[]
Tuple #3, code = 0x1a (Configuration map), length = 5
000: 01 24 00 01 03
Reg len = 2, config register addr = 0x100, last config = 0x24
Registers: XX------
Tuple #4, code = 0x1b (Configuration entry), length = 16
000: e0 01 99 50 f5 50 05 aa 60 f8 03 07 70 bc 9e 60
Config index = 0x20(default)
Interface byte = 0x1 (I/O)
Vcc pwr:
Max current average over 1 second: 8 x 10mA, ext = 0x50
Power down supply current: 1 x 10mA
Card decodes 10 address lines, 8 Bit I/O only
I/O address # 1: block start = 0x3f8 block length = 0x8
IRQ modes: Level, Pulse
IRQs: 4 5 6 10 11 12 13 15
Max twin cards = 0
Misc attr: (Power down supported)
Tuple #5, 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 #6, 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 #7, 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 #8, code = 0x1b (Configuration entry), length = 5
000: 24 08 a0 40 07
Config index = 0x24
Card provides address decode, 8 Bit I/O only
I/O address # 1: block length = 0x8
Tuple #9, code = 0x21 (Functional ID), length = 2
000: 02 01
Serial port/modem - POST initialize
Tuple #10, code = 0x14 (No link), length = 0
Tuple #11, code = 0xff (Terminator), length = 0
---MOQ94475147400318d51268831008a1842cc1db59fb8
Content-Type: text/plain; name="pccard.conf"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline; filename="pccard.conf"
# Sample PCCARD configuration file
#
# Removing all IRQ conflicts from this file can't be done because of some
# IRQ-selfish PC-cards. So if you want to use some of these cards in
# your machine, you will be forced to modify their IRQ parameters from
# the following list.
#
# IRQ == 0 means "allocate free IRQ from IRQ pool"
# IRQ == 16 means "do not use IRQ (e.g. PIO mode)"
#
# $FreeBSD: src/etc/pccard.conf.sample,v 1.50 1999/11/21 09:48:15 msmith Exp $
# Generally available IO ports
io 0x240-0x400
# Generally available IRQs (Built-in sound-card owners remove 5)
irq 11 15
# Available memory slots
memory 0xd4000 96k
#debuglevel 9
card "D-Link" "DE-660"
config 0x20 "ed0" ? 0x10
insert /etc/pccard_ether ed0
remove /etc/pccard_ether ed0 delete down
card "Intelligent" "PCMCIA FAX+MODEM"
config 0x1f "sio2" ?
# config 0x27 "sio3" ?
card "GSM" "DSA Card"
config 0x23 "sio3" ?
# config 0x22 "sio2" ?
---MOQ94475147400318d51268831008a1842cc1db59fb8--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912091457.PAA21888>
