1 |
On 2012-09-18, Joseph <syscon780@×××××.com> wrote: |
2 |
> On 09/18/12 15:06, Grant Edwards wrote: |
3 |
>>>>>I'm trying to configure virutalbox serial port, but I'm getting an |
4 |
>>>>>error: |
5 |
>>>>> |
6 |
>>>>>NamedPipe#0 failed to connect to local socket /dev/ttyS0 |
7 |
>>>>>(VERR_ACCESS_DENIED). |
8 |
>>[...] |
9 |
>>>>>What am I missing? |
10 |
>> |
11 |
>>>>Do you have permissions set correctly to access the serial port |
12 |
>>>>normally (without virtualbox)? |
13 |
>> |
14 |
>>> How do I check if some other application are not using serial port? |
15 |
>> |
16 |
>>To check to see if another app has the port open, use lsof. But, |
17 |
>>that's not what's causing your error. Linux allows serial ports to be |
18 |
>>open by multiple processes. |
19 |
>> |
20 |
>>Do you have permissions set correctly to access the serial port |
21 |
>>normally (without virtualbox)? |
22 |
|
23 |
> When I run: lsof -n |grep /dev/ttyS |
24 |
|
25 |
> nothing is showing up so I'm sure no other application is using it. I |
26 |
> run hylafax but I disabled it and commented out in inittab: |
27 |
> #c7:2345:respawn:/usr/sbin/faxgetty ttyS0 |
28 |
|
29 |
|
30 |
> I set ttyS0 to "666" |
31 |
> ll /dev/ttyS* |
32 |
> crw-rw-rw- 1 uucp tty 4, 64 Sep 18 09:21 /dev/ttyS0 |
33 |
> crw-rw---- 1 root uucp 4, 65 Sep 2 06:09 /dev/ttyS1 |
34 |
> crw-rw---- 1 root uucp 4, 66 Sep 2 06:09 /dev/ttyS2 |
35 |
> crw-rw---- 1 root uucp 4, 67 Sep 2 06:09 /dev/ttyS3 |
36 |
> |
37 |
> I'm in group "tty", so I can not figure it out why virtualbox is |
38 |
> complaining. |
39 |
|
40 |
What happens when you do "cat /dev/ttyS0"? |
41 |
|
42 |
-- |
43 |
Grant Edwards grant.b.edwards Yow! ... bleakness |
44 |
at ... desolation ... plastic |
45 |
gmail.com forks ... |