[linux-usb-devel] Re: 2.6-test3 compusa USB optical mouse

2003-08-14 Thread Warren Togami
On Sun, 2003-08-10 at 18:52, Andrew Morton wrote: > Warren Togami <[EMAIL PROTECTED]> wrote: > > > > I normally use Logitech optical USB mice in Linux. I bought a "CompUSA > > Optical USB Notebook Mouse" for $14 and the following happens in dmesg > > in kernel-2.6.0-test3. > > > > Known bug? Sho

Re: [linux-usb-devel] Re: 2.6-test3 compusa USB optical mouse

2003-08-14 Thread Warren Togami
On Tue, 2003-08-12 at 05:02, David Brownell wrote: > I won't send information saying how to apply patches, build > kernels, install them, etc; that's widely available. But > here's the diagnostic patch I described. Apply, run; and > send the resulting kernel messages. > > - Dave > = drivers/

Re: [linux-usb-devel] Re: 2.6-test3 compusa USB optical mouse

2003-08-14 Thread David Brownell
Pete Zaitcev wrote: From: David Brownell <[EMAIL PROTECTED]> Date: Wed, 13 Aug 2003 08:30:58 -0700 --- 1.34/drivers/usb/core/message.c Mon Aug 11 07:56:25 2003 +++ edited/drivers/usb/core/message.c Wed Aug 13 08:26:45 2003 - warn("selecting invalid configuration %d", configura

Re: [linux-usb-devel] Re: 2.6-test3 compusa USB optical mouse

2003-08-14 Thread Pete Zaitcev
> From: David Brownell <[EMAIL PROTECTED]> > Date: Wed, 13 Aug 2003 08:30:58 -0700 > --- 1.34/drivers/usb/core/message.c Mon Aug 11 07:56:25 2003 > +++ edited/drivers/usb/core/message.c Wed Aug 13 08:26:45 2003 > - warn("selecting invalid configuration %d", configuration); > +

Re: [linux-usb-devel] Re: 2.6-test3 compusa USB optical mouse

2003-08-14 Thread Warren Togami
On Mon, 2003-08-11 at 04:06, David Brownell wrote: > Warren Togami wrote: > > On Sun, 2003-08-10 at 18:52, Andrew Morton wrote: > > > >>Warren Togami <[EMAIL PROTECTED]> wrote: > >> > >>>I normally use Logitech optical USB mice in Linux. I bought a "CompUSA > >>>Optical USB Notebook Mouse" for $1

[linux-usb-devel] Re: 2.6-test3 compusa USB optical mouse

2003-08-14 Thread Warren Togami
On Sun, 2003-08-10 at 18:52, Andrew Morton wrote: > Warren Togami <[EMAIL PROTECTED]> wrote: > > > > I normally use Logitech optical USB mice in Linux. I bought a "CompUSA > > Optical USB Notebook Mouse" for $14 and the following happens in dmesg > > in kernel-2.6.0-test3. > > > > Known bug? Sho

[linux-usb-devel] Re: 2.6-test3 compusa USB optical mouse

2003-08-14 Thread Warren Togami
On Wed, 2003-08-13 at 05:30, David Brownell wrote: > Warren Togami wrote: > > > Configuration: > > bLength =9 > > bDescriptorType = 02 > > wTotalLength= 0022 > > bNumInterfaces = 01 > > bConfigurationValue = 00 > > iConfiguration = 00 > >

[linux-usb-devel] Re: 2.6-test3 compusa USB optical mouse

2003-08-14 Thread David Brownell
I tested this patch on kernel-2.6.0-test3 and this happens when I plug in the "CompUSA Optical USB Notebook Mouse". hub 1-0:0: debounce: port 2: delay 100ms stable 4 status 0x301 hub 1-0:0: new USB device on port 2, assigned address 5 usb 1-2: illegal descriptors, for config #0 drivers/usb/core/me

Re: [linux-usb-devel] Re: 2.6-test3 compusa USB optical mouse

2003-08-14 Thread David Brownell
Warren Togami wrote: Configuration: bLength =9 bDescriptorType = 02 wTotalLength= 0022 bNumInterfaces = 01 bConfigurationValue = 00 iConfiguration = 00 bmAttributes= a0 bMaxPower= 100mA Thanks for that info. It c

Re: [linux-usb-devel] Re: 2.6-test3 compusa USB optical mouse

2003-08-14 Thread David Brownell
Warren Togami wrote: More useful information would come from modifying that usb_set_configuration() diagnostic (message.c) to also call usb_show_device(dev). If indeed that device has illegal descriptors, it might be a good idea to make Linux explicitly allow that case. Please suggest patches an