Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9872 Discussions

Gadget Serial: Selective suspend resume

FATA
New Contributor I
955 Views

Hi

Can anyone tell me how to put g_serial to suspend and resume state.I am using pch_udc as a gadget driver and on top of that i am using g_serial as a gadget class driver,

I am able to perform delective selective suspend and resume with with host using

echo "suspend" > /sys/bus/usb/devices/usb2/power/control.

But how to perform selective suspend and resume for usb_device?

2 Replies
Sergio_A_Intel
Employee
134 Views

Hi,

Are you looking for something like this http://zedboard.org/content/linux-usb-device Linux USB Device | Zedboard ? Take a look at the # define components.

Sergio

Carlos_M_Intel
Employee
134 Views

Hi farazata,

Do you have updates on this?

Have you been to suspend and resume the state of g_serial?

Regards,

Charlie

Reply