[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

PCMCIA serial/modem problem



I am trying to use a modem PCMCIA card with a laptop.  The card is
registered and configured, but the chosen interrupt (IRQ 3) does
not appear in /proc/interrupts; I think this is the reason why I
cannot access the card.  It is impossible to open it either for
reading or for writing.  I have checked the permissions on the device
/dev/ttyS1 and checked that its major and minor numbers are correct.

(This card has worked on this laptop in the past, though with a different
kernel version.)

Can anyone suggest what to do to make this work, please?

kernel: 2.2.15
Card: SmartLink PCMCIA Fax modem from Archtek Telecom
 
Socket 0:
  product info: "CIRRUS LOGIC 56K  MODEM", "CL-MD56XX", "5.41"
  manfid: 0x014e, 0x0088
  function: 2 (serial)

rover:/home/olly# cardctl config
Socket 0:
  Vcc 5.0V  Vpp1 0.0V  Vpp2 0.0V
  interface type is "memory and I/O"
  irq 3 [exclusive] [level]
  Speaker output is enabled
  function 0:
    config base 0x0100
      option 0x60 status 0x08 ext 0x00
    io 0x13f8-0x13ff [8bit]

rover:/home/olly# setserial -a /dev/ttyS1
/dev/ttyS1, Line 1, UART: 16550A, Port: 0x13f8, IRQ: 3
	Baud_base: 115200, close_delay: 50, divisor: 0
	closing_wait: 3000
	Flags: spd_normal skip_test

rover:/home/olly# cat /proc/interrupts
           CPU0       
  0:    7599348          XT-PIC  timer
  1:       4220          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  8:          1          XT-PIC  rtc
 12:       3692          XT-PIC  PS/2 Mouse
 13:          0          XT-PIC  fpu
 14:     308980          XT-PIC  ide0
 15:         27          XT-PIC  ide1
NMI:          0

rover:/home/olly# cat /proc/ioports 
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
0378-037a : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(set)
13f8-13ff : serial_cs
4000-4007 : ide0
4008-400f : ide1

rover:/home/olly# cu -l ttyS1
cu: open (/dev/ttyS1): No such device
cu: open (/dev/ttyS1): No such device
cu: ttyS1: Line in use




-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Lo, children are an heritage of the LORD; and the  
      fruit of the womb is his reward."        Psalms 127:3 




Reply to: