* TtyUsb Yocto Issue
@ 2013-10-08 13:43 Jawad Hassan
2013-10-08 16:04 ` Paul Eggleton
0 siblings, 1 reply; 6+ messages in thread
From: Jawad Hassan @ 2013-10-08 13:43 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 1356 bytes --]
Hi,
We're trying to access the USB serial port using rxtx on a java application
on Yocto. The problem is that we're unable to list out any ports on the
Nitrogen Lite board, we think this could be a permissions issue, if anyone
has been able to do this or any resources that can help us in getting this
done.
--
*Jawad Hassan*
Software Engineer
*Emblem Technologies (Pvt) Ltd*
*Uzair Pte Ltd, Singapore*
Skype: jawad@emblemtechnologies.com
LinkedIn <http://www.linkedin.com/company/897097?trk=tyah> |
Twitter<https://twitter.com/emblemtech>
| Facebook <https://www.facebook.com/emblem.technologies>
*This message contains confidential information and is intended only for
the individual named. If you are not the named addressee, you should not
disseminate, distribute or copy this email. Please notify the sender
immediately by email if you have received this email by mistake and delete
this email from your system. Email transmission cannot be guaranteed to be
secure or error-free, as information could be intercepted, corrupted, lost,
destroyed, arrive late, incomplete, or contain viruses. The sender,
therefore, does not accept liability for any errors or omissions in the
contents of this message which may arise as a result of email transmission.
If verification is required, please request a hard-copy version.*
[-- Attachment #2: Type: text/html, Size: 2735 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: TtyUsb Yocto Issue
2013-10-08 13:43 TtyUsb Yocto Issue Jawad Hassan
@ 2013-10-08 16:04 ` Paul Eggleton
2013-10-09 12:36 ` Jawad Hassan
0 siblings, 1 reply; 6+ messages in thread
From: Paul Eggleton @ 2013-10-08 16:04 UTC (permalink / raw)
To: Jawad Hassan; +Cc: yocto
Hi Jawad,
On Tuesday 08 October 2013 06:43:18 Jawad Hassan wrote:
> We're trying to access the USB serial port using rxtx on a java application
> on Yocto. The problem is that we're unable to list out any ports on the
> Nitrogen Lite board, we think this could be a permissions issue, if anyone
> has been able to do this or any resources that can help us in getting this
> done.
It's hard to say for sure without further details, but assuming the device
nodes actually exist in /dev and it's a typical device permissions issue there
are two options:
1) Look at the /dev/ttyUSB* device nodes that exist and see if there is
already a group assigned with write access; if so you just need to ensure the
user you are running as is a member of that group.
2) Create a udev rule to set the device permissions correctly. This would be a
matter of creating a recipe to install an extra file to /etc/udev/rules.d that
assigned the desired permissions. There are lots of HOWTOs out there on the
web for this, e.g.:
http://sourceforge.net/apps/mediawiki/gizmod/index.php?title=HOWTO_-_Setting_Input_Device_Permissions_-_Creating_a_udev_Rule
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: TtyUsb Yocto Issue
2013-10-08 16:04 ` Paul Eggleton
@ 2013-10-09 12:36 ` Jawad Hassan
2013-10-09 12:44 ` Jawad Hassan
2013-10-09 13:07 ` Paul Eggleton
0 siblings, 2 replies; 6+ messages in thread
From: Jawad Hassan @ 2013-10-09 12:36 UTC (permalink / raw)
To: Paul Eggleton; +Cc: yocto, Muhammad Uzair Arshad
[-- Attachment #1: Type: text/plain, Size: 2820 bytes --]
Hi Paul,
Thanks for your reply, but we're not seeing any ttyUSB* entries in the /dev
folder, the board is this one here:
http://boundarydevices.com/products/nitrogen6_lite/
Which should have at least one port available for connection.
But unfortunately we aren't seeing this device node. What should be our way
forward with this?
Thanks in advance!
On Tue, Oct 8, 2013 at 9:04 AM, Paul Eggleton <paul.eggleton@linux.intel.com
> wrote:
> Hi Jawad,
>
> On Tuesday 08 October 2013 06:43:18 Jawad Hassan wrote:
> > We're trying to access the USB serial port using rxtx on a java
> application
> > on Yocto. The problem is that we're unable to list out any ports on the
> > Nitrogen Lite board, we think this could be a permissions issue, if
> anyone
> > has been able to do this or any resources that can help us in getting
> this
> > done.
>
> It's hard to say for sure without further details, but assuming the device
> nodes actually exist in /dev and it's a typical device permissions issue
> there
> are two options:
>
> 1) Look at the /dev/ttyUSB* device nodes that exist and see if there is
> already a group assigned with write access; if so you just need to ensure
> the
> user you are running as is a member of that group.
>
> 2) Create a udev rule to set the device permissions correctly. This would
> be a
> matter of creating a recipe to install an extra file to /etc/udev/rules.d
> that
> assigned the desired permissions. There are lots of HOWTOs out there on the
> web for this, e.g.:
>
>
> http://sourceforge.net/apps/mediawiki/gizmod/index.php?title=HOWTO_-_Setting_Input_Device_Permissions_-_Creating_a_udev_Rule
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
--
*Jawad Hassan*
Software Engineer
*Emblem Technologies (Pvt) Ltd*
*Uzair Pte Ltd, Singapore*
Skype: jawad@emblemtechnologies.com
LinkedIn <http://www.linkedin.com/company/897097?trk=tyah> |
Twitter<https://twitter.com/emblemtech>
| Facebook <https://www.facebook.com/emblem.technologies>
*This message contains confidential information and is intended only for
the individual named. If you are not the named addressee, you should not
disseminate, distribute or copy this email. Please notify the sender
immediately by email if you have received this email by mistake and delete
this email from your system. Email transmission cannot be guaranteed to be
secure or error-free, as information could be intercepted, corrupted, lost,
destroyed, arrive late, incomplete, or contain viruses. The sender,
therefore, does not accept liability for any errors or omissions in the
contents of this message which may arise as a result of email transmission.
If verification is required, please request a hard-copy version.*
[-- Attachment #2: Type: text/html, Size: 4965 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: TtyUsb Yocto Issue
2013-10-09 12:36 ` Jawad Hassan
@ 2013-10-09 12:44 ` Jawad Hassan
2013-10-09 12:45 ` Jawad Hassan
2013-10-09 13:07 ` Paul Eggleton
1 sibling, 1 reply; 6+ messages in thread
From: Jawad Hassan @ 2013-10-09 12:44 UTC (permalink / raw)
To: Paul Eggleton; +Cc: yocto, Muhammad Uzair Arshad
[-- Attachment #1: Type: text/plain, Size: 4114 bytes --]
PS. /etc/device_list does show a ttyUSB entry
On Wed, Oct 9, 2013 at 5:36 AM, Jawad Hassan
<jawad@emblemtechnologies.com>wrote:
> Hi Paul,
>
> Thanks for your reply, but we're not seeing any ttyUSB* entries in the
> /dev folder, the board is this one here:
> http://boundarydevices.com/products/nitrogen6_lite/
>
> Which should have at least one port available for connection.
>
> But unfortunately we aren't seeing this device node. What should be our
> way forward with this?
>
> Thanks in advance!
>
>
> On Tue, Oct 8, 2013 at 9:04 AM, Paul Eggleton <
> paul.eggleton@linux.intel.com> wrote:
>
>> Hi Jawad,
>>
>> On Tuesday 08 October 2013 06:43:18 Jawad Hassan wrote:
>> > We're trying to access the USB serial port using rxtx on a java
>> application
>> > on Yocto. The problem is that we're unable to list out any ports on the
>> > Nitrogen Lite board, we think this could be a permissions issue, if
>> anyone
>> > has been able to do this or any resources that can help us in getting
>> this
>> > done.
>>
>> It's hard to say for sure without further details, but assuming the device
>> nodes actually exist in /dev and it's a typical device permissions issue
>> there
>> are two options:
>>
>> 1) Look at the /dev/ttyUSB* device nodes that exist and see if there is
>> already a group assigned with write access; if so you just need to ensure
>> the
>> user you are running as is a member of that group.
>>
>> 2) Create a udev rule to set the device permissions correctly. This would
>> be a
>> matter of creating a recipe to install an extra file to /etc/udev/rules.d
>> that
>> assigned the desired permissions. There are lots of HOWTOs out there on
>> the
>> web for this, e.g.:
>>
>>
>> http://sourceforge.net/apps/mediawiki/gizmod/index.php?title=HOWTO_-_Setting_Input_Device_Permissions_-_Creating_a_udev_Rule
>>
>> Cheers,
>> Paul
>>
>> --
>>
>> Paul Eggleton
>> Intel Open Source Technology Centre
>>
>
>
>
> --
> *Jawad Hassan*
> Software Engineer
> *Emblem Technologies (Pvt) Ltd*
> *Uzair Pte Ltd, Singapore*
> Skype: jawad@emblemtechnologies.com
>
> LinkedIn <http://www.linkedin.com/company/897097?trk=tyah> | Twitter<https://twitter.com/emblemtech>
> | Facebook <https://www.facebook.com/emblem.technologies>
>
> *This message contains confidential information and is intended only for
> the individual named. If you are not the named addressee, you should not
> disseminate, distribute or copy this email. Please notify the sender
> immediately by email if you have received this email by mistake and delete
> this email from your system. Email transmission cannot be guaranteed to be
> secure or error-free, as information could be intercepted, corrupted, lost,
> destroyed, arrive late, incomplete, or contain viruses. The sender,
> therefore, does not accept liability for any errors or omissions in the
> contents of this message which may arise as a result of email transmission.
> If verification is required, please request a hard-copy version.*
>
--
*Jawad Hassan*
Software Engineer
*Emblem Technologies (Pvt) Ltd*
*Uzair Pte Ltd, Singapore*
Skype: jawad@emblemtechnologies.com
LinkedIn <http://www.linkedin.com/company/897097?trk=tyah> |
Twitter<https://twitter.com/emblemtech>
| Facebook <https://www.facebook.com/emblem.technologies>
*This message contains confidential information and is intended only for
the individual named. If you are not the named addressee, you should not
disseminate, distribute or copy this email. Please notify the sender
immediately by email if you have received this email by mistake and delete
this email from your system. Email transmission cannot be guaranteed to be
secure or error-free, as information could be intercepted, corrupted, lost,
destroyed, arrive late, incomplete, or contain viruses. The sender,
therefore, does not accept liability for any errors or omissions in the
contents of this message which may arise as a result of email transmission.
If verification is required, please request a hard-copy version.*
[-- Attachment #2: Type: text/html, Size: 7789 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: TtyUsb Yocto Issue
2013-10-09 12:44 ` Jawad Hassan
@ 2013-10-09 12:45 ` Jawad Hassan
0 siblings, 0 replies; 6+ messages in thread
From: Jawad Hassan @ 2013-10-09 12:45 UTC (permalink / raw)
To: Paul Eggleton; +Cc: yocto, Muhammad Uzair Arshad
[-- Attachment #1: Type: text/plain, Size: 5413 bytes --]
Correction device_table
On Wed, Oct 9, 2013 at 5:44 AM, Jawad Hassan
<jawad@emblemtechnologies.com>wrote:
> PS. /etc/device_list does show a ttyUSB entry
>
>
> On Wed, Oct 9, 2013 at 5:36 AM, Jawad Hassan <jawad@emblemtechnologies.com
> > wrote:
>
>> Hi Paul,
>>
>> Thanks for your reply, but we're not seeing any ttyUSB* entries in the
>> /dev folder, the board is this one here:
>> http://boundarydevices.com/products/nitrogen6_lite/
>>
>> Which should have at least one port available for connection.
>>
>> But unfortunately we aren't seeing this device node. What should be our
>> way forward with this?
>>
>> Thanks in advance!
>>
>>
>> On Tue, Oct 8, 2013 at 9:04 AM, Paul Eggleton <
>> paul.eggleton@linux.intel.com> wrote:
>>
>>> Hi Jawad,
>>>
>>> On Tuesday 08 October 2013 06:43:18 Jawad Hassan wrote:
>>> > We're trying to access the USB serial port using rxtx on a java
>>> application
>>> > on Yocto. The problem is that we're unable to list out any ports on the
>>> > Nitrogen Lite board, we think this could be a permissions issue, if
>>> anyone
>>> > has been able to do this or any resources that can help us in getting
>>> this
>>> > done.
>>>
>>> It's hard to say for sure without further details, but assuming the
>>> device
>>> nodes actually exist in /dev and it's a typical device permissions issue
>>> there
>>> are two options:
>>>
>>> 1) Look at the /dev/ttyUSB* device nodes that exist and see if there is
>>> already a group assigned with write access; if so you just need to
>>> ensure the
>>> user you are running as is a member of that group.
>>>
>>> 2) Create a udev rule to set the device permissions correctly. This
>>> would be a
>>> matter of creating a recipe to install an extra file to
>>> /etc/udev/rules.d that
>>> assigned the desired permissions. There are lots of HOWTOs out there on
>>> the
>>> web for this, e.g.:
>>>
>>>
>>> http://sourceforge.net/apps/mediawiki/gizmod/index.php?title=HOWTO_-_Setting_Input_Device_Permissions_-_Creating_a_udev_Rule
>>>
>>> Cheers,
>>> Paul
>>>
>>> --
>>>
>>> Paul Eggleton
>>> Intel Open Source Technology Centre
>>>
>>
>>
>>
>> --
>> *Jawad Hassan*
>> Software Engineer
>> *Emblem Technologies (Pvt) Ltd*
>> *Uzair Pte Ltd, Singapore*
>> Skype: jawad@emblemtechnologies.com
>>
>> LinkedIn <http://www.linkedin.com/company/897097?trk=tyah> | Twitter<https://twitter.com/emblemtech>
>> | Facebook <https://www.facebook.com/emblem.technologies>
>>
>> *This message contains confidential information and is intended only for
>> the individual named. If you are not the named addressee, you should not
>> disseminate, distribute or copy this email. Please notify the sender
>> immediately by email if you have received this email by mistake and delete
>> this email from your system. Email transmission cannot be guaranteed to be
>> secure or error-free, as information could be intercepted, corrupted, lost,
>> destroyed, arrive late, incomplete, or contain viruses. The sender,
>> therefore, does not accept liability for any errors or omissions in the
>> contents of this message which may arise as a result of email transmission.
>> If verification is required, please request a hard-copy version.*
>>
>
>
>
> --
> *Jawad Hassan*
> Software Engineer
> *Emblem Technologies (Pvt) Ltd*
> *Uzair Pte Ltd, Singapore*
> Skype: jawad@emblemtechnologies.com
>
> LinkedIn <http://www.linkedin.com/company/897097?trk=tyah> | Twitter<https://twitter.com/emblemtech>
> | Facebook <https://www.facebook.com/emblem.technologies>
>
> *This message contains confidential information and is intended only for
> the individual named. If you are not the named addressee, you should not
> disseminate, distribute or copy this email. Please notify the sender
> immediately by email if you have received this email by mistake and delete
> this email from your system. Email transmission cannot be guaranteed to be
> secure or error-free, as information could be intercepted, corrupted, lost,
> destroyed, arrive late, incomplete, or contain viruses. The sender,
> therefore, does not accept liability for any errors or omissions in the
> contents of this message which may arise as a result of email transmission.
> If verification is required, please request a hard-copy version.*
>
--
*Jawad Hassan*
Software Engineer
*Emblem Technologies (Pvt) Ltd*
*Uzair Pte Ltd, Singapore*
Skype: jawad@emblemtechnologies.com
LinkedIn <http://www.linkedin.com/company/897097?trk=tyah> |
Twitter<https://twitter.com/emblemtech>
| Facebook <https://www.facebook.com/emblem.technologies>
*This message contains confidential information and is intended only for
the individual named. If you are not the named addressee, you should not
disseminate, distribute or copy this email. Please notify the sender
immediately by email if you have received this email by mistake and delete
this email from your system. Email transmission cannot be guaranteed to be
secure or error-free, as information could be intercepted, corrupted, lost,
destroyed, arrive late, incomplete, or contain viruses. The sender,
therefore, does not accept liability for any errors or omissions in the
contents of this message which may arise as a result of email transmission.
If verification is required, please request a hard-copy version.*
[-- Attachment #2: Type: text/html, Size: 10620 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: TtyUsb Yocto Issue
2013-10-09 12:36 ` Jawad Hassan
2013-10-09 12:44 ` Jawad Hassan
@ 2013-10-09 13:07 ` Paul Eggleton
1 sibling, 0 replies; 6+ messages in thread
From: Paul Eggleton @ 2013-10-09 13:07 UTC (permalink / raw)
To: Jawad Hassan; +Cc: yocto, Muhammad Uzair Arshad
On Wednesday 09 October 2013 05:36:37 Jawad Hassan wrote:
> Thanks for your reply, but we're not seeing any ttyUSB* entries in the /dev
> folder, the board is this one here:
> http://boundarydevices.com/products/nitrogen6_lite/
I have no personal experience with this board I'm afraid.
> Which should have at least one port available for connection.
>
> But unfortunately we aren't seeing this device node. What should be our way
> forward with this?
I would assume either the kernel is not configured to enable the driver for
these devices, or udev is not configured to create the appropriate device
nodes.
I think perhaps the best thing would be to talk to someone who has worked on
the support for this specific hardware. You might try asking about this on the
meta-fsl-arm list.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-10-09 13:07 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-08 13:43 TtyUsb Yocto Issue Jawad Hassan
2013-10-08 16:04 ` Paul Eggleton
2013-10-09 12:36 ` Jawad Hassan
2013-10-09 12:44 ` Jawad Hassan
2013-10-09 12:45 ` Jawad Hassan
2013-10-09 13:07 ` Paul Eggleton
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.