Saturday, April 2, 2011

USB on Zipit Z2


Today I finished my z2-usb-switch driver, so now it's possible to switch between device and host modes in software. By default, device mode is activated. To change mode invoke:

echo device >/sys/devices/platform/z2-usb-switch/usb_mode
or
echo host >/sys/devices/platform/z2-usb-switch/usb_mode

All changes are in my tree, branch pxa27x-devel. You can get precompiled binaries here.

No comments: