On 2012-09-18, Joseph <[email protected]> wrote:
> On 09/18/12 15:06, Grant Edwards wrote:
>>>>>I'm trying to configure virutalbox serial port, but I'm getting an
>>>>>error:
>>>>>
>>>>>NamedPipe#0 failed to connect to local socket /dev/ttyS0
>>>>>(VERR_ACCESS_DENIED).
>>[...]
>>>>>What am I missing?
>>
>>>>Do you have permissions set correctly to access the serial port
>>>>normally (without virtualbox)?
>>
>>> How do I check if some other application are not using serial port?
>>
>>To check to see if another app has the port open, use lsof. But,
>>that's not what's causing your error.  Linux allows serial ports to be
>>open by multiple processes.
>>
>>Do you have permissions set correctly to access the serial port
>>normally (without virtualbox)?

> When I run: lsof -n |grep /dev/ttyS

> 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:
> #c7:2345:respawn:/usr/sbin/faxgetty ttyS0


> I set ttyS0 to "666"
> ll  /dev/ttyS*
> crw-rw-rw- 1 uucp tty  4, 64 Sep 18 09:21 /dev/ttyS0
> crw-rw---- 1 root uucp 4, 65 Sep  2 06:09 /dev/ttyS1
> crw-rw---- 1 root uucp 4, 66 Sep  2 06:09 /dev/ttyS2
> crw-rw---- 1 root uucp 4, 67 Sep  2 06:09 /dev/ttyS3
>
> I'm in group "tty", so I can not figure it out why virtualbox is
> complaining. 

What happens when you do "cat /dev/ttyS0"?

-- 
Grant Edwards               grant.b.edwards        Yow! ... bleakness
                                  at               ... desolation ... plastic
                              gmail.com            forks ...


Reply via email to