[PATCH 2/2] config-add-udf-support.patch

Andy Green andy at openmoko.com
Thu Aug 7 17:26:32 CEST 2008


Timo noticed that his compound USB device wasn't getting recognized properly,
it was stuck on the CD-ROM class part of it.  This was accepted by the GTA02
but no scsi device was spawned for it.  He figured out in the end that it is
the lack of a UDF filesystem module that was the problem.

This patch adds UDF and CDROM as a built-in on defconfig-2.6.24, for the
modular configs it just adds it as a module.

Reported-by: Timo Drick <timo at drick.de>
Signed-off-by: Andy Green <andy at openmoko.com>
---

 defconfig-2.6.24            |    8 ++++----
 defconfig-2.6.24-maxmodules |    2 +-
 defconfig-gta01             |    2 +-
 defconfig-gta02             |    2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/defconfig-2.6.24 b/defconfig-2.6.24
index 1f01e32..8c40bf5 100644
--- a/defconfig-2.6.24
+++ b/defconfig-2.6.24
@@ -1365,7 +1365,7 @@ CONFIG_USB_MON=y
 #
 # USB Serial Converter support
 #
-CONFIG_USB_SERIAL=m
+CONFIG_USB_SERIAL=y
 CONFIG_USB_SERIAL_GENERIC=y
 CONFIG_USB_SERIAL_AIRCABLE=m
 CONFIG_USB_SERIAL_AIRPRIME=m
@@ -1415,7 +1415,7 @@ CONFIG_USB_SERIAL_SIERRAWIRELESS=m
 CONFIG_USB_SERIAL_TI=m
 CONFIG_USB_SERIAL_CYBERJACK=m
 CONFIG_USB_SERIAL_XIRCOM=m
-CONFIG_USB_SERIAL_OPTION=m
+CONFIG_USB_SERIAL_OPTION=y
 CONFIG_USB_SERIAL_OMNINET=m
 # CONFIG_USB_SERIAL_DEBUG is not set
 CONFIG_USB_EZUSB=y
@@ -1599,10 +1599,10 @@ CONFIG_FUSE_FS=m
 #
 # CD-ROM/DVD Filesystems
 #
-CONFIG_ISO9660_FS=m
+CONFIG_ISO9660_FS=y
 CONFIG_JOLIET=y
 # CONFIG_ZISOFS is not set
-# CONFIG_UDF_FS is not set
+CONFIG_UDF_FS=y
 
 #
 # DOS/FAT/NT Filesystems
diff --git a/defconfig-2.6.24-maxmodules b/defconfig-2.6.24-maxmodules
index afd6bd4..08e17bc 100644
--- a/defconfig-2.6.24-maxmodules
+++ b/defconfig-2.6.24-maxmodules
@@ -1514,7 +1514,7 @@ CONFIG_FUSE_FS=m
 CONFIG_ISO9660_FS=m
 CONFIG_JOLIET=y
 # CONFIG_ZISOFS is not set
-# CONFIG_UDF_FS is not set
+CONFIG_UDF_FS=m
 
 #
 # DOS/FAT/NT Filesystems
diff --git a/defconfig-gta01 b/defconfig-gta01
index e39167a..b2ca2f7 100644
--- a/defconfig-gta01
+++ b/defconfig-gta01
@@ -1513,7 +1513,7 @@ CONFIG_FUSE_FS=m
 CONFIG_ISO9660_FS=m
 CONFIG_JOLIET=y
 # CONFIG_ZISOFS is not set
-# CONFIG_UDF_FS is not set
+CONFIG_UDF_FS=m
 
 #
 # DOS/FAT/NT Filesystems
diff --git a/defconfig-gta02 b/defconfig-gta02
index 82cc6b1..77f45ac 100644
--- a/defconfig-gta02
+++ b/defconfig-gta02
@@ -1513,7 +1513,7 @@ CONFIG_FUSE_FS=m
 CONFIG_ISO9660_FS=m
 CONFIG_JOLIET=y
 # CONFIG_ZISOFS is not set
-# CONFIG_UDF_FS is not set
+CONFIG_UDF_FS=m
 
 #
 # DOS/FAT/NT Filesystems





More information about the openmoko-kernel mailing list