All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ernst Herzberg <earny@net4u.de>
To: linux-kernel@vger.kernel.org
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: [BUG] pcmcia serial_cs no interrupts
Date: Wed, 14 Nov 2007 15:05:22 +0100	[thread overview]
Message-ID: <200711141505.22705.earny@net4u.de> (raw)
In-Reply-To: <20071113175201.72995c65@the-village.bc.nu>

Am Dienstag, 13. November 2007 18:52:01 schrieb Alan Cox:
> On Tue, 13 Nov 2007 17:55:25 +0100
>
> Ernst Herzberg <list-lkml@net4u.de> wrote:
> > This pcmcia-card (UMTS Modem) only works if it shares his interrupt with
> > another device, eg an usb mice. Moving the mice increases the connection
> > speed, unplugging hangs the connection.
>
> Thats consistent with the card not generating interrupts, or the
> interrupts being misrouted. The serial driver polls the interrupt pending
> bits on the chip so the actual serial chip is clearly expecting
> interrupts to go somewhere. Given this seems to be card not laptop
> specific it looks like there is magic intiialisation gloop required by
> this chipset that we don't have.
>
> > At the moment this card is my only way to reach the internet, but here in
> > the hospital i have a lot time to test patches;)
>
> You may want to boot with irqpoll that may help a bit.
>
> Some info at:
>
> A helpful start would be to know if the setserial command (applied to
> whatever tty your system calls the card) helps as given in:
>
> https://bugs.launchpad.net/ubuntu/+source/pcmciautils/+bug/99479

Thanks. So far i have checked:

2.6.15.X does not work. Same problen there: no shared irq, no umts (only to 
make shure..). Never will try an older kernel than 2.6.24 from now on;-)

The setserial command itself does not change anything. But the combination of 
irqpoll and "setserial /dev/modem baud_base 460800 spd_warp low_latency"
allows the card to function on a lonesome interrupt even with usable speed.

But the card itself does not generate any interrupt at all during that 
time. /proc/interrupts counts up two on a physical insert of the card, one 
with a "pccardctl insert 0" or a physical remove, a "pccardctl eject 0" 
counts zero.


      reply	other threads:[~2007-11-14 14:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-13 16:55 [BUG] pcmcia serial_cs no interrupts Ernst Herzberg
2007-11-13 17:52 ` Alan Cox
2007-11-14 14:05   ` Ernst Herzberg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200711141505.22705.earny@net4u.de \
    --to=earny@net4u.de \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.