Mer/Status/N8x0

Line 1: Line 1:
 +
== USB host mode ==
 +
To enable USB Host mode:
To enable USB Host mode:
Line 4: Line 6:
~# echo host > /sys/class/usb_host/usb_host1/device/mode
~# echo host > /sys/class/usb_host/usb_host1/device/mode
 +
 +
== Headset switch events ==
 +
 +
{{main|Mer/Headset_switch_events}}
 +
[[Category:Mer]]
[[Category:Mer]]

Revision as of 08:43, 7 May 2010

USB host mode

To enable USB Host mode:

~# modprobe g_file_storage stall=0 luns=2 removable

~# echo host > /sys/class/usb_host/usb_host1/device/mode

Headset switch events

Main article: Mer/Headset_switch_events