Next-in-Thread Next Message

Feedback Re: It seems to be a new revision 

Forum: PCMCIA Serial and Modem Issues
Re: Question Socket dual rs-232 pcmcia... rev 2.1 (john gwynne)
Re: None It seems to be a new revision (David Hinds)
Date: 2000, Jul 11
From: john gwynne <jsg@mrcday.com>

| Try adding to /etc/pcmcia/config:
|
| card "Socket Dual RS-232"
| manfid 0x0104, 0x0070
| bind "serial_cs" to 0, "serial_cs" to 1
|
| which should get the driver to try to configure both ports.

fails...

  Jul 11 16:18:11 efi cardmgr[3800]: socket 0: Socket Dual RS-232
  Jul 11 16:18:12 efi cardmgr[3800]: executing: 'modprobe serial_cs'
  Jul 11 16:18:12 efi kernel: tty02 at 0x03e8 (irq = 5) is a 8250
  Jul 11 16:18:12 efi cardmgr[3800]: 'serial_cs' already bound to socket 0
  Jul 11 16:18:12 efi cardmgr[3800]: executing: './serial start ttyS2'
  Jul 11 16:18:13 efi cardmgr[3800]: executing: './serial start ttyS2'

as a WAG, i tried serial_cb...

  Jul 11 16:20:49 efi cardmgr[4184]: socket 0: Socket Dual RS-232
  Jul 11 16:20:49 efi cardmgr[4184]: executing: 'modprobe cb_enabler'
  Jul 11 16:20:50 efi cardmgr[4184]: executing: 'modprobe serial_cb'
  Jul 11 16:20:50 efi kernel: serial_cb: RequestIO: Unsupported mode
  Jul 11 16:20:51 efi cardmgr[4184]: get dev info on socket 0 failed: Resource temporarily unavailable


| The dump_cis output doesn't look quite right to me. You might also
| try creating a file socket.cis containing:
|
| dev_info
| NULL 0ns, 512b
| mfc {
| manfid 0x0104, 0x0070

<delete>

| irq mask 0xffff [level]
| }

still a no go... (using bind "serial_cs")

  Jul 11 16:33:55 efi cardmgr[4708]: socket 0: Socket Dual RS-232
  Jul 11 16:33:55 efi cardmgr[4708]: executing: 'modprobe serial_cs'
  Jul 11 16:33:56 efi kernel: tty02 at 0x03e8 (irq = 5) is a 8250
  Jul 11 16:33:56 efi cardmgr[4708]: executing: './serial start ttyS2'

BUT... this seems to be moving in the right
direction... I tried this description....

  dev_info
    NULL 0ns, 512b
  manfid 0x0104, 0x0070
  vers_1 5.0, "Socket", "Dual I/O Card Rev 2.1"
  funcid serial_port [post]
  config base 0x0400 mask 0x0003 last_index 0x2d
  cftable_entry 0x2d [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 15mA
      Iavg 25mA Ipeak 2500uA Idown 20uA
    io 0x03e8-0x03ef [lines=16] [8bit] [range]
    io 0x02e8-0x02ef [lines=16] [8bit] [range]
    irq mask 0xffff [level]

which gives...

  Jul 11 16:28:31 efi cardmgr[4513]: socket 0: Socket Dual RS-232
  Jul 11 16:28:31 efi cardmgr[4513]: executing: 'modprobe serial_cs'
  Jul 11 16:28:31 efi kernel: tty02 at 0x03e8 (irq = 5) is a ST16650V2
  Jul 11 16:28:31 efi kernel: tty03 at 0x02e8 (irq = 5) is a ST16650V2
  Jul 11 16:28:31 efi cardmgr[4513]: executing: './serial start ttyS2'
  Jul 11 16:28:32 efi cardmgr[4513]: executing: './serial start ttyS3'

At this point "port-A" responds as both ttyS2 and ttyS3... but at least it is working (small victory:). I tried several other mfc {},{} descriptions, but could not get any of those to work at all... only the above (with and without the second I/O window). How can I get both ports to work?

john gwynne

Next-in-Thread Next Message

Add Message to: "Re: It seems to be a new revision"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10