Re: usb: dynamic suspend

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

 



On Thu, 2 Aug 2018, Muni Sekhar wrote:

> I see that CONFIG_PM_RUNTIME & CONFIG_USB_SUSPEND are not enabled. Is that fine?

The CONFIG_PM_RUNTIME and CONFIG_USB_SUSPEND symbols are no longer 
used.

> The device is using btusb driver. Does unloading the driver helps?

It should.

> I ran ‘lsof’ and and I see that the USB device was being held open by
> fwupd, not sure what is ‘fwupd’?

It is a firmware update daemon.

> # sudo lsof +D /dev/bus/usb
> lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
>       Output information may be incomplete.
> COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
> fwupd   1631 root   49u   CHR 189,67      0t0  547 /dev/bus/usb/001/068
> 
> 
> So I killed that process(fwupd), but still device is not going to SUSPEND mode.
> 
> # sudo lsof +D /dev/bus/usb
> lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
>       Output information may be incomplete.
> 
> 
> # cat /sys/bus/usb/devices/1-1.3/power/runtime_status
> active

Well, keeping the device might or might not prevent it from being
suspended.  It all depends on how the driver is written.  But if you
unload the driver then the device certainly ought to go into runtime
suspend.

Alan Stern

--
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