All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Neukum <oneukum-l3A5Bk7waGM@public.gmane.org>
To: x0r <x0r-MmyNGb77m7ovJsYlp49lxw@public.gmane.org>
Cc: Jiri Kosina <jkosina-AlSwsSmVLrQ@public.gmane.org>,
	Dmitry Torokhov
	<dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Linux Input <linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Linux USB <linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: ACRUX gamepads not happy with autosuspend?
Date: Tue, 20 Jul 2010 14:24:20 +0200	[thread overview]
Message-ID: <201007201424.20880.oneukum@suse.de> (raw)
In-Reply-To: <1279628053.6419.3.camel@desktop>

Am Dienstag, 20. Juli 2010, 14:14:13 schrieb x0r:
> В Втр, 20/07/2010 в 12:03 +0200, Oliver Neukum пишет:
> > Am Dienstag, 20. Juli 2010, 10:58:50 schrieb Jiri Kosina:
> > > On Tue, 20 Jul 2010, Oliver Neukum wrote:
> > > 
> > > > > It looks like ACRUX game controllers do not like autopm. There is
> > > > > a bug report over at Ubuntu's launchpad:
> > > > > 
> > > > > 	https://bugs.launchpad.net/ubuntu/+source/joystick/+bug/448446
> > > > 
> > > > That report shows that the symptoms are consistent with autosuspend,
> > > > but it doesn't show that autosuspend was on.
> > > 
> > > That would be my first question -- who enabled autosuspend, if it was 
> > > really on? I thought it should be still off by default, shouldn't it?
> > 
> > It is off by default, but that doesn't stop Ubuntu having a udev rule to
> > switch it on or patching the kernel, so it might be on. We simply need
> > to know.
> > 
> > 	Regards
> > 		Oliver
> > 
> 
> x0r@desktop:~$ cat /sys/bus/usb/devices/5-1/power/autosuspend
> 2
> 
> Does it mean that autosuspend is enabled?

No, this means that if it is enabled a heuristic timeout of 2s is used.
That is if your device has been being idle for 2s, it will be autosuspend.

Whether it is autosuspended at all all is controlled in the "level" attribute.

on = no autosuspend
auto = autosuspend activated

	HTH
		Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-07-20 12:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4C3F8A90.3020308@dv-life.ru>
     [not found] ` <20100716080200.GA14120@core.coreip.homeip.net>
     [not found]   ` <4C44D236.40002@dv-life.ru>
     [not found]     ` <201007191630.07475.dmitry.torokhov@gmail.com>
     [not found]       ` <4C44E3A2.8080301@dv-life.ru>
2010-07-20  0:17         ` ACRUX gamepads not happy with autosuspend? Dmitry Torokhov
2010-07-20  8:07           ` Oliver Neukum
     [not found]             ` <201007201007.04518.oneukum-l3A5Bk7waGM@public.gmane.org>
2010-07-20  8:58               ` Jiri Kosina
2010-07-20 10:03                 ` Oliver Neukum
     [not found]                   ` <201007201203.43573.oneukum-l3A5Bk7waGM@public.gmane.org>
2010-07-20 12:14                     ` x0r
2010-07-20 12:24                       ` Oliver Neukum [this message]
2010-07-24  7:51                         ` Dmitry Torokhov
     [not found]                           ` <20100724075112.GB3615-WlK9ik9hQGAhIp7JRqBPierSzoNAToWh@public.gmane.org>
2010-07-25  0:58                             ` x0r

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=201007201424.20880.oneukum@suse.de \
    --to=oneukum-l3a5bk7wagm@public.gmane.org \
    --cc=dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=jkosina-AlSwsSmVLrQ@public.gmane.org \
    --cc=linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=x0r-MmyNGb77m7ovJsYlp49lxw@public.gmane.org \
    /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.