[linux-usb-devel] FS mutual exclusion, host and USB host PC

2006-08-31 Thread Shakthi Kannan
Greetings! The backing-storage for FSG mentions that: AN IMPORTANT WARNING! While FSG is running and the gadget is connected to a USB host, that USB host will use the backing storage as a private disk drive. It will not expect to see any changes in the backing storage other than the ones it

Re: [linux-usb-devel] testing gadgetfs on omap

2006-08-31 Thread zil iram
If you mean the OSK vs just some generic 5912 board, that's an easy answer: use a nonstandard A-to-A adapter cable. The OSK board support already knows not to turn on the VBUS power supply if it's being used as a USB peripheral, so all you need to do is get past the wrong connector problem.

[linux-usb-devel] GadgetFS newbie questions : Part II

2006-08-31 Thread Lisa Y.
Hello, A while back I asked a bunch of newbie questions and they were answered. Thankyou very much. Gadgetfs seems to be working, I *think*. Since the last time I e-mailed this mailing list, I have decided to use libusb-win32 with gadgetfs. My goal is still to get some simple communcation

[linux-usb-devel] USB sleep

2006-08-31 Thread Rodolfo Giometti
Hello, I'm working on sleep for USB host on au1x00 CPUs and I have the following problem. When I put the system to sleep and then it wakes up everything works well _if_ the USB key is not mounted before the sleep. For instance, if I mount partition /dev/sda1 (first USB key partition) and then go

Re: [linux-usb-devel] USB sleep

2006-08-31 Thread David Brownell
Date: Thu, 31 Aug 2006 11:24:17 +0200 From: Rodolfo Giometti [EMAIL PROTECTED] When I put the system to sleep and then it wakes up everything works well _if_ the USB key is not mounted before the sleep. For instance, if I mount partition /dev/sda1 (first USB key partition) and then go to

Re: [linux-usb-devel] USB sleep

2006-08-31 Thread Rodolfo Giometti
On Thu, Aug 31, 2006 at 03:36:42AM -0700, David Brownell wrote: USB on many system-on-chip processors also has less aggressive sleep states, where for example USB port power might be maintained, and the root hub clocked enough to detect simple events like remote wakeup, connect new device,

Re: [linux-usb-devel] [patch/fyi 2.6.18-rc4+] musb_hdrc: high speed OTG controller driver

2006-08-31 Thread Tony Lindgren
Hi, * David Brownell [EMAIL PROTECTED] [060831 07:17]: Hi, Attached is the compressed version of a patch, against 2.6.18-rc4, with a driver for the Mentor USB Highspeed Dual-Role Controller (musb hdrc) silicon IP. Here's an additional patch that fixes the ep register access for tusb6010.

Re: [linux-usb-devel] [PATCH] another usb.tmpl change

2006-08-31 Thread Franck Bui-Huu
Sam Bishop wrote: On Wednesday 30 August 2006 3:40 am, Franck Bui-Huu wrote: This patch also fixes a bug in usb_device_poll() at the same time. Previous code always raised POLLIN bit although no event happened on the bus. I believe this is expected behavior. I mentioned it in the patch I

Re: [linux-usb-devel] [PATCH 2.6.18-rc5] USB root hub unlink doesn't clobber irqflags

2006-08-31 Thread Alan Stern
On Wed, 30 Aug 2006, David Brownell wrote: Oops, crossed lines. Greg, this patch isn't needed. One that you have already applied (as754) takes care of the problem. What's the name for that one in Greg's tree?

Re: [linux-usb-devel] FS mutual exclusion, host and USB host PC

2006-08-31 Thread Alan Stern
On Thu, 31 Aug 2006, Shakthi Kannan wrote: Greetings! The backing-storage for FSG mentions that: AN IMPORTANT WARNING! While FSG is running and the gadget is connected to a USB host, that USB host will use the backing storage as a private disk drive. It will not expect to see any

Re: [linux-usb-devel] USB sleep

2006-08-31 Thread Alan Stern
On Thu, 31 Aug 2006, Rodolfo Giometti wrote: On Thu, Aug 31, 2006 at 03:36:42AM -0700, David Brownell wrote: USB on many system-on-chip processors also has less aggressive sleep states, where for example USB port power might be maintained, and the root hub clocked enough to detect

Re: [linux-usb-devel] FS mutual exclusion, host and USB host PC

2006-08-31 Thread Shakthi Kannan
Hi Alan, Thanks for your reply. --- Alan Stern [EMAIL PROTECTED] wrote: Your next question is so badly phrased that I can't understand it, let alone answer it: Sorry about that. If you mean the mutual exclusion recommended in file_storage.html above, the answer is No. Thanks again.

Re: [linux-usb-devel] USB sleep

2006-08-31 Thread David Brownell
do better than that; see how ohci-at91.c will keep USB active during standby sleep, that's the best in-tree example today. It disables only the clocks... it seems a poor suspend/resume support... Better than nothing. What else would you like to disable? More to the point, what

Re: [linux-usb-devel] [patch 2.6.18-rc5] EHCI whitespace fixes (cosmetic)

