Community
cancel
Showing results for 
Search instead for 
Did you mean: 
FATA
New Contributor I
866 Views

Gadget Serial: Selective suspend resume

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

Hi farazata,

Do you have updates on this?

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

Regards,

Charlie