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