Re: [linux-usb-devel] spontaneous disconnect with "usb-storage: implement autosuspend"

2007-09-13 Thread Greg KH
On Wed, Sep 12, 2007 at 10:33:48PM -0400, Mark Lord wrote: > Greg KH wrote: >> >> There are many regressions right now, _ONLY_ if you enable >> CONFIG_USB_SUSPEND. If you disable that, your problems will go away, >> right? > .. >> Oh, and currently no distro will enable this option due to the

Re: [linux-usb-devel] spontaneous disconnect with usb-storage: implement autosuspend

2007-09-13 Thread Greg KH
On Wed, Sep 12, 2007 at 10:33:48PM -0400, Mark Lord wrote: Greg KH wrote: There are many regressions right now, _ONLY_ if you enable CONFIG_USB_SUSPEND. If you disable that, your problems will go away, right? .. Oh, and currently no distro will enable this option due to the hardware

Re: [linux-usb-devel] spontaneous disconnect with "usb-storage: implement autosuspend"

2007-09-12 Thread Mark Lord
Greg KH wrote: There are many regressions right now, _ONLY_ if you enable CONFIG_USB_SUSPEND. If you disable that, your problems will go away, right? .. Oh, and currently no distro will enable this option due to the hardware problems, so the only people that could get hit by this are those

Re: [linux-usb-devel] spontaneous disconnect with "usb-storage: implement autosuspend"

2007-09-12 Thread Mark Lord
Greg KH wrote: On Wed, Sep 12, 2007 at 06:14:04PM -0400, Mark Lord wrote: Oliver Neukum wrote: Am Dienstag 14 August 2007 schrieb Paolo Ornati: On Tue, 14 Aug 2007 17:46:16 +0200 Oliver Neukum <[EMAIL PROTECTED]> wrote: Am Dienstag 14 August 2007 schrieb Paolo Ornati: Hewlett-Packard

Re: [linux-usb-devel] spontaneous disconnect with "usb-storage: implement autosuspend"

2007-09-12 Thread Greg KH
On Wed, Sep 12, 2007 at 06:14:04PM -0400, Mark Lord wrote: > Oliver Neukum wrote: >> Am Dienstag 14 August 2007 schrieb Paolo Ornati: >>> On Tue, 14 Aug 2007 17:46:16 +0200 >>> Oliver Neukum <[EMAIL PROTECTED]> wrote: >>> Am Dienstag 14 August 2007 schrieb Paolo Ornati: > Hewlett-Packard

Re: [linux-usb-devel] spontaneous disconnect with "usb-storage: implement autosuspend"

2007-09-12 Thread Mark Lord
Oliver Neukum wrote: Am Dienstag 14 August 2007 schrieb Paolo Ornati: On Tue, 14 Aug 2007 17:46:16 +0200 Oliver Neukum <[EMAIL PROTECTED]> wrote: Am Dienstag 14 August 2007 schrieb Paolo Ornati: Hewlett-Packard PhotoSmart 720 / PhotoSmart 935 (storage) Please try this patch. Tried on -rc3

Re: [linux-usb-devel] spontaneous disconnect with usb-storage: implement autosuspend

2007-09-12 Thread Mark Lord
Oliver Neukum wrote: Am Dienstag 14 August 2007 schrieb Paolo Ornati: On Tue, 14 Aug 2007 17:46:16 +0200 Oliver Neukum [EMAIL PROTECTED] wrote: Am Dienstag 14 August 2007 schrieb Paolo Ornati: Hewlett-Packard PhotoSmart 720 / PhotoSmart 935 (storage) Please try this patch. Tried on -rc3

Re: [linux-usb-devel] spontaneous disconnect with usb-storage: implement autosuspend

2007-09-12 Thread Greg KH
On Wed, Sep 12, 2007 at 06:14:04PM -0400, Mark Lord wrote: Oliver Neukum wrote: Am Dienstag 14 August 2007 schrieb Paolo Ornati: On Tue, 14 Aug 2007 17:46:16 +0200 Oliver Neukum [EMAIL PROTECTED] wrote: Am Dienstag 14 August 2007 schrieb Paolo Ornati: Hewlett-Packard PhotoSmart 720 /

Re: [linux-usb-devel] spontaneous disconnect with usb-storage: implement autosuspend

2007-09-12 Thread Mark Lord
Greg KH wrote: On Wed, Sep 12, 2007 at 06:14:04PM -0400, Mark Lord wrote: Oliver Neukum wrote: Am Dienstag 14 August 2007 schrieb Paolo Ornati: On Tue, 14 Aug 2007 17:46:16 +0200 Oliver Neukum [EMAIL PROTECTED] wrote: Am Dienstag 14 August 2007 schrieb Paolo Ornati: Hewlett-Packard

Re: [linux-usb-devel] spontaneous disconnect with usb-storage: implement autosuspend

2007-09-12 Thread Mark Lord
Greg KH wrote: There are many regressions right now, _ONLY_ if you enable CONFIG_USB_SUSPEND. If you disable that, your problems will go away, right? .. Oh, and currently no distro will enable this option due to the hardware problems, so the only people that could get hit by this are those

Re: [linux-usb-devel] spontaneous disconnect with "usb-storage: implement autosuspend"

2007-08-14 Thread Paolo Ornati
On Tue, 14 Aug 2007 20:33:22 +0200 Oliver Neukum <[EMAIL PROTECTED]> wrote: > Exactly. This is not reliable. It needs to be done in kernel. This patch > should do it. ok, this one works :) I suspect that there are many more broken devices out there ;) thanks, -- Paolo Ornati

