RE: Moblin Kernel and Driver Status for WW09

2008-02-28 Thread Du, Alek
Found reset_resume USB patches under kernel.org ~/people/gregkh/usb/2.6/2.6.22

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Du, Alek
Sent: 2008年2月29日 9:43
To: Matthew Garrett
Cc: Ubuntu-mobile@lists.ubuntu.com
Subject: RE: Moblin Kernel and Driver Status for WW09

Matthew,

Yes, definitely you are right! But seems this only works for 2.6.24 kernel, 
since 2.6.22 kernel only has USB_QUIRK_NO_AUTOSUSPEND defined. A back porting 
may work. Thanks for your comments. Will do more work to make right patch.

Thanks,
Alek
-Original Message-
From: Matthew Garrett [mailto:[EMAIL PROTECTED] 
Sent: 2008年2月29日 1:59
To: Du, Alek
Cc: Ubuntu-mobile@lists.ubuntu.com
Subject: Re: Moblin Kernel and Driver Status for WW09

Alek,

If the device in question needs resetting on resume, then it should set 
the USB_QUIRK_RESET_RESUME quirk rather than modifying the core code. 
This certainly isn't a requirement for most devices, so the patch isn't 
suitable for adding in its current form.

-- 
Matthew Garrett | [EMAIL PROTECTED]

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


RE: Moblin Kernel and Driver Status for WW09

2008-02-28 Thread Du, Alek
Matthew,

Yes, definitely you are right! But seems this only works for 2.6.24 kernel, 
since 2.6.22 kernel only has USB_QUIRK_NO_AUTOSUSPEND defined. A back porting 
may work. Thanks for your comments. Will do more work to make right patch.

Thanks,
Alek
-Original Message-
From: Matthew Garrett [mailto:[EMAIL PROTECTED] 
Sent: 2008年2月29日 1:59
To: Du, Alek
Cc: Ubuntu-mobile@lists.ubuntu.com
Subject: Re: Moblin Kernel and Driver Status for WW09

Alek,

If the device in question needs resetting on resume, then it should set 
the USB_QUIRK_RESET_RESUME quirk rather than modifying the core code. 
This certainly isn't a requirement for most devices, so the patch isn't 
suitable for adding in its current form.

-- 
Matthew Garrett | [EMAIL PROTECTED]

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Re: Moblin Kernel and Driver Status for WW09

2008-02-28 Thread Matthew Garrett
Alek,

If the device in question needs resetting on resume, then it should set 
the USB_QUIRK_RESET_RESUME quirk rather than modifying the core code. 
This certainly isn't a requirement for most devices, so the patch isn't 
suitable for adding in its current form.

-- 
Matthew Garrett | [EMAIL PROTECTED]

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


RE: Moblin Kernel and Driver Status for WW09

2008-02-28 Thread Du, Alek
Mathew,

The patch is needed even I do the same test with my Dell Core2Duo desktop. It 
is not Poulsbo specific but only happens on high speed USB device and HUB 
(including root hub).

Thanks,
Alek
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Garrett
Sent: 2008年2月28日 18:43
To: Ubuntu-mobile@lists.ubuntu.com
Subject: Re: Moblin Kernel and Driver Status for WW09

On Thu, Feb 28, 2008 at 05:07:41PM +0800, Du, Alek wrote:
> Kernel Support
> =
> Fixed bug: The USB nic can not get IP automatically after resume from S3
> https://bugs.launchpad.net/bugs/193172 The root cause is high speed HUB
> resume from S3 does not disconnect and re-enumerate USB device even the
> device is reset by HCD, the patch is at
> http://www.moblin.org/repos/?p=projects/kernel-mid-2.6.22.git;a=blob_pla
> in;f=debian/patches/usb_highspeed_hub_resume_fix.dpatch;hb=HEAD

I'm a bit concerned by this. If the device is reset, shouldn't the port 
status change? The patch seems to force a reset even when one isn't 
necessary.

-- 
Matthew Garrett | [EMAIL PROTECTED]

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Re: Moblin Kernel and Driver Status for WW09

2008-02-28 Thread Matthew Garrett
On Thu, Feb 28, 2008 at 05:07:41PM +0800, Du, Alek wrote:
> Kernel Support
> =
> Fixed bug: The USB nic can not get IP automatically after resume from S3
> https://bugs.launchpad.net/bugs/193172 The root cause is high speed HUB
> resume from S3 does not disconnect and re-enumerate USB device even the
> device is reset by HCD, the patch is at
> http://www.moblin.org/repos/?p=projects/kernel-mid-2.6.22.git;a=blob_pla
> in;f=debian/patches/usb_highspeed_hub_resume_fix.dpatch;hb=HEAD

I'm a bit concerned by this. If the device is reset, shouldn't the port 
status change? The patch seems to force a reset even when one isn't 
necessary.

-- 
Matthew Garrett | [EMAIL PROTECTED]

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile