Gentoo Archives: gentoo-user

From: Robin Atwood <robin.atwood@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ttyS0 permission
Date: Sun, 28 Mar 2010 22:08:24
Message-Id: 201003290439.00954.robin.atwood@attglobal.net
In Reply to: Re: [gentoo-user] ttyS0 permission by Joseph
1 On Monday 29 March 2010, Joseph wrote:
2 > On 03/28/10 23:48, Robin Atwood wrote:
3 > >On Sunday 28 March 2010, Joseph wrote:
4 > >> How to change permission on /dev/ttyS0 ?
5 > >> Which program controls it owner and permission?
6 > >> Is it possible to change it with hylafax?
7 > >>
8 > >> Currently I have:
9 > >> crw------- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0
10 > >>
11 > >> And I wan it to be:
12 > >> crw-rw-rw- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0
13 > >>
14 > >> I've tried adding a rule to 50-udev.rules in /dev
15 > >> but /udev is not running and when I try to restart it I get:
16 > >>
17 > >> The udev init-script is written for baselayout-2
18 > >> Please do not use it with baselayout-1
19 > >
20 > >This is set by parameter "DeviceMode: 0660" in file
21 > >/var/spool/fax/etc/config.ttyS0. You are asked in the setup script.
22 > >
23 > >HTH
24 > >-Robin
25 >
26 > Yes, you are correct.
27 > I was able to find it as well:
28 > http://wiki.contribs.org/HylaFax
29 >
30 > I had a problem make it dial-up work in Windows XP running in VirtualBox
31 > when hylafax is running. I had to disable "faxgetty ttyS0" in inittab or
32 > Windows XP dial-up will not work.
33 >
34 > But wvdial works OK when Hylafax is ON.
35
36 Presumably VirtualBox does not follow the Unix locking protocol:
37 http://tldp.org/LDP/nag2/x-087-2-serial.devices.html
38
39 HTH
40 -Robin
41 --
42 ----------------------------------------------------------------------
43 Robin Atwood.
44
45 "Ship me somewheres east of Suez, where the best is like the worst,
46 Where there ain't no Ten Commandments an' a man can raise a thirst"
47 from "Mandalay" by Rudyard Kipling
48 ----------------------------------------------------------------------