2006-08-31 Thread Christopher Montgomery
On 8/30/06, David Brownell [EMAIL PROTECTED] wrote: On Wednesday 30 August 2006 4:36 pm, Christopher Montgomery wrote: I'd not normally complain, but I'll need to do addiitonal work and release an all new patchset of the ehci-scheduler... just to deal with cosmetic whitespace changes?

Re: [linux-usb-devel] [patch 2.6.18-rc5] EHCI whitespace fixes (cosmetic)

2006-08-31 Thread Greg KH
On Thu, Aug 31, 2006 at 01:08:19PM -0400, Christopher Montgomery wrote: On 8/30/06, David Brownell [EMAIL PROTECTED] wrote: On Wednesday 30 August 2006 4:36 pm, Christopher Montgomery wrote: I'd not normally complain, but I'll need to do addiitonal work and release an all new patchset

Re: [linux-usb-devel] [patch 2.6.18-rc5] EHCI whitespace fixes (cosmetic)

2006-08-31 Thread Christopher Montgomery
On 8/31/06, Greg KH [EMAIL PROTECTED] wrote: Does this patch conflict with yours? I read the first few pages, it does. However, something massively messed the size of the thing when I saved it out to read in emacs. I thought this was a 10,000 line or so patch. it isn't; it's relatively

Re: [linux-usb-devel] [patch 2.6.18-rc5] EHCI whitespace fixes (cosmetic)

2006-08-31 Thread David Brownell
I'm committed to seeing this patch to either oblivion or production, and globally altering whitespace is going to blow my time for *no net benefit to anyone*. Cleanups like these _do_ have benefit. If you really are that wholly uninterested in a complete scheduler, You're

[linux-usb-devel] Fw: [Bugme-new] [Bug 7088] New: usb bandwidth problem with low speed hardware

2006-08-31 Thread Andrew Morton
Begin forwarded message: Date: Thu, 31 Aug 2006 06:48:33 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 7088] New: usb bandwidth problem with low speed hardware http://bugzilla.kernel.org/show_bug.cgi?id=7088 Summary: usb bandwidth problem with low

Re: [linux-usb-devel] [patch 2.6.18-rc5] EHCI whitespace fixes (cosmetic)

2006-08-31 Thread David Brownell
You're overreacting more than a little bit. We want that, and also want good clean code. It's not as if this patch was submitted to annoy you (or anyone). Yep, I certainly was. Apology might not have made it to the list yet. I got it later ... accepted. I try to

Re: [linux-usb-devel] [patch 2.6.18-rc5] EHCI whitespace fixes (cosmetic)

2006-08-31 Thread Greg KH
On Thu, Aug 31, 2006 at 01:27:08PM -0400, Christopher Montgomery wrote: On 8/31/06, Greg KH [EMAIL PROTECTED] wrote: Does this patch conflict with yours? I read the first few pages, it does. However, something massively messed the size of the thing when I saved it out to read in

Re: [linux-usb-devel] [patch 2.6.18-rc5] EHCI whitespace fixes (cosmetic)

2006-08-31 Thread Christopher Montgomery
On 8/31/06, David Brownell [EMAIL PROTECTED] wrote: I'm committed to seeing this patch to either oblivion or production, and globally altering whitespace is going to blow my time for *no net benefit to anyone*. Cleanups like these _do_ have benefit. Never said otherwise. I'd objected for

[linux-usb-devel] [PATCH] uhci-hcd: fix list access bug

2006-08-31 Thread Alan Stern
When skipping to the last TD of an URB, go to the _last_ entry in the list instead of the _first_ entry (as780). This fixes Bugzilla #6747 and possibly others. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- I'm submitting this for both 2.6.17.stable and 2.6.18, late though it is. The same

[linux-usb-devel] patch uhci-hcd-fix-list-access-bug.patch added to gregkh-2.6 tree

2006-08-31 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: uhci-hcd: fix list access bug to my gregkh-2.6 tree. Its filename is uhci-hcd-fix-list-access-bug.patch This tree can be found at

[linux-usb-devel] Fw: [Bugme-new] [Bug 7094] New: Unpluggin USB with DVB stream hangs

2006-08-31 Thread Andrew Morton
Begin forwarded message: Date: Thu, 31 Aug 2006 13:40:52 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 7094] New: Unpluggin USB with DVB stream hangs http://bugzilla.kernel.org/show_bug.cgi?id=7094 Summary: Unpluggin USB with DVB stream hangs

[linux-usb-devel] [GIT PATCH] USB fixes for 2.6.18-rc5

2006-08-31 Thread Greg KH
Here are a some fixes for USB against 2.6.18-rc5. They do the following: - 2 uhci bugfixes - quirks fixed and added for storage and HID devices - bugfix in rtl8150 driver - via EHCI quirk bugfix - gadget driver spinlock fix. Most of these changes have been

[linux-usb-devel] [PATCH 1/11] USB floppy drive SAMSUNG SFD-321U/EP detected 8 times

