Re: Autosuspend and unbound interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Dienstag, 4. Mai 2010 22:28:25 schrieb Rob Duncan:
> > It isn't.  In fact, I would go so far as to say it's nearly impossible
> > to have power/level without power/autosuspend.  Look at the code in
> > drivers/usb/core/sysfs.c and see what you think.  You may want to put
> > some debugging printk statements in add_power_attributes().
> 
> Embarrassingly, it turns out that I have been looking at the wrong place in the sysfs tree.  I was looking at the interface level instead of the device level; I do see the the autosuspend file there.

That explains things.

> But I still do not see my driver suspend entry point being called.

At a hunch, have you written "auto" into all "level" files, those
of the device and both interfaces?

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux