Date: Fri, 30 Apr 1999 08:29:06 +0800 From: Chung-Kie Tung <tung@turtle.ee.ncku.edu.tw> To: freebsd-mobile@FreeBSD.ORG Subject: the modem works but won't respsons immediately... Message-ID: <19990430082906.A96025@turtle.ee.ncku.edu.tw>
index | next in thread | raw e-mail
Hello...
I have a pcmcia modem which works greatly with the old FreeBSD 2.2.5+PAO,
but it has some strange behaver in the FreeBSD 3.1+PAO.
The problem is that any command send to the modem works, but the response
won't appear immidiately until I press the [enter] key.
For Example:
When I press 'at&f', I won't see the echo 'at&f' unless the [enter] is
pressed, and the modem response 'OK' appears after I press the [enter] again.
But if I input 'atdt2757575' and press [enter], though the echo 'atdt2757575'
doesn't appear completely, the modem start to dial immediately.
I try to use this modem to dialup to some ISP, the respons from the ISP
won't appear unless I press more and more [enter]s.
From my guess, the effect of the [enter] key is to put more data into the
modem output buffer or something like that, and the output won't show up
unless the number of chars in buffer has reached a boundary.
This modem works ok when using win95, I also test my notebook with
another external modem, it works okay too.
So it seems that my FreeBSD and the pcmcia modem have no problem.
My notebook PCIC is PD6729/6730 and It only works when flag 0x1 is used.
The pcic is now using port 0xfcfc,IRQ 9 (IRQ 11 also has been tried)
Below is my pccard.conf and the pccardc dumpcis output
pccard.conf
----------------------------------------------------------------------
# Generally available IO ports
#io 0x240-0x3ff
io 0x240-0x320 0x3a0-0x3ff
# 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
# NE2000 compatible PCMCIA
card "Ethernet" "Adapter"
config default "ed0" any
insert logger -s NE2000 inserted
insert /etc/pccard_ether $device
remove logger -s NE2000 removed
remove /etc/pccard_ether_remove $device
card "Intelligent" "PCMCIA FAX/MODEM"
# config 0x22 "sio2" 11
config auto "sio2" any
insert logger -s 33.6K modem inserted
remove logger -s 33.6K modem removed
And the pccardc dumpcis output
----------------------------------------------------------------------
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
000: 00 00 ff
Common memory device information:
Device number 1, type No device, WPS = OFF
Speed = No speed, Memory block size = 512b, 1 units
Tuple #2, code = 0x15 (Version 1 info), length = 54
000: 04 01 49 6e 74 65 6c 6c 69 67 65 6e 74 00 50 43
010: 4d 43 49 41 20 20 46 41 58 2f 4d 4f 44 45 4d 00
020: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
030: 20 20 20 20 00 ff
Version = 4.1, Manuf = [Intelligent], card vers = [PCMCIA FAX/MODEM]
Addit. info = [ ]
Tuple #3, 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 #4, code = 0x1b (Configuration entry), length = 16
000: f0 41 99 49 55 46 0e aa 60 f8 03 07 30 ff ff 28
Config index = 0x30(default)
Interface byte = 0x41 (I/O) +RDY/-BSY active
Vcc pwr:
Nominal operating supply voltage: 5 x 1V
Continuous supply current: 4 x 100mA
Power down supply current: 1.2 x 100mA
Card decodes 10 address lines, 8 Bit I/O only
I/O address # 1: block start = 0x3f8 block length = 0x8
IRQ modes: Level
IRQs: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Max twin cards = 0
Misc attr: (Audio-BVD2) (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 = 0x0 (Null tuple), length = 21
000: ff ff ff ff ff fe be fa ba ff f8 ff 51 62 28 0f
010: 00 fa 34 00 34
Tuple #9, code = 0x20 (Manufacturer ID), length = 4
000: 02 01 06 00
PCMCIA ID = 0x102, OEM ID = 0x6
Tuple #10, code = 0x21 (Functional ID), length = 2
000: 02 01
Serial port/modem - POST initialize
Tuple #11, code = 0x22 (Functional EXT), length = 4
000: 00 02 0f 5c
Serial interface extension:
16550 UART, Parity - Space,Mark,Odd,Even
Data bit - 7bit,8bit, Stop bit - 1bit,2bit
Tuple #12, code = 0x22 (Functional EXT), length = 9
000: 01 1f 1f ff 03 00 ff 03 00
Modem interface capabilities:
Tuple #13, code = 0x22 (Functional EXT), length = 12
000: 02 06 00 3f 1c 03 03 0f 07 00 02 b5
Data modem services available:
Tuple #14, code = 0x22 (Functional EXT), length = 8
000: 13 06 00 0f 00 02 00 b5
Fax1/modem services available:
Tuple #15, code = 0x22 (Functional EXT), length = 8
000: 23 06 00 0f 00 02 00 b5
Fax2/modem services available:
Tuple #16, code = 0x0 (Null tuple), length = 7
000: 02 01 06 00 07 00 ff
Tuple #17, code = 0x0 (Null tuple), length = 13
000: 30 30 30 30 38 36 30 30 34 34 33 31 ff
Tuple #18, code = 0x14 (No link), length = 0
Tuple #19, code = 0xff (Terminator), length = 0
2 slots found
Does anyone has the same problem with your problem?
tung
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990430082906.A96025>
