Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2000 23:02:22 +0200
From:      "Martijn Pronk" <martijn.pronk@xs4all.nl>
To:        <freebsd-mobile@freebsd.org>
Subject:   Accord PCMCIA modem & FreeBSD 3.4
Message-ID:  <01bfa979$641296a0$640aa8c0@boekje.ugh.org>

next in thread | raw e-mail | index | archive | help
Hi,

I've been trying to get a Accord pcmcia modem working, but it's at the
moment a creative way to freeze my machine...
The card is detected and attached, but when i try to actually use it,
by trying to do "cu -l /dev/cuaa2" and typing something it just stops.
It's not even possible to get into the debugger (by typing Ctrl+Alt+Esc)

The laptop is a Fujitsu Lifebook C6310, dmesg is below...
All other relevant stuff is below my signature.

Can somebody give me some pointers so i can get this thing working?

Thanks,

- --
Martijn

  There is nothing magic about SCSI cabling.  There are sound
  technical reasons why they occasionally require the sacrifice of a
  young goat.        - Somebody in FreeBSD-current

Kernel config:

machine         "i386"
cpu             "I686_CPU"
ident           BOEKJE
maxusers        96

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         MFS                     #Memory Filesystem
options         MFS_ROOT                #MFS usable as root device, "MFS"
req'ed
options         NFS                     #Network Filesystem
options         NFS_ROOT                #NFS usable as root device, "NFS"
req'ed
options         MSDOSFS                 #MSDOS Filesystem
options         NTFS
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         UCONSOLE                #Allow users to grab the console
options         FAILSAFE                #Be conservative
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         KTRACE                  #ktrace(1) syscall trace support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores

options         DDB


options         USER_LDT
options         "MD5"
options         "VM86"
options         PERFMON
options         SOFTUPDATES
options         IDE_DELAY=750

config          kernel  root on wd0

controller      isa0
controller      pnp0                    # PnP support for ISA
controller      pci0

# Floppy drives
controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2
disk            fd0     at fdc0 drive 0

controller      wdc0    at isa? port "IO_WD1" bio irq 14 flags 0xa0ffa0ff
disk            wd0     at wdc0 drive 0

controller      wdc1    at isa? port "IO_WD2" bio irq 15 flags 0xa0ffa0ff

# ATAPI devices
options         ATAPI           #Enable ATAPI support for IDE bus
options         ATAPI_STATIC    #Don't do it as an LKM
device          acd0            #IDE CD-ROM

# atkbdc0 controls 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

options         "P1003_1B"
options         "_KPOSIX_PRIORITY_SCHEDULING"
options         "_KPOSIX_VERSION=199309L"

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? tty

# Floating point support - do not disable.
device          npx0    at isa? port IO_NPX irq 13

# Power management support (see LINT for more options)
device          apm0    at isa? flags 0x0 # Advanced Power Management

# PCCARD (PCMCIA) support
controller      card0
device          pcic0   at card?
device          pcic1   at card?
controller      smbus0
device          smb0 at smbus?

# Serial (COM) ports
device          sio0    at isa? port "IO_COM1" flags 0x10 tty irq 4
device          sio1    at isa? port "IO_COM2" tty irq 3

# Parallel port
device          ppc0    at isa? port? flags 0x40 net irq 7
controller      ppbus0                  # Parallel port bus (required)
device          lpt0    at ppbus?       # Printer
device          plip0   at ppbus?       # TCP/IP over parallel
device          ppi0    at ppbus?       # Parallel port interface device

# ISA Ethernet NICs.
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device          xe0
device          ed0

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device   snp     2
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   tun     1       # Packet tunnel
pseudo-device   pty     32      # Pseudo-ttys (telnet etc)
pseudo-device   gzip            # Exec gzipped a.out's

# The `bpfilter' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# The number of devices determines the maximum number of
# simultaneous BPF clients programs runnable.
pseudo-device   bpfilter 8      #Berkeley packet filter

controller      uhci0
controller      usb0
device          ugen0
device          uhid0
device          ukbd0
device          ulpt0

############################################################################
#
Dmesg:
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.4-RELEASE #5: Mon Apr  3 14:54:58 GMT 2000
    martijn@boekje.ugh.org:/usr/src/sys/compile/BOEKJE
Timecounter "i8254"  frequency 1193182 Hz
CPU: Celeron (331.83-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10

Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
P
AT,PSE36,MMX,FXSR>
real memory  = 67022848 (65452K bytes)
avail memory = 62144512 (60688K bytes)
Preloaded elf kernel "kernel" at 0xc02c2000.
Pentium Pro MTRR support enabled
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.7.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
uhci0: <Intel 82371AB/EB USB Host Controller> rev 0x01 int d irq 9 on
pci0.7.2
chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.7.3
chip4: <PCI to CardBus bridge (vendor=104c device=ac1c)> rev 0x01 int a irq
9 o
n pci0.19.0
chip5: <PCI to CardBus bridge (vendor=104c device=ac1c)> rev 0x01 int b irq
9 o
n pci0.19.1
Probing for devices on PCI bus 1:
vga0: <ATI model 4c4d graphics accelerator> rev 0x64 int a irq 9 on pci1.0.0
Probing for devices on PCI bus 2:
Probing for devices on PCI bus 3:
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
wdc0: unit 0 (wd0): <FUJITSU MHH2064AT>, DMA, 32-bit, multi-block-16
wd0: 6194MB (12685680 sectors), 13424 cyls, 15 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa
wdc1: unit 0 (atapi): <NEC CD-ROM DRIVE:282/5.04>, removable, dma, iordy
acd0: drive speed 4134KB/sec, 128KB cache
acd0: supported read types: CD-R, CD-RW, CD-DA
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM unknown medium, unlocked
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
apm0 on isa
apm: found APM BIOS version 1.2
usb0: <Intel 82371AB/EB USB Host Controller>
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
PC-Card VLSI 82C146 (5 mem & 2 I/O windows)
pcic: controller irq 5
Initializing PC-card drivers: ed xe sio
changing root device to wd0s2a

##########################################################################
pccardc dumpcis:

Configuration data for card in slot 1
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
    000:  d1 00 ff
        Common memory device information:
                Device number 1, type Function specific, WPS = OFF
                Speed = 250nS, Memory block size = 512b, 1 units
Tuple #2, code = 0x15 (Version 1 info), length = 41
    000:  04 00 50 43 4d 43 49 41 00 56 2e 39 30 20 43 6f
    010:  6d 6d 75 6e 69 63 61 74 69 6f 6e 20 44 65 76 69
    020:  63 65 00 00 00 20 20 20 00
        Version = 4.0, Manuf = [PCMCIA],card vers = [V.90 Communication
Device]
        Addit. info = [],[]
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
    000:  8a 01 01 00
        PCMCIA ID = 0x18a, OEM ID = 0x1
Tuple #4, code = 0x1a (Configuration map), length = 5
    000:  01 23 00 01 03
        Reg len = 2, config register addr = 0x100, last config = 0x23
        Registers: XX------
Tuple #5, code = 0x1b (Configuration entry), length = 20
    000:  e1 81 9d 68 86 23 86 50 35 fc 15 aa 60 f8 02 07
    010:  30 b8 86 68
        Config index = 0x21(default)
        Interface byte = 0x81 (I/O)  wait signal supported
        Vcc pwr:
                Continuous supply current: 1 x 100mA, ext = 0x23
                Max current average over 10 ms: 1 x 100mA, ext = 0x50
                Power down supply current: 3 x 10mA
        Wait scale Speed = 1.2 x 100 us
        Card decodes 21 address lines
                IRQ modes:
                IRQs:  NMI BERR 0 2 4 9 11 13 15
        Max twin cards = 0
        Misc attr: (Audio-BVD2) (Read-only) (Power down supported) (Ext byte
= 0x2)
Tuple #6, code = 0x1b (Configuration entry), length = 7
    000:  20 08 aa 60 f8 03 07
        Config index = 0x20
        Card decodes 10 address lines, 8 Bit I/O only
                I/O address # 1: block start = 0x3f8 block length = 0x8
Tuple #7, 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 #8, 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 #9, code = 0xff (Terminator), length = 0
2 slots found

########################################################################
pccard.conf:
# Generally available IO ports
io      0x240-0x360
# Generally available IRQs (Built-in sound-card owners remove 5)
irq     10 11 12
# Available memory slots
memory  0xd4000  96k

card "Xircom" "Ethernet Adapter"
        config  0x1 "xe0" 11
        insert  logger -t $device Xircom CreditCard Ethernet inserted
        insert  /etc/pccard_ether $device
        remove  logger -t $device Xircom CreditCard Ethernet removed
        remove  kill `cat /var/run/dhclient.pid`
        remove  /sbin/ifconfig $device delete

card "PCMCIA" "V.90 Communication Device"
        config  0x23 "sio2" 11
        insert  echo "ACCORD V.90 56K Modem inserted"
        remove  echo "ACCORD Modem removed"

##########################################################################
And some log messages:

Apr 18 20:58:45 boekje /kernel: Card inserted, slot 1
Apr 18 20:58:56 boekje /kernel: sio2: type 16450




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?01bfa979$641296a0$640aa8c0>