From 1718a2060213538df2249db96c036566bbe1d7cf Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 6 Apr 2006 18:21:51 +0000 Subject: [PATCH] bjdooks writes: 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 | 12 ++++++++++++ package/udev/udev.mk | 1 + 2 files changed, 13 insertions(+) create mode 100644 package/udev/udev-fix-s3c2410-serial-perms.patch diff --git a/package/udev/udev-fix-s3c2410-serial-perms.patch b/package/udev/udev-fix-s3c2410-serial-perms.patch new file mode 100644 index 0000000000..e38cbf94e5 --- /dev/null +++ b/package/udev/udev-fix-s3c2410-serial-perms.patch @@ -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" diff --git a/package/udev/udev.mk b/package/udev/udev.mk index e437be1118..3c5f6ca957 100644 --- a/package/udev/udev.mk +++ b/package/udev/udev.mk @@ -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 -- 2.30.2