Re: REGRESSION: 2.6.24: false double-clicks from USB mouse

2007-12-06 Thread Diego Zuccato
Jiri Kosina ha scritto: >> My USB mouse recently started giving me phantom scrolls (movements of >> the mouse wheel, even I made sure the wheel was in a resting position) >> in recently kernels. It happened too infrequently for me to care. > Did this also start in 2.6.24, as in Mark's case? It

Re: REGRESSION: 2.6.24: false double-clicks from USB mouse

2007-12-06 Thread Jiri Kosina
On Thu, 6 Dec 2007, Diego Zuccato wrote: > It happens to me, too. Wireless mouse, gives some "wheel up" signals > when going into powersave state. Kernel is 2.6.22-tmb-laptop-2mdv > (Mandriva Cooker). Is this a regression for you? Are you able to say which kernel first exposed this behavior in

Re: [linux-usb-devel] [RFC PATCH 1/1] USB: FEATURE_REMOVAL: USB driver API moves to EXPORT_SYMBOL_GPL

2007-12-06 Thread Felipe Balbi
On Dec 6, 2007 3:41 AM, Greg KH <[EMAIL PROTECTED]> wrote: > On Thu, Dec 06, 2007 at 01:15:09AM +0200, Felipe Balbi wrote: > > Following what is mentioned in feature-removal-schedule.txt this > > moves the two missing pieces in drivers/usb/core/driver.c to > > EXPORT_SYMBOL_GPL. > > > > Non-gpl cod

[PATCH] dummy_hcd: change the default power budget

2007-12-06 Thread Alan Stern
This patch (as1025) changes the default power budget for dummy-hcd to 500 mA and makes it a preprocessor parameter for easier testing. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> --- Index: usb-2.6/drivers/usb/gadget/dummy_hcd.c =

Re: Disabling interrupts during IRQ in ohci-hcd

2007-12-06 Thread David Brownell
On Wednesday 05 December 2007, Alan Stern wrote: > On Wed, 5 Dec 2007, David Brownell wrote: > > > On Wednesday 05 December 2007, Alan Stern wrote: > > > But it will be easy enough to add IRQF_DISABLED in.  Only a few drivers > > > omit it. > > > > I forgot that the flags are passed in to usb_ad

Re: Disabling interrupts during IRQ in ohci-hcd

2007-12-06 Thread Pete Zaitcev
On Wed, 5 Dec 2007 17:31:20 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote: > [...] In fact every HCD _must_ keep interrupts disabled > while doing most of its IRQ processing. This is because an interrupt > could cause some random driver to submit an URB -- and URB submission > can't be don

Re: Disabling interrupts during IRQ in ohci-hcd

2007-12-06 Thread Alan Stern
On Thu, 6 Dec 2007, Pete Zaitcev wrote: > On Wed, 5 Dec 2007 17:31:20 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote: > > > [...] In fact every HCD _must_ keep interrupts disabled > > while doing most of its IRQ processing. This is because an interrupt > > could cause some random driver to

[PATCH] USB: use IRQF_DISABLED for HCD interrupt handlers

2007-12-06 Thread Alan Stern
Host controller IRQs are supposed to be serviced with interrupts disabled. This patch (as1026) adds an IRQF_DISABLED flag to all the controller drivers that lack it. It also replaces the spin_lock_irqsave() and spin_unlock_irqrestore() calls in uhci_irq() with simple spin_lock() and spin_unlock()