summaryrefslogtreecommitdiff
path: root/package/udev/udev-fix-s3c2410-serial-perms.patch
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-04-06 18:21:51 +0000
committerEric Andersen <andersen@codepoet.org>2006-04-06 18:21:51 +0000
commit1718a2060213538df2249db96c036566bbe1d7cf (patch)
tree7ea0a802cd2f7a0993eee8b56305ce6aba488771 /package/udev/udev-fix-s3c2410-serial-perms.patch
parent0d26efed3a70b1c8d044dcc119e7810b4c852a75 (diff)
bjdooks writes:
udev creates wrong permissions on /dev/s3c2410_serial devices Attached patch adds a line for s3c2410_serial with the correct MODE/group
Diffstat (limited to 'package/udev/udev-fix-s3c2410-serial-perms.patch')
-rw-r--r--package/udev/udev-fix-s3c2410-serial-perms.patch12
1 files changed, 12 insertions, 0 deletions
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 000000000..e38cbf94e
--- /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"