Gentoo Archives: gentoo-server

From: Marcos Hiroshi Umino <japa@×××××××.br>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Disappearing /dev/usb/tts/1
Date: Thu, 08 Jul 2004 03:34:39
Message-Id: 20040708003534.39565b2e@dserver-2
In Reply to: [gentoo-server] Disappearing /dev/usb/tts/1 by Collin Starkweather
1 On Wed, 07 Jul 2004 22:19:43 -0500
2 Collin Starkweather <collin.starkweather@××××××××××××××××××.com> wrote:
3
4 > I hit the sync button (it appears from /proc/bus/usb/devices that the
5 > PDA is recognized) and the nodes disappear (i.e., /dev/usb/tts is now an
6 > empty directory). Any clue as to why this might happen?
7
8 That's because your DevFS rules are overriding your nodes. Either blacklist them on DevFS, or tell DevFS to create user readable usb/tts/* entries.
9
10 This is a snippet from my /etc/devfsd.conf:
11
12 #configure USB added by YOU!
13 REGISTER ^usb PERMISSIONS 0.0 0777
14 REGISTER ^usb/tts PERMISSIONS 0.0 0777
15 #Use this if you are using jpilot to sync
16 #REGISTER ^usb/tts/1 EXECUTE /bin/su *YOU* -c "/usr/bin/jpilot -sync"
17 #Use this if you are using coldsync to sync
18 #REGISTER ^usb/tts/1 EXECUTE /bin/su *YOU* -c /usr/local/bin/sync-coldsync &
19
20 I got it searching for a excellent page on Palm USB synchonization on Linux. Remember to change the *YOU* to your user.
21
22 Marcos.