ts-7000
[Top] [All Lists]

Re: [ts-7000] DIO24 Interupts TS7200 Re: SER4 Boards - Two (2) with the

To:
Subject: Re: [ts-7000] DIO24 Interupts TS7200 Re: SER4 Boards - Two (2) with the TS7200
From: Matthieu Crapet <>
Date: Tue, 02 Jun 2009 20:39:11 +0200
On which kernel are you working on ?

Because since kernel 2.6.27, "mach-ep93xx" support is very good.

You can actually have (checked on 2.6.29) have:

IRQ_TYPE_EDGE_RISING
IRQ_TYPE_EDGE_FALLING
IRQ_TYPE_LEVEL_HIGH
IRQ_TYPE_LEVEL_LOW
IRQ_TYPE_EDGE_BOTH

I've made a driver for TS-SER1 (drivers/serial/8250_ts_ser1.c) maybe it 
can help.

I would call set_irq_type first. But I think that this setting could be 
modified on the fly, never tried.

Matthieu



ticrus00 wrote:
>
>
> Matt,
>
> Thanks for the help. Do you know, is it possible to set the IRQ to 
> edge falling instead of edge rising in a module? set_irq_type(irq, 
> IRQ_TYPE_EDGE_FALLING) work? If so do I call that before or after I 
> request an IRQ? I'm rather new to the interupt world.
>
> Thanks,
> Justin
>
> --- In  <ts-7000%40yahoogroups.com>, 
> Matthieu Crapet <> wrote:
> >
> > Hi,
> >
> > As far as I know with TS PC/104 boards on TS-720
> > Only 3 IRQ are available:
> >
> > - IRQ5 : IRQ_EP93XX_GPIO(19) (value=83) [GPIO_PORT_F_3]
> > Kernel 2.6.27+: gpio_to_irq(EP93XX_GPIO_LINE_F(3))
> > [|set_irq_type(irq, IRQ_TYPE_EDGE_RISING)|]
> >
> > - IRQ6 : IRQ_EP93XX_EXT1 (value=33)
> > - IRQ7 : IRQ_EP93XX_EXT3 (value=40)
> >
> > For example on TS-9600 (IDE PC/104), IRQ15 and IRQ14 are not possible.
> > Watch the schematics to check.
> >
> > Regards,
> > Matt
> >
> > ticrus00 wrote:
> > >
> > >
> > > I have a TS7200, and a DIO24 card. I'm finding Linux IRQ 33, and 
> Linux
> > > IRQ 40 work for ISA_IRQ6 & ISA_IRQ7 (for bits 1 and 2 of port C on 
> the
> > > DIO24).
> > >
> > > I get nothing for Linux IRQ 21 or Linux IRQ 22 when trying to trigger
> > > bit 0, the ISA_IRQ5. Also any idea what ISA_IRQ9 (bit 3) is?
> > >
> > > Thanks,
> > > Justin
> > >
> > > --- In  <ts-7000%40yahoogroups.com> 
> <ts-7000%40yahoogroups.com>,
> > > "dawydiuk" <eddie@> wrote:
> > > >
> > > > > IRQ_GPIO2 (ISA_IRQ5) = Linux IRQ 21
> > > > > IRQ_EXT1 (ISA_IRQ6) = Linux IRQ 33
> > > > > IRQ_EXT3 (ISA_IRQ7) = Linux IRQ 40
> > > >
> > > > I found ISA_IRQ5 corresponds to Linux IRQ 22 not 21! There is typo
> > > > somewhere that I haven't tracked down yet...
> > > >
> > > > //Eddie
> > > >
> > >
> > >
> >
>
> 



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU