Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-14 Thread Alan Stern
On Wed, 14 Feb 2007, Jon Smirl wrote: > > I did run another test. Before suspending, the device responds to the > > dial and the mute button by sending messages to the computer. After > > resuming, it does not send any messages when I twist the dial or press the > > button. I think we should as

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-14 Thread Jon Smirl
On 2/14/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Tue, 13 Feb 2007, Jon Smirl wrote: > > > On 2/13/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > > It's possible that after resuming, the device is still functional but in > > > some weird state. Perhaps sending it the right sort of HID messages

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-14 Thread Alan Stern
On Tue, 13 Feb 2007, Jon Smirl wrote: > On 2/13/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > It's possible that after resuming, the device is still functional but in > > some weird state. Perhaps sending it the right sort of HID messages would > > get it fully working again. But I don't want to

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-13 Thread Alan Stern
On Tue, 13 Feb 2007, Jon Smirl wrote: > On 2/13/07, Jon Smirl <[EMAIL PROTECTED]> wrote: > > On 2/13/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > > It's possible that after resuming, the device is still functional but in > > > some weird state. Perhaps sending it the right sort of HID messages w

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-13 Thread Jon Smirl
On 2/13/07, Jon Smirl <[EMAIL PROTECTED]> wrote: > On 2/13/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > It's possible that after resuming, the device is still functional but in > > some weird state. Perhaps sending it the right sort of HID messages would > > get it fully working again. But I don

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-13 Thread Jon Smirl
On 2/13/07, Alan Stern <[EMAIL PROTECTED]> wrote: > It's possible that after resuming, the device is still functional but in > some weird state. Perhaps sending it the right sort of HID messages would > get it fully working again. But I don't want to mess around with > experimenting and writing a

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-13 Thread Alan Stern
On Fri, 9 Feb 2007, Jon Smirl wrote: > I forgot about this, there is low level documentation available. > http://www.linux-usb.org/Philips_PSC805_HID_Reports_1.4.pdf I just looked at it. Apparently most of the device's special functionality is controlled by vendor-specific messages. Unless it

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-09 Thread Alan Stern
On Fri, 9 Feb 2007, Jon Smirl wrote: > On 2/9/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > Are you certain? The mute button is on the top front edge, but the light > > appears about 2/3 of the way up the front side. (There may be another > > light right on the mute button as well; I can't remem

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-09 Thread Jon Smirl
On 2/9/07, Alan Stern <[EMAIL PROTECTED]> wrote: > Are you certain? The mute button is on the top front edge, but the light > appears about 2/3 of the way up the front side. (There may be another > light right on the mute button as well; I can't remember.) The light on the front is the volume in

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-09 Thread Alan Stern
On Fri, 9 Feb 2007, Jon Smirl wrote: > Reading through that doc it appears that the device operates in a USB > standard mode and PSA2 mode ( a MS Windows mode). > > Maybe when it is resuming it is resuming to MS Windows mode instead of > the USB standard mode, or the other way around. > > There

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-09 Thread Alan Stern
On Fri, 9 Feb 2007, Jon Smirl wrote: > > I received the device in the mail today and tested it. My experience > > echoes yours exactly, except that I didn't actually try to use the device > > after resuming it. I presume you have tried and it doesn't work? > > Device does not work after resume.

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-09 Thread Jon Smirl
On 2/9/07, Jon Smirl <[EMAIL PROTECTED]> wrote: > On 2/9/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > On Fri, 19 Jan 2007, Jon Smirl wrote: > > > > > On 1/19/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > > > > > I did the dirty deed. Could you please tell me which quirky devices

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-09 Thread Jon Smirl
On 2/9/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Fri, 19 Jan 2007, Jon Smirl wrote: > > > On 1/19/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > I did the dirty deed. Could you please tell me which quirky devices > > > you know of? I am afraid this list needs to be populate

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-02-09 Thread Alan Stern
On Fri, 19 Jan 2007, Jon Smirl wrote: > On 1/19/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I did the dirty deed. Could you please tell me which quirky devices > > you know of? I am afraid this list needs to be populated and there > > are outstanding regressions in Adrian's list.

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-26 Thread Oliver Neukum
Am Freitag, 26. Januar 2007 17:53 schrieb Alan Stern: > On Fri, 26 Jan 2007, Oliver Neukum wrote: > > > We were talking about autosuspend. Which is strictly speaking not about > > how to suspend, but under which conditions to suspend. Do you want to > > move it to power core or not? > > At the mo

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-26 Thread Alan Stern
On Fri, 26 Jan 2007, Oliver Neukum wrote: > We were talking about autosuspend. Which is strictly speaking not about > how to suspend, but under which conditions to suspend. Do you want to > move it to power core or not? At the moment I do not want to move autosuspend to the PM core. Alan Stern

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-26 Thread Oliver Neukum
Am Freitag, 26. Januar 2007 16:28 schrieb Alan Stern: > On Fri, 26 Jan 2007, Oliver Neukum wrote: > > > Am Donnerstag, 25. Januar 2007 20:55 schrieb Alan Stern: > > > Now something we _could_ use is an API allowing userspace to do runtime > > > suspend/resume of USB devices.  The /sys/devices/.../

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-26 Thread Alan Stern
On Fri, 26 Jan 2007, Oliver Neukum wrote: > Am Donnerstag, 25. Januar 2007 20:55 schrieb Alan Stern: > > Now something we _could_ use is an API allowing userspace to do runtime > > suspend/resume of USB devices.  The /sys/devices/.../power/state thing is > > deprecated and will be removed soon.  I

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-26 Thread Oliver Neukum
Am Donnerstag, 25. Januar 2007 20:55 schrieb Alan Stern: > Now something we _could_ use is an API allowing userspace to do runtime > suspend/resume of USB devices.  The /sys/devices/.../power/state thing is > deprecated and will be removed soon.  I posted a patch for this purpose > some time ago: >

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-25 Thread Oliver Neukum
Am Donnerstag, 25. Januar 2007 20:55 schrieb Alan Stern: > Remember, this doesn't have to be an absolutely perfect solution.  We want > the kernel to do the correct thing for the vast majority of devices, and > for the odd exception we want the kernel to be conservative -- do no harm > -- and allow

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-25 Thread Alan Stern
On Thu, 25 Jan 2007, Oliver Neukum wrote: > Am Donnerstag, 25. Januar 2007 18:20 schrieb Alan Stern: > > > This seems contradictory. If you want a generic blacklisting, you cannot > > > limit the information to autosuspending. > > > > It isn't contradictory.  Autosuspend requests come exclusively

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-25 Thread Oliver Neukum
Am Donnerstag, 25. Januar 2007 18:20 schrieb Alan Stern: > > This seems contradictory. If you want a generic blacklisting, you cannot > > limit the information to autosuspending. > > It isn't contradictory.  Autosuspend requests come exclusively from within > usbcore, and we can easily prevent our

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-25 Thread Alan Stern
On Thu, 25 Jan 2007, Oliver Neukum wrote: > > I think this patch could be generalized. We may have other quirks to > > worry about besides PM/autosuspend. This should become a general USB > > blacklist mechanism. > > If you want the grand solution, you shall get it. Thank you. If only the r

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-25 Thread Oliver Neukum
Am Freitag, 19. Januar 2007 16:31 schrieb Alan Stern: > On Fri, 19 Jan 2007, Oliver Neukum wrote: > > > Hi, > > > > I did the dirty deed. Could you please tell me which quirky devices > > you know of? I am afraid this list needs to be populated and there > > are outstanding regressions in Adrian'

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-19 Thread Jon Smirl
On 1/19/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Fri, 19 Jan 2007, Jon Smirl wrote: > > > On 1/19/07, David Brownell <[EMAIL PROTECTED]> wrote: > > > On Friday 19 January 2007 1:30 pm, Alan Stern wrote: > > > > On Fri, 19 Jan 2007, David Brownell wrote: > > > > > > > > > On Friday 19 January

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-19 Thread Alan Stern
On Fri, 19 Jan 2007, Jon Smirl wrote: > On 1/19/07, David Brownell <[EMAIL PROTECTED]> wrote: > > On Friday 19 January 2007 1:30 pm, Alan Stern wrote: > > > On Fri, 19 Jan 2007, David Brownell wrote: > > > > > > > On Friday 19 January 2007 9:17 am, Jon Smirl wrote: > > > > > > > > > There is still

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-19 Thread Jon Smirl
On 1/19/07, David Brownell <[EMAIL PROTECTED]> wrote: > On Friday 19 January 2007 1:30 pm, Alan Stern wrote: > > On Fri, 19 Jan 2007, David Brownell wrote: > > > > > On Friday 19 January 2007 9:17 am, Jon Smirl wrote: > > > > > > > There is still the unexplained case of it working ok when plugged i

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-19 Thread David Brownell
On Friday 19 January 2007 1:30 pm, Alan Stern wrote: > On Fri, 19 Jan 2007, David Brownell wrote: > > > On Friday 19 January 2007 9:17 am, Jon Smirl wrote: > > > > > There is still the unexplained case of it working ok when plugged into > > > a hub, it only fails on a root controller. But it fail

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-19 Thread Alan Stern
On Fri, 19 Jan 2007, David Brownell wrote: > On Friday 19 January 2007 9:17 am, Jon Smirl wrote: > > > There is still the unexplained case of it working ok when plugged into > > a hub, it only fails on a root controller. But it failed on both ICH4 > > and ICH5. It works on both my USB 1.0 and USB

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-19 Thread David Brownell
On Friday 19 January 2007 9:17 am, Jon Smirl wrote: > There is still the unexplained case of it working ok when plugged into > a hub, it only fails on a root controller. But it failed on both ICH4 > and ICH5. It works on both my USB 1.0 and USB 2.0 hubs. Sorry if this came out in earlier discussi

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-19 Thread Jon Smirl
On 1/19/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Fri, 19 Jan 2007, Jon Smirl wrote: > > > On 1/19/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > > On Fri, 19 Jan 2007, Jon Smirl wrote: > > > > > > > On 1/19/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > > > > > > I did th

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-19 Thread Jon Smirl
On 1/19/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Fri, 19 Jan 2007, Jon Smirl wrote: > > > On 1/19/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > I did the dirty deed. Could you please tell me which quirky devices > > > you know of? I am afraid this list needs to be populat

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-19 Thread Alan Stern
On Fri, 19 Jan 2007, Jon Smirl wrote: > On 1/19/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > On Fri, 19 Jan 2007, Jon Smirl wrote: > > > > > On 1/19/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > > > > > I did the dirty deed. Could you please tell me which quirky devices > > > >

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-19 Thread Alan Stern
On Fri, 19 Jan 2007, Oliver Neukum wrote: > Hi, > > I did the dirty deed. Could you please tell me which quirky devices > you know of? I am afraid this list needs to be populated and there > are outstanding regressions in Adrian's list. I'll get back to you on the devices. I think this patch co

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-19 Thread Alan Stern
On Fri, 19 Jan 2007, Jon Smirl wrote: > On 1/19/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I did the dirty deed. Could you please tell me which quirky devices > > you know of? I am afraid this list needs to be populated and there > > are outstanding regressions in Adrian's list.

Re: [linux-usb-devel] introduction of blacklist for autosuspend

2007-01-19 Thread Jon Smirl
On 1/19/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: > Hi, > > I did the dirty deed. Could you please tell me which quirky devices > you know of? I am afraid this list needs to be populated and there > are outstanding regressions in Adrian's list. ID 0471:0155 Philips Electronics PSC805 >From the

[linux-usb-devel] introduction of blacklist for autosuspend

2007-01-19 Thread Oliver Neukum
Hi, I did the dirty deed. Could you please tell me which quirky devices you know of? I am afraid this list needs to be populated and there are outstanding regressions in Adrian's list. Regards Oliver -- --- a/include/linux/usb.h 2007-01-18 13:15:25.0 +0100