2006-08-31 Thread Greg KH
From: [EMAIL PROTECTED] [EMAIL PROTECTED] USB floppy drive SAMSUNG SFD-321U/EP detected 8 times Acked-by: [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/storage/unusual_devs.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git

[linux-usb-devel] [PATCH 3/11] USB: add all wacom device to hid-core.c blacklist

2006-08-31 Thread Greg KH
From: Ping Cheng [EMAIL PROTECTED] Add all Wacom devices to hid-core.c blacklist Signed-off-by: Ping Cheng [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/input/hid-core.c | 57 +++--- 1 files changed, 4 insertions(+),

[linux-usb-devel] [PATCH 4/11] usb gadget: g_ether spinlock recursion fix

2006-08-31 Thread Greg KH
From: David Brownell [EMAIL PROTECTED] The new spinlock debug code turned up a spinlock recursion bug in the Ethernet gadget driver on a disconnect path; it would show up with any UDC driver where the cancellation of active requests was synchronous, rather than e.g. delayed until a controller's

[linux-usb-devel] [PATCH 2/11] hid-core.c: Adds all GTCO CalComp Digitizers and InterWrite School Products to blacklist

2006-08-31 Thread Greg KH
From: Jeremy Roberson [EMAIL PROTECTED] Adds all GTCO CalComp Digitizers and InterWrite School Products to hid-core.c blacklist. Signed-off-by: Jeremy A. Roberson [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/input/hid-core.c | 92

[linux-usb-devel] [PATCH 5/11] UHCI: don't stop at an Iso error

2006-08-31 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] Unlike other sorts of endpoint queues, Isochronous queues don't stop when an error is encountered. This patch (as772) fixes the scanning routine in uhci-hcd, to make it keep on going when it finds an Iso error. Signed-off-by: Alan Stern [EMAIL PROTECTED]

[linux-usb-devel] [PATCH 8/11] USB: rtl8150_disconnect() needs tasklet_kill()

2006-08-31 Thread Greg KH
From: Andrew Morton [EMAIL PROTECTED] We need to wait until any currently-running handler has completed. Fixes an unplug-time oops reported by Miles Lane [EMAIL PROTECTED]. Cc: Petko Manolov [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman

[linux-usb-devel] [PATCH 7/11] USB Storage: unusual_devs.h for Sony Ericsson M600i

2006-08-31 Thread Greg KH
From: Phil Dibowitz [EMAIL PROTECTED] This entry was sent in by Emmanuel Vasilakis [EMAIL PROTECTED], turned into a patch by yours truly. Signed-off-by: Phil Dibowitz [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/storage/unusual_devs.h |7 +++ 1

[linux-usb-devel] [PATCH 6/11] USB Storage: Remove the finecam3 unusual_devs entry

2006-08-31 Thread Greg KH
From: Phil Dibowitz [EMAIL PROTECTED] This patch removes the Kyocera Finecam L3 entry in unusual devices originally submitted by Michael Krauth [EMAIL PROTECTED] and Alessandro Fracchetti [EMAIL PROTECTED] given that Gerriet [EMAIL PROTECTED] finds he doesn't need it and Alessandro confirms it

[linux-usb-devel] [PATCH 11/11] uhci-hcd: fix list access bug

2006-08-31 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] When skipping to the last TD of an URB, go to the _last_ entry in the list instead of the _first_ entry (as780). This fixes Bugzilla #6747 and possibly others. Signed-off-by: Alan Stern [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] ---

[linux-usb-devel] [PATCH 9/11] USB: Add VIA quirk fixup for VT8235 usb2

2006-08-31 Thread Greg KH
From: Mark Hindley [EMAIL PROTECTED] Patch to add VIA PCI quirk for Enhanced/Extended USB on VT8235 southbridge. It is needed in order to use EHCI/USB 2.0 with ACPI. Without it IRQs are not routed correctly, you get an Unlink after no-IRQ? error and the device is unusable. I belive this could

[linux-usb-devel] [PATCH 10/11] USB: Support for ELECOM LD-USB20 in pegasus

2006-08-31 Thread Greg KH
From: Nobuhiro Iwamatsu [EMAIL PROTECTED] This patch is support LD-USB20 of the USB LAN device. http://www2.elecom.co.jp/products/LD-USB20.html ( Japanese only ) I am using this device. And, I confirmed work by using this patch. Signed-off-by: Nobuhiro Iwamatsu [EMAIL PROTECTED] Acked-by: Petko

Re: [linux-usb-devel] GadgetFS newbie questions : Part II

2006-08-31 Thread Lisa Y.
Hello, I think I've got it ... previouusly my endpoints were misconfigured but after reading up on the mailing list over at libusb i *think* i've figured out what was missing. This is what was in my /proc/bus/usb/devices before : T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 8 Spd=480 MxCh= 0

[linux-usb-devel] [PATCH] Support for USB20SVGA-WH USB20SVGA-DG

2006-08-31 Thread Nobuhiro Iwamatsu
Hi , This patch is support USB20SVGA-WH USB20SVGA-DG of the sisusb device. As for this device, Device ID is different according to the color of the product. A blue device is supported. However, a green, white device is not supported. http://www.lubic.jp/uv_method.html ( Japanese only ) .