Skip site navigation (1)Skip section navigation (2)
Date:      11 Oct 2002 21:17:21 +0200
From:      Bengt Ahlgren <bengta@sics.se>
To:        freebsd-mobile@freebsd.org
Subject:   Sony Ericsson GC75 GPRS pccard modem
Message-ID:  <uh7vg48bxa6.fsf@ferrari.sics.se>

next in thread | raw e-mail | index | archive | help
--=-=-=

I just got a Sony Ericsson GC75 GRPS pccard modem.  It seems to look
like an ordinary modem with "at" commands to the system, so the
regular serial driver "just works" (BTW, I'm running 4.5R on an IBM TP
570.):

  /kernel: pccard: card inserted, slot 0
  pccardd[56]: Card "Sony Ericsson"("GC75 PC Card") [ML2029] [(null)] has function ID 2 
  /kernel: sio1 at port 0x2e8-0x2ef irq 11 flags 0x40000 slot 0 on pccard0
  /kernel: sio1: type 16550A
  /kernel: sio1: unable to activate interrupt in fast mode - using normal mode
  pccardd[56]: sio1: GENERIC PCMCIA modem inserted.

I have no clue what the message about not being able to activate fast
mode is about.  Do I need to worry?

Talking to the card directly using the cu program and issuing "at"
commands works.  I have however not yet managed to establish a PPP
connection over it, but I think it's because I need pap authentication
info from my provider.

There is one strange thing happening with the system after I have
removed the card.  Inserting my regular Ethernet card (3Com 3C574B)
afterwards works fine, but when I then do "pccardc power 0 0", the
system hangs and beeps continuously until I eject the card.  The
system then seems fine and has not crashed.

The manual for the windows software that comes with the card gives the
impression that it can monitor the GSM signal level and various other
stuff while you are connected.  This would be very handy to have on
FreeBSD too.  There are "at" commands to retrieve this information,
but when ppp is running you can't issue those (or can you?).  I am
wondering whether the card has some additional registers that can be
read?  I attach the dumpcis output so someone more clueful perhaps can
figure this out.

A possible pccard.conf entry to add (maybe remove "ML2029"?):

# Sony Ericsson GC75 GPRS PC Card Modem
card "Sony Ericsson" "GC75 PC Card" "ML2029"
	config	auto "sio" ?

Cheers,

Bengt


--=-=-=
Content-Disposition: attachment; filename=gc75cis
Content-Description: GC75 dumpcis

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 = 0x1c (Other conditions for common memory), length = 3
    000:  03 00 ff
	(MWAIT) (3V card)
Tuple #3, code = 0x15 (Version 1 info), length = 37
    000:  04 01 53 6f 6e 79 20 45 72 69 63 73 73 6f 6e 00
    010:  47 43 37 35 20 50 43 20 43 61 72 64 00 4d 4c 32
    020:  30 32 39 00 ff
	Version = 4.1, Manuf = [Sony Ericsson], card vers = [GC75 PC Card]
	Addit. info = [ML2029]
Tuple #4, code = 0x20 (Manufacturer ID), length = 4
    000:  21 02 00 20
	PCMCIA ID = 0x221, OEM ID = 0x2000
Tuple #5, code = 0x21 (Functional ID), length = 2
    000:  02 00
	Serial port/modem
Tuple #6, code = 0x22 (Functional EXT), length = 4
    000:  00 02 0f 1c
	Serial interface extension:
		16550 UART, Parity - Space,Mark,Odd,Even
		Data bit - 7bit,8bit, Stop bit - 1bit,
Tuple #7, code = 0x1a (Configuration map), length = 5
    000:  01 23 e0 01 03
	Reg len = 2, config register addr = 0x1e0, last config = 0x23
	Registers: XX------ 
Tuple #8, code = 0x1b (Configuration entry), length = 17
    000:  e0 01 19 07 b5 1e 35 b5 3c aa 60 f8 03 07 30 bc
    010:  86
	Config index = 0x20(default)
	Interface byte = 0x1 (I/O)
	Vcc pwr:
		Nominal operating supply voltage: 3 x 1V, ext = 0x1e
		Minimum operating supply voltage: 3 x 1V
		Maximum operating supply voltage: 3 x 1V, ext = 0x3c
	Card decodes 10 address lines, 8 Bit I/O only
		I/O address # 1: block start = 0x3f8 block length = 0x8
		IRQ modes: Level
		IRQs:  2 3 4 5 7 9 10 15
Tuple #9, code = 0x1b (Configuration entry), length = 17
    000:  e1 01 19 07 b5 1e 35 b5 3c aa 60 f8 02 07 30 bc
    010:  86
	Config index = 0x21(default)
	Interface byte = 0x1 (I/O)
	Vcc pwr:
		Nominal operating supply voltage: 3 x 1V, ext = 0x1e
		Minimum operating supply voltage: 3 x 1V
		Maximum operating supply voltage: 3 x 1V, ext = 0x3c
	Card decodes 10 address lines, 8 Bit I/O only
		I/O address # 1: block start = 0x2f8 block length = 0x8
		IRQ modes: Level
		IRQs:  2 3 4 5 7 9 10 15
Tuple #10, code = 0x1b (Configuration entry), length = 17
    000:  e2 01 19 07 b5 1e 35 b5 3c aa 60 e8 03 07 30 bc
    010:  86
	Config index = 0x22(default)
	Interface byte = 0x1 (I/O)
	Vcc pwr:
		Nominal operating supply voltage: 3 x 1V, ext = 0x1e
		Minimum operating supply voltage: 3 x 1V
		Maximum operating supply voltage: 3 x 1V, ext = 0x3c
	Card decodes 10 address lines, 8 Bit I/O only
		I/O address # 1: block start = 0x3e8 block length = 0x8
		IRQ modes: Level
		IRQs:  2 3 4 5 7 9 10 15
Tuple #11, code = 0x1b (Configuration entry), length = 17
    000:  e3 01 19 07 b5 1e 35 b5 3c aa 60 e8 02 07 30 bc
    010:  86
	Config index = 0x23(default)
	Interface byte = 0x1 (I/O)
	Vcc pwr:
		Nominal operating supply voltage: 3 x 1V, ext = 0x1e
		Minimum operating supply voltage: 3 x 1V
		Maximum operating supply voltage: 3 x 1V, ext = 0x3c
	Card decodes 10 address lines, 8 Bit I/O only
		I/O address # 1: block start = 0x2e8 block length = 0x8
		IRQ modes: Level
		IRQs:  2 3 4 5 7 9 10 15
Tuple #12, code = 0xff (Terminator), length = 0
2 slots found

--=-=-=--

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?uh7vg48bxa6.fsf>