diff options
author | Koen Kooi <koen@openembedded.org> | 2009-09-13 16:30:10 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-09-15 19:26:15 +0200 |
commit | d861047e32eacf91974108a5eeba1f847bad5b9f (patch) | |
tree | ac07eaf5fe935b4f58aae20528f3cf101b712549 /recipes/linux/linux-omap-2.6.29/omap3-touchbook/usb-otg-pc-connection.patch | |
parent | 72c1fd8a2b6ab59a28467c033ec7fa18cfb67225 (diff) |
linux-omap 2.6.29: add support for the omap3-touchbook
Diffstat (limited to 'recipes/linux/linux-omap-2.6.29/omap3-touchbook/usb-otg-pc-connection.patch')
-rw-r--r-- | recipes/linux/linux-omap-2.6.29/omap3-touchbook/usb-otg-pc-connection.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes/linux/linux-omap-2.6.29/omap3-touchbook/usb-otg-pc-connection.patch b/recipes/linux/linux-omap-2.6.29/omap3-touchbook/usb-otg-pc-connection.patch new file mode 100644 index 0000000000..2bcfbdcc2f --- /dev/null +++ b/recipes/linux/linux-omap-2.6.29/omap3-touchbook/usb-otg-pc-connection.patch @@ -0,0 +1,36 @@ +--- git/drivers/usb/gadget/file_storage.c 2009-06-07 12:18:05.000000000 -0700 ++++ git/drivers/usb/gadget/file_storage.c 2009-06-07 12:08:36.000000000 -0700 +@@ -283,8 +283,8 @@ + * + * DO NOT REUSE THESE IDs with any other driver!! Ever!! + * Instead: allocate your own, using normal USB-IF procedures. */ +-#define DRIVER_VENDOR_ID 0x0525 // NetChip +-#define DRIVER_PRODUCT_ID 0xa4a5 // Linux-USB File-backed Storage Gadget ++#define DRIVER_VENDOR_ID 0xa110 // Always Innovating, Inc. ++#define DRIVER_PRODUCT_ID 0x0001 // Tablet product + + + /* +@@ -2025,9 +2025,9 @@ + { + u8 *buf = (u8 *) bh->buf; + +- static char vendor_id[] = "Linux "; ++ static char vendor_id[] = "AI, Inc."; + static char product_disk_id[] = "File-Stor Gadget"; +- static char product_cdrom_id[] = "File-CD Gadget "; ++ static char product_cdrom_id[] = "Touch Book "; + + if (!fsg->curlun) { // Unsupported LUNs are okay + fsg->bad_lun_okay = 1; +@@ -3671,8 +3671,8 @@ + } + if (num_sectors < min_sectors) { + LINFO(curlun, "file too small: %s\n", filename); +- rc = -ETOOSMALL; +- goto out; ++// rc = -ETOOSMALL; ++// goto out; + } + + get_file(filp); |