[Bug 876] New: finished usb host patch

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Mon Sep 17 20:52:16 CEST 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=876

           Summary: finished usb host patch
           Product: OpenMoko
           Version: current svn head
          Platform: Neo1973
               URL: http://wiki.openmoko.org/wiki/Neo1973_USB_host
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: kernel
        AssignedTo: laforge at openmoko.org
        ReportedBy: zeroping at gmail.com
                CC: buglog at lists.openmoko.org


I took the s3c2410-usb-switch patch in svn, added in the changes from the 
mailing list, and tweaked it to read values from its /sys knob properly (it 
wouldn't take trailing newlines). I then added it to 
openembedded/packages/linux/linux-openmoko_2.6.22.5.bb:

SRC_URI += "file://s3c2410-usb-switch.patch;patch=1"

and rebuilt the kernel. Now I can turn my neo's usb port into a functioning 
usb host! I've already tested a usb mouse, keyboard, and mass storage with 
success.

I'm not sure if this is really the right way to add a patch to the build 
system, but it works. The actual file has to be 
in 'openembedded/packages/linux/linux-openmoko/'.

Since I don't have svn access, and wouldn't know where to put this patch if I 
did, I'm filing this as a bug for someone who knows what they're doing. 
Hopefully we can all enjoy plugging random usb devices into our phones.

Patch:
http://www.cc.gatech.edu/~orpheus/s3c2410-usb-switch.patch



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list