[linux-usb-devel] Re: Latest GIT: USB ehci_hcd broken (spinlock corruption)

2005-11-27 Thread Andrew Morton
Alan Stern <[EMAIL PROTECTED]> wrote: > > For now, you can workaround the bug by adding: > > spin_lock_init(&ehci_lock); > > as the first line of drivers/usb/host/ehci-pci.c:ehci_pci_reset(). Yup. --- devel/drivers/usb/host/ehci-pci.c~gregkh-usb-usb-pm-09-fix 2005-11-25 19:03:59.00

[linux-usb-devel] Re: Latest GIT: USB ehci_hcd broken (spinlock corruption)

2005-11-27 Thread Alan Stern
On Mon, 28 Nov 2005, Benjamin Herrenschmidt wrote: > On Sun, 2005-11-27 at 12:34 +0100, Michael Buesch wrote: > > Hi, > > > > Latest GIT code oopses in the USB driver with a spinlock corruption: > > (backtrace below) > > Looks bad. I went through the code, and I discovered that indeed, > usb_ad

[linux-usb-devel] [PATCH] usb/input/touchkitusb: handle multiple packets

2005-11-27 Thread Daniel Ritz
[PATCH] usb/input/touchkitusb: handle multiple packets Some versions of the controller seem to put multiple report packet into a single urb. also it can happen that a packet is split across multiple urbs. unpatched you get a jumpy cursor on some screens. the patch does: - handle multiple packets p

[linux-usb-devel] Gadget API question

2005-11-27 Thread Alan Stern
Dave: I may have asked this before; if so I've forgotten the answer. When a control request arrives on ep0 and the gadget has to do a lot of processing before completing the data or status stages of the request, there's a possibility that the host might time out and send another request to ep0.

Re: [linux-usb-devel] [RFC][PATCH] Driver for ATI/Philips USB RF remotes

2005-11-27 Thread Ville Syrjälä
On Sun, Nov 27, 2005 at 01:18:00PM -0500, Dmitry Torokhov wrote: > On Sunday 27 November 2005 11:30, Ville Syrjälä wrote: > > Actually input_device_register() can't actually fail so checking the > > return value isn't really needed. > > > > It can fail now and I have a patch that will cause it f

Re: [linux-usb-devel] RFC: OHCI changes for HC with on-chip sram

2005-11-27 Thread Chris Humbert
* Alan Stern <[EMAIL PROTECTED]> [2005-11-27 09:14]: > There's no mechanism to report back that an URB is too large, > and no driver tries to break URBs up into smaller pieces. Most drivers won't submit URBs larger than 8KB, so usb-storage was my primary focus. With a better understanding of how

Re: [linux-usb-devel] [RFC][PATCH] Driver for ATI/Philips USB RF remotes

2005-11-27 Thread Dmitry Torokhov
On Sunday 27 November 2005 11:30, Ville Syrjälä wrote: > Actually input_device_register() can't actually fail so checking the > return value isn't really needed. > It can fail now and I have a patch that will cause it fail if it fails to register device/attributes, so please check the return val

Re: [linux-usb-devel] [RFC][PATCH] Driver for ATI/Philips USB RF remotes

2005-11-27 Thread Dmitry Torokhov
On Sunday 27 November 2005 12:23, Alan Stern wrote: > Today 12:23:33 >   > On Sun, 27 Nov 2005, Ville Syrjälä wrote: > > > > I suspect you are triggering a bug in the input layer.  Adding a few > > > debugging lines to the test driver, particularly in usbtest_delete, might > > > help pinpoint

[linux-usb-devel] (no subject)

2005-11-27 Thread 郭培杰
尊敬先生/小姐: 您好!很高兴认识您。欣悉贵公司有适销的产品,我司拥有大型的自动化展销平台--好利通展销广场等,在全国各地拥有二十多万的客商,且每月新增客商多达两万个。我司有意与贵公司合作,引导或推荐我们的客商购买或代理经销您们的产品,以便迅速扩大贵公司产品市场。若有意,请电邮 给我,或请把您的联系电话或QQ告诉我,以便更好地与您交流,进一步商谈合作事宜,谢谢! 深圳市好利通公司 商务部 郭培杰 网址:http://www.cnhlt.com Email: [EMAIL PROTECTED] 电话:0755-88829928-81519553 QQ: 41738646

