[linux-usb-devel] Re: [BK PATCH] USB changes for 2.5.72

2003-06-20 Thread Linus Torvalds
On Fri, 20 Jun 2003, Linus Torvalds wrote: > > Are you sure that your devices don't just handle READ_6 and SENSE_6 ok? I'm pretty sure your devices just handle it. Because adding some debugging code seems to clearly show that when you moved the setting of "use_10_for_XX" to the scanning phase,

[linux-usb-devel] Re: [BK PATCH] USB changes for 2.5.72

2003-06-20 Thread Linus Torvalds
On Fri, 20 Jun 2003, Matthew Dharm wrote: > > This is actually the second complaint I've gotten along these lines... in > the other case, it appeared that the MODE_SENSE/MODE_SENSE_10 logic had > gotten screwed up. > > I think it might actually be a merging problem somewhere along the line, > bec

[linux-usb-devel] (no subject)

2003-06-20 Thread 深圳市帝昊电子有限公司
³Ï Õ÷ ´ú Àí ÎÒ¹«Ë¾ÎªÊýÂë²úƷרҵÉú²úÉÌ¡£Ö÷Òª²úƷΪusb flash disk¡£²úÆ·Ô¶ÏúÅ·ÃÀ¡£¼¼ÊõÁìÏÈ¡£Îª¹úÄÚusb2.0uÅÌÁìÏÈÉú²úÕß¡£ÏÖ¹«Ë¾³ÏÑû¸÷µØÇøIT¾«Ó¢ºÏ×÷£¬ÍƹãÊý×ÖÁ¦Á¿ÏµÁÐuÅÌ¡£ÁíÓÐuÅÌ+mp3¶þºÏÒ»²¥·ÅÆ÷¡£³Ð½Óoem£¬³ÏÕ÷´úÀí¡£ »¶Ó­¹ã´óÐÂÀÏÅóÓÑÀ´µçÀ´º¯´¹Ñ¯¡£ µç»°£º0755£­83254907 ´«Õ棺0755£­832549

[linux-usb-devel] [PATCH] hid-core: fix double kfree of device->rdesc on hid_parse_parse error path

2003-06-20 Thread Arnaldo Carvalho de Melo
Hi Vojtech, Please pull from: bk://kernel.bkbits.net/acme/usb-2.5 device->rdesc is freed in hid_free_device. Best Regards, - Arnaldo You can import this changeset into BK by piping this whole message to: '| bk receive [path to repository]' or apply the patch as usual. ===

[linux-usb-devel] Re: [BK PATCH] USB changes for 2.5.72

2003-06-20 Thread Matthew Dharm
This is actually the second complaint I've gotten along these lines... in the other case, it appeared that the MODE_SENSE/MODE_SENSE_10 logic had gotten screwed up. I think it might actually be a merging problem somewhere along the line, because my tree (which is based off of the USB tree) works j

[linux-usb-devel] Re: [patch] 2.4 fix UHCI debug kmalloc() usage

2003-06-20 Thread Greg KH
On Fri, Jun 20, 2003 at 02:35:44PM -0700, Luck, Tony wrote: > > On Fri, Jun 20, 2003 at 04:11:07PM -0400, Johannes Erdfelt wrote: > > > Here's a patch from Tony Luck that fixes a problem with the UHCI > > > debugging code on architectures with big page sizes. We end up > > > allocating more than km

[linux-usb-devel] RE: [patch] 2.4 fix UHCI debug kmalloc() usage

2003-06-20 Thread Luck, Tony
> On Fri, Jun 20, 2003 at 04:11:07PM -0400, Johannes Erdfelt wrote: > > Here's a patch from Tony Luck that fixes a problem with the UHCI > > debugging code on architectures with big page sizes. We end up > > allocating more than kmalloc allows. > > > > Please apply. Thanks! > > > > JE > > > > ==

[linux-usb-devel] RE: [patch] 2.4 fix UHCI debug kmalloc() usage

2003-06-20 Thread Luck, Tony
> On Fri, Jun 20, 2003 at 04:11:07PM -0400, Johannes Erdfelt wrote: > > Here's a patch from Tony Luck that fixes a problem with the UHCI > > debugging code on architectures with big page sizes. We end up > > allocating more than kmalloc allows. > > > > Please apply. Thanks! > > > > JE > > > > ==

[linux-usb-devel] Re: [patch] 2.4 fix UHCI debug kmalloc() usage

2003-06-20 Thread Greg KH
On Fri, Jun 20, 2003 at 04:11:07PM -0400, Johannes Erdfelt wrote: > Here's a patch from Tony Luck that fixes a problem with the UHCI > debugging code on architectures with big page sizes. We end up > allocating more than kmalloc allows. > > Please apply. Thanks! > > JE > > = drivers/usb/host

[linux-usb-devel] Re: [BK PATCH] USB changes for 2.5.72

2003-06-20 Thread Linus Torvalds
USB storage is broken for me recently (like in the last 5 days or so). My good old SIIG USB-2 "hi-speed" CF reader that used to be very reliable now will refuse to even read the partition table. The problem _seems_ to be that somebody broken the READ_10 logic, and it now always does a READ_6. W

[linux-usb-devel] RE: HID & Hiddev troubles (write)

2003-06-20 Thread Jackson Chan
Hey Sergey, Thanks for the help. :) > > When reading events from my device, some of the events are being filtered > > out by this line of code in hid-core.c. It was in .hid_input_field(), > > around line 777. > > > > if (value[n] == field->value[n]) continue; > > > > If I disable it, ev

[linux-usb-devel] [patch] 2.4 fix UHCI debug kmalloc() usage

2003-06-20 Thread Johannes Erdfelt
Here's a patch from Tony Luck that fixes a problem with the UHCI debugging code on architectures with big page sizes. We end up allocating more than kmalloc allows. Please apply. Thanks! JE = drivers/usb/host/uhci-debug.c 1.5 vs edited = --- 1.5/drivers/usb/host/uhci-debug.c Mon Dec 30

[linux-usb-devel] Re: HID & Hiddev troubles (write)

2003-06-20 Thread Sergey Vlasov
On Fri, 20 Jun 2003 10:26:16 -0600 Jackson Chan <[EMAIL PROTECTED]> wrote: > I am having two issues trying to use the hiddev interface(kernel 2.4.20). > > When reading events from my device, some of the events are being filtered > out by this line of code in hid-core.c. It was in .hid_input_fi

[linux-usb-devel] HID & Hiddev troubles (write)

2003-06-20 Thread Jackson Chan
Hi there, I am having two issues trying to use the hiddev interface(kernel 2.4.20). When reading events from my device, some of the events are being filtered out by this line of code in hid-core.c. It was in .hid_input_field(), around line 777. if (value[n] == field->value[n]) continu

Re: [linux-usb-devel] ehci / usb-storage problems

2003-06-20 Thread Alan Stern
On Thu, 19 Jun 2003, Vedran Rodic wrote: > On Thu, Jun 19, 2003 at 11:47:02AM -0400, Alan Stern wrote: > > > 3. > > > I've noticed that usb-storage doesn't remove the disk from /proc/scsi/scsi > > > (the representation of kernel scsi device list) > > > when the device is disconnected. Because of t