All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrizio Bassi <patrizio.bassi@gmail.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Kernel development list <linux-kernel@vger.kernel.org>,
	USB development list <linux-usb-devel@lists.sourceforge.net>,
	pavel@ucw.cz, shaohua.li@intel.com, akpm@osdl.org
Subject: Re: 2.6.15-rc2-git5 continues to fail suspending (USB issue)
Date: Sat, 26 Nov 2005 09:17:32 +0100	[thread overview]
Message-ID: <43881A1C.6040608@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0511251519260.17257-100000@netrider.rowland.org>

Alan Stern ha scritto:

>On Fri, 25 Nov 2005, Patrizio Bassi wrote:
>
>  
>
>>i tried today's git due to Greg's usb patches,
>>but they don't work.
>>
>>i wrote already twice the problem:
>>    
>>
>
>You wrote about it on lkml, not linux-usb-devel.  So it might not have 
>been noticed by the USB developers.
>
>  
>
o sorry you're right. i tought usb team followed the main ml too.

>>Stopping tasks: ==========================|
>>Freeing memory... done (13146 pages freed)
>>usbfs 2-2:1.0: no suspend?
>>Could not suspend device 2-2: error -16
>>Some devices failed to suspend
>>Restarting tasks... done
>>
>>If needed i'll reattach the patch i have (against 2.6.14-rc2 iirc)
>>
>>lsusb
>>Bus 004 Device 001: ID 0000:0000
>>Bus 003 Device 001: ID 0000:0000
>>Bus 002 Device 002: ID 0915:8000 GlobeSpan, Inc.
>>Bus 002 Device 001: ID 0000:0000
>>Bus 001 Device 001: ID 0000:0000
>>    
>>
>
>Looks like the vanilla kernel needs to add suspend/resume methods for
>usbfs bindings.  What is that GlobeSpan device?  Are you running a
>userspace program that controls it?  If you are, you can try quitting that 
>program before suspending.
>
>Also, if you haven't tried it, you might want to apply this patch:
>
>http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-all-2.6.15-rc2-git3.patch
>
>or whatever is the most current version when you download it.
>
>Alan Stern
>
>
>  
>

globespan device is a zyxel prestige 630 adsl modem using eciadsl
userspace drivers.
after killing the driver it suspended and resumed.

but i got a problem, trying to restart driver.

[EciAdsl 3/5] Synchronization...

 ERROR reading interrupts
*** glibc detected *** double free or corruption (fasttop): 0x0804f158 ***
/usr/bin/eciadsl-start: line 517: 11399 Abortito               
"$BIN_DIR/eciadsl-synch" $synch_options
ERROR: failed to get synchronization

usb 2-2: usbfs: USBDEVFS_CONTROL failed cmd eciadsl-synch rqt 192 rq 222
len 13 ret -110

tried 3 times, always the same.
so i manually unplugged modem and replugged.
works perfectly (as usual).

seems a problem on suspending and resuming attached device.


i've access to eciadsl cvs so i can patch it.
the first problem (no suspend) i think can be fixed binding some signals
in userspace, which?

the second seems an init problem, that i leave to you :)

Patrizio

  reply	other threads:[~2005-11-26  8:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-25 19:12 2.6.15-rc2-git5 continues to fail suspending (USB issue) Patrizio Bassi
2005-11-25 20:29 ` Alan Stern
2005-11-26  8:17   ` Patrizio Bassi [this message]
2005-11-26 20:27     ` Alan Stern
2005-11-26 20:42       ` Patrizio Bassi
2005-11-26 20:56         ` Alan Stern
2005-12-02 11:19           ` Patrizio Bassi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43881A1C.6040608@gmail.com \
    --to=patrizio.bassi@gmail.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=pavel@ucw.cz \
    --cc=shaohua.li@intel.com \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.