public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Johannes Erdfelt <johannes-olwfUuQ3Q2lBDgjK7y7TUQ@public.gmane.org>
To: Stian Jordet <liste-NI9zH3lwcMKHXe+LvDLADg@public.gmane.org>
Cc: "Grover,
	Andrew" <andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org
Subject: Re: ACPI patches updated (20021111)
Date: Mon, 18 Nov 2002 19:39:24 -0500	[thread overview]
Message-ID: <20021118193924.E32255@sventech.com> (raw)
In-Reply-To: <1037663229.4398.1.camel-rd0e0RNjLLRX8BKYUJ5quQ@public.gmane.org>; from liste-NI9zH3lwcMKHXe+LvDLADg@public.gmane.org on Tue, Nov 19, 2002 at 12:47:10AM +0100

Now that would be interesting.

There's only one interrupt line for each HC (Host Controller) and none of
the Linux USB code will poll for completions. It depends on the IRQ being
delivered.

What may be happening is that the IRQ is being misreported.

This might work because Linux thinks the HC is sharing the IRQ with
another device that works and as a result of that device receiving
interrupts, the HCD (HC Driver) will receive them as well.

JE

On Tue, Nov 19, 2002, Stian Jordet <liste-NI9zH3lwcMKHXe+LvDLADg@public.gmane.org> wrote:
> Just to let you know, this problem does not exist with usb-printers,
> they work perfect with acpi. But keyboard and mouse will only work with
> acpi turned off (!).
> 
> Regards,
> Stian Jordet
> 
> 
> tor, 2002-11-14 kl. 20:59 skrev Stian Jordet:
> > In my motherboard user-guide, it says that usb shares irq with pci-slot
> > 1 and 5. In the Bios I can change irq on slot 1/5 from auto to 5 (or
> > whatever). USB works fine whatever setting I'm using (auto or some irq),
> > as long as I'm not using acpi. With acpi everything BUT usb works
> > perfect. Hope this helps.
> > 
> > Regards,
> > Stian
> > 
> > 
> > tor, 2002-11-14 kl. 19:55 skrev Grover, Andrew:
> > > > From: Stian Jordet [mailto:liste-NI9zH3lwcMKHXe+LvDLADg@public.gmane.org] 
> > > > I did ofcourse mean that this does _not_ seem to be the 
> > > > problem without
> > > > me forcing usb to use irq 5, but perhaps the problem then is that acpi
> > > > and usb use the same irq? Is acpi not supposed to share irq with
> > > > anything?
> > > 
> > > Wait, you're saying you are somehow *forcing* USB to IRQ 5? Via what method?
> > > 
> > > The ACPI interrupt can share its interrupt, no problem. Are you experiencing
> > > problems when ACPI and usb share irq 9?
> > > 
> > > Regards -- Andy
> > > 
> > > > 
> > > > Regards,
> > > > Stian Jordet
> > > > 
> > > > tor, 2002-11-14 kl. 00:28 skrev Stian Jordet:
> > > > > ons, 2002-11-13 kl. 22:30 skrev Grover, Andrew:
> > > > > > > From: Stian Jordet [mailto:liste-NI9zH3lwcMKHXe+LvDLADg@public.gmane.org] 
> > > > > > 
> > > > > > with acpi:
> > > > > > >   5:     269867     266825    IO-APIC-edge  usb-uhci, 
> > > > > > > usb-uhci, usb-uhci
> > > > > > 
> > > > > > without acpi:
> > > > > > >   5:        893        757   IO-APIC-level  Ricoh Co 
> > > > Ltd RL5c476 II
> > > > > > > (#2), usb-uhci, usb-uhci, usb-uhci, eth0, ide2
> > > > > > 
> > > > > > Well, here's the problem. IRQ 5 should be IO-APIC-level.
> > > > > > 
> > > > > > We are supposedly setting irqs used by PCI to level, but 
> > > > apparently not in
> > > > > > your case. Interesting.
> > > > > > 
> > > > > > Regards -- Andy
> > > > > 
> > > > > That seems to be the problem without me forcing usb to irq 
> > > > 5 as well.
> > > > > I set all irq-routing to auto (and it still works perfect 
> > > > without acpi),
> > > > > and get these results:
> > > > > 
> > > > > stianj@chevrolet:~$ cat /root/interrupts-acpi 
> > > > >            CPU0       CPU1       
> > > > >   0:       8587      21835    IO-APIC-edge  timer
> > > > >   1:         51         81    IO-APIC-edge  keyboard
> > > > >   2:          0          0          XT-PIC  cascade
> > > > >   3:          0          2    IO-APIC-edge  serial
> > > > >   8:          1          2    IO-APIC-edge  rtc
> > > > >   9:         93        113   IO-APIC-level  acpi, usb-uhci, 
> > > > usb-uhci, usb-uhci
> > > > >  14:         16         12    IO-APIC-edge  ide0
> > > > >  15:         10          7    IO-APIC-edge  ide1
> > > > >  17:       1123       1104   IO-APIC-level  aic7xxx, EMU10K1
> > > > >  18:         34         36   IO-APIC-level  aic7xxx, Ricoh 
> > > > Co Ltd RL5c476 II
> > > > >  19:         92         81   IO-APIC-level  Ricoh Co Ltd 
> > > > RL5c476 II (#2), eth0,   
> > > > > ide2
> > > > > NMI:          0          0 
> > > > > LOC:      30342      30339 
> > > > > ERR:          0
> > > > > MIS:          0
> > > > > stianj@chevrolet:~$ cat /root/interrupts-no-acpi 
> > > > >            CPU0       CPU1       
> > > > >   0:       3463       4239    IO-APIC-edge  timer
> > > > >   1:         57         28    IO-APIC-edge  keyboard
> > > > >   2:          0          0          XT-PIC  cascade
> > > > >   3:          2          0    IO-APIC-edge  serial
> > > > >   5:         32         38   IO-APIC-level  aic7xxx, Ricoh 
> > > > Co Ltd RL5c476 II
> > > > >   8:          2          1    IO-APIC-edge  rtc
> > > > >   9:         67         72   IO-APIC-level  Ricoh Co Ltd 
> > > > RL5c476 II (#2), usb-uhci, usb-uhci, usb-uhci, eth0, ide2            
> > > > >  10:       1103       1094   IO-APIC-level  aic7xxx, EMU10K1
> > > > >  14:         13         15    IO-APIC-edge  ide0
> > > > >  15:          7         10    IO-APIC-edge  ide1
> > > > > NMI:          0          0      
> > > > > LOC:       7618       7617      
> > > > > ERR:          0                 
> > > > > MIS:          0                 
> > > > > 
> > > > > 
> > > > > But do you think you will find a solution to this? Or is 
> > > > this something I have to learn to live with?
> > 
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by: To learn the basics of securing 
> > your web site with SSL, click here to get a FREE TRIAL of a Thawte 
> > Server Certificate: http://www.gothawte.com/rd524.html
> > _______________________________________________
> > Acpi-devel mailing list
> > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > https://lists.sourceforge.net/lists/listinfo/acpi-devel
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: To learn the basics of securing 
> your web site with SSL, click here to get a FREE TRIAL of a Thawte 
> Server Certificate: http://www.gothawte.com/rd524.html
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html

  parent reply	other threads:[~2002-11-19  0:39 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-14 18:55 ACPI patches updated (20021111) Grover, Andrew
     [not found] ` <EDC461A30AC4D511ADE10002A5072CAD04C7A50A-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-11-14 19:59   ` Stian Jordet
     [not found]     ` <1037303944.3311.3.camel-rd0e0RNjLLRX8BKYUJ5quQ@public.gmane.org>
2002-11-18 23:47       ` Stian Jordet
     [not found]         ` <1037663229.4398.1.camel-rd0e0RNjLLRX8BKYUJ5quQ@public.gmane.org>
2002-11-19  0:39           ` Johannes Erdfelt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-13 21:42 Grover, Andrew
2002-11-13 21:30 Grover, Andrew
     [not found] ` <EDC461A30AC4D511ADE10002A5072CAD04C7A502-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-11-13 23:28   ` Stian Jordet
     [not found]     ` <1037230113.908.3.camel-rd0e0RNjLLRX8BKYUJ5quQ@public.gmane.org>
2002-11-14 18:00       ` Stian Jordet
2002-11-13 21:01 Stian Jordet
2002-11-13 20:54 Moore, Robert
2002-11-13 20:52 FrAnKenstEin
2002-11-13 19:03 Moore, Robert
     [not found] ` <B9ECACBD6885D5119ADC00508B68C1EA0D19B8EF-LkGsggTGxVmSsB6bSF6DdVDQ4js95KgL@public.gmane.org>
2002-11-13 20:25   ` Andy Dustman
2002-11-13 17:59 Moore, Robert
     [not found] ` <B9ECACBD6885D5119ADC00508B68C1EA0D19B8EC-LkGsggTGxVmSsB6bSF6DdVDQ4js95KgL@public.gmane.org>
2002-11-13 18:15   ` Andy Dustman
     [not found]     ` <Pine.LNX.4.44.0211131310460.7918-100000-rsZ9VJrEJASOOqyHHM4PTqxOck334EZe@public.gmane.org>
2002-11-13 18:49       ` Andy Dustman
2002-11-13  0:17 Grover, Andrew
2002-11-13  0:46 ` Craig Whitmore
2002-11-12 20:48 Grover, Andrew
     [not found] ` <EDC461A30AC4D511ADE10002A5072CAD04C7A4F9-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-11-12 22:10   ` andy-gRfBfDTKyCbR7s880joybQ
     [not found]     ` <Pine.LNX.4.44.0211121706300.5656-100000-ngKEbFOxXuyOOqyHHM4PTqxOck334EZe@public.gmane.org>
2002-11-13  5:33       ` andy-gRfBfDTKyCbR7s880joybQ
2002-11-13  6:31         ` Craig Whitmore
2002-11-12 23:38   ` Arndt Schoenewald
2002-11-12 23:57     ` Craig Whitmore
2002-11-13 21:33   ` Stephen Hemminger

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=20021118193924.E32255@sventech.com \
    --to=johannes-olwfuuq3q2lbdgjk7y7tuq@public.gmane.org \
    --cc=acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org \
    --cc=andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=liste-NI9zH3lwcMKHXe+LvDLADg@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox