[ltp] 600E: serial + IR + sound + PC-modem = IRQ shortage

linux-thinkpad@www.bm-soft.com linux-thinkpad@www.bm-soft.com
Fri, 19 May 2000 17:04:29 +0200 (CEST)


Mark.

It seems that I'm using the same machine like you and got most of
the stuff you mention below working (I different network and
modem cards though).

On 18-May-00 linux-thinkpad@merctech.com wrote:
> 
> I'm trying to set up a 600E (RedHat 6.2, kernel 2.2.14-5.0,
> PCMCIA utils 
> 3.1.14) with the following active:
> 
>       Serial A (for DTE connection as a serial console)
>       Infrared (for Pilot infrared sync)

 - If you need more help for the IR port, contact me (post to
   this list, so others may use the information). I got the FIR
   driver working nicely (high speeds not tested yet).

>       Parallel (for printing)
>       10/100Mb 3Com 3CCFE575B/3CXFE575B Fast EtherLink XL (work
> Ethernet)

 - I use an old 10Mb 3com 3C589C
 
>       3Com/Megahertz 3CXEM556 Ethernet/Modem (modem use only)

 - I use a noname modem card (identifies itself as Lucent Venus
   56k) - no surprise

>       Alsa sound (for fun)

 - I use the sound driver distributed with the standard 2.2.14
   kernel which works fine but doesnt survive APM suspend/resume.
   Note that Alsa is said to have the same problem. However, I
   created a patch for the standard kernel driver (not Alsa)
   which fixes this (and other things). It can be found at
      http://www-hft.ee.TU-Berlin.DE/~strauman

   dont forget to exclude the sound (and midi, if enabled)
   IRQ and port address in /etc/pcmcia/config.opts.

> Sound works.

  Does Alsa now support APM (suspend/resume)? I tried an older
  version...

> 
> When I insert the PCMCIA combo card, I get the "high/low"
> tones, and the
> following errors are logged:
>       kernel: 3c589_cs: RequestIRQ: Resource in use
>       cardmgr[428]: get dev info on socket 1 failed: Resource
> temporarily una
> vailable
> 
> I know that the card works (it was fine until I enabled the IR
> port). I
> haven't found a way to force it to use another IRQ.
> 
> Does anyone have any suggestions?

I guess from the details listed in your posting that the sound
card uses IRQ 10 (for midi) but you excluded IRQ 9 (the standard
setup) in /etc/pcmcia/config.opts.

If you dont really need the midi port irq (the FM synthesizer
does not) you may even consider disable it using PS2.EXE.

Regards, Till


PS: you might be interested in my TrackPoint driver which can be
found on my homepage as well.

> 
> ----------------The Details-----------The Details---------The
> Details-----
> 
> According to PS2.EXE, the IRQ assignments are:
>       Serial A: 4
>       IR: 3
> 
> /proc/interrupts
>            CPU0       
>       0:    2798774          XT-PIC  timer
>       1:      28406          XT-PIC  keyboard
>       2:          0          XT-PIC  cascade
>       5:          4          XT-PIC  CS4236+ - MPU401
>       8:    6279923          XT-PIC  rtc
>       10:     212417          XT-PIC  CS4236+
>       11:     260202          XT-PIC  i82365, eth0
>       12:     801107          XT-PIC  PS/2 Mouse
>       13:          1          XT-PIC  fpu
>       14:     432376          XT-PIC  ide0
>       15:      34797          XT-PIC  ide1
>       NMI:          0
> 
> /proc/ioports
> 
> 
>       # Resources we should not use, even if they appear to be
> available
>       #
>       # First built-in serial port
>       exclude irq 4
>       exclude port 0x3f8-0x3ff
>       # Second built-in serial port
>       exclude irq 3
>       exclude port 0x2f8-0x2ff
>       # First built-in parallel port
>       exclude irq 7
>       # PS/2 Mouse controller port, comment this out if you
don't
> have a PS/2
>       # based mouse
>       exclude irq 12
>       
>       # Sound
>       exclude irq 5
>       exclude 0x230-0x233
>       exclude 0x530-0x537
>       exclude irq 9
>       # Serial config for pcmcia modem
>       module "serial_cs"
> 
> 
> dmesg|egrep -i "ser|irq"
>       Memory: 159608k/162816k available (888k kernel code, 416k
> reserved, 186
> 0k 
> data, 44k init, 0k bigmem)
>       PIIX4: not 100% native mode: will probe irqs later
>       ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
>       ide1 at 0x170-0x177,0x376 on irq 15
>       Serial driver version 4.27 with MANY_PORTS enabled
>       ttyS00 at 0x03f8 (irq = 4) is a 16550A
>       ttyS01 at 0x02f8 (irq = 3) is a 16550A
>       Linux PCMCIA Card Services 3.1.14
>         00:02.0 -> irq 11
>         00:02.1 -> irq 11
>           host opts [0]: [ring] [isa irq] [pci irq 11] [lat
168/176]
> [bus 2/4
> ]
>           host opts [1]: [ring] [isa irq] [pci irq 11] [lat
168/176]
> [bus 5/7
> ]
>           ISA irqs (scanned) = 5,9 PCI status changes
>       ppuser: User-space parallel port driver
>       eth0: 3Com 3CCFE575 Cyclone CardBus at 0x400, 
> 00:10:4b:f1:78:b1, IRQ 1
> 1
>       3c589_cs: RequestIRQ: Resource in use
> 
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html