From e409294f0d5d9845085da685b1a960a246ac0ded Mon Sep 17 00:00:00 2001 From: Mika Laitio Date: Thu, 25 May 2006 10:25:11 +0300 Subject: [PATCH] gpe-login, fix gms-phone usage for iPAQ h6300. Change logged user to own /dev/ttyS1. Signed-off-by: lamikr Signed-off-by: Rene Wagner --- .../files/pre-session-h6300-gsm.patch | 21 +++++++++++++++++++ .../packages/gpe-login/gpe-login_0.86.bb | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 org.handhelds.familiar/packages/gpe-login/files/pre-session-h6300-gsm.patch diff --git a/org.handhelds.familiar/packages/gpe-login/files/pre-session-h6300-gsm.patch b/org.handhelds.familiar/packages/gpe-login/files/pre-session-h6300-gsm.patch new file mode 100644 index 0000000..668495b --- /dev/null +++ b/org.handhelds.familiar/packages/gpe-login/files/pre-session-h6300-gsm.patch @@ -0,0 +1,21 @@ +diff -Naur gpe-login-0.86/X11/gpe-login.pre-session gpe-login-0.86_new/X11/gpe-login.pre-session +--- gpe-login-0.86/X11/gpe-login.pre-session 2006-02-04 01:40:49.000000000 +0200 ++++ gpe-login-0.86_new/X11/gpe-login.pre-session 2006-05-24 20:57:25.000000000 +0300 +@@ -28,11 +28,16 @@ + chown $USER /dev/snd/controlC0 + fi + +-# serial device (GSM phone of HTC devices) ++# serial device (GSM phone of HTC devices, bluetooth on iPAQ h6300) + if [ -e /dev/tts/0 ]; then + chown $USER /dev/tts/0 + fi + ++# serial device (GSM phone of iPAQ h6300 devices) ++if [ -e /dev/tts/1 ]; then ++chown $USER /dev/tts/1 ++fi ++ + # touchscreen devices # + + if [ -e /dev/touchscreen/0raw ]; then diff --git a/org.handhelds.familiar/packages/gpe-login/gpe-login_0.86.bb b/org.handhelds.familiar/packages/gpe-login/gpe-login_0.86.bb index 6aade63..146a99b 100644 --- a/org.handhelds.familiar/packages/gpe-login/gpe-login_0.86.bb +++ b/org.handhelds.familiar/packages/gpe-login/gpe-login_0.86.bb @@ -10,5 +10,6 @@ RPROVIDES = "gpe-session-starter" PR = "r0" -SRC_URI += "file://removeblue-fontsize8.patch;patch=1" +SRC_URI += "file://removeblue-fontsize8.patch;patch=1 \ + file://pre-session-h6300-gsm.patch;patch=1" -- 2.41.1