* [Fuego] Serial port not able to access
@ 2018-03-23 8:30 Salinraj K
2018-03-24 2:27 ` Tim.Bird
0 siblings, 1 reply; 2+ messages in thread
From: Salinraj K @ 2018-03-23 8:30 UTC (permalink / raw)
To: fuego
[-- Attachment #1: Type: text/plain, Size: 466 bytes --]
Hi,
I'm new to Fuego and jenkins. I'm trying to setup Fuego in ubuntu 16.04 virtual machine. I have given TRANSPORT="serial" and SERIAL="ttyUSB0" in my board file. And created the container using the script "docker-create-usb-privileged-container.sh". but while running the HelloWorld test, it shows error like the following
ERROR: could not open port /dev/ttyUSB0: [Errno 21] Is a directory: '/dev/ttyUSB0'
please help me
Regards
Salinraj K
[-- Attachment #2: Type: text/html, Size: 1989 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Fuego] Serial port not able to access
2018-03-23 8:30 [Fuego] Serial port not able to access Salinraj K
@ 2018-03-24 2:27 ` Tim.Bird
0 siblings, 0 replies; 2+ messages in thread
From: Tim.Bird @ 2018-03-24 2:27 UTC (permalink / raw)
To: salinraj.k, fuego
> -----Original Message-----
> From: Salinraj K
>
> I'm new to Fuego and jenkins. I'm trying to setup Fuego in ubuntu 16.04
> virtual machine. I have given TRANSPORT="serial" and SERIAL="ttyUSB0" in
> my board file. And created the container using the script "docker-create-usb-
> privileged-container.sh". but while running the HelloWorld test, it shows
> error like the following
>
> ERROR: could not open port /dev/ttyUSB0: [Errno 21] Is a directory:
> '/dev/ttyUSB0'
>
> please help me
I'm sorry your having problems. I'll try to help.
Do you have a LOGIN or PASSWORD configured for this board?
That shouldn't have affected the board access, but you may need
to use these values for the commands I recommend below.
Can you tell me what kind of board you have?
Can you try some commands at the command line in the docker container?
At the shell prompt in docker (usually '#'), try typing these commands:
# export LOGIN=<whatever your login is>
# export PASSWORD=<whatever your password is>
# serlogin -v -d /dev/ttyUSB0 $LOGIN -P $PASSWORD
If you have don't have a password for the account, leave off the
'-P $PASSWORD' portion of that command.
Let me know what you see.
Also, please do (inside the container):
# id
# ls -la /dev/ttyUSB0
and outside the container
$ ls -la /dev/ttyUSB0
If the serlogin doesn't have the access problem, but doesn't work, please send
me the output of:
# serlogin --debug -v -d /dev/ttyUSB0 $LOGIN -P $PASSWORD
Thanks,
-- Tim
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-24 2:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-23 8:30 [Fuego] Serial port not able to access Salinraj K
2018-03-24 2:27 ` Tim.Bird
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.