Michael Tansella wrote:
Hi,
I'm trying to set the USB to Hostmode in SHR testing with latest Andy-Tracking
Kernel 2.6.29-rc3 (uImage-2.6.28-andy-
tracking+gitr119767+435927c4a69f587505f3429b093ca0e29e45bf1d-r3-om-gta02.bin)
But I cannot find the file usb_mode. Has the filename changed. Does it only
appear if a special module is loaded.
Greets
Michael
#if 0
/* switching of USB pads */
static ssize_t show_usb_mode(struct device *dev, struct device_attribute
*attr,
char *buf)
{
if (__raw_readl(S3C24XX_MISCCR) & S3C2410_MISCCR_USBHOST)
return sprintf(buf, "host\n");
return sprintf(buf, "device\n");
}
It seems to be removed by this commit
commit 70b36104ab8c03f5be6d03344214d09447d9d4a8
Author: Balaji Rao <[email protected]>
Date: Mon Mar 9 21:01:18 2009 +0000
Subject: USB: Change s3c2410_ohci into s3c_ohci and change gta02 to
use it
X-Git-Url:
http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=b55b8e
USB: Change s3c2410_ohci into s3c_ohci and change gta02 to use it
Signed-off-by: Balaji Rao <[email protected]>
It can't work this field. I don't find if there is another function that
can do it.
Michael