Re: [linux-usb-devel] 2.6.15-rc2-git6 hangs when loading ehci_hcd

2005-11-27 Thread Alan Stern
On Sun, 27 Nov 2005, Adam J. Richter wrote: > I don't have time to investigate this right now, which is why > I'm notifying this list with relatively skimpy information. > > 2.6.15-rc2 works fine for me. I have not yet tried > -git1 through -git5. > > 2.6.15-rc2-git6, during "

Re: [linux-usb-devel] [RFC][PATCH] Driver for ATI/Philips USB RF remotes

2005-11-27 Thread Alan Stern
On Sun, 27 Nov 2005, Ville Syrjälä wrote: > > I suspect you are triggering a bug in the input layer. Adding a few > > debugging lines to the test driver, particularly in usbtest_delete, might > > help pinpoint the bug. > > It explodes when I call input_free_device() which just a wrapper for >

Re: [linux-usb-devel] RFC: OHCI changes for HC with on-chip sram

2005-11-27 Thread Alan Stern
On Sun, 27 Nov 2005, Chris Humbert wrote: > I want to implement URB queueing, where URB submission succeeds > if the URB could be mapped later. This would prevent sporadic > submission failures, usb_submit_urb() could return a better error > like -EMSGSIZE for too large URBs, and the URB schedule

Re: [linux-usb-devel] [RFC][PATCH] Driver for ATI/Philips USB RF remotes

2005-11-27 Thread Ville Syrjälä
On Sun, Nov 27, 2005 at 09:59:43AM -0500, Alan Stern wrote: > On Sun, 27 Nov 2005, Ville Syrjälä wrote: > > > When I tried to reproduce the oops the box would just hang and when I > > eventually got oopses out of it they didn't seem very consistent. > > > > The usbtest module source code is at t

[linux-usb-devel] 2.6.15-rc2-git6 hangs when loading ehci_hcd

2005-11-27 Thread Adam J. Richter
I don't have time to investigate this right now, which is why I'm notifying this list with relatively skimpy information. 2.6.15-rc2 works fine for me. I have not yet tried -git1 through -git5. 2.6.15-rc2-git6, during "modprobe ehci-hcd" blocks forever. I can sti

Re: [linux-usb-devel] [RFC][PATCH] Driver for ATI/Philips USB RF remotes

2005-11-27 Thread Alan Stern
On Sun, 27 Nov 2005, Ville Syrjälä wrote: > When I tried to reproduce the oops the box would just hang and when I > eventually got oopses out of it they didn't seem very consistent. > > The usbtest module source code is at the end of this message. > > So I just compiled 2.6.15-rc2 with some deb

[linux-usb-devel] Re: Cleanups for usb gadget mass-storage

2005-11-27 Thread Alan Stern
On Sun, 27 Nov 2005, Pavel Machek wrote: > Hi! > > Of course I forgot the patch... > > Pavel > > Remove useless initalizers. > > Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> Signed-off-by: Alan Stern <[EMAIL PROTECTED]> > > diff --git

[linux-usb-devel] (no subject)

2005-11-27 Thread 郭培杰
尊敬先生/小姐: 您好!很高兴认识您。欣悉贵公司有适销的产品,我司拥有大型的自动化展销平台--好利通展销广场等,在全国各地拥有二十多万的客商,且每月新增客商多达两万个。我司有意与贵公司合作,引导或推荐我们的客商购买或代理经销您们的产品,以便迅速扩大贵公司产品市场。若有意,请电邮 给我,或请把您的联系电话或QQ告诉我,以便更好地与您交流,进一步商谈合作事宜,谢谢! 深圳市好利通公司 商务部 郭培杰 网址:http://www.cnhlt.com Email: [EMAIL PROTECTED] 电话:0755-88829928-81519553 QQ: 41738646

Re: [linux-usb-devel] RFC: OHCI changes for HC with on-chip sram

2005-11-27 Thread Chris Humbert
Dave, Thanks for your quick and insightful response! * David Brownell <[EMAIL PROTECTED]> [2005-11-25 10:45]: >> The 32k on-chip memory window poses two problems: >> 1. the HCD can't use the DMA-mapping API > > That doesn't follow. It needs platform-specific updates, > but that issue is purely