bjdooks writes:
authorEric Andersen <andersen@codepoet.org>
Thu, 6 Apr 2006 18:21:51 +0000 (18:21 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 6 Apr 2006 18:21:51 +0000 (18:21 -0000)
udev creates wrong permissions on /dev/s3c2410_serial devices
Attached patch adds a line for s3c2410_serial with the correct MODE/group

package/udev/udev-fix-s3c2410-serial-perms.patch [new file with mode: 0644]
package/udev/udev.mk

diff --git a/package/udev/udev-fix-s3c2410-serial-perms.patch b/package/udev/udev-fix-s3c2410-serial-perms.patch
new file mode 100644 (file)
index 0000000..e38cbf9
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urp udev-058/etc/udev/frugalware/udev.rules udev-058/etc/udev/frugalware/udev.rules
+--- udev-058/etc/udev/frugalware/udev.rules    2005-05-20 21:18:28.000000000 +0100
++++ udev-058/etc/udev/frugalware/udev.rules    2005-10-26 02:26:25.000000000 +0100
+@@ -40,6 +40,8 @@ KERNEL="ttyUB[0-9]",    NAME="%k", OWNER
+ KERNEL="ttyUSB0",       NAME="%k", OWNER="root", GROUP="uucp", MODE="0660"
+ KERNEL="ttyUSB1",       NAME="%k", OWNER="root"  GROUP="uucp", MODE="0666"
++KERNEL="s3c2410_serial*" NAME="%k", OWNER="root", GROUP="uucp", MODE="0660"
++
+ # pty devices
+ KERNEL="ptmx"           NAME="%k", OWNER="root", GROUP="tty",  MODE="0666"
+ KERNEL="pty[p-za-e][0-9a-f]*" NAME="%k", OWNER="root", GROUP="tty",  MODE="0666"
index e437be1118b86859e9aaa26f2543bfa38e9068e7..3c5f6ca95715f9ad78250d93ae5af1edc31eff72 100644 (file)
@@ -21,6 +21,7 @@ udev-source: $(DL_DIR)/$(UDEV_SOURCE)
 
 $(UDEV_DIR)/.unpacked: $(DL_DIR)/$(UDEV_SOURCE)
        $(UDEV_CAT) $(DL_DIR)/$(UDEV_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+       toolchain/patch-kernel.sh $(UDEV_DIR) package/udev \*.patch
        touch $(UDEV_DIR)/.unpacked
 
 $(UDEV_DIR)/.configured: $(UDEV_DIR)/.unpacked