Re: [linux-usb-devel] spontaneous disconnect with "usb-storage: implement autosuspend"

2007-08-14 Thread Oliver Neukum
Am Dienstag 14 August 2007 schrieb Paolo Ornati: > On Tue, 14 Aug 2007 17:46:16 +0200 > Oliver Neukum <[EMAIL PROTECTED]> wrote: > > > Am Dienstag 14 August 2007 schrieb Paolo Ornati: > > > Hewlett-Packard PhotoSmart 720 / PhotoSmart 935 (storage) > > > > Please try this patch. > > Tried on

Re: [linux-usb-devel] spontaneous disconnect with "usb-storage: implement autosuspend"

2007-08-14 Thread Paolo Ornati
On Tue, 14 Aug 2007 17:46:16 +0200 Oliver Neukum <[EMAIL PROTECTED]> wrote: > Am Dienstag 14 August 2007 schrieb Paolo Ornati: > > Hewlett-Packard PhotoSmart 720 / PhotoSmart 935 (storage) > > Please try this patch. Tried on -rc3 but it doesn't work, dmesg attached. However I've found that

Re: [linux-usb-devel] spontaneous disconnect with "usb-storage: implement autosuspend"

2007-08-14 Thread Oliver Neukum
Am Dienstag 14 August 2007 schrieb Paolo Ornati: > Hewlett-Packard PhotoSmart 720 / PhotoSmart 935 (storage) Please try this patch. Regards Oliver - --- a/drivers/usb/core/quirks.c 2007-08-14 17:42:22.0 +0200 +++ b/drivers/usb/core/quirks.c 2007-08-14

Re: [linux-usb-devel] spontaneous disconnect with "usb-storage: implement autosuspend"

2007-08-14 Thread Paolo Ornati
On Tue, 14 Aug 2007 15:30:27 +0200 Oliver Neukum <[EMAIL PROTECTED]> wrote: > > my USB photo-camera gets automagically disconnected before I can do > > anything with it ;) > > > > hi, > > I need vendor:product. Please provide "lsusb". > Generally a bug report for a specific usb device

Re: [linux-usb-devel] spontaneous disconnect with "usb-storage: implement autosuspend"

2007-08-14 Thread Oliver Neukum
Am Dienstag 14 August 2007 schrieb Paolo Ornati: > Hi, > > with "CONFIG_USB_SUSPEND=y", since commit: > > 8dfe4b14869fd185ca25ee88b02ada58a3005eaf >     usb-storage: implement autosuspend >     >     This patch (as930) implements autosuspend for usb-storage.  It is >     adapted from a patch by

Re: [linux-usb-devel] spontaneous disconnect with usb-storage: implement autosuspend

2007-08-14 Thread Oliver Neukum
Am Dienstag 14 August 2007 schrieb Paolo Ornati: Hi, with CONFIG_USB_SUSPEND=y, since commit: 8dfe4b14869fd185ca25ee88b02ada58a3005eaf     usb-storage: implement autosuspend         This patch (as930) implements autosuspend for usb-storage.  It is     adapted from a patch by Oliver

Re: [linux-usb-devel] spontaneous disconnect with usb-storage: implement autosuspend

2007-08-14 Thread Paolo Ornati
On Tue, 14 Aug 2007 15:30:27 +0200 Oliver Neukum [EMAIL PROTECTED] wrote: my USB photo-camera gets automagically disconnected before I can do anything with it ;) hi, I need vendor:product. Please provide lsusb. Generally a bug report for a specific usb device without

Re: [linux-usb-devel] spontaneous disconnect with usb-storage: implement autosuspend

2007-08-14 Thread Oliver Neukum
Am Dienstag 14 August 2007 schrieb Paolo Ornati: Hewlett-Packard PhotoSmart 720 / PhotoSmart 935 (storage) Please try this patch. Regards Oliver - --- a/drivers/usb/core/quirks.c 2007-08-14 17:42:22.0 +0200 +++ b/drivers/usb/core/quirks.c 2007-08-14

Re: [linux-usb-devel] spontaneous disconnect with usb-storage: implement autosuspend

2007-08-14 Thread Paolo Ornati
On Tue, 14 Aug 2007 17:46:16 +0200 Oliver Neukum [EMAIL PROTECTED] wrote: Am Dienstag 14 August 2007 schrieb Paolo Ornati: Hewlett-Packard PhotoSmart 720 / PhotoSmart 935 (storage) Please try this patch. Tried on -rc3 but it doesn't work, dmesg attached. However I've found that if hald

Re: [linux-usb-devel] spontaneous disconnect with usb-storage: implement autosuspend

2007-08-14 Thread Oliver Neukum
Am Dienstag 14 August 2007 schrieb Paolo Ornati: On Tue, 14 Aug 2007 17:46:16 +0200 Oliver Neukum [EMAIL PROTECTED] wrote: Am Dienstag 14 August 2007 schrieb Paolo Ornati: Hewlett-Packard PhotoSmart 720 / PhotoSmart 935 (storage) Please try this patch. Tried on -rc3 but it

Re: [linux-usb-devel] spontaneous disconnect with usb-storage: implement autosuspend

2007-08-14 Thread Paolo Ornati
On Tue, 14 Aug 2007 20:33:22 +0200 Oliver Neukum [EMAIL PROTECTED] wrote: Exactly. This is not reliable. It needs to be done in kernel. This patch should do it. ok, this one works :) I suspect that there are many more broken devices out there ;) thanks, -- Paolo Ornati