PCMCIA GPRS cards not works,help...
Magikor
magikor at msn.com
Thu Feb 19 17:29:39 GMT 2004
Does anyone know the reason?
Please help me,thanks a lot!
>Hi,
>I have a PCMCIA GPRS card,but when I insert it to my machine(Based on PXA255,linux-2.4.18-rmk7-pxa3)it appears two serial ports,so strange,can anyone give me a hand?
>In order to avoid the "Bad Vcc" error,I have delete the two lines in cs.c
>/*
> if (s->socket.Vcc != req->Vcc)
> return CS_BAD_VCC;
>*/
>Following is the detail debug info:
>
>----s->socket.Vcc=33, req->Vcc=50------
>------<6>ttyS03 at port 0xf60003f8 (irq = 46) is a 16C950/954
>ttyS04 at port 0xf6000400 (irq = 46) is a 16C950/954
>Division by zero in kernel.
>.................................................
>---Send msg CFChanged()---
>Division by zero in kernel.
>..............................................
>
>
>#/proc/bus/pccard/00>cardctl ident
>Socket 0:
> product info: "GPRS Modem", "", "", ""
> manfid: 0x0279, 0x950b
> function: 2 (serial)
>#/proc/bus/pccard/00>
>#/proc/bus/pccard/00>
>#/proc/bus/pccard/00>cardctl status
>Socket 0:
> 3.3V 16-bit PC Card
> function 0: [ready], [bat dead], [bat low]
>#/proc/bus/pccard/00>
>#/proc/bus/pccard/00>
>#/proc/bus/pccard/00>cardctl config
>Socket 0:
> Vcc 5.0V Vpp1 0.0V Vpp2 0.0V
> interface type is "memory and I/O"
> irq 46 [exclusive] [level]
> Speaker output is enabled
> function 0:
> config base 0x00f8
> option 0x41 status 0x08 pin 0x00 copy 0x00
> io 0xf60003f8-0xf6000407 [8bit]
>#/proc/bus/pccard/00>
>#/proc/bus/pccard/00>
>
>#/root>cd /var/run/
>#/var/run>cat stab
>Socket 0: Serial or Modem
>0 serial serial_cs 0 ttyS3 4 67
>0 serial serial_cs 1 ttyS4 4 68
>#/var/run>cd /proc/bus/pccard/
>#/proc/bus/pccard>cat drivers
>serial_cs 1 1
>ide-cs 1 0
>#/proc/bus/pccard>cd 00
>#/proc/bus/pccard/00>cat status
>k_flags : detect ready bvd1 bvd2 vs_3v
>status : SS_DETECT SS_READY SS_POWERON SS_IOCARD SS_STSCHG SS_3VCARD
>mask : SS_DETECT
>cs_flags : SS_IOCARD SS_SPKR_ENA SS_OUTPUT_ENA
>Vcc : 33
>Vpp : 0
>irq : 46
>I/O : 165 (180)
>attribute: 300 (301)
>common : 150 (150)
>#/proc/bus/pccard/00>
>#/proc/bus/pccard/00>
>#/proc/bus/pccard/00>
>
>#/proc>cd /proc/tty/driver
>#/proc/tty/driver>cat serial
>serinfo:1.0 driver:5.05c revision:2001-07-08
>0: uart:PXA UART port:0 irq:14
>1: uart:PXA UART port:0 irq:13
>2: uart:PXA UART port:0 irq:12
>3: uart:16C950/954 port:F60003F8 irq:46 tx:0 rx:0 CTS
>4: uart:16C950/954 port:F6000400 irq:46 tx:0 rx:0 CTS
>5: uart:unknown port:0 irq:0
>6: uart:unknown port:0 irq:0
>7: uart:unknown port:0 irq:0
>#/proc/tty/driver>
>#/proc/tty/driver>
>
>Best regards
>Magikor
>
>
>
>
>_______________________________________________
>Linux PCMCIA reimplementation list
>http://lists.infradead.org/mailman/listinfo/linux-pcmcia
>.
More information about the linux-pcmcia
mailing list