Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Probleme mit /dev/ttyS0
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Stormkings
Guru
Guru


Joined: 27 Sep 2002
Posts: 352
Location: Europe

PostPosted: Fri Oct 11, 2002 9:44 am    Post subject: Probleme mit /dev/ttyS0 Reply with quote

Hallo zusammen,
ich möchte das Programm kandy als normaler Benutzer benutzen um per Datenkabel an der seriellen Schnittstelle mein Adressbuch abzugleichen. Als root funktionert das Programm. Versuche ich eine Verbindung als Bentuzer herzustellen bekommen ich die Fehlermeldung "Cannot open modem device /dev/ttyS0". Wenn ich im Programm als Device /dev/tts/0 wähle erhalte ich die selbe Fehlermeldung. Interessanterweise hat das Device die Rechte david.tty, obwohl das nicht in der devfs.conf so eingetragen ist. Mit den Programmen aus dem gsmlibs kann ich jedoch ohne Probleme auf dem Device lesen und schreiben.
Ist das ein Problem von kde? Hat jemand schon ähnliche Erfahrunge gemacht und kann mir irgendwie weiterhelfen? Wäre sehr dankbar für einen Tipp, da mit das Programm so wenig nützlich ist.
David
Back to top
View user's profile Send private message
Altanos
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2002
Posts: 95
Location: Bavaria/Germany

PostPosted: Fri Oct 11, 2002 9:49 am    Post subject: Reply with quote

Hi,

eine einfache Möglichkeit währe das Programm per sudo zu starten.
emerge sudo
man sudo

Gruß

Altanos
_________________
Linux User #155501
[img:ce44b9cefe]http://seti.familie-friedrich.de/userstats.php?bcolor=128,128,128&tcolor=128,128,128&l=1&email=60[/img:ce44b9cefe]
Back to top
View user's profile Send private message
LinuxDocc
n00b
n00b


Joined: 26 Aug 2002
Posts: 24
Location: Frankfurt / Main

PostPosted: Fri Oct 11, 2002 4:18 pm    Post subject: Reply with quote

Ich hatte das problem auch ... und habe viel rumprobiert, ich hoffe ich bekomme die ausschlagebenden sachen noch zusammen...
in /etc/devfs
Code:

REGISTER        tts/.*       PERMISSIONS root.tty  0660

eingetragen und dann meinen user in die tty group eigetragen.
UND dann:

chgrp 660 /dev/tts/0
chgrp 660 /dev/tts/1

oder war es

chgrp 660 /dev/tts

muste mal ausprobieren. Seitdem geht es bei mir ... auch nach dem reboot !

Gruß LinuxDoc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum