LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-21-2005, 03:15 PM   #1
rwillard
Member
 
Registered: Feb 2005
Location: Lethbridge, AB, Canada
Distribution: Fedora 3
Posts: 33

Rep: Reputation: 15
Palm device difficulties


I have a Palm device that I have been syncing without too much hassle to Evolution (FC3).

The difficulty is that each time I reboot, I have to give read/write access to non root for ttyS0 (done through nautilus as I don't know the command line yet), then regenerate the link to the pilot (ln -s /dev/ttyS0 /dev/pilot) and restart the pilot daemon.

Is there any way that I can set this up so I don't have to go through these steps each time?

Thanks!
Rob
 
Old 04-21-2005, 04:24 PM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
I assume you're using udev, so go to /etc/udev/permissions.d and create a rule that says ttyS0 should be universally read-write-able. And then /etc/udev/rules.d and add a rule that says ttyS0 should be symlinked to pilot - you should be able to work out how this works from the existing config files.

Incidentally, the command from the CLI to change the permissions is "chmod 666 ttyS0"

Last edited by oneandoneis2; 04-21-2005 at 05:37 PM.
 
Old 04-22-2005, 10:25 AM   #3
rwillard
Member
 
Registered: Feb 2005
Location: Lethbridge, AB, Canada
Distribution: Fedora 3
Posts: 33

Original Poster
Rep: Reputation: 15
Great! Thanks oneandone...

I changed 50-udev.permissions to now read:

Code:
# serial+dialup devices
ttyS*:root:uucp:0666        <==== CHANGED
ippp*:root:root:0660
isdn*:root:root:0660
isdnctrl*:root:root:0660
capi*:root:root:0660
dcbri*:root:root:0660
ircomm*:root:uucp:0660
ttyUSB*:root:uucp:0660
tts/[0-9]*:root:uucp:0666  <==== CHANGED
tts/USB[0-9]*:root:uucp:0660
I wasn't sure which one change, so did both to be sure

I also set gpilotd to look to /dev/ttyS0 instead of /dev/pilot, as it will always be going in the only serial port I have.

Thanks for the help!
Rob
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sourceforge difficulties :( flamesrock Programming 3 05-02-2005 03:01 AM
Printing Difficulties Terje Linux - General 6 11-16-2004 12:50 PM
Difficulties with Palm Serial Cradle JonEberger Linux - Hardware 9 11-14-2004 10:16 PM
Using Palm with Linux - syncing from PC to Palm silverfire Linux - General 4 11-12-2004 11:33 PM
Link Difficulties MikeMcCarty Linux - Newbie 7 07-02-2003 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration