Feed for discussion OSMeta in project QNX Operating System.
http://community.qnx.com/sf/discussion/do/listTopics/projects.core_os/discussion.metawiki
Posts for OSMetapost122193: Setting password for SSH User
http://community.qnx.com/sf/go/post122193
Currently we have root account without password, and we are using that account for SSH connection. We need to set password and make it disabled when the password entered incorrectly 3 times.
To set a password for root user, I have tried passwd command, but it raises always "System Error", I have changed the "passwd" commands rights to include 's' privilege. But it did not solve the problem.
What should we do to set password for a user?Mücahit Arduç2023-04-01T11:00:16Zpost122137: Re: What's going on with the QNX 7.1 trial?
http://community.qnx.com/sf/go/post122137
The same thing happened to me also.... and I never got the license.
A couple of years ago I wanted to showcase QNX to the "powers that be", but couldn't get a license, because I already evaluated it... So QNX was not even considered for my project. QNX make it especially hard for us to bring them business! It must be a Blackberry effect!Ilian Tzankov2023-02-15T11:06:42Zpost122134: Re: Not able to install QNX Software Center
http://community.qnx.com/sf/go/post122134
Your proxy is not configured in QSC
Please check this http://www.qnx.com/developers/docs/qsc/technotes/topic/about.html
Or docs about how to configure proxy or contact qnx customer supportElena Laskavaia2023-02-06T15:16:36Zpost122133: Re: Not able to install QNX Software Center
http://community.qnx.com/sf/go/post122133
Hello Martin,
Thank you for your reply.
Here are my answers.
Are you able to ping www.qnx.com?
Yes, I am able to ping www.qnx.com. Infact I am able to login to https://www.qnx.com/account/login.html with my credentials
What version of QNX Software Center(QSC) are you using right now?
I am trying to install QNX Software Center 2.0 Build 202209011607 - Linux Hosts
I was working with qnx-setup-1.7-202103252036-linux.run before and the installation was successful. Now I have removed 1.7 and trying to install 2.0
On QSC, can you go to Window -> Preferences -> Proxy Connections? What do you have set for Proxy type?
Attached is the screenshot for the current settings.
Can you try clicking Test Connection?
I did try test connection. I was getting the below pop up.
Unable to connect to https://www.qnx.com/account/login.html
What is your myQNX username?
vineeth.john@external.stellantis.com
Regards,
Vineeth JohnVineeth John2023-02-03T14:16:16Zpost122132: Re: Not able to install QNX Software Center
http://community.qnx.com/sf/go/post122132
Hello Vineeth,
Are you able to ping www.qnx.com?
What version of QNX Software Center(QSC) are you using right now?
On QSC, can you go to Window -> Preferences -> Proxy Connections? What do you have set for Proxy type? Can you try clicking Test Connection?
What is your myQNX username?
Regards,
MartinMartin Domingo2023-02-03T12:31:27Zpost122131: Not able to install QNX Software Center
http://community.qnx.com/sf/go/post122131
Facing issue while installing QNX software center. Following is the log and attached the screenshot of the issue.
Anyone faced the same issue and resolved? Any hint to resolvethe issue is appreciated.
chmod a+x qnx-setup-2.0-202209011607-linux.run
./qnx-setup-2.0-202209011607-linux.run
2023-02-03 06:39:26 INFO com.qnx.swupdate.log.JdkLoggingConfigurer - log config system property not set (set -Djava.util.logging.config.file=/path/to/logging.properties' to override default log config)
2023-02-03 06:39:26 INFO com.qnx.swupdate.log.JdkLoggingConfigurer - log config file override not present (create '/home/kpit/qnx/qnxsoftwarecenter/configuration/qnxsoftwarecenter.logging.properties' to override default log config)
2023-02-03 06:39:26 INFO com.qnx.swupdate.log.JdkLoggingConfigurer - configuring logging with default settings
2023-02-03 06:39:26 INFO com.qnx.swupdate.log.JdkLoggingConfigurer - using log pattern: /home/kpit/.qnx/swupdate/qnxsoftwarecenter-%g.log
2023-02-03 06:39:26 INFO com.qnx.swupdate.log.LogActivator - ### logging system initialized ###
os.arch=amd64
os.name=Linux
os.version=5.15.0-58-generic
osgi.configuration.area=file:/home/kpit/qnx/qnxsoftwarecenter/configuration/
osgi.install.area=file:/home/kpit/qnx/qnxsoftwarecenter/
osgi.instance.area=file:/home/kpit/.qnx/swupdate/
platform log file=/home/kpit/.qnx/swupdate/.metadata/.log
logger pattern=/home/kpit/.qnx/swupdate/qnxsoftwarecenter-%g.log
2023-02-03 06:39:26 INFO com.qnx.swupdate.core.SwUpdateCoreActivator - configuring default proxy
2023-02-03 06:39:26 INFO com.qnx.swupdate.core.SwUpdateCoreActivator - configuring default auth
2023-02-03 06:39:27 FINE com.qnx.swupdate.common.http.client4.HttpClient4Provider - authenticator set to TwoPhaseAuthenticator [qnxAuthClient=com.qnx.swupdate.common.http.client4.auth.ExternalAuthClient@64030b91, swupdateAuthClient=SwupdateUserAuthClient [loginURI=http://notset/login], credentialProvider={MYQNX=com.qnx.swupdate.core.credentials.CredentialProviderRegistryAuthenticationCredentialProvider@77a281fc}]
2023-02-03 06:39:27 INFO com.qnx.swupdate.core.p2.CoreP2Activator - setting active profile to null
2023-02-03 06:39:27 INFO com.qnx.swupdate.app.Application - QNX Software Center version: 2.0:v202209011607
2023-02-03 06:39:27 INFO com.qnx.swupdate.app.Application - starting UI
2023-02-03 06:39:27 INFO com.qnx.swupdate.app.Application - layout did not change 6
2023-02-03 06:39:28 INFO com.qnx.swupdate.core.activation.QSCHeartbeatClient - License heartbeats are enabled (automatically)
2023-02-03 06:39:28 FINE com.qnx.swupdate.common.util.SignedFileReader - Reading and verifying signed data from file /home/kpit/.qnx/license/ownership
2023-02-03 06:39:28 FINE com.qnx.swupdate.common.license.HeartbeatFileSigning - Reading signature data from file /home/kpit/.qnx/license/ownership.signature
2023-02-03 06:39:28 SEVERE com.qnx.swupdate.common.util.Try - Error: java.security.SignatureException: java.nio.file.NoSuchFileException: /home/kpit/.qnx/license/ownership.signature
2023-02-03 06:39:28 WARNING com.qnx.swupdate.common.license.LicenseOwnership - Clearing license ownership data because of errors
2023-02-03 06:39:29 FINE org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default
2023-02-03 06:39:29 FINE org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context
2023-02-03 06:39:29 FINE org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://www.qnx.com:443][total available: 0; route allocated: 0 of 5; total allocated: 0 of 10]
2023-02-03 06:39:29 FINE org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {s}->https://www.qnx.com:443][total available: 0; route allocated: 1 of 5; total allocated: 1 of 10]
2023-02-03 06:39:29 FINE org.apache.http.impl.execchain.MainClientExec - Opening connection {s}->https://www.qnx.com:443
2023-02-03 06:39:29 FINE org.apache.http.impl.conn.DefaultHttpClientConnectionOperator - Connecting to www.qnx.com/209.226.137.53:443
2023-02-03 06:39:29 FINE com.qnx.swupdate.common.http.client4.SocksConnectionSocketFactory - connecting through regular socket Socket[unconnected] with host:https://www.qnx.com:443 to remote address www.qnx.com/209.226.137.53:443
2023-02-03 06:39:29 FINE org.apache.http.conn.ssl.SSLConnectionSocketFactory - Connecting socket to www.qnx.com/209.226.137.53:443 with timeout 300000
2023-02-03 06:39:29 FINE com.qnx.swupdate.core.p2.MirrorJob - Run mirroring shouldMirrorRemote=true
2023-02-03 06:39:29 INFO com.qnx.swupdate.common.util.StopWatchTracerCommon - starting phase mirror
2023-02-03 06:39:29 INFO com.qnx.swupdate.common.util.StopWatchTracerCommon - starting mirror-phase-total
2023-02-03 06:39:29 FINE org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default
2023-02-03 06:39:29 FINE org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context
2023-02-03 06:39:29 FINE com.qnx.swupdate.app.HttpRequestLogger - > GET www.qnx.com /swcenter/api/1/info
2023-02-03 06:39:29 FINE org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://www.qnx.com:443][total available: 0; route allocated: 1 of 5; total allocated: 1 of 10]
2023-02-03 06:39:29 FINE org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 1][route: {s}->https://www.qnx.com:443][total available: 0; route allocated: 2 of 5; total allocated: 2 of 10]
2023-02-03 06:39:29 FINE org.apache.http.impl.execchain.MainClientExec - Opening connection {s}->https://www.qnx.com:443
2023-02-03 06:39:29 FINE org.apache.http.impl.conn.DefaultHttpClientConnectionOperator - Connecting to www.qnx.com/209.226.137.53:443
2023-02-03 06:41:22 INFO com.qnx.swupdate.common.util.StopWatchTracerCommon - starting updateFileMapping
2023-02-03 06:41:22 INFO com.qnx.swupdate.common.util.StopWatchTracerCommon - timing updateFileMapping took 1 ms
2023-02-03 06:41:38 FINE com.qnx.swupdate.common.http.client4.SocksConnectionSocketFactory - connecting through regular socket Socket[unconnected] with host:https://www.qnx.com:443 to remote address www.qnx.com/209.226.137.53:443
2023-02-03 06:41:38 FINE org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: Shutdown connection
2023-02-03 06:41:38 FINE org.apache.http.conn.ssl.SSLConnectionSocketFactory - Connecting socket to www.qnx.com/209.226.137.53:443 with timeout 300000
2023-02-03 06:41:38 FINE org.apache.http.impl.execchain.MainClientExec - Connection discarded
2023-02-03 06:41:38 FINE org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {s}->https://www.qnx.com:443][total available: 0; route allocated: 1 of 5; total allocated: 1 of 10]
2023-02-03 06:41:38 FINE com.qnx.swupdate.app.HttpRequestLogger - < error /swcenter/api/1/licenseKeys/ www.qnx.com (129670 ms) <Connect to www.qnx.com:443 [www.qnx.com/209.226.137.53] failed: Connection timed out (Connection timed out)>
2023-02-03 06:41:38 FINE com.qnx.swupdate.common.http.SwDeploy - org.apache.http.conn.HttpHostConnectException: Connect to www.qnx.com:443 [www.qnx.com/209.226.137.53] failed: Connection timed out (Connection timed out)
2023-02-03 06:41:38 SEVERE com.qnx.swupdate.core - Cannot connect to www.qnx.com. Check your proxy settings or try again later.
java.rmi.ConnectException: Cannot connect to www.qnx.com. Check your proxy settings or try again later.
at com.qnx.swupdate.common.http.SwDeploy.doGetResponse(SwDeploy.java:3085)
at com.qnx.swupdate.common.http.SwDeploy.doGetResponse(SwDeploy.java:3069)
at com.qnx.swupdate.common.http.SwDeploy.doGetString(SwDeploy.java:3041)
at com.qnx.swupdate.common.http.SwDeploy.getLicenseKeys(SwDeploy.java:2315)
at com.qnx.swupdate.core.activation.LicenseEntryProvider.getLicenseEntries(LicenseEntryProvider.java:64)
at com.qnx.swupdate.core.activation.GlobalLicenseEntryProvider.refresh(GlobalLicenseEntryProvider.java:45)
at com.qnx.swupdate.core.activation.GlobalLicenseEntryProvider.getLicenseEntries(GlobalLicenseEntryProvider.java:37)
at com.qnx.swupdate.ui.p2.parts.WelcomePagePart.updateLicenseStatus(WelcomePagePart.java:405)
at com.qnx.swupdate.ui.p2.parts.WelcomePagePart.doRefreshWelcome(WelcomePagePart.java:390)
at com.qnx.swupdate.ui.p2.parts.WelcomePagePart.lambda$2(WelcomePagePart.java:380)
at com.qnx.swupdate.ui.p2.actions.ShutdownAwareJob.runModal(ShutdownAwareJob.java:67)
at com.qnx.swupdate.ui.p2.actions.ShutdownAwareJob.run(ShutdownAwareJob.java:78)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
2023-02-03 06:41:38 SEVERE com.qnx.swupdate.core.SwUpdateCoreActivator - Cannot connect to www.qnx.com. Check your proxy settings or try again later.
java.rmi.ConnectException: Cannot connect to www.qnx.com. Check your proxy settings or try again later.
at com.qnx.swupdate.common.http.SwDeploy.doGetResponse(SwDeploy.java:3085)
at com.qnx.swupdate.common.http.SwDeploy.doGetResponse(SwDeploy.java:3069)
at com.qnx.swupdate.common.http.SwDeploy.doGetString(SwDeploy.java:3041)
at com.qnx.swupdate.common.http.SwDeploy.getLicenseKeys(SwDeploy.java:2315)
at com.qnx.swupdate.core.activation.LicenseEntryProvider.getLicenseEntries(LicenseEntryProvider.java:64)
at com.qnx.swupdate.core.activation.GlobalLicenseEntryProvider.refresh(GlobalLicenseEntryProvider.java:45)
at com.qnx.swupdate.core.activation.GlobalLicenseEntryProvider.getLicenseEntries(GlobalLicenseEntryProvider.java:37)
at com.qnx.swupdate.ui.p2.parts.WelcomePagePart.updateLicenseStatus(WelcomePagePart.java:405)
at com.qnx.swupdate.ui.p2.parts.WelcomePagePart.doRefreshWelcome(WelcomePagePart.java:390)
at com.qnx.swupdate.ui.p2.parts.WelcomePagePart.lambda$2(WelcomePagePart.java:380)
at com.qnx.swupdate.ui.p2.actions.ShutdownAwareJob.runModal(ShutdownAwareJob.java:67)
at com.qnx.swupdate.ui.p2.actions.ShutdownAwareJob.run(ShutdownAwareJob.java:78)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
2023-02-03 06:43:49 FINE org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-1: Shutdown connection
2023-02-03 06:43:49 FINE org.apache.http.impl.execchain.MainClientExec - Connection discarded
2023-02-03 06:43:49 FINE org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 1][route: {s}->https://www.qnx.com:443][total available: 0; route allocated: 0 of 5; total allocated: 0 of 10]
2023-02-03 06:43:49 FINE com.qnx.swupdate.app.HttpRequestLogger - < error /swcenter/api/1/info www.qnx.com (260674 ms) <Connect to www.qnx.com:443 [www.qnx.com/209.226.137.53] failed: Connection timed out (Connection timed out)>
2023-02-03 06:43:49 FINE com.qnx.swupdate.common.http.SwDeploy - org.apache.http.conn.HttpHostConnectException: Connect to www.qnx.com:443 [www.qnx.com/209.226.137.53] failed: Connection timed out (Connection timed out)
2023-02-03 06:43:49 FINE com.qnx.swupdate.core.p2.MirrorJob - Done mirroring
2023-02-03 06:43:49 INFO com.qnx.swupdate.common.util.StopWatchTracerCommon - timing mirror-phase-total took 260681 ms
2023-02-03 06:43:49 INFO com.qnx.swupdate.common.util.StopWatchTracerCommon - timing mirror-phase-total took 260681 msVineeth John2023-02-03T11:37:54Zpost122129: Re: QNX7 Installation failure
http://community.qnx.com/sf/go/post122129
How was the issue resolved?Vineeth John2023-02-03T06:12:33Zpost122020: How to configure password policies
http://community.qnx.com/sf/go/post122020
Hello,
in the SDP7.0 documentation of the 'passwd' tool it is written, that
"Depending on the password rules that the system administrator has set, passwd may require that you enter a password of a certain length or one that contains certain elements (such as a combination of letters, numbers, and punctuation) [...]"
How can I configure such password rules?
The only thing to be found in the documentation is the file "/etc/default/passwd", where I can set NOPASSWORDOK, STRICTPASSWORD and QNXCRYPT. But these parameters are by far not enough to achieve the rules mentioned in the passwd documentation. How can this be achieved?
Regards,
Michael.Michael Kurt2022-12-09T07:08:23Zpost121955: Re: What's going on with the QNX 7.1 trial?
http://community.qnx.com/sf/go/post121955
Hi Allan,
I've contacted sales and am following up internally to ensure that you get your evaluation license as soon as possible. My apologies for the delay.
KevinKevin Kunka2022-10-12T15:44:23Zpost121954: What's going on with the QNX 7.1 trial?
http://community.qnx.com/sf/go/post121954
I applied for the trial several weeks ago and finally got a reply message on Sept 30 stating that I should "allow up to two business days for receipt of your license keys".
Two weeks down the track and I've heard nothing. This doesn't look good since our business is likely to be hesitant about spending the huge amount of money for developer licences to a company that appears to value support that poorly.Allan Chandler(deleted)2022-10-12T01:04:24Zpost121927: Regarding the login profiles not invoked
http://community.qnx.com/sf/go/post121927
Hi, I am using the QNX for our project. Actually I downloaded the QNX from QNX Software Center and Flashing the OS into
memory card. In the profile generation build file, I did some additions
in /etc/profile file, I added one echo statement and changed the PATH variables depending on the target.
in /root/.profile file I added the ENV for setting the path of .kshrc file with echo statement and also executing the
script.
After flashing this configuration, I put the SD card into target and turn on. While it is booting, It actually goes the
"Non-login shell (sh)".So only /etc/profle executes and that acho prints on terminal [ according to the non login shell
this is correct ]
When I try to root login, that time also etc/profile executes and that echo printed. After this, according the "login
shell policy" it automatically calls the /root/.profile and .kshrc file. But /root/.prifile not executed automatically
and only /etc/profile executed.
Can you help me for how to solve this this issue? or Is there any other modifications are needed for that automatic call?HARI KRISHNAN G(deleted)2022-09-21T04:22:31Zpost121926: Regarding the login profiles not invoked
http://community.qnx.com/sf/go/post121926
Hi, I am using the QNX for our project. Actually I downloaded the QNX from QNX Software Center and Flashing the OS into
memory card. In the profile generation build file, I did some additions
in /etc/profile file, I added one echo statement and changed the PATH variables depending on the target.
in /root/.profile file I added the ENV for setting the path of .kshrc file with echo statement and also executing the
script.
After flashing this configuration, I put the SD card into target and turn on. While it is booting, It actually goes the
"Non-login shell (sh)".So only /etc/profle executes and that acho prints on terminal [ according to the non login shell
this is correct ]
When I try to root login, that time also etc/profile executes and that echo printed. After this, according the "login
shell policy" it automatically calls the /root/.profile and .kshrc file. But /root/.prifile not executed automatically
and only /etc/profile executed.
Can you help me for how to solve this this issue? or Is there any other modifications are needed for that automatic call
?HARI KRISHNAN G(deleted)2022-09-21T04:20:22Zpost121831: Re: mq_timedreceive_monotonic changed return value after applying 4844 patch
http://community.qnx.com/sf/go/post121831
Hi,
Thanks for replying, It seems that we use mqueue.
Regardsomar bunni2022-06-20T15:09:47Zpost121828: Re: mq_timedreceive_monotonic changed return value after applying 4844 patch
http://community.qnx.com/sf/go/post121828
Hello Omar,
are you using the "mqueue" or the "mq" server?
Kind regards,
Thomas HauptThomas Haupt2022-06-17T12:01:26Zpost121827: Re: QNX SDP 7.1 Download failed
http://community.qnx.com/sf/go/post121827
Hi, has anyone had any luck here?
I'm stuck with the exact same problem!Shrinivas Deshpande2022-06-16T08:15:27Zpost121808: mq_timedreceive_monotonic changed return value after applying 4844 patch
http://community.qnx.com/sf/go/post121808
I have integrated QNX patch 4844 into our QNX 650SP1 and I am facing a change in behaviour
of the mq library call "mq_timedreceive_monotonic", can you please help me to understand the change history of the mq library or why would it change in patch 4844?
Its important to note that:
-The queue was created without setting the non blocking flag.
-The previous return was EINTR and after applying the patch the return is EAGAIN.
-Timeout is set when calling mq_timedreceive_monotonic.omar bunni2022-05-26T11:03:32Zpost121646: Looking for car models using QNX
http://community.qnx.com/sf/go/post121646
Where can one find a list of all make and models of cars that use QNX?
Thanks!Hank Nussbacher(deleted)2021-10-28T14:37:11Zpost121465: Re: Terminal emulator for Screen
http://community.qnx.com/sf/go/post121465
I actually wanted to avoid Qt, but that will probably be the best option for a ready-made solution.
Thank You for the hint.
Michael.Michael Kurt2021-06-21T11:32:41Zpost121462: Hello everyone / Question about nto hosted GCC toolchain
http://community.qnx.com/sf/go/post121462
Hi everyone,
i just joined to this Project (and to some others, but approval process takes long time it seems).
About me: i am a mechanical engineer, interested in operating systems. I am involved in the Haiku project since day-0, and i am a member of HaikuPorts team which is responisble for porting new sw to Haiku and maintaining them (i have updated the GCC toolchain to 5.3 then to 11.1, added support for gfortran, maintaining sci-libs, ported blender and countless other tools and libs)
So i have read the adventurous jurney of Elad here: https://membarrier.wordpress.com/2017/04/12/qnx-7-desktop/ about making the QNX desktop reality again. I knew QNX back then as Photon was still supported, but lately i became more and more interested in QNX, and started to think about replicating his work.
I already have QNX7.1 eval license (thanks Thomas!) and started to mess a bit with it. I took the toolchain sources from foundry27 and tried to build an nto hosted one, but it fails to build each and every time (sorry, can't quote the error message right now). I took the configure invocation from the official SDP (gcc -v output) Have anybody else tried to build an nto hosted toolchain lately?
Thank You!
(Dear admins, please approve my signups at the other projects too, thanks!)Zoltan Mizsei2021-06-18T10:10:25Zpost121454: Re: Terminal emulator for Screen
http://community.qnx.com/sf/go/post121454
The first thing that comes to my mind is to look up Qt samples for a console application and run that in full screen mode.
-AlAlbrecht Uhlmann2021-06-17T07:04:40Zpost121453: Re: QNX7.0: io-hid USB keyboard issue
http://community.qnx.com/sf/go/post121453
Hello Michael,
we have been using Baytrail-based system with 7.0 x86_64 and use the local USB keyboard a lot for some years now - and never noticed this issue. I could reproduce it immediately. Very weird. No idea what the cause may be.
The devh-drivers are closed source, so I can't really investigate. I am not even sure if the problem is at the io-hid level. Maybe the USB stack emits the events. If I do "hidview -a" in a terminal session I get a continuous stream of reports:
root@CX5140p in /root # hidview -a
Device Address : 0
Vendor : 0x04f3
Product : 0x0103
Version : r2.00
Usage : Keyboard
Device Address : 1
Vendor : 0x04f3
Product : 0x0103
Version : r2.00
Usage : Consumer Control
Report Data :
00 : 00 00 00 00 00 00 00 00
00 : 00 00 00 00 00 00 00 00
00 : 00 00 00 00 00 00 00 00
00 : 00 00 00 00 00 00 00 00
00 : 00 00 00 00 00 00 00 00
00 : 00 00 00 00 00 00 00 00
About four such lines appear per second. If I press the # sign key, I get some lines like this:
00 : 00 00 00 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 00 00 00 00 00 00
00 : 00 00 00 00 00 00 00 00
And then hidview terminates, but the command prompt doesn't come back.
???
-AlAlbrecht Uhlmann2021-06-17T07:03:27Zpost121452: Terminal emulator for Screen
http://community.qnx.com/sf/go/post121452
Hello,
for QNX7, is there a terminal emulator available that runs in the Screen environment?
I need to run a console application, that uses screen sizes larger than VGA 80x25.
(Or is there something available for other graphical environments supported by QNX7?)
(Or is there a way to get 'devc-con-hid' switch to other resolutions / screen modes?)
Thanks for the help,
Michael.Michael Kurt2021-06-16T12:50:22Zpost121451: QNX7.0: io-hid USB keyboard issue
http://community.qnx.com/sf/go/post121451
Hello there,
in my boot image (QNX 7.0), I'm running 'io-hid -d usb'.
The keyboard works fine, with one exception: The number sign key '#'.
This key is displayed twice on screen: When pressing the key and when releasing the key.
This also happens, when the SHIFT key is held down and '#' is pressed.
Did anyone notice this before? Is there a way to fix this?
I tried several (german layout) USB keyboards with always the same result.
pci-tool lists two USB controllers: Intel BayTrail SoC USB, EHCI and XHCI (vid/did = 8086/0f34 and 8086/0f35)
Thanks in advance,
Michael.Michael Kurt2021-06-16T12:39:24Zpost121348: Re: Ubuntu Libraries
http://community.qnx.com/sf/go/post121348
I assume you compiled under Ubuntu *for* Linux. In that case, no. Even though QNX uses ELF containers, the content is not compatible. What exactly it is I do not know. Maybe QNX guys can comment on this. But my experience is that you need to rebuild the shared object with the QNX cross compiler taken from the QNX SDK installation.
Regards,
AlAlbrecht Uhlmann2021-03-29T18:02:18Zpost121347: Ubuntu Libraries
http://community.qnx.com/sf/go/post121347
Hello,
I would like to know, whether a library (binary files basesd on c code) created on an Ubuntu System would be usable/suitable for Systems with QNX operating system.
Thank you.Saed Sadat2021-03-28T15:17:27Zpost121322: Re: PCIe interrupt problem with QNX 7. IRQ 0
http://community.qnx.com/sf/go/post121322
Glad to hear you have worked around the interrupt issue.
I still encourage you to try and obtain an updated BSP and PCI HW module going forward.
I personally have no experience with the NI libraries so will not be able to help there.
I also suggest that you may want to look into posting to one of the more hardware focused forums for possible help with thatMichael Kisel2021-03-09T12:47:33Zpost121321: Re: PCIe interrupt problem with QNX 7. IRQ 0
http://community.qnx.com/sf/go/post121321
As you suggested, using trial and error in software, I found it uses IRQ 18. So now I get the board working by "forcing" the IRQ in software, or setting the pci device hw config file and using the pci_device_read_irq. Thanks very much for your help.
Now I'm onto the next PCIe board which results in system crash on initialization in QNX 7. That's also not our code. I'm referring to the National Instruments NIMHDDK library, if you're interested.Lee Fuller2021-03-09T01:47:25Zpost121320: Re: PCIe interrupt problem with QNX 7. IRQ 0
http://community.qnx.com/sf/go/post121320
Ok, I was looking for an explicit message that the chipset was unknown but that does not appear. However the register contents for PIRQB is not correct so you probably also need a newer startup. We have added newer chipset support for both startup and the x86 PCI HW modules since the 7.0 release and since this is a newer platform, its probably best that you get the latest BSP. You will need to contact your local QNX representative to get that initiated.
In the meantime however, you can try and use a HW config file to get the correct INTPIN assigned. See the [interrupts] section of /etc/system/config/pci/pci_hw-template.cfg for details on how to do that. IO-APIC based IRQs for PCI typically range between 16 and 23 inclusive. If you have the ability to pass an IRQ to your software, then you can iterate over these values until you find the correct one and then add it to the config file (or just continue to pass it as a driver arg). If not, its a bit more laborous and you will have to try the different values by rebuilding the IFS each time as the HW config file must be set before the pci-server is started and the pci-server cannot be easily re-started on an x86 platform (you would need to stop every other driver using it)Michael Kisel2021-03-08T12:52:55Zpost121319: Re: PCIe interrupt problem with QNX 7. IRQ 0
http://community.qnx.com/sf/go/post121319
Hi Michael. Thanks for your reply.
Attached is slog2info output.
Other devices are working. Eg. Ethernet and video card.
There is another card that the software uses, but I'm unable to check the functionality, because that is dependent upon successful initialization of everything. I can't remove it and run the software at the moment, because it's existence is checked before initialization of the rest. I can see about changing that when I have some time.Lee Fuller2021-03-08T02:24:31Zpost121318: Re: PCIe interrupt problem with QNX 7. IRQ 0
http://community.qnx.com/sf/go/post121318
I suspect that the chipset for your board is not supported by the version of HW module you have, probably v2.0
Please post the slog2info for the pci-server after boot (slog2info -b pci_server) and for when your program starts up so we can have a look.
Please also confirm whether or not other devices on the platform are working or not.Michael Kisel2021-03-07T13:48:32Zpost121317: PCIe interrupt problem with QNX 7. IRQ 0
http://community.qnx.com/sf/go/post121317
I have a problem with some code I've ported from QNX 6.6 to QNX 7 for an x86 system, dealing with a PCIe device.
The motherboard (Gigabyte Z390 UD) is quite new, so I expect it should be no issue.
I can set BIOS settings for "other PCI devices" to "UEFI" or "Legacy" and have the same results.
It appears the program in QNX 7 never receives interrupts from the card. It does in QNX 6.6 on the same machine.
Both cases do not enable MSI capability. I start the pci-server with no parameters.
I've been researching QNX 7 pci-server stuff, but have come to no solution.
Environment variables include PCI_HW_MODULE=/lib/dll/pci/pci_hw-Intel_x86.so
I have not set PCI_HW_CONFIG_FILE
The code for QNX 7 to get IRQ is:
pci_err_t r;
pci_irq_t irq;
int_t nirq = 1;
r = pci_device_read_irq(m_hPciDevice, &nirq, &irq);
if (r == PCI_ERR_OK)
{
slog2f(NULL, 0, SLOG2_INFO, "IRQ count %d", nirq);
if (nirq == 1)
slog2f(NULL, 0, SLOG2_INFO, "IRQ value %d", irq);
}
This shows some QNX 7 slog output from program and pci_server during trying to setup the card.
It shows that it can find the card, because the addresses found are correct.
But the IRQ reported is zero.
Read device addresses
Address 0x4b50c000, BAR# 0, size 0, type 16384
Address 0x4b500000, BAR# 0, size 1, type 32768
Address 0x4b508000, BAR# 0, size 2, type 16384
using pci_device_read_irq
IRQ count 1
IRQ value 0
Map memory index 2, addr 0x0, mem 7fc6e1c
Map memory index 3, addr 0x2, mem 7fc6e24
Map memory index 0, addr 0x1, mem 1e029394
pci_server.3..0 pci_dbg 0 DEBUG,1,0,3 [3:3]: intpin_to_pirq(): Determine B1:D0:F0 PIRQ ...
pci_server.3..0 pci_dbg 0 DEBUG,1,0,3 [3:3]: intpin_to_pirq(): B1:D0:F0 swizzle intpin A --> intpin A
pci_server.3..0 pci_dbg 0 DEBUG,1,0,3 [3:3]: intpin_to_pirq(): B0:D1:F0 swizzle intpin A --> intpin B
pci_server.3..0 pci_dbg 0 DEBUG,1,0,3 [3:3]: intpin_to_pirq(): B1:D0:F0 on PIRQ B
pci_server.3..0 pci_dbg 0 DEBUG,1,1,3 [3:3]: B1:D0:F0 INTA --> PIRQB
pci_server.3..0 pci_dbg 0 DEBUG,1,1,3 [3:3]: PIRQB --> IRQ 0
pci_server.3 pci_log 0 INFO ,1,2,3 [3:3]: hw_alloc_irq(B1:D0:F0, 1, 0x0, 1, 806b130) OK [PCI_ERR_OK]
------------------------------------------------------------------------------------------------------
QNX 7 pci-tool query output:
B001:D00:F00 @ idx 0 in slot 1 of chassis 0
vid/did: 1bee/001e
<vendor id - unknown>, <device id - unknown>
class/subclass/reg: ff/00/00
Unknown Class code
revid: 1
cmd/status registers: 7/10
Capabilities: 05 (MSI) --> 01 (PMI) --> 10 (PCIe) --> *
Address Space list - 3 assigned
[0] MEM, addr=4b40c000, size=4000, align: 4000, attr: 32bit ENABLED
[1] MEM, addr=4b400000, size=8000, align: 8000, attr: 32bit ENABLED
[2] MEM, addr=4b408000, size=4000, align: 4000, attr: 32bit ENABLED
Interrupt list - 0 assigned
hdrType: 0
ssvid: 1bee ?
ssid: 001e
PCIe Capability Details
PCIe port Type: [0] (EP) Endpoint Device
PCIe Extended Capabilities: 02 (VC-MFVC v1) --> *
PMI Capability Details
PMI supported states: D0 D3hot D3cold *
PMI current state: D0
PME's supported from states: *
PME's are disabled
**** Note Interrupt list 0 assigned. Is this a pci-server issue??
You can see in the pci query in QNX 6.6 (below), it has interrupt pin A, and interrupt line 11.
------------------------------------------------------------------------------------------------------
QNX 6 pci query output:
Class = Unknown (Unknown)
Vendor ID = 1beeh, Unknown
Device ID = 1eh, Unknown Unknown
PCI index = 0h
Class Codes = ff0000h
Revision ID = 1h
Bus number = 1
Device number = 0
Function num = 0
Status Reg = 10h
Command Reg = 7h
I/O space access enabled
Memory space access enabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Error Response disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
PCI INTx enabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 10h un-cacheable
BAR - 0 [Mem] = 4b40c000h 32bit length 16384 enabled
BAR - 1 [Mem] = 4b400000h 32bit length 32768 enabled
BAR - 2 [Mem] = 4b408000h 32bit length 16384 enabled
Subsystem Vendor ID = 1beeh
Subsystem ID = 1eh
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = INT A
Interrupt line = 11
CPU Interrupt = bh
Capabilities Pointer = 50h
Capability ID = 5h - Message Signaled Interrupts
Capabilities = 80h - 0h
Capability ID = 1h - Power Management
Capabilities = 3h - 0h
Capability ID = 10h - PCI Express
Capabilities = 1h - 12c8001hLee Fuller2021-03-06T03:02:45Zpost121260: QNX 7 build file problem regarding USB
http://community.qnx.com/sf/go/post121260
I have some problem in the attached build file for QNX 7, relating to USB driver or library. There are 2 places I've marked "FIXME, with the runtime error message produced there".
In the IDE I generate the IFS successfully from this build file, but have the runtime errors upon booting:
"ldd:FATAL: Could not load library libusbdi.so.2"
"io_hid_dlopen, devh-usb.so DLL Error No valid library found"
I successfully boot and interface USB devices with a separate generic QNX 7 installation on the same machine. So I can only assume I have a mistake or something missing in the custom build file attached.Lee Fuller2021-02-15T06:15:54Zpost121222: Re: Cannot get bootable QNX 7 USB to boot
http://community.qnx.com/sf/go/post121222
Update: Using a different USB, I have a situation where I get to a message on screen "Missing operatV2.0system". So maybe the problem until now is that the first USB was not recognizable when formatted for QNX. (It was usable with Windows).
Anyway, I'm still stuck.
I believe the machines now try to boot from the USB, but cannot. I've done some reading about IPLs. Documentation is obvious for IPL use with partitioned drives. But what about USB drives? The build file only generates the IFS...Lee Fuller2021-02-05T03:11:32Zpost121203: Cannot get bootable QNX 7 USB to boot
http://community.qnx.com/sf/go/post121203
I have not been able to get a supposed bootable QNX 7 USB to actually boot on various x86 64 bit machines. I've tried the generic image from the BSP download, and others that I've built from the IDE.
On some machines it just boots into the BIOS settings. On one it hangs with a blank screen (not even a cursor). Most are Gigabyte motherboards. For example, Z390 UD, GA-H170M-D3H, GA-H270-Gaming 3.
It does not appear to get to the startup script.
I've tried variation in BIOS settings on the machines. The main one being support for legacy USB. With that enabled, I can often see the USB in the boot override selection, but it does not boot.
In most cases I have minimal hardware plugged in.
I can successfully boot using a USB loaded with a QNX 6.6 image.
Any ideas?Lee Fuller2021-02-03T04:06:31Zpost121178: Re: QNX SDP 7.1 Download failed
http://community.qnx.com/sf/go/post121178
Same issue. Did you find a fix?Kenenth Sroka(deleted)2021-01-26T20:25:39Zpost121158: Re: QNX SDP 7.1 Download failed
http://community.qnx.com/sf/go/post121158
Hello Jason
I met the same issue too. Solved it?Jay Park(deleted)2021-01-05T08:55:32Zpost121153: Re: Passing a pointer from the main function to the ioRead and ioDevctl functions of a ResourceManager
http://community.qnx.com/sf/go/post121153
Yes. You can store data on a per-device basis (e.g. one chunk for data for /dev/ser1 and a different chunk for /dev/ser2) and this is done by extending the devices iofunc_attr_t attribute structure. You can also store data on a per-open basis (i.e. a different chunk of data for each client that calls open()) and this is done by extending the iofunc_ocb_t open control block. See the docs:
QNX Software Development Platform > Programming > Writing a Resource Manager > POSIX-Layer Data Structures > Extending the OCB and attribute structures
Those docs also talk about extending the mount structure, which would be at a higher level yet.
-SteveSteven Dufresne2020-12-15T13:59:42Zpost121152: Passing a pointer from the main function to the ioRead and ioDevctl functions of a ResourceManager
http://community.qnx.com/sf/go/post121152
Is it possible that, when I create the ResourceManager, to specify a pointer which the ResourceManager will provide it further as argument to the ioRead and ioDevctl functions I registered as callbacks?
I create a pointer to some data in the main function and I would like to avoid sharing it as global/static variable to those functions.
Thank you,
GabrielGabriel Andone(deleted)2020-12-15T13:49:30Zpost121116: QNX SDP 7.1 Download failed
http://community.qnx.com/sf/go/post121116
Hi ,
License of our company can download SDP7.1 and QOS 2.2
But QSC can't found package when import offline patchset Exp_SDP710_Hyp_Patchset_ADAS_ES6_20201117.qpkg.
Please see the following error message.
Cannot complete the install because one or more required items could not be found.
Software being installed: Exp_SDP710_Hyp_Patchset_ADAS_ES6_20201117.qpkg 1.0.0.0 (ADAS_Release.Exp_SDP710_Hyp_Patchset_ADAS_ES6_20201117.qpkg 1.0.0.0)
Missing requirement for filter properties ~= $0: Exp_SDP710_Hyp_Patchset_ADAS_ES6_20201117.qpkg 1.0.0.0 (ADAS_Release.Exp_SDP710_Hyp_Patchset_ADAS_ES6_20201117.qpkg 1.0.0.0) requires 'root-package; com.qnx.qnx710.target.hypervisor.vdev.devel [0.0.2.00273T202009021448E,0.0.2.00273T202009021448E]' but it could not be found
Also we need the following specified version of tool to use Qualcomm QDrive 2.5 ES6.1.
By the ES6.1 release note, it seems not only qpkg but also some binaries should be gotten from QNX.
1. Download Base SA8195AU toolchain using QSC/patchset, please refer section 4.3.2.1
4.3.2.1 Import QNX Patchset
QPKG Name Exp_SDP710_Hyp_Patchset_ADAS_ES6_20201117.qpkg
QPKG Location <target-root>/apps/qnx_ap/qnx_bins/prebuilt_QNX710FIXME/patchset
NOTE : Few packages in qpkg requires access to specific foundry locations. Do contact your QNX
representative for access.
4.3.2.2 Additional files
Below files/packages should be fetched from QNX by mentioning respective version/build details and must be
replaced in <SDP710 Installation Absolute Path>
<SDP710 Installation Absolute Path>/host/linux/x86_64/usr/bin/secpolcompile
QNX_BUILDID=(GNU)eb5726ad58703d313b60a5809a66c654d9eeadf1
NAME=secpolcompile
DATE=2020-09-23EDT-14:23:55
<SDP710 Installation Absolute Path>/target/qnx7/aarch64le/bin/secpolpush
QNX_BUILDID=(GNU)de8f8d1c3ab8920e82e7b52a4e5d1042
NAME=secpolpush
DESCRIPTION=Utility for pushing a security policy to procnto
DATE=2020/09/17-08:53:36-EDT
STATE=Desktop
HOST=C02KF4UDFFT1
USER=rmaclean
<SDP710 Installation Absolute Path>/target/qnx7/aarch64le/usr/bin/secpolcompile
QNX_BUILDID=(GNU)19b6920b6f17ecbe542602167a05bf65
NAME=secpolcompile
DESCRIPTION=Utility for compiling security policy
DATE=2020/06/13-20:25:28-EDT
STATE=stable
HOST=sdp710-node1
USER=builder
VERSION=7.1.0
TAGID=710-SDP-472
PACKAGE=com.qnx.qnx710.target.security.secpol/0.0.2.00472T202006132107
<SDP710 Installation Absolute Path>/target/qnx7/aarch64le/lib/dll/pci/pci_server-buscfg-generic.so.2.3 already have on SDP7.0, not sure if the same on SDP7.1
VERSION : pci_server-buscfg-generic.so.2.3 for SDP710
QNX_BUILDID=(GNU)d812dc9c1af137b40026ddd612aa9b39
NAME=pci_server-buscfg-generic.so
DESCRIPTION=PCI Server Generic Bus Configuration Module
DATE=2020/09/29-08:05:19-EDT
STATE=Desktop
HOST=mk3
USER=mkisel
Thank you.Jason Lee2020-11-24T01:47:25Zpost121104: Re: How to terminate an interrupt handling thread
http://community.qnx.com/sf/go/post121104
Hi Al,
You were right. It was missing the registration to a signal handler. Now, it works as expected.
Thank you for your prompt support!
Regards,
GabrielGabriel Andone(deleted)2020-11-16T16:00:08Zpost121103: Re: How to terminate an interrupt handling thread
http://community.qnx.com/sf/go/post121103
Hi Gabriel,
the default for any signal handling is process termination. I would try to have this thread register a signal handler for SIGINT. It can be empty, o just print a message.
If my understanding is correct, then when you send SIGINT particularly to this thread, it would first execute that signal handler and then InterruptWait returns with EINTR.
But maybe there are other options. What are you actually trying to achieve? Just want to make sure that your thread is in InterruptWait? In that case, you may get that information via DCMD to your own as entry in the proc filesystem (same method that pidin uses).
If you give more infos to your use case maybe we can advise different idea.
Regards,
AlAlbrecht Uhlmann2020-11-16T13:36:19Zpost121102: How to terminate an interrupt handling thread
http://community.qnx.com/sf/go/post121102
I'm looking for a method to terminate a interrupt handling thread that is blocked in the InterruptWait_r function.
The Interrupt thread I created based on the int_thread from http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=%2Fcom.qnx.doc.neutrino_lib_ref%2Fi%2Finterruptwait.html
In the documentation of InterruptWait_r it's written that it returns EINTR if the call was interrupted by a signal.
I tried to trigger that return by sending to that thread a SIGINT with pthread_kill function, but the effect was that the entire program was terminated.
Could you help with ideas how to terminate that thread?
Thank you,
GabrielGabriel Andone(deleted)2020-11-16T13:18:53Zpost121084: Re: Use HAM with Sockets (Simple Client Server Programs )
http://community.qnx.com/sf/go/post121084
Hi Saurav Suman! It sounds like a good project, can you please give more details? I'd like to try and if I could find a way I can help you. I've got Montenegrin citizenship https://tranio.com/montenegro/passport/ recently and built my server there. Hope the distance will not cause a problem.William Blackburn(deleted)2020-11-10T16:36:58Zpost121082: Re: installation fail SDP7.1 QNX Software Center
http://community.qnx.com/sf/go/post121082
It looks like a problem with your server I thinkWilliam Blackburn(deleted)2020-11-10T16:31:09Zpost120965: Use HAM with Sockets (Simple Client Server Programs )
http://community.qnx.com/sf/go/post120965
I am trying to write a Program : where Client is reading Numbers from Server.
I want to attach my Client program to HAM and if my program restarts
: It should be connected to the same socket connection(as -earlier) and resume from the same
checkpoint point.
I am new at this. Can anyone help me what would be the set of API's to call to achieve this ? or this is even possible
or not ?
Thank youSaurav Suman(deleted)2020-09-30T08:35:24Zpost120958: Re: installation fail SDP7.1 QNX Software Center
http://community.qnx.com/sf/go/post120958
Appreciate for your quick answer.
But it doesn't work in my environment.
below is my work log. I deleted ~/.qnx folder with root account, and move to user account.
then run qnx-setup-xxxxxxxx.run.
but it occurs error too.
can you give me advise that why it doesn't work?
root@vcuentry-ubuntu:/home/vcuentry/install_qsc# cd ~/.qnx
bash: cd: /root/.qnx: No such file or directory
root@vcuentry-ubuntu:/home/vcuentry/install_qsc# su - vcuentry
vcuentry@vcuentry-ubuntu:~$ cd /home/vcuentry/install_qsc/
vcuentry@vcuentry-ubuntu:~/install_qsc$ ls
qnx-setup-1.6-202009011705-linux.run
vcuentry@vcuentry-ubuntu:~/install_qsc$ chmod -x qnx-setup-1.6-202009011705-linux.run
vcuentry@vcuentry-ubuntu:~/install_qsc$ ls -al
total 100600
drwxrwxr-x 2 vcuentry vcuentry 4096 Sep 28 00:07 .
drwxr-xr-x 31 vcuentry vcuentry 4096 Sep 28 00:06 ..
-rw-rw-r-- 1 vcuentry vcuentry 103002987 Sep 28 00:07 qnx-setup-1.6-202009011705-linux.run
vcuentry@vcuentry-ubuntu:~/install_qsc$ chmod +x qnx-setup-1.6-202009011705-linux.run
vcuentry@vcuentry-ubuntu:~/install_qsc$ ls -al
total 100600
drwxrwxr-x 2 vcuentry vcuentry 4096 Sep 28 00:07 .
drwxr-xr-x 31 vcuentry vcuentry 4096 Sep 28 00:06 ..
-rwxrwxr-x 1 vcuentry vcuentry 103002987 Sep 28 00:07 qnx-setup-1.6-202009011705-linux.run
vcuentry@vcuentry-ubuntu:~/install_qsc$ ./qnx-setup-1.6-202009011705-linux.run
Verifying archive integrity... All good.
Uncompressing QNX Software Center 1.6 100%
Please type y to accept, n otherwise: y
Current directory: /home/vcuentry/install_qsc
Specify installation path (default: /home/vcuentry/qnx):
Installing QNX Software Center into /home/vcuentry/qnx/qnxsoftwarecenter
User configuration is stored in /home/vcuentry/.qnx
Launching QNX Software Center using /home/vcuentry/qnx/qnxsoftwarecenter/qnxsoftwarecenter
vcuentry@vcuentry-ubuntu:~/install_qsc$ Qnxsoftwarecenter:
An error has occurred. See the log file
/home/vcuentry/.qnx/swupdate/.metadata/.log.
##########below is /.metadata/.log.#############
vcuentry@vcuentry-ubuntu:~/install_qsc$ cat /home/vcuentry/.qnx/swupdate/.metadata/.log
!SESSION 2020-09-28 00:04:08.458 -----------------------------------------------
eclipse.buildId=1.6.2
java.version=1.8.0_265
java.vendor=AdoptOpenJDK
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -perspective com.qnx.swupdate.app.perspective.startup
Command-line arguments: -os linux -ws gtk -arch x86_64 -perspective com.qnx.swupdate.app.perspective.startup
!ENTRY org.apache.felix.scr 4 0 2020-09-28 00:04:08.779
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.apache.felix.scr [2]
Unresolved requirement: Import-Package: org.apache.felix.service.command; version="[1.0.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.osgi.service.cm; version="[1.6.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.osgi.service.component; version="[1.4.0,1.5.0)"
at org.eclipse.osgi.container.Module.start(Module.java:457)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$1.run(ModuleContainer.java:1820)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$2$1.execute(EquinoxContainerAdaptor.java:150)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1813)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1770)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1735)
at org.eclipse.osgi.container.SystemModule.startWorker(SystemModule.java:269)
at org.eclipse.osgi.container.Module.doStart(Module.java:598)
at org.eclipse.osgi.container.Module.start(Module.java:462)
at org.eclipse.osgi.container.SystemModule.start(SystemModule.java:193)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:439)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:458)
at org.eclipse.osgi.launch.Equinox.start(Equinox.java:120)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:338)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:251)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
at org.eclipse.equinox.launcher.Main.main(Main.java:1441)
!ENTRY com.qnx.swupdate.log.LogActivator 1 0 2020-09-28 00:04:09.573
!MESSAGE ### logging system initialized ###
os.arch=amd64
os.name=Linux
os.version=4.15.0-118-generic
osgi.configuration.area=file:/home/vcuentry/qnx/qnxsoftwarecenter/configuration/
osgi.install.area=file:/home/vcuentry/qnx/qnxsoftwarecenter/
osgi.instance.area=file:/home/vcuentry/.qnx/swupdate/
platform log file=/home/vcuentry/.qnx/swupdate/.metadata/.log
logger pattern=/home/vcuentry/.qnx/swupdate/qnxsoftwarecenter-%g.log
!ENTRY org.eclipse.osgi 4 0 2020-09-28 00:04:10.066
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: org.eclipse.swt.internal.gtk.OS._cachejvmptr()V
at org.eclipse.swt.internal.gtk.OS._cachejvmptr(Native Method)
at org.eclipse.swt.internal.gtk.OS.cachejvmptr(OS.java:492)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:91)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:209)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:155)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:161)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:739)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
at com.qnx.swupdate.app.Application.startQSCApplication(Application.java:56)
at com.qnx.swupdate.core.QSCApplication.start(QSCApplication.java:55)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
at org.eclipse.equinox.launcher.Main.main(Main.java:1441)
!SESSION 2020-09-28 00:19:52.912 -----------------------------------------------
eclipse.buildId=1.6.2
java.version=1.8.0_265
java.vendor=AdoptOpenJDK
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -perspective com.qnx.swupdate.app.perspective.startup
Command-line arguments: -os linux -ws gtk -arch x86_64 -perspective com.qnx.swupdate.app.perspective.startup
!ENTRY org.apache.felix.scr 4 0 2020-09-28 00:19:53.247
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.apache.felix.scr [2]
Unresolved requirement: Import-Package: org.apache.felix.service.command; version="[1.0.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.osgi.service.cm; version="[1.6.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.osgi.service.component; version="[1.4.0,1.5.0)"
at org.eclipse.osgi.container.Module.start(Module.java:457)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$1.run(ModuleContainer.java:1820)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$2$1.execute(EquinoxContainerAdaptor.java:150)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1813)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1770)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1735)
at org.eclipse.osgi.container.SystemModule.startWorker(SystemModule.java:269)
at org.eclipse.osgi.container.Module.doStart(Module.java:598)
at org.eclipse.osgi.container.Module.start(Module.java:462)
at org.eclipse.osgi.container.SystemModule.start(SystemModule.java:193)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:439)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:458)
at org.eclipse.osgi.launch.Equinox.start(Equinox.java:120)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:338)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:251)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
at org.eclipse.equinox.launcher.Main.main(Main.java:1441)
!ENTRY com.qnx.swupdate.log.LogActivator 1 0 2020-09-28 00:19:54.110
!MESSAGE ### logging system initialized ###
os.arch=amd64
os.name=Linux
os.version=4.15.0-118-generic
osgi.configuration.area=file:/home/vcuentry/qnx/qnxsoftwarecenter/configuration/
osgi.install.area=file:/home/vcuentry/qnx/qnxsoftwarecenter/
osgi.instance.area=file:/home/vcuentry/.qnx/swupdate/
platform log file=/home/vcuentry/.qnx/swupdate/.metadata/.log
logger pattern=/home/vcuentry/.qnx/swupdate/qnxsoftwarecenter-%g.log
!ENTRY org.eclipse.osgi 4 0 2020-09-28 00:19:54.595
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: org.eclipse.swt.internal.gtk.OS._cachejvmptr()V
at org.eclipse.swt.internal.gtk.OS._cachejvmptr(Native Method)
at org.eclipse.swt.internal.gtk.OS.cachejvmptr(OS.java:492)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:91)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:209)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:155)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:161)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:739)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
at com.qnx.swupdate.app.Application.startQSCApplication(Application.java:56)
at com.qnx.swupdate.core.QSCApplication.start(QSCApplication.java:55)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
at org.eclipse.equinox.launcher.Main.main(Main.java:1441)
thank you.donghwan kim(deleted)2020-09-28T00:26:19Zpost120953: Re: installation fail SDP7.1 QNX Software Center
http://community.qnx.com/sf/go/post120953
Installing qsc as root can cause various permissions problem. Please re-install as normal user (i.e. in home directory) and try again
You have to remove ~/.qnx directory first as it may already have wrong permissions set by root userElena Laskavaia2020-09-25T16:17:31Zpost120951: installation fail SDP7.1 QNX Software Center
http://community.qnx.com/sf/go/post120951
Hi, I'm trying to install QNX Software Center in my linux server machine with SDP7.1 License.
So, I download "QNX Software Center 1.6.2 Build 202009011705 - Linux Hosts" file at below link
http://www.qnx.com/download/feature.html?programid=53630
and send it to my linux server, and give it running permission with 'chmod +x '.
after that, press 'q' and 'y' for accept license agreements, and install at default path.
Please type y to accept, n otherwise: y
Current directory: /home/vcuentry
Specify installation path (default: /root/qnx):
but install was fail with below error message
Installing QNX Software Center into /root/qnx/qnxsoftwarecenter
User configuration is stored in /root/.qnx
Launching QNX Software Center using /root/qnx/qnxsoftwarecenter/qnxsoftwarecenter
Signal caught, cleaning up
root@{Server name} - {My PC name} :/home/{My user name}# Qnxsoftwarecenter:
An error has occurred. See the log file
/root/.qnx/swupdate/.metadata/.log.
so i looked up /.metadata/.log.
there were more logs than below. but I think this logs are contains error message.(These logs are at the beginning.)
root@{My PC name} :/home/{My user name}# cat /root/.qnx/swupdate/.metadata/.log
!SESSION 2020-09-24 08:08:44.911 -----------------------------------------------
eclipse.buildId=1.6.2
java.version=1.8.0_265
java.vendor=AdoptOpenJDK
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -perspective com.qnx.swupdate.app.perspective.startup
Command-line arguments: -os linux -ws gtk -arch x86_64 -perspective com.qnx.swupdate.app.perspective.startup
!ENTRY org.apache.felix.scr 4 0 2020-09-24 08:08:45.223
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.apache.felix.scr [2]
Unresolved requirement: Import-Package: org.apache.felix.service.command; version="[1.0.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.osgi.service.cm; version="[1.6.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.osgi.service.component; version="[1.4.0,1.5.0)"
at org.eclipse.osgi.container.Module.start(Module.java:457)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$1.run(ModuleContainer.java:1820)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$2$1.execute(EquinoxContainerAdaptor.java:150)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1813)
would you help me with resolve of this phenomenon?donghwan kim(deleted)2020-09-25T07:24:20Zpost120794: Is it possible to run QNX neutrino RTOS on microkernal-based VMM with native / full virtualisation?
http://community.qnx.com/sf/go/post120794
Is it possible to run QNX neutrino RTOS on microkernel-based VMM with native / full virtualisation (such as CodeZero, Sel4,
PikOS)—? I read Linux and android support full virtualization and can run it on any VM without any modification
That kernel. Is the same for QNX possible? https://askmeoffers.com/ Or does QNX only support virtualisation for para? Do you have any references?
QNX Virtualisation Documentation?
I knew that QNX comes with its own hypervisor. But, on other hypervisors, I try.
I'm both new to QNX and to virtualisation. I apologize if the question is not framed correctly or is unclear.madhu singh2020-06-20T13:41:03Zpost120739: Re: QNX Drive Copy
http://community.qnx.com/sf/go/post120739
Not sure whether I should act in this forum at all. I'm absolutely not a developer. However, at times, I will try out something. In this case: My car is an Audi A5 build 2015. It has an QNX based so called MMI installed. This MMI (version 3GP of 3G+) runs QNX from a HDD. What I would like to do is replace the HDD by a SSD and at the same time make a backup of the HDD. So I need to make a diskcopy of the OEM HDD. I have downloaded the VMware QNX_Eval_RT QNX Neutrino version 6.4.1. No problem there, it works OK. My question is: Does this eval copy include everthing necessary to fdisk/format de new SSD drive and make a full diskcopy. If not, what alternatives do I have.
Regards, BertBert Haasjes(deleted)2020-06-08T16:44:38Zpost120575: fsevmgr
http://community.qnx.com/sf/go/post120575
I want to use the fsevmgr process in the QNX x86_64 VM target from the Software Center.
How can I start/embed the fsevmgr in my VM image?
I have code that does
struct stat myStat;
if(::stat("/dev/fsnotify", &myStat) != 0)
{
::system("fsevmgr");
}
and
if (::access("/dev/fsnotify", F_OK) < 0)
{
::system("fsevmgr");
}
and I get an error -
sh: fsevmgr: cannot execute - No such file or directory
Thanks.Duncan Perrett(deleted)2020-05-04T17:14:49Zpost120479: Re: QNX Drive Copy
http://community.qnx.com/sf/go/post120479
Sorry just realized that's a new feature on QNX710, which is still prerelease.
________________________________
From: Bradley Peggram <community-noreply@qnx.com>
Sent: Friday, April 17, 2020 9:01:50 AM
To: osmeta-core_os
Subject: Re: QNX Drive Copy
Hi John,
thanks for the response. I tried to follow your link but it doesn't work. I also googled mkqnx6fs and I can't find any documentation talking about the -x. Could you update your link please if that explains it?
Thanks,
Bradley.
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post120478
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comJohn Kearney2020-04-17T07:33:15Zpost120478: Re: QNX Drive Copy
http://community.qnx.com/sf/go/post120478
Hi John,
thanks for the response. I tried to follow your link but it doesn't work. I also googled mkqnx6fs and I can't find any documentation talking about the -x. Could you update your link please if that explains it?
Thanks,
Bradley.Bradley Peggram2020-04-17T07:01:50Zpost120477: Re: QNX Drive Copy
http://community.qnx.com/sf/go/post120477
Depending on what you want to do, you would probably be better of using
http://docserver.bts.rim.net/mainlinewebsite/index.html#com.qnx.doc.neutrino.utilities/topic/m/mkqnx6fs.html
mkqnx6fs with the -x option.
Cheers
John
________________________________
From: Bradley Peggram <community-noreply@qnx.com>
Sent: Friday, April 17, 2020 5:32:08 AM
To: osmeta-core_os
Subject: QNX Drive Copy
Hi there,
has anyone updated the old QNX4 script QNX_drive_copy to work under QNX6...specifically 6.3.0.
I want a faster way to clone a 16GB drive than either dd or cp /dev/hd# /dev/hd#
I had a go at modifying it but am still struggling to get it to work. I can get it to fdisk and mount but not copy correctly.
Any help would be great.
Thanks.
Details of script below and attached.
---
Readme.txt
Begin
File: QNX_drive_copy.gz
Description: Copies one drive to another.
Keywords: duplicate hard drive disk copy image format master
Version: 1.0
Entered-date: 12-Jan-1998
Author: Maurice Cinquini <cinquini@alamar-usa.com> of Philips DVS.
Ported-by:
Original-site:
Copying-policy: This program is public domain
Supplemental:
This program creates logical copies of hard drives, as opposed to "dd"
image copies. Therefore it does not rely on matching drive geometeries,
does not copy unused parts of the drive and the copy is defragmented.
This script assumes the drives use Logical Block Addressing (LBA) mode,
and are only one partition, and that partition is QNX of course.
Licenses and "bootability is preserved. A log of is saved in /tmp/log.
Only tested with QNX 4.24, single partition, LBA, IDE drives only.
The complete procedure to copy drives involves the following steps:
1. Insert the master (source) and slave (blank) hard drives.
Depending of the machine setup, slave drives usually needs to
have a jumper removed.
2. Boot QNX in a safe mode where there are no programs running that
may asynchronously write to the hard drive during the following
procedure. If you can't guarantee this, you should use a QNX
boot floppy and mount the hard drive manually.
3. Login as root.
4. Verify the Master drive has the kernel built to force LBA option
during boot up. Check /boot/build/hard.?? has the line
"Fsys.eide fsys -h 64,63", (i.e, sectors,heads for LBA mode.)
5. Run this script.
End
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post120474
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comJohn Kearney2020-04-17T05:49:53Zpost120474: QNX Drive Copy
http://community.qnx.com/sf/go/post120474
Hi there,
has anyone updated the old QNX4 script QNX_drive_copy to work under QNX6...specifically 6.3.0.
I want a faster way to clone a 16GB drive than either dd or cp /dev/hd# /dev/hd#
I had a go at modifying it but am still struggling to get it to work. I can get it to fdisk and mount but not copy correctly.
Any help would be great.
Thanks.
Details of script below and attached.
---
Readme.txt
Begin
File: QNX_drive_copy.gz
Description: Copies one drive to another.
Keywords: duplicate hard drive disk copy image format master
Version: 1.0
Entered-date: 12-Jan-1998
Author: Maurice Cinquini <cinquini@alamar-usa.com> of Philips DVS.
Ported-by:
Original-site:
Copying-policy: This program is public domain
Supplemental:
This program creates logical copies of hard drives, as opposed to "dd"
image copies. Therefore it does not rely on matching drive geometeries,
does not copy unused parts of the drive and the copy is defragmented.
This script assumes the drives use Logical Block Addressing (LBA) mode,
and are only one partition, and that partition is QNX of course.
Licenses and "bootability is preserved. A log of is saved in /tmp/log.
Only tested with QNX 4.24, single partition, LBA, IDE drives only.
The complete procedure to copy drives involves the following steps:
1. Insert the master (source) and slave (blank) hard drives.
Depending of the machine setup, slave drives usually needs to
have a jumper removed.
2. Boot QNX in a safe mode where there are no programs running that
may asynchronously write to the hard drive during the following
procedure. If you can't guarantee this, you should use a QNX
boot floppy and mount the hard drive manually.
3. Login as root.
4. Verify the Master drive has the kernel built to force LBA option
during boot up. Check /boot/build/hard.?? has the line
"Fsys.eide fsys -h 64,63", (i.e, sectors,heads for LBA mode.)
5. Run this script.
EndBradley Peggram2020-04-17T03:32:08Zpost120272: Re: QNX 6.6 selection requirements
http://community.qnx.com/sf/go/post120272
Thanks Albrecht Uhlmann
I am a newbie to this OS I like to work on this OS so that I am asking suggestion how to develop this OS in the "3U CompactPCI Intel Core i7 CPC510(https://www.fastwel.com/products/3u-compactpci/cpc510/)" I am unable to collect details regarding this os I can use another system as host to develop the OS and need to implement it in CPC510.Sasikumar E(deleted)2020-02-27T06:49:07Zpost120269: Re: QNX 6.6 selection requirements
http://community.qnx.com/sf/go/post120269
If I understand you correctly, your aim is to host the entire OS in the Flash memory that hosts the BIOS?
There is no standard way of doing this. The standard procedure is that the BIOS looks on AHCI drives for QNX loaders and partitions and launches those.
Is there a specific reason why you do not want to connect a small AHCI device like CFast card to host the OS and the application?
-AlAlbrecht Uhlmann2020-02-26T13:39:34Zpost120268: QNX 6.6 selection requirements
http://community.qnx.com/sf/go/post120268
HI,
I like to work with 3U CompactPCI Intel Core i7 CPC510(https://www.fastwel.com/products/3u-compactpci/cpc510/)
with BSP QNX 6.6, is it okay to use Generic x86 BIOS / APIC for this development board, and in the development board we have only 64MB of FLASH BIOS can the os be implemented with this FLASH BIOS memorySasikumar E(deleted)2020-02-26T05:43:11Zpost120255: How many keyboard layouts does QNX6 and QNX7 support at the same time?
http://community.qnx.com/sf/go/post120255
Good day. Recently I wondered how to configure multiple keyboard layouts on QNX7?
In QNX6.6 the default set English keyboard layout is en_US_101. I managed to set up
the second Russian ru_RU_102 layout as well, adding into graphics.conf in the globals section
records:
input = keyboard
keymap = /usr/share/keyboard/ru_RU_102
Thus, based on the documentation, the default keyboard layout is set. The file ru_RU_102 has been
changed from the standard. As I understand it, was added switching layouts keyboard the combination
Ctrl + Shift (at one time this file was taken from the forum.kpda.ru).
As a result, two keyboard layouts worked – English and Russian. I did not figure it out how to add more
other keyboard layouts. In the trial version of QNX7, it was also succeeded to configure only 2 keyboard
layouts.
Maybe someone knows? How to configure 3 keyboard layouts on QNX 6.6 and QNX7, with the possibility
of their switching?Vova Beliy(deleted)2020-02-13T07:30:58Zpost120190: Re: RE: RE: RE: RE: RE: qnx 4.25 login problem
http://community.qnx.com/sf/go/post120190
You could try also using the following to help:
alias | more <- this will list any known aliases created for root
cat /etc/passwd <- will list all users on the system
cat /etc/config/sysinit <-The /etc/config/sysinit file is a script that starts up the main system services. In order to edit this file, you must log in as root.
looking in /usr/binDon Cook2020-01-28T15:24:45Zpost120129: qnxsoftwarecenter crashes on Ubuntu 18.04
http://community.qnx.com/sf/go/post120129
I'm getting the following error while trying to run qnxsoftwarecenter:
An error occurred while automatically activating bundle com.qnx.swupdate.app (13)
There was also: Error Starting Module
Do you have any idea what could be going wrong?
Here is the stack trace:
!SESSION 2019-12-12 19:54:28.296 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_192
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -perspective com.qnx.swupdate.app.perspective.startup
Command-line arguments: -os linux -ws gtk -arch x86_64 -perspective com.qnx.swu
pdate.app.perspective.startup!ENTRY org.eclipse.osgi 4 0 2019-12-12 19:54:28.839
!MESSAGE An error occurred while automatically activating bundle com.qnx.swupdat
e.app (13).
!STACK 0
org.osgi.framework.BundleException: Error starting module.
at org.eclipse.osgi.container.Module.doStart(Module.java:590)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:
470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass
(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocal
Class(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(Mod
uleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLo
ader.java:345)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(Bundl
eLoader.java:423)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.
java:372)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.
java:364)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleCl
assLoader.java:161)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBu
ndle.java:564)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createEx
ecutableExtension(RegistryStrategyOSGI.java:174)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutable
Extension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecuta
bleExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createE
xecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl
e.java:191)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli
cation(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec
lipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
Caused by: java.lang.ExceptionInInitializerError
at com.qnx.swupdate.app.Activator.<init>(Activator.java:65)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:45)Deron Johnson2019-12-26T23:59:02Zpost120105: Re: qnx sdp6.6, graphics driver am437x, screen lcd cann't be lighten.
http://community.qnx.com/sf/go/post120105
when I input ' screen -c /usr/lib/graphics/am437x/graphics.conf ', it prompted as file attached. But I've already configured the conf file.Guifa Li(deleted)2019-12-12T02:37:17Zpost120100: qnx sdp6.6, graphics driver am437x, screen lcd cann't be lighten.
http://community.qnx.com/sf/go/post120100
My hardware board is Am437x-gp-evm6.6 BSP,my QNX SDP 6.6. I configured the graphics.conf and rewrite an graphics.build file.
(1)After the OS image started, I can not driver the graphics by using 'screen -c usr/lib/graphics/am437x', it prompted 'memory fault', and the screen is not completely dark as document discribed.
(2)when I input 'gles1-gears',it prompted' function succeeded'. But when I reinput the command 'gles1-gears ',it prompted 'command not find', and I found the execute file 'gles1-gears' indeed was deleted from dicrectory 'usr/bin'.
Anyone who can help me solve these two question?
The attached is graphics.config ,build file and LCD screenshots。Guifa Li(deleted)2019-12-10T06:22:25Zpost119696: ethernet over USB on the Beaglebone Black (am335x) 6.6.0 BSP
http://community.qnx.com/sf/go/post119696
Pleas help me
Can I use Ethernet over USB while booting QNX on beagle-bone
regards
DivinDivin Raj P D(deleted)2019-05-06T16:49:14Zpost119573: Re: Generic x86-64 6.6 boot image boots but doesn't respond to USB keyboard
http://community.qnx.com/sf/go/post119573
Did you install QNX® SDP 7.0 Connectivity - PCI HW Module x86 (with Debug Symbols) and QNX® SDP 7.0 OS Services - Core (Path for SDP 7.0)? My USB keyboard was working with the pre-built image, but didn't work when I rebuilt it. After I installed these packages, the USB started working.Robert Mead2019-03-08T15:39:00Zpost119552: Re: Generic x86-64 6.6 boot image boots but doesn't respond to USB keyboard
http://community.qnx.com/sf/go/post119552
Hi Folks:
We have been working with QNX 6.5.0 but would like to transition to 7.0.0. The prebuilt image starts up OK, but when I build the binary from the x-86_64-generic.build file that was sent with the BSP, I still cannot use the keyboard, nor are PCI devices being seen by their drivers.
The CPU we're using is the Intel 3845, mounted on RTD's CML24BT PCI/104-Express cpuModule. The pci_device.list does see both the SATA disk and ethernet interface, but the corresponding daemons (devb-ahci and io-pkt-v6-hc, respectively) cannot see them.
By the way, we're using the BSP_x86_64_br-700_be-700_JBN89 board support package.
Any ideas?
Best regards,
JohnJohn Spring2019-03-01T05:17:03Zpost119542: Is it possible to run QNX neutrino RTOS with native/full virtualization on microkernal based VMM?
http://community.qnx.com/sf/go/post119542
Is it possible to run QNX neutrino RTOS with native/full virtualization on microkernal based VMM (like CodeZero, Sel4, PikOS)? I read Linux and android support full virtualization and it is possible to run them on any VM without modifying the kernel. Does the same possible with QNX? or QNX only supports para virtualization? Is there any reference documentation on QNX virtualization?
I knew QNX provides its own hypervisor. But i am trying on other hypervisors.
I am new to both QNX and virtualization. I apologize if the question is not properly framed or unclear.Dharani kumar Srinivasan(deleted)2019-02-26T13:10:15Zpost119539: Running QNX neutrino RTOS on SPC58ECX (ST Chorus microcontroller)
http://community.qnx.com/sf/go/post119539
hi,
i am trying to run neutrino RTOS on SPC58ECX (ST Chorus microcontroller). It's a 32 bit microcontroller, power architecture, has 384KB on chip SRAM and 4224KB on chip flash. Is this enough for running QNX neutrino? where could i get the IFS for this board? Thank you.Dharani kumar Srinivasan(deleted)2019-02-25T06:29:25Zpost119314: QNX 7 and hogs
http://community.qnx.com/sf/go/post119314
I'm trying to use hogs under QNX 7 and I'm not seeing any meaningful results.
The command I am using is
'hogs -%1 -s1'
to display any process using 1+% CPU and update at once a second.
The output I get from this command is attached. Essentially it shows 8 idle processes each consuming 12% of the CPU (presumably because this is a quad core with hyper threading enabled so QNX sees 8 CPUs).
I've compiled and have Samba running. When I drag/drop a 100 Meg file from Windows to QNX it takes about 8-10 seconds for the file copy to finish. During this entire time hogs doesn't report any other process using any CPU besides the 8 idle processes. However one of the idle processes then reports 4% CPU used leading me to believe 8% (or 2/3 of 1 core) was busy doing the copy.
So my question is, does hogs work under QNX 7 and do I need to start any other process or include any special library or instrumented kernel etc for it to report properly? I've used it without any problems in QNX 4 and QNX 6 so I'm baffled as to why it's not reporting anything.
TIA,
TimTim Sowden(deleted)2018-11-30T18:53:30Zpost119277: How to update x86 target to QNX OS 6.6.0
http://community.qnx.com/sf/go/post119277
Hello,
I have downloaded QNX 6.6.0 SDP. QNX OS 6.5.0 SP1 was installed on our x86 targets. I want to update them to 6.6.0 and I could not find any CD/DVD image for target computers. How can I update them?Serkan Basaran2018-11-08T06:26:41Zpost119171: Re: Generic x86-64 6.6 boot image boots but doesn't respond to USB keyboard
http://community.qnx.com/sf/go/post119171
Hi John,
the compiler error you see may be related to some mismatch between audio patches installed/not installed in your SDP 6.6 installation and the sources in the BSP you are using. Which x86 BSP are you using? Did you install the corresponding *_PATCHES.zip archive as outlined in the documentation?
To workaround this, I think it is not necessary to build the sources. You can just issue "make images", the build would then use the prebuilt binaries, which get copied from "prebuilt" folder to "install" folder automatically.
You could try to work with startup-bios to see if that changes anything. This is what QNX 6.5 is doing by default.
Regards,
AlAlbrecht Uhlmann2018-10-01T09:06:31Zpost119167: Generic x86-64 6.6 boot image boots but doesn't respond to USB keyboard
http://community.qnx.com/sf/go/post119167
Trying to boot the compiled image (ifs-x86-generic.bin) on an RTD CML24BT CPU module (Intel Atom 3845) from a USB drive. The boot appears to go OK; it finishes and I get a prompt (see attached screenshots). But then my USB keyboard isn't being seen.
I did see a Release Note indicating that on some boards it may be necessary to assign an irq and pci index to the ehci controller in the build file. I would do this as a test, but building the image file has been a problem. I get errors on the order of
.../src/hardware/deva/ctrl/intel_hda/hda_dll.c:751:17: error: 'ado_pcm_hw_t {aka struct ado_pcm_hw}' has no member named 'capabilities2'
The RTD board is not one we've used before, but I installed 6.5.0 on it and that works just fine. So I have an installation problem. (Or maybe there's some conflict with the RTD CAN board that's also connected?).
Any suggestions of testing/procedure would be greatly appreciated!John Spring2018-09-29T10:05:50Zpost119102: QNX6 filesystem corruption during tar extraction
http://community.qnx.com/sf/go/post119102
I have a collection of tar (tgz) backup files representing complete system backups of various Neutrino based systems. On a few of the systems, the tar file created causes corruption of the qnx6 file system.
Here's what I do to backup:
Generate the tar file using "tar -czpf" (Excluding system paths like /proc).
To restore:
Insert a new SSD into another QNX system
fdisk and create a primary type 179 partition
mkqnx6fs on the new partition
chkqnx6fs (To ensure no issues)
tar -xvpf to extract
During extraction, files are written, ownership and permissions restore, up to a point. When it hits that point, something goes wrong and suddenly the dirty bit is set and the file systems refuses any additional changes. Large numbers of inodes corrupted etc. chkqnx6fs cannot repair everything and I have to reformat the partition.
I was under the impression that essentially nothing could corrupt a qnx6 partition. Especially not something as benign as tar so I'm at a loss here. Does anyone have any theories?
Thanks,
xl600Robert Jordan(deleted)2018-09-14T19:16:40Zpost118986: LPD printing issue
http://community.qnx.com/sf/go/post118986
Hi all,
i'm trying to print using LPD with a network printer but i can't succeed with it.
I'm using a Tally Dascomm 2600+ printer and i've tried to search on the documentation but i can't manage the
communication between my target and the printer.
Here my printcap file:
rlpt3:\
:lp=rlpt3:\
:rm=10.6.2.210:\
:rp=rlpt3:\
:sd=/usr/spool/output/lpd/rlpt3:mx#0:sh:
i've inserted the printer in my host file and host.lpd file
I can start the LPD daemon and it find the printer but when i try to start everything with "lprc start all" command i
always get this message:
lpd: þ8%Hþ8ÈHø þ2»°þ8%H: Your host localhost.localdomain does not have line printer access
couldn't start daemon
this series of characters is something strange "þ8%Hþ8ÈHø þ2»°þ8%H"
but i can't figure out how to solve it and how to manage a correct communication with the printer.
If someone has some indication on what i'm missing it would be great.
Thanks,
AndreaAndrea Tasca(deleted)2018-07-23T07:36:04Zpost118797: Writing files to SD card partition in QNX sdp 7.0 on iMX6 Nitrogen Board
http://community.qnx.com/sf/go/post118797
Hi,
I have put the qnx-ifs and bootscript file. iMX6 board is able to bootup
using that image. Now i want to write some IFS file to the sd card
partition. How can i do that?. Basically i want 4 partition in sdcard so
that i can write signature and IFS files to different partition . The
partition where qnx-ifs is stored, i want to make that as bootable .
How can i get the partition available in Sd card problematically in QNX?.
Thanks,
CKChethan Kumar(deleted)2018-05-02T04:56:12Zpost118706: Re: QNX7.0 Evaluation License and QNX Software Center
http://community.qnx.com/sf/go/post118706
They have updated the QNX Software Center application several times since then. It has been working off and on for me. Maybe keep an eye out for more SC updates.Tim Graham(deleted)2018-03-28T07:19:09Zpost118704: Re: QNX7 Installation failure
http://community.qnx.com/sf/go/post118704
A quick note for anyone watching this thread - as it turns out there was a proxy filter issue, which Jason was able to troubleshoot on his side.Mike Lemke2018-03-27T13:04:21Zpost118702: Re: QNX7 Installation failure
http://community.qnx.com/sf/go/post118702
Hi Mike,
I have a license that expires until March 2019. Will it matter if someone else downloaded QNX Software Center for me? The way I see it, the problem is that QNX server is blocking my access to the files.
I have attached a screenshot of my license.Jason Buhay(deleted)2018-03-26T12:27:35Zpost118700: Re: QNX7 Installation failure
http://community.qnx.com/sf/go/post118700
Hi Jason,
From what I can tell, someone in your company has provided you with the Software Center client installer (you didn't download it yourself). Please ensure that a license has also been assigned to you by them - it doesn't appear that you have one assigned to you. Have a look through the Software Center installation guide. If you are still stuck, then please get in touch with your QNX support contact where they can better help you.
Thanks
MikeMike Lemke2018-03-23T13:19:51Zpost118699: usblauncher_otg insert/remove operations
http://community.qnx.com/sf/go/post118699
Hello,
On an armv8 architecture.
Running io-usb-otg, then starting ppc and usblauncher_otg.
When I insert a memory stick , usblauncher_otg starts umass driver and mount /fs/usb0 as expected.
When I remove the USB stick /fs/usb0 is unmounted and driver is stopped. (with a strange message : (stopping monitor thread)
but when I re insert the same USB stick. nothing happens (umass driver is not restarted ( and of course /fs/usb0 is not created )
Any help will be appreciated.
PhilippePhilippe ELSKENS(deleted)2018-03-23T09:05:44Zpost118698: Re: QNX7 Installation failure
http://community.qnx.com/sf/go/post118698
I get a 403 error when I access the link through the browser. Which means access is forbidden to it.Jason Buhay(deleted)2018-03-23T01:13:33Zpost118692: Re: QNX7 Installation failure
http://community.qnx.com/sf/go/post118692
It could be that your proxy/firewall is blocking outbound traffic to our file server (or proxy not configured correctly).
To check go to your browser
- logic to myqnx.com with myqnx credentions
- in the same browser navigate to https://www.qnx.com/swcenter/api/1/packages/com.qnx.sdp.host.win.x86_64/7.0.0.SGA201702151847/download
In normal case browser will prompt to download file, you can cancel that since you cannot use that, it was just for test. In case of proxy issues you see
some sort of error. If browser works proxy may not configured correctly in software center itself.
If you cannot resolve the issue please contact your qnx customer support for assistanceElena Laskavaia2018-03-22T13:50:38Zpost118691: QNX7 Installation failure
http://community.qnx.com/sf/go/post118691
I am trying to install QNX 7 from SW Center, but I am always getting an error. It fails to download the artifacts needed for the installation. Here is a snippet of the error:
2018-03-22 15:42:05 FINE org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 12][route: {}->http://support7.qnx.com:80][total kept alive: 3; route allocated: 1 of 5; total allocated: 3 of 10]
2018-03-22 15:42:05 FINE com.qnx.swupdate.app.HttpRequestLogger - <!!! 403 www.qnx.com /swcenter/api/1/packages/com.qnx.sdp.target.utils.valgrind/7.0.0.SGA201702151847/download (1881 ms)
2018-03-22 15:42:05 FINE com.qnx.swupdate.core.ecf.http4.HttpClient4RetrieveFileTransfer - performConnect retrieve resp=403
2018-03-22 15:42:05 SEVERE com.qnx.swupdate.app - Installing Software is done: An error occurred while collecting items to be installed
2018-03-22 15:42:05 INFO com.qnx.swupdate.core.p2.CoreP2Activator - setting active profile to null
2018-03-22 15:42:05 SEVERE org.eclipse.equinox.p2.engine - An error occurred while collecting items to be installed
2018-03-22 15:42:05 SEVERE org.eclipse.equinox.p2.engine - SUBENTRY 1 session context was:(profile=com.qnx.sdp_1, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
2018-03-22 15:42:05 SEVERE org.eclipse.equinox.p2.engine - SUBENTRY 1 Artifact not found: https://www.qnx.com/swcenter/api/1/packages/com.qnx.sdp/7.0.0.SGA201702151847/download.
java.io.FileNotFoundException: https://www.qnx.com/swcenter/api/1/packages/com.qnx.sdp/7.0.0.SGA201702151847/download
at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryStatusHelper.checkFileNotFound(RepositoryStatusHelper.java:297)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.checkException(FileReader.java:480)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:437)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.readInto(FileReader.java:360)
at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:101)
at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:156)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:669)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:591)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:723)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:319)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:288)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:223)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:153)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:707)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifacts(SimpleArtifactRepository.java:778)
at org.eclipse.equinox.internal.p2.engine.DownloadManager.fetch(DownloadManager.java:112)
at org.eclipse.equinox.internal.p2.engine.DownloadManager.start(DownloadManager.java:100)
at org.eclipse.equinox.internal.p2.engine.phases.Collect.completePhase(Collect.java:104)
at org.eclipse.equinox.internal.p2.engine.Phase.postPerform(Phase.java:251)
at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:101)
at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:47)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:75)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
at org.eclipse.equinox.p2.operations.ProvisioningSession.performProvisioningPlan(ProvisioningSession.java:175)
at org.eclipse.equinox.p2.operations.ProfileModificationJob.runModal(ProfileModificationJob.java:79)
at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
2018-03-22 15:42:05 SEVERE org.eclipse.equinox.p2.engine - SUBENTRY 1 Artifact not found: https://www.qnx.com/swcenter/api/1/packages/com.qnx.sdp.host.win.x86_64/7.0.0.SGA201702151847/download.
java.io.FileNotFoundException: https://www.qnx.com/swcenter/api/1/packages/com.qnx.sdp.host.win.x86_64/7.0.0.SGA201702151847/download
at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryStatusHelper.checkFileNotFound(RepositoryStatusHelper.java:297)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.checkException(FileReader.java:480)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:437)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.readInto(FileReader.java:360)
at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:101)
at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:156)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:669)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:591)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:723)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:319)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:288)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:223)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:153)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:707)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifacts(SimpleArtifactRepository.java:778)
at org.eclipse.equinox.internal.p2.engine.DownloadManager.fetch(DownloadManager.java:112)
at org.eclipse.equinox.internal.p2.engine.DownloadManager.start(DownloadManager.java:100)
at org.eclipse.equinox.internal.p2.engine.phases.Collect.completePhase(Collect.java:104)
at org.eclipse.equinox.internal.p2.engine.Phase.postPerform(Phase.java:251)
at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:101)
at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:47)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:75)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
at org.eclipse.equinox.p2.operations.ProvisioningSession.performProvisioningPlan(ProvisioningSession.java:175)
at org.eclipse.equinox.p2.operations.ProfileModificationJob.runModal(ProfileModificationJob.java:79)
at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)Jason Buhay(deleted)2018-03-22T08:25:20Zpost118686: Re: QNX7.0 Evaluation License and QNX Software Center
http://community.qnx.com/sf/go/post118686
I am having this problem now. How was this resolved at your end? Did QNX change their firewall settings to enable you to download the install files?Jason Buhay(deleted)2018-03-21T09:00:04Zpost118509: Re: QNX 6.6 detecting cable connection to PC
http://community.qnx.com/sf/go/post118509
Under QNX 7, there is a second driver devnp-usbnet.so (without the 'd' in the middle of the name!).
http://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.neutrino.utilities/topic/d/devnp-usbnet.so.html
It appears to be a new development, supporting more protocols and obviously switching the protocols automatically, since there is no option "protocol=" anymore.
It does have an option "pnp" which is probably doing what you want.
Is this driver available for SDP 6.6?
Regrads,
AlbrechtAlbrecht Uhlmann2018-02-01T17:10:53Zpost118459: Re: Avahi / GLIB/ Libdbus Port on QNX
http://community.qnx.com/sf/go/post118459
On QNX 7 there is a dbus implementation available, for earlier versions not.
AVAHI is not ported to QNX at all, as far as I'm aware.
Which QNX version are you using?
Regards,
-AlAlbrecht Uhlmann2018-01-24T22:10:32Zpost118395: Re: tinit and QNX 7
http://community.qnx.com/sf/go/post118395
Fixed. It was a minor pathing issue.Tim Sowden(deleted)2018-01-16T19:54:21Zpost118394: tinit and QNX 7
http://community.qnx.com/sf/go/post118394
Does the tinit utility work in QNX 7? I know the photon option obviously doesn't but I was wondering about the rest of it especially the part about restarting programs like login on the consoles.
My etc/ttys file is
con1 "/bin/login -f root" qansi-m on
con2 "/bin/login" qansi-m on
con3 "/bin/login" qansi-m on
con4 "/bin/login" qansi-m on
so I expect an autologin of root on console 1 and logins on consoles 2-4.
What I get is nothing on consoles 1-4. They exist (I can ctrl-alt-(1-5)) but there is no logins or auto logins. All I have is my debug shell on console 5. Pidin reveals tinit is running and I can restart it infinitely but it never properly takes control of con1-4 as it used to do in QNX 6.3.
So does tinit work in QNX 7 or am I doing something wrong / it just doesn't work with devc-con-hid?
Tim
Below is my build script
[code]
[virtual=x86,bios +compress] boot = {
startup-x86 -v
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/proc/boot:/x86/sbin:/x86/usr/sbin:/x86/bin:/x86/usr/bin LD_LIBRARY_PATH=/proc/boot:/lib:/usr/lib:/lib/dll:/lib/dll/pci:/x86/lib:/x86/usr/lib:/x86/lib/dll procnto-smp-instr -v
}
# Start-up script
[+script] startup-script = {
procmgr_symlink ../../proc/boot/libc.so /usr/lib/ldqnx.so.2
display_msg "Advantech Build V1.0"
# Needed for pci-server
slogger2 -s2048k &
waitfor /dev/slog2
# Needed for consoles
pipe
devc-pty &
# Settings env for PCI server and starting PCI server
PCI_HW_MODULE=/lib/dll/pci/pci_hw-Intel_x86.so
PCI_SLOG_MODULE=/lib/dll/pci/pci_slog2.so
PCI_DEBUG_MODULE=/lib/dll/pci/pci_debug2.so
PCI_BASE_VERBOSITY=3
pci-server --aspace-enable
waitfor /dev/pci
# Start the disk driver
devb-ahci cam quiet ahci nports=4 blk automount=hd0t177:/:qnx6 &
waitfor /boot 10
# Starting USB host driver and services for keyboard / mouse
io-usb-otg -n /dev/io-usb/io-usb -d xhci -d ehci -d ohci -d uhci
waitfor /dev/io-usb/io-usb
devb-umass cam pnp &
io-hid -d usb /dev/io-usb/io-usb
waitfor /dev/io-hid/io-hid
# Starting consoles and shells
devc-con-hid -n5
waitfor /dev/con1
waitfor /dev/con2
waitfor /dev/con3
waitfor /dev/con4
waitfor /dev/con5
SYSNAME=nto
TERM=qansi-m
# One temp shell for debugging
reopen /dev/con5
[+session] sh &
tinit &
}
# Components
[data=copy]
libc.so
# PCI
pci-server
libpci.so
[-followlink search=${QNX_TARGET}/${PROCESSOR}] /lib/dll/pci/=lib/dll/pci
# Sata
devb-ahci
io-blk.so
libcam.so
fs-qnx6.so
fs-dos.so
cam-disk.so
cam-cdrom.so
# USB
io-usb-otg
usb
libusbdi.so
libhiddi.so
devu-hcd-ehci.so
devu-hcd-ohci.so
devu-hcd-uhci.so
devu-hcd-xhci.so
devb-umass
# HID
io-hid
devh-usb.so
devh-ps2ser.so
# Console
devc-con
devc-con-hid
# SLogger
slogger2
slog2info
libslog2.so
libslog2parse.so
libtracelog.so
libpps.so
libbacktrace.so
devc-pty
pipe
ksh
# Create virtual links to the Ram drive so temp files go in Ram
[type=link] /usr/lib/ldqnx.so.2 = /proc/boot/libc.so
[type=link] /bin/sh=/proc/boot/ksh
[type=link] /var/run=/dev/shmem
[type=link] /var/db=/dev/shmem
[/code]
TimTim Sowden(deleted)2018-01-16T19:34:34Zpost118384: Re: PAM Issues
http://community.qnx.com/sf/go/post118384
I created softlinks in /usr/lib to the x86 files and it works!
VERY bad code to look in fixed locations (this can be spoofed by mounting something over top of /usr/lib). Even worse is that ldd doesn't even know about those library dependencies so there isn't any reason to even check them.
At least I'm finally able to login!
Thanks for your help,
TimTim Sowden(deleted)2018-01-15T20:08:00Zpost118383: Re: PAM Issues
http://community.qnx.com/sf/go/post118383
PAM will not look in /x86 on the target. Try putting them in /usr/lib and see if that makes a difference.Jeff Baker2018-01-15T19:47:38Zpost118382: Re: PAM Issues
http://community.qnx.com/sf/go/post118382
Usr directory
drwxr-xr-x 2 root root 71240 Jan 12 16:12 lib
My Pam libraries are actually in /x86/usr/lib (that's where I got them from on my Windows Host) and that directory is in the path for libraries because I copied everything from there for the other commands.
-rwxr-xr-x root root pam_* (all PAM files)
What's interesting to me is that technically none of these are needed because if I do a 'ldd /bin/login' it says it only depends on libc.so.4. Other commands like ssh properly show all dependencies. So if the pam_ libraries are required ldd doesn't know about it.
TimTim Sowden(deleted)2018-01-15T19:26:48Zpost118381: Re: PAM Issues
http://community.qnx.com/sf/go/post118381
For completeness, can you also confirm that ownership and permissions of /usr/lib itself and /usr/lib/pam_*?Jeff Baker2018-01-15T19:10:28Zpost118373: Re: PAM Issues
http://community.qnx.com/sf/go/post118373
Here's the file perms
/etc
-rw-rw-rw- 1 root root 4125 Oct 04 20:47 services
-rw-rw-rw- 1 root root 98 Oct 04 20:47 hosts
drwxrwxrwx 3 root root 4096 Oct 04 20:48 system
-rw-rw-rw- 1 root root 401 Oct 04 20:48 ftpusers
-rw-rw-rw- 1 root root 477 Oct 04 20:49 dhclient.conf
-rw------- 1 root root 339 Jan 08 19:18 shadow
-rw-r--r-- 1 root root 131 Jan 08 19:18 passwd
-rw-rw-rw- 1 root root 142 Jan 08 19:18 inetd.conf
-rw-r--r-- 1 root root 42 Jan 08 19:18 group
-rw-rw-rw- 1 root root 49 Jan 08 19:18 ftpd.conf
drwxrwxrwx 2 root root 4096 Jan 08 21:18 config
drwxr-xr-x 2 root root 4096 Jan 08 21:30 pam.d
drwxrwxrwx 2 root root 4096 Jan 08 21:39 samba
drwxrwxrwx 2 root root 4096 Jan 08 21:40 rc.d
drwxrwxrwx 2 root root 4096 Jan 08 21:44 ssh
-rw-rw-rw- 1 root root 212 Jan 08 21:51 ntp.conf
-rw-rw-rw- 1 root root 37 Jan 08 21:52 networks
-rw-rw-rw- 1 root root 5 Jan 08 21:53 qversion
-rw-rw-rw- 1 root root 14 Jan 12 11:31 syslog.conf
/etc/pam.d
-rw-r--r-- 1 root root 278 Oct 04 20:50 su
-rw-r--r-- 1 root root 173 Oct 04 20:50 passwd
-rw-r--r-- 1 root root 171 Oct 04 20:50 on
-rw-r--r-- 1 root root 171 Oct 04 20:50 login
-rw-r--r-- 1 root root 170 Oct 04 20:50 ftpd
/
drwxrwxrwx 2 root root 10 Oct 04 20:48 lib
drwxrwxrwx 2 root root 4096 Jan 08 18:51 home
drwxrwxrwx 6 root root 4096 Jan 12 10:44 x86
drwxr-xr-x 9 root root 4096 Jan 12 12:51 etc
-rw-rw-rw- 1 root root 702 Jan 12 12:51 tim2
dr-xr-xr-x 2 root root 2168971264 Jan 12 12:52 proc
dr-xr-xr-x 2 root root 0 Jan 12 12:52 dev
drwxr-xr-x 2 root root 10 Jan 12 15:42 usr
drwxr-xr-x 2 root root 10 Jan 12 15:42 bin
drwxrwxrwx 2 root root 4096 Oct 10 2018 root
drwxrwxrwx 3 root root 4096 Oct 10 2018 boot
Utilities
-rwsr-xr-x 1 root root 71240 Jan 08 19:16 /x86/usr/bin/passwd
-rwsr-xr-x 1 root root 61440 Jan 08 19:04 /x86/bin/login
-rwsr-xr-x 1 root root 56276 Jan 08 19:04 /x86/bin/su
-rwxr-xr-x 1 root root 1024168 Jan 08 20:09 /x86/usr/sbin/sshd
Everything here is exactly according to the troubleshooting section. Yet I am unable to get those commands to work.
The contents of the files in pam.d (in fact the whole /etc directory) were copied verbatim from the bootable USB image I used to install the files that has working users (root/qnxuser) and working passwd/login/su utilities. Some thing went wrong when I brought all the libraries and commands from my windows host (target/qnx7/x86) to my harddrive.
Dare I ask if there is .noPam option similar to the .noPhoton option under 6.3 to turn off PAM? We don't need it and honestly at this moment I'd be happy to have the source code to the 6.3 versions of login, passwd, su that don't use PAM because our system doesn't need it. My boss is getting impatient with the time being spent on what looks like a black hole with no end in sight and no logical way to proceed because there is no error message saying what's wrong.
TimTim Sowden(deleted)2018-01-12T18:30:12Zpost118372: Re: PAM Issues
http://community.qnx.com/sf/go/post118372
The steps under troubleshooting on that page should show the issues that cause that warning. The framework will ensure that the files and containing directories will have acceptable ownership and permissions all the way up to the root. Most often when people have issues internally it's due to one of the lower level directories such as /usr or /etc having write permission.Jeff Baker2018-01-12T16:46:15Zpost118371: PAM Issues
http://community.qnx.com/sf/go/post118371
I'm trying to get a QNX 7 system up and running and I'm having problems that I can only assume are PAM related (my last O/S build was 6.3 before PAM existed).
I've got everything installed and booting just fine but all the commands now controlled by PAM (login, passwd, su) don't work (everything else does).
If for example I type 'passwd root' I get 'passwd: system error' (I get similar messages with su/login).
I've checked *everything* here (past 2 days on just this issue) in the troubleshooting section and it's all set accordingly.
http://www.qnx.com/developers/docs/7.0.0/index.html#com.qnx.doc.security.dev_guide/topic/authctrl.html
Yet I am unable to get those commands to work. Which makes me think it's something else not right (a library).
Can anyone tell me what I might be doing wrong or can someone peek in the code and see when those errors are generated. QNX could really use a 'checkPam' utility that validates PAM and prints out anything that's not correct.
TIA,
TimTim Sowden(deleted)2018-01-12T16:01:56Zpost118344: Avahi / GLIB/ Libdbus Port on QNX
http://community.qnx.com/sf/go/post118344
hi
Is there any AVAHI port available on QNX ? Avahi is used in linux for mDNS / DNS-SD . As per understanding , Ahas dependency on libDBUS / GLIB . Is those packages i.e. Glib / libdbus is available on QNX.
If not available and we would like to port on QNX , are there any pointers available.
Thanks in advance
Regardsnitin jain(deleted)2018-01-08T14:15:14Zpost118289: Re: Qt on Qnx 6.5
http://community.qnx.com/sf/go/post118289
In Qt site,they mentioned Qt 5.9(Long Term Support) can run on Qnx 6.5Manikanta Mylavarapu(deleted)2017-12-19T12:01:35Zpost118288: Re: Qt on Qnx 6.5
http://community.qnx.com/sf/go/post118288
As far as I'm aware there is no official (and free) Qt release available for QNX 6.5. You need to talk to a Qt services company to create a package for you.
Regards,
AlAlbrecht Uhlmann2017-12-19T11:56:55Zpost118287: Qt on Qnx 6.5
http://community.qnx.com/sf/go/post118287
I want to design a GUI type application on Qt, so that it can run on any os(linux,xenomai,windows and qnx) with minimal compilation.
How can I download Qt package which run on qnx 6.5 and host pc is Windows 7(32-bit).
Please tell me the latest Qt version which can support on LInux 3.10.32, xenomai 2.6, Windows 7,10 and Qnx 6.5.
Note:I am thinking to download Qt 5.9(Long Term Support), But for Qnx 6.5 from where I need to download.I checked in Qnx site but i can't found qt 5.9Manikanta Mylavarapu(deleted)2017-12-19T10:53:48Zpost118283: Re: QNX 6.6 detecting cable connection to PC
http://community.qnx.com/sf/go/post118283
Note that the drivers started above are always operational. For now we do not wish to start and kill drivers during runtime .Sesh2017-12-16T18:06:29Zpost118282: QNX 6.6 detecting cable connection to PC
http://community.qnx.com/sf/go/post118282
Hello all,
We are looking at ways to detect USB cable connection from a Laptop to our target. Following commands are used to startUSB stack and RNDIS drivers on target. Is there an elegant way to detect cable attach and detach?
## Start USB Stack
io-usb-dcd -dusbrndis-mx6sabrelite-ci ioport=0x02184000,irq=75
waitfor /dev/io-usb-dcd/io-usb 4
waitfor /dev/io-usb-dcd/devu-usbrndis-mx6sabrelite-ci.so 4
# echo Start USB RNDIS function driver
waitfor /dev/socket
mount -Tio-pkt -o mac=3CD92B010203,usbdnet_mac=3CD92B010204,protocol=rndis devnp-usbdnet.so
ulink_ctrl -l1Sesh2017-12-16T17:50:27Zpost118203: Re: devc-ser8250 driver no longer in true raw mode when moving from QNX 6.3.2 to QNX 6.5.0
http://community.qnx.com/sf/go/post118203
Albrecht,
Thank you, that sounds like excellent advice. Previously (QNX 4, 6.3.0, and 6.3.2) we have always used the X86 binary for devc-ser8250 without issue but it sounds like that may not be the case with 6.5.0. Unfortunately I am having some issues getting what I need to recompile devc-ser8250 as you suggest but I will contact QNX to see about getting that resolved.
Thanks again,
BlaineDeepain Nayyar(deleted)2017-11-14T16:25:51Zpost118202: Re: devc-ser8250 driver no longer in true raw mode when moving from QNX 6.3.2 to QNX 6.5.0
http://community.qnx.com/sf/go/post118202
I don't know about that specific problem. What I would try is build the driver and the libio-char from 6.3.2 against 6.5 and see if it works then. (maybe some slight modifications are necessary)
You could also try combinations: Take libio-char.a from QNX 6.5 but use the source for devc-ser8250 from QNX 6.3.2 (vice-versa might not work but is worth a trial). My first goal would be to find out if this is a problem in libio-char or in devc-ser8250.
Regards,
AlbrechtAlbrecht Uhlmann2017-11-14T14:32:19Zpost118191: devc-ser8250 driver no longer in true raw mode when moving from QNX 6.3.2 to QNX 6.5.0
http://community.qnx.com/sf/go/post118191
I am seeing a problem with the devc-ser8250 driver since we have upgraded from QNX 6.3.2 to 6.5.0. Regardless of the terminal settings (default we use are iflag:2010 oflag:4 cflag:FB0 lflag:0 but I have tried many combinations) I am NOT getting a true raw mode on reads. The specific problem is that the first byte immediately following any byte with the least significant nibble as an F is missed. This happens at the read() level and is immediately resolved by downgrading back to QNX 6.3.2 from 6.5.0.
The command to devc-ser8250 is “devc-ser8250 -b57600 -F -u3 208,10 1208,10 2208,10 3208,10 3200,10 2200,10 1200,10 200,10” though here again I have tried many combinations.
We are running QNX on a VSX-6124 System on Chip card running a Vortex86SX CPU. The SOC is installed in our custom motherboard on an ISA bus and the DUARTs used on the serial ports on that motherboard are pc16552DV chips.
I have been working on this for some time and would very much appreciate any advice or suggestions.
Thanks,
Blaine HatchDeepain Nayyar(deleted)2017-11-10T23:16:42Zpost118062: QNX 6.3.2 USB Insert LockUp
http://community.qnx.com/sf/go/post118062
I'm looking for feedback on how to troubleshoot why inserting a USB data device causes a QNX 6.3.2 system to lock up. (Advantech systems are in use)
I'm somewhat certain it is not directly OS related as the behavior does not repeat itself inside of a virtual machine. Searching around finds a backport of QNX 6.5 USB drivers for similar reasons.
Any clues/ideas/brainstorms/and flames are appreciated.David Broadwell(deleted)2017-09-21T17:25:28Zpost117886: QNX 6.4.1 NetConfig
http://community.qnx.com/sf/go/post117886
I try to set IP and enable wm0, wm1. But after restart my changes is lost. Why is it happens?Alexander Grigoriev(deleted)2017-07-18T11:35:03Zpost117758: Delete Post
http://community.qnx.com/sf/go/post117758
Would it be possible to allow users to delete (or at least edit) their own posts on the forum? If not, can I request that a post be deleted?Tim Graham(deleted)2017-05-23T07:55:23Zpost117756: Detecting cable connection/disconnection using usbdnet driver
http://community.qnx.com/sf/go/post117756
We have a target connecting to Windows over RNDIS. After starting io-usb usbdnet is started using
mount -Tio-pkt1 -o mac=001422E010203,usbdnet_mac=00142210204,protocol=rndis devnp-usbdnet.so
This in turn creates rndis0 interface that can be provisioned with IP/netmask.
What is a simple way to detect cable connection/disconnection to rndis port? Does QNX provide some sought of notification?Sesh2017-05-22T23:54:36Zpost117754: VAI Program
http://community.qnx.com/sf/go/post117754
Since March the 16. exist the new VAI Program.
Does anyone know how to apply as a VAI to this program??
The e-mail address partners@qnx.com works like a black whole ...Armin Steinhoff2017-05-22T15:21:37Zpost117753: Re: QNX7.0 Evaluation License and QNX Software Center
http://community.qnx.com/sf/go/post117753
Update: (for anyone who finds this thread with a similar issue) The problem was related to the QNX firewall settings. Once the files were downloaded I didn't have any other issues installing / running QNX7 SDP on this platform.Tim Graham(deleted)2017-05-22T14:40:24Zpost117740: How to always run "set showmode" in vi?
http://community.qnx.com/sf/go/post117740
The QNX User's Guide says that you can add "set showmode" (no quotes) to $HOME/.exrc so that vi will always show what mode you're in. However, this isn't working for me in QNX 7.
http://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.neutrino.user_guide/topic/editors_Supported.html
My home directory is /home/qnxuser so I created /home/qnxuser/.exrc with one line:
set showmode
When I run vi it doesn't show the mode by default.
I'm running QNX 7 in VirtualBox.Darryl Gough(deleted)2017-05-17T19:51:07Zpost117738: QNX Software Development Platform 7.0 Partner Key
http://community.qnx.com/sf/go/post117738
Hello,
is there a so called "partner program" active for technology partners?
I have ask this question to "partners@qnx.com" and got no answers until today ...
Is this mail address correct?
Regards
Armin Steinhoff
http://www.steinhoff-automation.com ( working since more than 25Y with QNX )Armin Steinhoff2017-05-17T10:36:12Zpost117731: Re: QNX7.0 Evaluation License and QNX Software Center
http://community.qnx.com/sf/go/post117731
Hi Tim,
To help troubleshoot this issue, I require the log file located at /home/<your_username>/.qnx/swupdate/.metadata/.log
Any additional details you can provide would also be useful:
Does your internet connection utilize a proxy service?
What were the steps you took prior to receiving this error message?
What type of license is this? You can provide this by copying the first two columns (Type and Product) from the license's entry on https://www.qnx.com/account/dashboard/Jonathan Williams2017-05-11T16:23:28Zpost117730: Re: QNX7.0 Evaluation License and QNX Software Center
http://community.qnx.com/sf/go/post117730
Can you please send me a log located in ~/.qnx/swupdate/.log
elaskavaia@blackberry.com
And information on what company are you from and what support person you contacted
Thanks!Elena Laskavaia2017-05-11T13:40:44Zpost117729: QNX7.0 Evaluation License and QNX Software Center
http://community.qnx.com/sf/go/post117729
I'm trying to download / install QNX 7.0 SDP using 64 bit Linux RHEL (Centos). I was able to install the QNX Software Center program and activate the license in my account. Downloading SDP fails with the message "An error occurred while collecting items to be installed" from both the gui and cli tools. The technical articles describes this as a license problem but everything in myQNX LIcense Manager looks good as far as I can tell. I didn't get a response from QNX support as of this post.
Has anyone been able to resolve this issue? Or did anyone succeed in installing QNX 7.0 SDP on a different platform?
Thanks!Tim Graham(deleted)2017-05-11T12:08:47Zpost117685: Re: io-packet driver for Intel Gigabit Ethernet PCI Device ID 0x155a
http://community.qnx.com/sf/go/post117685
This is for QNX 6.5 (details, details ;) )Kevin Stallard(deleted)2017-04-27T21:12:34Zpost117684: io-packet driver for Intel Gigabit Ethernet PCI Device ID 0x155a
http://community.qnx.com/sf/go/post117684
Can anyone direct me to the driver that can work with this adapter?
Thank you!
KevinKevin Stallard(deleted)2017-04-27T21:05:44Zpost117596: System call sporadically returns with "-1" once in four tries
http://community.qnx.com/sf/go/post117596
i have used system call to copy different files one by one using system for close to 68 files.
system("Cp -cf source destination");
the calls return with "-1" which i could lookup from QNX help as couldnt load shell.
where as i am able to open a shell through terminal at the same time.
Are there any other specific reason when the system calls returns -1. or why it couldnt load a shell ??kannan kumar(deleted)2017-04-03T21:07:23Zpost117447: Any interest or talk in open sourcing Photon
http://community.qnx.com/sf/go/post117447
I've been away from QNX for a while but was sad to hear that Photon was being retired.
Has there been any talk about releasing the Photon source code?
While this might sound like a really bad idea to some, back in the day, I really preferred writing Photon code to every other GUI API I've ever used...
Am I completely daft in thinking that an open-source Photon inspired graphics system would be of interest or use on non-QNX platforms?joseph stewart(deleted)2017-02-24T17:58:24Zpost117047: Install or Embeding target system fails
http://community.qnx.com/sf/go/post117047
I can get to the point of entering the lenience key to partition the drive and make a boot-able partition. It prompts that my license key has expired or is invalid. I have a valid license key. I have tried every way possible as far as imputing the characters. I can run in live mode. Is this a common problem? Any help would be much appreciated.cam robins(deleted)2016-11-01T17:03:45Zpost116953: Mount QNX disk on Windows
http://community.qnx.com/sf/go/post116953
Looking for help with mounting QNX disk on a Windows system to facilitate copying files between the systems.Michael Klos(deleted)2016-10-07T19:48:21Zpost116390: mq_receive() call fails sporadically and sets errno EFAULT
http://community.qnx.com/sf/go/post116390
In my application, I use a posix message queue which works fine without any issues, but very sporadically mq_receive call returns -1 and sets errno EFAULT (BAD ADDRESS).
The documentation of mq_receive doesn't specify that EFAULT errno is set.
Could someone throw more light on this behavior of mq_receive?
In which cases EFAULT is set by mq_receive().
Thanks in advance.Yogesh Kumar N J(deleted)2016-06-09T14:50:01Zpost116369: Re: QNX Beginner
http://community.qnx.com/sf/go/post116369
Hi,
The docs are here:
http://www.qnx.com/developers/docs/index.html
Be sure to look at the docs for the QNX release you are using.
N
On 2016-05-29, 19:33, "Djillali Redjradj" <community-noreply@qnx.com>
wrote:
>hi everybody,
>
>I will start int two days a project about real time application with QNX
>on KARO TX9DL(CoM), It's the first time that I
>hear about QNX so I don't know anything about it, can someone guide me to
>start with it, any beneficial information for
>a beginner is welcome !
>
>
>
>_______________________________________________
>
>OSMeta
>http://community.qnx.com/sf/go/post116361
>To cancel your subscription to this discussion, please e-mail
>osmeta-core_os-unsubscribe@community.qnx.comNicola Vulpe2016-05-30T14:45:43Zpost116366: Re: QNX kernel benchmark
http://community.qnx.com/sf/go/post116366
Hi,
if you want to measure the realtime behaviour, perhaps you want to add following test from my old post:
http://community.qnx.com/sf/discussion/do/listPosts/projects.core_os/discussion.newcode.topc26060
I intentionally did not post this issue to the support-portal to measure how important the realtime property of qnx is
since Blackberry began to...
Up to now I must sadly say: "Nobody cares"
You will find the test as source tree.
Regards
MichaelMichael Tasche2016-05-30T13:22:42Zpost116365: Re: Intel HD Graphics support for Intel H110 chipset
http://community.qnx.com/sf/go/post116365
Forgot QNX version is 6.5.0
> Hi, I'm trying to get Photon working, motherboard has Intel H110 chipset with
> Intel HD Graphics http://downloadt.advantech.com/ProductFile/PIS/AIMB-705/
> Product%20-%20Datasheet/AIMB-705_DS(01.12.16)20160112144233.pdf
>
> All I got is blank screen when Photon is starting with SVGA driver and same
> when trying to change Intel HD driver. Is there driver developed for Intel
> H110 chipset or how can I get Photon workin with it?
>
> Attached pci -vvvv output
>
> Also I have problems with network adapters integrated to that motherboard,
> they are not found with ifconfig.
> Controller GbE LAN1: Intel I219-V, GbE LAN2: Intel I211-AT
> Is it possible to get these working?Pekka Tuusjärvi(deleted)2016-05-30T13:20:18Zpost116364: Intel HD Graphics support for Intel H110 chipset
http://community.qnx.com/sf/go/post116364
Hi, I'm trying to get Photon working, motherboard has Intel H110 chipset with Intel HD Graphics http://downloadt.advantech.com/ProductFile/PIS/AIMB-705/Product%20-%20Datasheet/AIMB-705_DS(01.12.16)20160112144233.pdf
All I got is blank screen when Photon is starting with SVGA driver and same when trying to change Intel HD driver. Is there driver developed for Intel H110 chipset or how can I get Photon workin with it?
Attached pci -vvvv output
Also I have problems with network adapters integrated to that motherboard, they are not found with ifconfig.
Controller GbE LAN1: Intel I219-V, GbE LAN2: Intel I211-AT
Is it possible to get these working?Pekka Tuusjärvi(deleted)2016-05-30T13:14:52Zpost116363: QNX kernel benchmark
http://community.qnx.com/sf/go/post116363
Hello,
I am going to measure the realtime properties of QNX SDP 6.6 on my omap5432 EVM. I could download files about the benchmark metrics from http://support7.qnx.com/download/download/8829/qnx_kernel_bench_method.pdf and
http://www.qnx.com/products/neutrino-rtos/qnx_arm.pdf, but couldn't download any source codes of them. Where can I get the source codes? Thanks.Bokdeuk Jeong(deleted)2016-05-30T08:29:53Zpost116361: QNX Beginner
http://community.qnx.com/sf/go/post116361
hi everybody,
I will start int two days a project about real time application with QNX on KARO TX9DL(CoM), It's the first time that I
hear about QNX so I don't know anything about it, can someone guide me to start with it, any beneficial information for
a beginner is welcome !Djillali Redjradj(deleted)2016-05-29T23:33:25Zpost116197: Re: java for QNX 6.4.1
http://community.qnx.com/sf/go/post116197
Ever get an answer on this? I need a java 7 for 6.5.0Mark Clark(deleted)2016-05-02T19:03:39Zpost116033: Apps not launched
http://community.qnx.com/sf/go/post116033
I use "QNX SDK for Apps and Media 1.1 Reference Image for TI OMAP5 eUVM". I have calibrated it and now I see qng hmi gui. When I click on some app icon then I see spinner but app is not launched. Is it a bug or do I need to to some extra configurations?Maidu Üle(deleted)2016-03-30T07:32:09Zpost115986: Re: Hardware specifications to port QNK
http://community.qnx.com/sf/go/post115986
Hi Sandy,
Have a look at the release notes for your release. That¹s where we list
supported platforms.
N
On 2016-03-18, 05:25, "sanny francis" <community-noreply@qnx.com> wrote:
>I would like to know the minimum hardware specifications to run
>QNX......Assuming OS supports SSL, SSH and AMQP/MQTT.
>
>
>Currently we have an old platform running coldfire range of processor
>MCF5480(100Mhz max), 8 MB RAM,32 MB ROM
>
>Thanks in Advance
>
>
>
>_______________________________________________
>
>OSMeta
>http://community.qnx.com/sf/go/post115977
>To cancel your subscription to this discussion, please e-mail
>osmeta-core_os-unsubscribe@community.qnx.comNicola Vulpe2016-03-21T15:30:00Zpost115977: Hardware specifications to port QNK
http://community.qnx.com/sf/go/post115977
I would like to know the minimum hardware specifications to run QNX......Assuming OS supports SSL, SSH and AMQP/MQTT.
Currently we have an old platform running coldfire range of processor MCF5480(100Mhz max), 8 MB RAM,32 MB ROM
Thanks in Advancesanny francis(deleted)2016-03-18T09:25:19Zpost115631: In-Car-Display Platform: QNX Agent for IoT
http://community.qnx.com/sf/go/post115631
I am currently trying to evaluate if and how I can access (send data, messages, …) the In-Car-Display Platform “QNX” directly via REST web services.
It seems that there is a Blackberry solution out there called “QNX Agent” which provides standard APIs but only (!) in combination with their BB IoT Platform. So, as I actually does not want to use BB’s platform but I need to find a way to push messages to the displays “directly” (not using a mobile device in between!).
In this case I assume that I need to build my own “QNX Agent” to communicate with the In-Car-Display.
Does anybody have deeper experience with QNX and could maybe evaluate my assumption that it is feasible to for example push messages to displays without using mobile devices and/or BB’s solution?Soeren Peter(deleted)2016-01-28T17:03:21Zpost115377: QNX 6.6 Media and Apps - how to load apps ?
http://community.qnx.com/sf/go/post115377
Hi
Im working on Media and Apps reference image on VMWare. It works fine but how to load apps ?
I prepare some applications (for Tablet OS and BB10 ) and i want to load it on this image - but i dont know how. I think procedure is different than in BB10/Tables OS.
Thanks :)Jakub Pluska2015-12-23T09:45:36Zpost114934: NAND Flash Driver support in 6.6.0
http://community.qnx.com/sf/go/post114934
Hello,
I've just started putting together support for a NAND Flash part that we have on a custom iMX6 design running QNX 6.6.0. I've seen that ETFS is the higher level component in the stack that ostensibly takes care of bad block handling. From a web search, I came across an ETFS port for early BBB (2GB part) for 6.4.1.
Are any other 'official' examples and/or documentation on ETFS and/or how to properly write a NAND flash driver for QNX? Does one exist for iMX6 or it's predecessors (iMX53/51)? Although it appears that the iMX6 uses a new General Purpose Media Interface (GPMI) block, with a new ECC block that may not have been implemented on the earlier SoC's. Freescale has some example code for the iMX6, and that's what I'm working with now.
Thanks, and Best Regards,
Tim MeeseTim Meese(deleted)2015-11-09T20:30:56Zpost114932: Re: Enabling RNDIS over USB on the Beaglebone Black (am335x) 6.6.0 BSP
http://community.qnx.com/sf/go/post114932
Hello QNX Community,
For anyone interested, there is an issue with the argument processing in io-pkt. For RNDIS, both device and host side MAC addresses have to be specified in the mount -Tio-pkt command like so:
##### Example of RNDIS device (Ethernet over USB) #####
# Step 1 - Start USB device stack
io-usb-dcd -dusbrndis-mx6sabrelite-ci ioport=0x02184000,irq=75
waitfor /dev/io-usb-dcd/io-usb 4
waitfor /dev/io-usb-dcd/devu-usbrndis-mx6sabrelite-ci.so 4
# Step 2 - Start USB RNDIS function driver
# For best performance attach the usbdnet driver to an existing io-pkt stack. Alternatively multiple
# io-pkt stacks can be used (see SDP documentation for more details).
mount -Tio-pkt -o mac=123456789abc,usbdnet_mac=123456789abd,protocol=rndis devnp-usbdnet.so
ulink_ctrl -l
Also, note that the MAC address must use a valid OUI, or the network stack will silently ignore the interface.
TimTim Meese(deleted)2015-11-09T20:23:51Zpost113973: [Resolved] SDK Apps and Media 1.1 reference image for VMware
http://community.qnx.com/sf/go/post113973
Thank you so much for confirming that the error caused by 3D acceleration being disabled.
After days of trial and error with various combinations, I decided to remove Xubuntu which by default to do not support 3D acceleration, even though it does support 3D acceleration emulation, the SDK reference image does not like it. It took me at 5 days install/reinstall Xubuntu (as it do not detect display after installing fglrx).
After installing Ubuntu 15.04 and confirm the 3D capability, the SDK reference image simple works.
In addition, I ran the Medical image reference for VMware as well. It works also.
Thank yousiowlim chow(deleted)2015-06-18T12:20:22Zpost113970: Re: SDK Apps and Media 1.1 reference image for VMware
http://community.qnx.com/sf/go/post113970
Further investigation revealed that the driver of discreet GPU Radeon HD6750M does not support hardware 3D acceleration, but only 3D acceleration emulation by MESA. Obvious VMware communicates directly to the graphic driver not MESA. Hence, complains 3D does not support by the hardware.siowlim chow(deleted)2015-06-18T05:15:52Zpost113962: Re: SDK Apps and Media 1.1 reference image for VMware
http://community.qnx.com/sf/go/post113962
Thanks for pointing that out. However, I had checked with
qws@qws-MacBookPro:~$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
From Ubuntu forum, by direct renderig:Yes, it says the 3D acceleration is enabled.
However, I did experienced that when I enable 3 acceleration in VMware, it always replies with not support by the host. I went further by installing the latest fglr-dev. Unfortunately, the host is not long boot properly.
Any comments would be appreciated.
Thank yousiowlim chow(deleted)2015-06-17T00:17:23Zpost113961: Re: SDK Apps and Media 1.1 reference image for VMware
http://community.qnx.com/sf/go/post113961
It looks like you forgot to enable 3D acceleration in the virtual machine
On 2015-06-14 8:25 AM, siowlim chow wrote:
> Jun 14 07:47:40 5 8 300 3D disabled by host.Colin Burgess(deleted)2015-06-16T14:56:34Zpost113956: SDK Apps and Media 1.1 reference image for VMware
http://community.qnx.com/sf/go/post113956
Hi all,
I am currently evaluating the SDk apps and media 1.1 reference image for VMware. I use Macbook pro Linux host for the task. Unfortunately, the ref img does work properly. No graphical screen appeared, but only prompt. I went throughteh sloginfo, but I could not see any obvious mistake in terms of the SGVA driver. I tested on MacOSX, Fusion VMware, it failed exactly the same error messages.
I tested it(ref image) on IMac, it works perfectly. I compared both sloginfo. I don't or can't see any significant problems as well in terms of the Graphic driver.
Would anyone help please? I tried to upload the sloginfo of both. if you can;t see it. That would mean I am not allowed to attached the file.
Appreciate any comments or suggestions.
Thank you
Siowsiowlim chow(deleted)2015-06-14T12:25:06Zpost113813: Other ways to Calibrate the screen on OMAP5 board
http://community.qnx.com/sf/go/post113813
Hi,
We have run reference images available on the QNX site for OMAP5 board. We can see the Calibration Screen. But we do not have a touch screen display. So please let us know any other way to calibrate the screen/ to move ahead to see the next HMI screen.
Regards,
Archana
archana.gondane@sasken.comarchana gondane(deleted)2015-05-14T06:13:14Zpost113806: Issue faced while booting QNX image on OMAP5 EVM board- " RTC is stopped. Enabling RTC." Click me.
http://community.qnx.com/sf/go/post113806
The post contains invalid characters .Please click uhe above post link to view the content.archana gondane(deleted)2015-05-13T09:58:01Zpost113732: QNX CPU affinity
http://community.qnx.com/sf/go/post113732
Hi folks,
I got a question regarding how to implement CPY affinity in QNX. I want to port some Linux code to QNX, and in my Linux code I use pthread_setaffinity_np(), which sets some given cpu_set_t to a specific thread, not the calling thread. Essentially, we create a thread from the calling threa,d and then we assign that newly created thread some specific CPU affinity.
I can see that in QNX we can use threadCtl() for the calling thread. Is there any way to do it for a specific thread, given its ID/name, and not just from the calling thread?
Thanks!
Victor.Victor Gomez(deleted)2015-04-21T11:11:19Zpost112997: How to build QNX RTOS Cross-compiler using Scons build environment ?
http://community.qnx.com/sf/go/post112997
Hello experts...
I am QNX development beginner.
I would like to develop a AllJoyn application that runs on the QNX RTOS using AllJoyn Framework.
[[Reference------------------------------------------------------------------------------------
* AllJoyn™ is a collaborative open-source software framework that makes it easy for devices and apps to discover and communicate with each other.]
* AllSeen Alliance(https://allseenalliance.org/)
* AllJoyn Framework is open source. And AllJoyn’s build tools are “Python” and “Scons”.
* Scons tool builds “AllJoyn open-source-code” using “gcc”. Then,AllJoyn library is created.
-----------------------------------------------------------------------------------------------------------------]]
I don’t know about the QNX RTOS build environment and Scons build environment.
So I'd like to know about the QNX RTOS application development using Scons build environment.
Please answer a few questions.
How to build QNX RTOS Cross-compiler using Scons build environment ??
Is it possible to build using "Scons tool" ?
Can I use an AllJoyn library(The library was built with Scons build "gcc") on QNX RTOS ..?
If can not use the library using gcc, how can I change the “Scons build tool” ?
Can QNX Cross-Compiler support the “Scons build tool” ?
If QNX compiler can support, how can I make the QNX cross-compile environment in “Scons build tool” ?
Thank you.KiJoon Kim(deleted)2015-01-19T16:35:23Zpost112662: kernel dev?
http://community.qnx.com/sf/go/post112662
Hello
I'm new here.
My current phone is a N900 and I like to make mods to it's linux kernel etc
But I"m here because of the new BB Passport.
Very impressive!
We have a thread discussing the passport here:
http://talk.maemo.org/showthread.php?p=1452112#post1452112
Anyway, I have a questions as I'm new to the BB and QNX world.
Is the kernel source available? where? build tools? documentation? etc
I ask because a physical keyboard is important to me and I also would like a physical CTLR/Shift key.
I would like to allocate the vol +/- buttons to CTLR/Shift at the lowest level.
And use vol +/- via software as I don't often change volume.
Any info would be great
Cheers.Ben Mion(deleted)2014-12-14T06:49:42Zpost112538: Re: Running Qt applications on QNX
http://community.qnx.com/sf/go/post112538
Hi,
There are a couple of issues here...
> We are also trying to run QT based application on QNX4.25.
I don't think anyone ever did this.
> We need to get QT compiled on our Ubuntu Linux machine for QNX4.25.
Do you even know how to develop applications for QNX 4? If you knew, you'd be aware that QNX 4.25 cannot be targeted from Linux.
> Could you please give us the detailed steps on compiling QT on a Linux machine
> and running QT applications on QNX4.25?
Let's go to the realm of fantasy for a moment and imagine you could build Qt (say, Qt4.8, or even Qt5) for QNX 4.25. That would only work using the Watcom compiler shipped with QNX 4.
Even if that succeeds, there is no support inside Qt targeting QNX4. For every OS that is supposed to run Qt applications, there is a "platform plugin", and there is none for QNX4 that I'm aware of. Someone would need to write it - can you do it?
On the other hand, Qt support is all there for QNX 6.6. The effort migrating to QNX 6 will be indefinitely lower than trying to get Qt running on QNX4. Face it, QNX4 is as old as Windows 3.11!
Now, there might be reasons preventing you from migrating, e.g. you have lost your source code. Then, maybe, you could try the RTS Hypervisor. Maybe RTS can support QNX4, and this way you can continue running your QNX 4 based code on one of the many cores of today's x86 CPUs. The other core could run QNX 6 and there you can run Qt. :) Done!
I strongly suggest contacting your QNX Sales Rep to discuss options for a CSP (Custom Support Plan) Service. Of course, if you don't have any budget, you are doomed.
Good luck and Best Regards,
- MalteMalte Mundt2014-12-04T14:04:09Zpost112404: Re: Running Qt applications on QNX
http://community.qnx.com/sf/go/post112404
Hello Mr.Grigory,
We are also trying to run QT based application on QNX4.25.
We need to get QT compiled on our Ubuntu Linux machine for QNX4.25.
Found your post on initial research.
Had your efforts on running QT applications on QNX4 version fulfilled?
Could you please give us the detailed steps on compiling QT on a Linux machine and running QT applications on QNX4.25?
Thanks,
Honey SHoney S(deleted)2014-11-21T12:05:45Zpost112396: Re: Using network sockets from QNX C++ projects
http://community.qnx.com/sf/go/post112396
You need to link against libsocket.
Sent from my BlackBerry 10 smartphone on the Rogers network.
Original Message
From: Tim Meese
Sent: Thursday, November 20, 2014 5:49 PM
To: osmeta-core_os
Reply To: osmeta-core_os@community.qnx.com
Subject: Using network sockets from QNX C++ projects
Hello,
I've got a project, which I've developed a significant portion of in C++. So I went ahead and created a QNX C++ project in Momentics. To my knowledge, there are no C++ abstractions for the networking objects, so I tried encapsulating the C-based data/methods within an object and calling that. As a result, I cannot get the project to link properly, as it cannot resolve references to the C socket api (bind, etc.). Is there any workaround for this issue? I'm going to try making the C++ code into a library and having a C project link against this, but it seems like this is an issue that has been run into before.
I've attached a brief log snippet below. Thanks in advance for your assistance.
Best Regards,
Tim Meese
"C:\\qnx660\\host\\win32\\x86\\usr\\bin\\make.exe" -k "CPULIST=arm x86" "EXTRA_SUFFIXES=cpp " all --file=C:/Users/meeset1/AppData/Local/Temp/QMakefile14165172938945212259667251343547.tmp
C:/qnx660/host/win32/x86/usr/bin/make.exe -j 1 -Carm -fMakefile all
make.exe[1]: Entering directory `C:/Users/meeset1/qde-5.0-workspace/ProtocolTest/arm'
C:/qnx660/host/win32/x86/usr/bin/make.exe -j 1 -Co-le-v7 -fMakefile all
make.exe[2]: Entering directory `C:/Users/yyy/qde-5.0-workspace/ProtocolTest/arm/o-le-v7'
C:/qnx660/host/win32/x86/usr/bin/rm -f C:/Users/yyy/qde-5.0-workspace/ProtocolTest/arm/o-le-v7/ProtocolTest
C:/qnx660/host/win32/x86/usr/bin/qcc -Vgcc_ntoarmv7 -Wl,--no-keep-memory -lang-c++ -lang-c++ -o C:/Users/yyy/qde-5.0-workspace/ProtocolTest/arm/o-le-v7/ProtocolTest Dispatcher.o Parser.o Protocol.o UDPServer.o main.o -L . -L C:/qnx660/target/qnx6/armle-v7/lib -L C:/qnx660/target/qnx6/armle-v7/usr/lib -Wl,--rpath-link . -Wl,--rpath-link C:/qnx660/target/qnx6/armle-v7/lib -Wl,--rpath-link C:/qnx660/target/qnx6/armle-v7/usr/lib -EL
UDPServer.o: In function `UDPServerInit':
UDPServer.c:(.text+0x16): undefined reference to `socket'
UDPServer.c:(.text+0x4c): undefined reference to `bind'
UDPServer.o: In function `UDPServerReplyTo':
UDPServer.c:(.text+0x98): undefined reference to `sendto'
UDPServer.c:(.text+0xa2): undefined reference to `inet_ntoa'
make.exe[2]: Leaving directory `C:/Users/meeset1/qde-5.0-workspace/ProtocolTest/arm/o-le-v7'
UDPServer.c:(.text+0xbe): undefined reference to `inet_ntoa'
UDPServer.o: In function `UDPServerRecvFrom':
UDPServer.c:(.text+0x128): undefined reference to `recvfrom'
UDPServer.c:(.text+0x13c): undefined reference to `inet_ntoa'
cc: C:/qnx660/host/win32/x86/usr/bin/arm-unknown-nto-qnx6.6.0eabi-ld caught signal 1
C:/qnx660/host/win32/x86/usr/bin/make.exe -j 1 -Co-le-v7-g -fMakefile all
make.exe[2]: *** [C:/Users/yyy/qde-5.0-workspace/ProtocolTest/arm/o-le-v7/ProtocolTest] Error 1
make.exe[2]: Target `all' not remade because of errors.
make.exe[1]: [all] Error 2 (ignored)
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post112395
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comSean Boudreau(deleted)2014-11-20T22:53:56Zpost112395: Using network sockets from QNX C++ projects
http://community.qnx.com/sf/go/post112395
Hello,
I've got a project, which I've developed a significant portion of in C++. So I went ahead and created a QNX C++ project in Momentics. To my knowledge, there are no C++ abstractions for the networking objects, so I tried encapsulating the C-based data/methods within an object and calling that. As a result, I cannot get the project to link properly, as it cannot resolve references to the C socket api (bind, etc.). Is there any workaround for this issue? I'm going to try making the C++ code into a library and having a C project link against this, but it seems like this is an issue that has been run into before.
I've attached a brief log snippet below. Thanks in advance for your assistance.
Best Regards,
Tim Meese
"C:\\qnx660\\host\\win32\\x86\\usr\\bin\\make.exe" -k "CPULIST=arm x86" "EXTRA_SUFFIXES=cpp " all --file=C:/Users/meeset1/AppData/Local/Temp/QMakefile14165172938945212259667251343547.tmp
C:/qnx660/host/win32/x86/usr/bin/make.exe -j 1 -Carm -fMakefile all
make.exe[1]: Entering directory `C:/Users/meeset1/qde-5.0-workspace/ProtocolTest/arm'
C:/qnx660/host/win32/x86/usr/bin/make.exe -j 1 -Co-le-v7 -fMakefile all
make.exe[2]: Entering directory `C:/Users/yyy/qde-5.0-workspace/ProtocolTest/arm/o-le-v7'
C:/qnx660/host/win32/x86/usr/bin/rm -f C:/Users/yyy/qde-5.0-workspace/ProtocolTest/arm/o-le-v7/ProtocolTest
C:/qnx660/host/win32/x86/usr/bin/qcc -Vgcc_ntoarmv7 -Wl,--no-keep-memory -lang-c++ -lang-c++ -o C:/Users/yyy/qde-5.0-workspace/ProtocolTest/arm/o-le-v7/ProtocolTest Dispatcher.o Parser.o Protocol.o UDPServer.o main.o -L . -L C:/qnx660/target/qnx6/armle-v7/lib -L C:/qnx660/target/qnx6/armle-v7/usr/lib -Wl,--rpath-link . -Wl,--rpath-link C:/qnx660/target/qnx6/armle-v7/lib -Wl,--rpath-link C:/qnx660/target/qnx6/armle-v7/usr/lib -EL
UDPServer.o: In function `UDPServerInit':
UDPServer.c:(.text+0x16): undefined reference to `socket'
UDPServer.c:(.text+0x4c): undefined reference to `bind'
UDPServer.o: In function `UDPServerReplyTo':
UDPServer.c:(.text+0x98): undefined reference to `sendto'
UDPServer.c:(.text+0xa2): undefined reference to `inet_ntoa'
make.exe[2]: Leaving directory `C:/Users/meeset1/qde-5.0-workspace/ProtocolTest/arm/o-le-v7'
UDPServer.c:(.text+0xbe): undefined reference to `inet_ntoa'
UDPServer.o: In function `UDPServerRecvFrom':
UDPServer.c:(.text+0x128): undefined reference to `recvfrom'
UDPServer.c:(.text+0x13c): undefined reference to `inet_ntoa'
cc: C:/qnx660/host/win32/x86/usr/bin/arm-unknown-nto-qnx6.6.0eabi-ld caught signal 1
C:/qnx660/host/win32/x86/usr/bin/make.exe -j 1 -Co-le-v7-g -fMakefile all
make.exe[2]: *** [C:/Users/yyy/qde-5.0-workspace/ProtocolTest/arm/o-le-v7/ProtocolTest] Error 1
make.exe[2]: Target `all' not remade because of errors.
make.exe[1]: [all] Error 2 (ignored)Tim Meese(deleted)2014-11-20T21:28:57Zpost111868: Re: Enabling RNDIS over USB on the Beaglebone Black (am335x) 6.6.0 BSP
http://community.qnx.com/sf/go/post111868
For added information, here are the snippets from the lua startup script:
# Step 1 - Start USB device stack
io-usb-dcd -dusbrndis-am335x-musbmhdrc ioport=0x47401400,irq=18,nodma,force_device_mode,inherit_cfg
waitfor /dev/io-usb-dcd/io-usb 4
waitfor /dev/io-usb-dcd/devu-usbrndis-am335x-musbmhdrc.so 4
# Step 2 - Start USB RNDIS function driver
# For best performance attach the usbdnet driver to an existing io-pkt stack. Alternatively multiple
# io-pkt stacks can be used (see SDP documentation for more details).
mount -Tio-pkt -o mac=123456789abc,protocol=rndis devnp-usbdnet.so
ulink_ctrl -l1
# Step 3 - Assign IP address to ncm interface using DHCP OR any static IP.
if_up -p rndis0
ifconfig rndis0 192.168.10.100
Again, usbrndis-am335x is a clone of the ndm driver replacing the descriptor header file with the published rndis header file. Any help would be appreciated.
Best Regards,
Tim MeeseTim Meese(deleted)2014-09-24T16:51:00Zpost111856: Re: ssh-keygen creating unprotected key file
http://community.qnx.com/sf/go/post111856
Christopher, could you please provide complete console logs (or the contents of your scripts), i.e., enough detail for reproducing what exactly you are doing? Such as the way of creating your ramdisk, creating the filesystem, the mount command and more?
It is not possible to tell the issue just by the error message as there are multiple potential root causes.
Original Message
From: Christopher Olarti
Sent: Wednesday, September 24, 2014 03:26
To: osmeta-core_os
Reply To: osmeta-core_os@community.qnx.com
Subject: Re: ssh-keygen creating unprotected key file
Thanks for your input, when trying to change the ramdisk from dos to qnx4. I received an error:
mount: can't mount /etc/ssh (type qnx4)
mount: Possible reason: Corrupted file system detected.
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post111854
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comMate Szarvas2014-09-23T18:36:48Zpost111855: Re: ssh-keygen creating unprotected key file
http://community.qnx.com/sf/go/post111855
After the ssh-keygen within SabreLite and moving the SD card back to my Windows PC, I am not seeing the keys stored on the SD card as files.Christopher Olarti(deleted)2014-09-23T18:32:26Zpost111854: Re: ssh-keygen creating unprotected key file
http://community.qnx.com/sf/go/post111854
Thanks for your input, when trying to change the ramdisk from dos to qnx4. I received an error:
mount: can't mount /etc/ssh (type qnx4)
mount: Possible reason: Corrupted file system detected.Christopher Olarti(deleted)2014-09-23T18:26:55Zpost111853: Re: ssh-keygen creating unprotected key file
http://community.qnx.com/sf/go/post111853
Even if you created a ramdisk with a filesystem that supports posix permissions and you think is being used by ssh-keygen it is possible that in reality it is using /etc/ssh from your SD card that, blind guess, has a FAT filesystem.
This can happen due to unioning of the filesystems, depending on the mount order and mount flags.
Did you verify, e.g., by moving your SD card to your host computer, that the keys are not stored on the SD card?
Original Message
From: Christopher Olarti
Sent: Wednesday, September 24, 2014 02:54
To: osmeta-core_os
Reply To: osmeta-core_os@community.qnx.com
Subject: ssh-keygen creating unprotected key file
When trying to initialize sshd by generating rsa/dsa keys using the following commands
ssh-keygen -t dsa -v -f /etc/ssh/ssh_host_dsa_key -N ''
ssh-keygen -t rsa -v -f /etc/ssh/ssh_host_rsa_key -N ''
the files are created in /etc/ssh/ however, when trying to execute /usr/sbin/sshd I get the following message
# cd etc/ssh
# ls -al
total 74
drwx------ 2 root root 16384 Jan 01 00:00 .
drwx------ 2 root root 16384 Jan 01 00:00 ..
-rw-rw-rw- 1 root root 751 Jan 01 1980 ssh_host_dsa_key
-rw-rw-rw- 1 root root 604 Jan 01 1980 ssh_host_dsa_key.pub
-rw-rw-rw- 1 root root 1766 Jan 01 1980 ssh_host_rsa_key
-rw-rw-rw- 1 root root 396 Jan 01 1980 ssh_host_rsa_key.pub
-rw-rw-rw- 1 root root 155 Sep 23 2014 sshd_config
# /tmp/sshd
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0666 for '/etc/ssh/ssh_host_rsa_key' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_rsa_key
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0666 for '/etc/ssh/ssh_host_dsa_key' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /etc/ssh/ssh_host_dsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting
I see from other websites, they recommend permission rights 700 on the ssh folder and 600 on the files.
But when trying to perform chmod on a specific file, as the following:
# chmod -v -R 600 ./ssh_host_dsa_key
chmod: Changing ./ssh_host_dsa_key to mode 0600
# ls -al
total 74
drwx------ 2 root root 16384 Jan 01 00:00 .
drwx------ 2 root root 16384 Jan 01 00:00 ..
-rw-rw-rw- 1 root root 751 Jan 01 1980 ssh_host_dsa_key
-rw-rw-rw- 1 root root 604 Jan 01 1980 ssh_host_dsa_key.pub
-rw-rw-rw- 1 root root 1766 Jan 01 1980 ssh_host_rsa_key
-rw-rw-rw- 1 root root 396 Jan 01 1980 ssh_host_rsa_key.pub
-rw-rw-rw- 1 root root 155 Sep 23 2014 sshd_config
I am still seeing 0666.
So is there a way to change the permission rights on the key files when they are being generated?
Also a side issue, if an ssh-keygen fails, it disappears from the filesystem; however, if I copy the ssh-keygen macro to the /tmp/ and use that keygen, then I can continuously re-use the macro.
Using an iMX6 SabreLite
Booting from an SD Card
Created a RAM Disk at /etc/ssh
Thanks in advance.
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post111849
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comMate Szarvas2014-09-23T18:06:28Zpost111850: Re: ssh-keygen creating unprotected key file
http://community.qnx.com/sf/go/post111850
The ramdisk is likely formatted as a DOS partition, which does not support permissions. Try re-formatting it as a QNX6 partition.
KevinKevin Kunka2014-09-23T17:57:45Zpost111849: ssh-keygen creating unprotected key file
http://community.qnx.com/sf/go/post111849
When trying to initialize sshd by generating rsa/dsa keys using the following commands
ssh-keygen -t dsa -v -f /etc/ssh/ssh_host_dsa_key -N ''
ssh-keygen -t rsa -v -f /etc/ssh/ssh_host_rsa_key -N ''
the files are created in /etc/ssh/ however, when trying to execute /usr/sbin/sshd I get the following message
# cd etc/ssh
# ls -al
total 74
drwx------ 2 root root 16384 Jan 01 00:00 .
drwx------ 2 root root 16384 Jan 01 00:00 ..
-rw-rw-rw- 1 root root 751 Jan 01 1980 ssh_host_dsa_key
-rw-rw-rw- 1 root root 604 Jan 01 1980 ssh_host_dsa_key.pub
-rw-rw-rw- 1 root root 1766 Jan 01 1980 ssh_host_rsa_key
-rw-rw-rw- 1 root root 396 Jan 01 1980 ssh_host_rsa_key.pub
-rw-rw-rw- 1 root root 155 Sep 23 2014 sshd_config
# /tmp/sshd
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0666 for '/etc/ssh/ssh_host_rsa_key' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_rsa_key
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0666 for '/etc/ssh/ssh_host_dsa_key' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /etc/ssh/ssh_host_dsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting
I see from other websites, they recommend permission rights 700 on the ssh folder and 600 on the files.
But when trying to perform chmod on a specific file, as the following:
# chmod -v -R 600 ./ssh_host_dsa_key
chmod: Changing ./ssh_host_dsa_key to mode 0600
# ls -al
total 74
drwx------ 2 root root 16384 Jan 01 00:00 .
drwx------ 2 root root 16384 Jan 01 00:00 ..
-rw-rw-rw- 1 root root 751 Jan 01 1980 ssh_host_dsa_key
-rw-rw-rw- 1 root root 604 Jan 01 1980 ssh_host_dsa_key.pub
-rw-rw-rw- 1 root root 1766 Jan 01 1980 ssh_host_rsa_key
-rw-rw-rw- 1 root root 396 Jan 01 1980 ssh_host_rsa_key.pub
-rw-rw-rw- 1 root root 155 Sep 23 2014 sshd_config
I am still seeing 0666.
So is there a way to change the permission rights on the key files when they are being generated?
Also a side issue, if an ssh-keygen fails, it disappears from the filesystem; however, if I copy the ssh-keygen macro to the /tmp/ and use that keygen, then I can continuously re-use the macro.
Using an iMX6 SabreLite
Booting from an SD Card
Created a RAM Disk at /etc/ssh
Thanks in advance.Christopher Olarti(deleted)2014-09-23T17:54:46Zpost111791: Enabling RNDIS over USB on the Beaglebone Black (am335x) 6.6.0 BSP
http://community.qnx.com/sf/go/post111791
Hello,
I've attempted to get RNDIS running on the Beaglebone Black BSP by cloning the usbndm descriptor configuration and changing it to include the RNDIS-specific descriptor include file, unmodified (hw/usbdc_desc_rndis.h). This approach seemed to work to some extent, as Windows enumerated the device, loaded the standard usb8023x.sys driver, and attempted to start it. The usbdnet.so component on the QNX side segfaulted:
Process 8204 (io-pkt-v4-hc) terminated SIGSEGV code=1 fltno=11 ip=7802b506(/proc/boot/devnp-usbdnet.so@nic_strtomac+0x11) mapaddr=0000b506. ref=00000000
Looks like it's possible it may have been trying to form a mac address for the interface from some other information. This is a QNX component, delivered in object form, so I'm not able to debug into it. Has anyone else faced this hurdle and overcome it? Is there additional instrumentation I can enable to narrow down the issue? Are there additional issues with the rndis implementation in usbdnet.so that I need to be aware of?
Many Thanks,
Tim MeeseTim Meese(deleted)2014-09-19T00:28:55Zpost111537: Re: Which hardware timer can I use on QNX6.6.0 TI Jacinto6 platform.
http://community.qnx.com/sf/go/post111537
Hi,
the sources of the Jacinto BSP is public available ... it will answer
all questions :).
--Armin
Radoslaw Kudaj schrieb:
> Hi,
>
> I need to generate interrupt on hardware timer overflow/expiration on TI Jacinto6 board with QNX 6.6.0. Could you please say which HW timer is not used by the system and I can use it for interrupt generation?
>
> thanks for any help,
> regards
>
>
>
> _______________________________________________
>
> OSMeta
> http://community.qnx.com/sf/go/post111531
> To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.com
>Armin Steinhoff2014-08-25T15:37:11Zpost111531: Which hardware timer can I use on QNX6.6.0 TI Jacinto6 platform.
http://community.qnx.com/sf/go/post111531
Hi,
I need to generate interrupt on hardware timer overflow/expiration on TI Jacinto6 board with QNX 6.6.0. Could you please say which HW timer is not used by the system and I can use it for interrupt generation?
thanks for any help,
regardsRadoslaw Kudaj2014-08-25T10:36:43Zpost111530: Re: Related to audio in QNX <waverec and wave>
http://community.qnx.com/sf/go/post111530
Hi,
can you post source code, or just the initialization part that causes the problem?
regardsRadoslaw Kudaj2014-08-25T10:15:34Zpost111419: Re: openssl version QNX 6.6.0
http://community.qnx.com/sf/go/post111419
1.0.1h is available for 6.6.0. Your sales or support representative should be able to point you the archive.
Thanks
Dave
Sent from my BlackBerry 10 smartphone on the Rogers network.
Original Message
From: Owen James
Sent: Wednesday, August 13, 2014 11:48 AM
To: osmeta-core_os
Reply To: osmeta-core_os@community.qnx.com
Subject: Re: openssl version QNX 6.6.0
Thanks again.
I'll bring up my request with support for other vulnerabilities identified in:
https://www.openssl.org/news/secadv_20140605.txt
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post111418
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comDave Brown2014-08-13T16:59:50Zpost111418: Re: openssl version QNX 6.6.0
http://community.qnx.com/sf/go/post111418
Thanks again.
I'll bring up my request with support for other vulnerabilities identified in:
https://www.openssl.org/news/secadv_20140605.txtOwen James2014-08-13T15:48:32Zpost111417: Re: openssl version QNX 6.6.0
http://community.qnx.com/sf/go/post111417
http://www.qnx.com/support/knowledgebase.html?id=501a0000000MuTF
On Wed, Aug 13, 2014 at 11:36:35AM -0400, Owen James wrote:
> Thank you. Are there any immediate plans to update the version to 1.0.1g or later to address heartbleed?
>
>
>
> _______________________________________________
>
> OSMeta
> http://community.qnx.com/sf/go/post111415
> To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comSean Boudreau(deleted)2014-08-13T15:46:00Zpost111416: Re: openssl version QNX 6.6.0
http://community.qnx.com/sf/go/post111416
Yes, but not for heartbleed. We don't have it enabled.
On Wed, Aug 13, 2014 at 11:36:35AM -0400, Owen James wrote:
> Thank you. Are there any immediate plans to update the version to 1.0.1g or later to address heartbleed?
>
>
>
> _______________________________________________
>
> OSMeta
> http://community.qnx.com/sf/go/post111415
> To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comSean Boudreau(deleted)2014-08-13T15:44:53Zpost111415: Re: openssl version QNX 6.6.0
http://community.qnx.com/sf/go/post111415
Thank you. Are there any immediate plans to update the version to 1.0.1g or later to address heartbleed?Owen James2014-08-13T15:36:35Zpost111414: Re: openssl version QNX 6.6.0
http://community.qnx.com/sf/go/post111414
On 14-08-13 11:19 AM, Owen James wrote:
> What is the version of openssl included in the QNX 6.6.0 release?
>
> For example, 6.5.0 SP1 shows:
>
> 1.0.0e 6 Sep 2011
opensslv.h says 1.0.1c.
Regards,
Ryan MansfieldRyan Mansfield(deleted)2014-08-13T15:29:01Zpost111413: openssl version QNX 6.6.0
http://community.qnx.com/sf/go/post111413
What is the version of openssl included in the QNX 6.6.0 release?
For example, 6.5.0 SP1 shows:
1.0.0e 6 Sep 2011Owen James2014-08-13T15:19:16Zpost111236: RE: RE: RE: USB Device Ethernet to replace the RJ45 Ethernet
http://community.qnx.com/sf/go/post111236
Ok, at this point it's probably best to create a support ticket and allow us to help you through this portal.
Please remember to include all command output in chronological order.
I find it can help to start sloginfo -wt &
so that it's running in the background, -t gives ms precision instead of just seconds, -w waits and prints new logs as they are generated, and then we can follow your steps more easily.
-----Original Message-----
From: Christopher Olarti [mailto:community-noreply@qnx.com]
Sent: Friday, July 25, 2014 4:52 PM
To: osmeta-core_os
Subject: Re: RE: RE: USB Device Ethernet to replace the RJ45 Ethernet
It looks llike something is happening. When I removed the device() call and just started ncm device stack
echo "start_stack::device,1">>/pps/qnx/device/usb_ctrl
the windows machine started trying to install the drivers, but failed.
When trying to mount on the command window instead of using rules.lua
# mount -Tio-pkt -o mac=123456789abc,protocol=ncm devnp-usbnet.so
mount: Can't mount / (type io-pkt)
mount: Possible reason: No such device or address
then when using nicinfo i do not see ncm0
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post111235
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comAndrew Sherk2014-07-25T21:04:17Zpost111235: Re: RE: RE: USB Device Ethernet to replace the RJ45 Ethernet
http://community.qnx.com/sf/go/post111235
It looks llike something is happening. When I removed the device() call and just started ncm device stack
echo "start_stack::device,1">>/pps/qnx/device/usb_ctrl
the windows machine started trying to install the drivers, but failed.
When trying to mount on the command window instead of using rules.lua
# mount -Tio-pkt -o mac=123456789abc,protocol=ncm devnp-usbnet.so
mount: Can't mount / (type io-pkt)
mount: Possible reason: No such device or address
then when using nicinfo i do not see ncm0Christopher Olarti(deleted)2014-07-25T20:52:21Zpost111234: RE: RE: USB Device Ethernet to replace the RJ45 Ethernet
http://community.qnx.com/sf/go/post111234
Thanks. I see that you already have an io-pkt running, so I think you should use the mount -Tio-pkt method instead of trying to start a second io-pkt.
Then, run nicinfo after starting the device stack, see if ncm0 shows up.
-----Original Message-----
From: Christopher Olarti [mailto:community-noreply@qnx.com]
Sent: Friday, July 25, 2014 4:17 PM
To: osmeta-core_os
Subject: Re: RE: USB Device Ethernet to replace the RJ45 Ethernet
Please find the attachment for the data you are asking for.
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post111233
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comAndrew Sherk2014-07-25T20:21:53Zpost111233: Re: RE: USB Device Ethernet to replace the RJ45 Ethernet
http://community.qnx.com/sf/go/post111233
Please find the attachment for the data you are asking for.Christopher Olarti(deleted)2014-07-25T20:17:07Zpost111232: RE: USB Device Ethernet to replace the RJ45 Ethernet
http://community.qnx.com/sf/go/post111232
If you start usblauncher with -vvvv -l
after running
echo "start_stack::device,1">>/pps/qnx/device/usb_ctrl
what do you see in sloginfo?
what's the output of nicinfo?
How many io-pkts are running (please provide pidin arg output after the start_stack::device,1 command completes.
-----Original Message-----
From: Christopher Olarti [mailto:community-noreply@qnx.com]
Sent: Friday, July 25, 2014 1:29 PM
To: osmeta-core_os
Subject: Re: USB Device Ethernet to replace the RJ45 Ethernet
You are right about the spacing. So the Device_Stack can now recognize the -dusbncm. Please find the attachment to be the *.lua files i am currently using. As for starting the the io-pkt, I am assuming in rules.lua for configuring a device(), the execution/start will be from
io-pkt-v4-hc -d usbdnet protocol=ncm,path=/dev/io-usb-dcd/io-usb,mac=123456789ab
I also did confirm the correct device is being performed by commanding
echo "start_stack::device,1">>/pps/qnx/device/usb_ctrl
And when looking in the Windows 7 Device Manager, I do see the proper VID and PID for the specific device.
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post111230
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comAndrew Sherk2014-07-25T19:07:28Zpost111230: Re: USB Device Ethernet to replace the RJ45 Ethernet
http://community.qnx.com/sf/go/post111230
You are right about the spacing. So the Device_Stack can now recognize the -dusbncm. Please find the attachment to be the *.lua files i am currently using. As for starting the the io-pkt, I am assuming in rules.lua for configuring a device(), the execution/start will be from
io-pkt-v4-hc -d usbdnet protocol=ncm,path=/dev/io-usb-dcd/io-usb,mac=123456789ab
I also did confirm the correct device is being performed by commanding
echo "start_stack::device,1">>/pps/qnx/device/usb_ctrl
And when looking in the Windows 7 Device Manager, I do see the proper VID and PID for the specific device.Christopher Olarti(deleted)2014-07-25T17:29:22Zpost111229: Re: USB Device Ethernet to replace the RJ45 Ethernet
http://community.qnx.com/sf/go/post111229
These extra spaces following a comma are probably causing you trouble. Options that are comma-separated should not have any spaces.
start"mount -Tio-pkt -o mac=123456789abc, protocol=ncm devnp-usbdnet.so";
>>
start"mount -Tio-pkt -o mac=123456789abc,protocol=ncm devnp-usbdnet.so";
driver"io-pkt-v4-hc -d usbdnet protocol=ncm, path=/dev/io-usb-dcd/io-usb, mac=123456789ab";
>>
driver"io-pkt-v4-hc -d usbdnet protocol=ncm,path=/dev/io-usb-dcd/io-usb,mac=123456789ab";
If you use the mount approach, remember to use the path=/dev/io-usb-dcd there too.Andrew Sherk2014-07-25T17:06:21Zpost111228: Re: USB Device Ethernet to replace the RJ45 Ethernet
http://community.qnx.com/sf/go/post111228
I see a typo in the command-line. Try removing the space before 'irq'
-cmd = 'io-usb-dcd -dusbncm-mx6sabrelite-ci ioport=0x02184000, irq=75';
+cmd = 'io-usb-dcd -dusbncm-mx6sabrelite-ci ioport=0x02184000,irq=75';
Could you provide your complete Lua file and how you a starting io-usb (the PPS command used), and how io-pkt is started, if using the mount command to mount in the devnp-usbdnet?Andrew Sherk2014-07-25T17:03:48Zpost111225: USB Device Ethernet to replace the RJ45 Ethernet
http://community.qnx.com/sf/go/post111225
I would like to use the USB Device as a USB to Ethernet port, so I can debug the board with usb instead of the RJ45 ethernet port. So far I was able to get the USB Device Mass Storage working and tried to replicate the steps for the USB Device Ethernet (NCM), but I noticed there are differences; such as, the following:
1. In rules.lua when creating the Device_Stack = {
cmd = 'io-usb-dcd -dusbncm-mx6sabrelite-ci ioport=0x02184000, irq=75';
path = '/dev/io-usb-dcd/io-usb';
descriptors = {usbncm, usbser, umass};
An error of
# Must specify irq with ioport optionIn function usbdc_attach_hub -- /builds/660_SDP/svn/hardware/support/publishers/usblauncher/dcd.c:247 device_root_hub != NULL -- assertion failed
2. In rules.lua there is no specific driver to invoke when creating device(), so instead tried using the following commands
start"mount -Tio-pkt -o mac=123456789abc, protocol=ncm devnp-usbdnet.so";
OR
driver"io-pkt-v4-hc -d usbdnet protocol=ncm, path=/dev/io-usb-dcd/io-usb, mac=123456789ab";
3. However, if I used the mass storage Device Stack of
cmd = 'io-usb-dcd -dusbumass-mx6sabrelite-ci ioport=0x02184000,irq=75'
and use the command for device()
driver"io-pkt-v4-hc -d usbdnet protocol=ncm, path=/dev/io-usb-dcd/io-usb, mac=123456789ab";
The program can run, but when looking in the Windows 7 Device Manager, I am seeing the device under "Other" instead of "Ports" or "Universal Serial Bus Controllers"
Please let me know if I am missing anything.
Thanks.Christopher Olarti(deleted)2014-07-25T16:07:38Zpost110799: Re: RE: RE: RE: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110799
That's it....
Thanks again...Christopher Olarti(deleted)2014-06-20T20:33:10Zpost110798: RE: RE: RE: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110798
Hi Chris,
Try
echo "start_stack::device,1">>/pps/qnx/device/usb_ctrl
echo "start_stack::none">>/pps/qnx/device/usb_ctrl
echo "start_stack::device,2">>/pps/qnx/device/usb_ctrl
echo "start_stack::none">>/pps/qnx/device/usb_ctrl
echo "start_stack::device,3">>/pps/qnx/device/usb_ctrl
slaying usblauncher is not necessary.
Note that "start_stack::none" is the correct syntax; "start_stack::device,none" is not.
-Andy
-----Original Message-----
From: Christopher Olarti [mailto:community-noreply@qnx.com]
Sent: Friday, June 20, 2014 4:23 PM
To: osmeta-core_os
Subject: Re: RE: RE: RE: USB Device - usblauncher unable to update from *.lua files
Hi Andrew,
Thanks for your help. It seems like it is working fine now, I am able to see devices being displayed in the PC Device Manager.
However, I am unable to switch between devices when using
echo "start_stack::device,1">>/pps/qnx/device/usb_ctrl, where 1 can change to none, 2, 3, ....
It seems like i have to slay usblauncher and re-enable usblauncher with the device that i want. Is there something i should consider when changing devices?
Thanks for all of your help.
Chris.
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post110797
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comAndrew Sherk2014-06-20T20:26:23Zpost110797: Re: RE: RE: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110797
Hi Andrew,
Thanks for your help. It seems like it is working fine now, I am able to see devices being displayed in the PC Device Manager.
However, I am unable to switch between devices when using
echo "start_stack::device,1">>/pps/qnx/device/usb_ctrl, where 1 can change to none, 2, 3, ....
It seems like i have to slay usblauncher and re-enable usblauncher with the device that i want. Is there something i should consider when changing devices?
Thanks for all of your help.
Chris.Christopher Olarti(deleted)2014-06-20T20:22:30Zpost110791: RE: RE: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110791
Hi Christopher,
My apologies. I gave you the wrong path, yes it should be /pps/qnx/device/usb_ctrl not /pps/qnx/usb_ctrl
I see an issue in your Device_Stack cmd string:
-d -dusbncm-mx6sabrelite-ci
Try again but remove the extra '-d' as this is incorrect syntax.
-Andy
-----Original Message-----
From: Christopher Olarti [mailto:community-noreply@qnx.com]
Sent: Friday, June 20, 2014 12:07 PM
To: osmeta-core_os
Subject: Re: RE: RE: USB Device - usblauncher unable to update from *.lua files
Hi Andy,
I think almost got to your expected result after performing
echo "start_stack::device,1">>/pps/qnx/usb_ctrl
However, the usb_ctrl is in the "device" folder after usblauncher is enabled so i did
echo "start_stack::device,1">>/pps/qnx/device/usb_ctrl
and i received the following:
# echo "start_stack::device,1">>/pps/qnx/device/usb_ctrl
# DLL Error Library cannot be found
FAILED - io_usb_dlopen
unable to load dll devu--dusbser-mx6sabrelite-ci
In function usbdc_attach_hub -- /builds/660_SDP/svn/hardware/support/publishers/usblauncher/dcd.c:247 device_root_hub != NULL -- assertion failed
Thanks.
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post110790
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comAndrew Sherk2014-06-20T16:09:47Zpost110790: Re: RE: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110790
Hi Andy,
I think almost got to your expected result after performing
echo "start_stack::device,1">>/pps/qnx/usb_ctrl
However, the usb_ctrl is in the "device" folder after usblauncher is enabled so i did
echo "start_stack::device,1">>/pps/qnx/device/usb_ctrl
and i received the following:
# echo "start_stack::device,1">>/pps/qnx/device/usb_ctrl
# DLL Error Library cannot be found
FAILED - io_usb_dlopen
unable to load dll devu--dusbser-mx6sabrelite-ci
In function usbdc_attach_hub -- /builds/660_SDP/svn/hardware/support/publishers/usblauncher/dcd.c:247 device_root_hub != NULL -- assertion failed
Thanks.Christopher Olarti(deleted)2014-06-20T16:06:47Zpost110785: RE: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110785
Hi Christopher,
#pps -m /pps/qnx
#usblauncher -h -vvvl -p 2 -t -s /lib/dll/pubs/
#### echo must be on a new line
echo "start_stack::device,1" >> /pps/qnx/usb_ctrl
The next step is to confirm that the text echoed to /pps/qnx/usb_ctrl is processed by usblauncher.
When it's working you'll see output similar to this:
# echo "start_stack::device,1" >> /pps/qnx/device/usb_ctrl
Jan 01 00:08:05.054 5 12 100 CMD: start_stack device,3
Jan 01 00:08:05.054 6 12 100 cmd_status::0 (No error)
Jan 01 00:08:05.054 5 12 100 Launch io-usb-dcd -d -dusbser-mx6sabrelite-ci ioport=0x02184000,irq=75 -n /dev/otg/io-usb-dcd
Jan 01 00:08:05.054 5 12 100 CMD: start_stack error No error
Jan 01 00:08:05.059 5 12 100 Driver io-usb-dcd has pid 639002
Right now I don't think any of these log messages show up on your target which means usblauncher doesn't receive the PPS command to start the device stack.
If you could submit a standard support case, with reference to this post our support team can help you further.
Best regards,
Andy
-----Original Message-----
From: Christopher Olarti [mailto:community-noreply@qnx.com]
Sent: Thursday, June 19, 2014 6:04 PM
To: osmeta-core_os
Subject: Re: RE: USB Device - usblauncher unable to update from *.lua files
I left everything close to the original file, except I included information for slogger2.
I performed the following commands
#pps -m /pps/qnx
#usblauncher -h -vvvl -p 2 -t -s /lib/dll/pubs/ echo "start_stack::device,1" >> /pps/qnx/usb_ctrl
However I do not see the USB Serial in the PC Device Manager, like i would if i uncommented
##############################################################
## USB OTG port (operating in device mode)...
## The commands below will configure the i.MX6 OTG port as a Mass Storage Device
#############################################################
Example of CDC-ACM (serial) device #####
#display_msg Configure USB Serial Device
# Step 1 - Start USB device stack
#io-usb-dcd -dusbser-mx6sabrelite-ci ioport=0x02184000,irq=75
#waitfor /dev/io-usb-dcd/io-usb 4
#waitfor /dev/io-usb-dcd/devu-usbser-mx6sabrelite-ci.so 4
# Step 2 - Start USB CDC-ACM function driver and enable USB soft connect
#devc-serusb_dcd -e -v -F -s -d iface_list=0,unit=1
#waitfor /dev/serusb1 4
#ulink_ctrl -l 1
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post110776
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comAndrew Sherk2014-06-20T14:00:59Zpost110784: RE: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110784
Hi Christopher,
I think we'll be able to help you best through a WebEx where we can issue the commands and walk you through the steps live. Would that be possible?
Thanks,
Andy
-----Original Message-----
From: Christopher Olarti [mailto:community-noreply@qnx.com]
Sent: Thursday, June 19, 2014 7:59 PM
To: osmeta-core_os
Subject: Re: RE: USB Device - usblauncher unable to update from *.lua files
So when using usblauncher, how can I verify the descriptors on the QNX has accepted my descriptors and strings from rules.lua.
Thanks in advance.
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post110777
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comAndrew Sherk2014-06-20T13:46:39Zpost110777: Re: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110777
So when using usblauncher, how can I verify the descriptors on the QNX has accepted my descriptors and strings from rules.lua.
Thanks in advance.Christopher Olarti(deleted)2014-06-19T23:58:57Zpost110776: Re: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110776
I left everything close to the original file, except I included information for slogger2.
I performed the following commands
#pps -m /pps/qnx
#usblauncher -h -vvvl -p 2 -t -s /lib/dll/pubs/ echo "start_stack::device,1" >> /pps/qnx/usb_ctrl
However I do not see the USB Serial in the PC Device Manager, like i would if i uncommented
##############################################################
## USB OTG port (operating in device mode)...
## The commands below will configure the i.MX6 OTG port as a Mass Storage Device
#############################################################
Example of CDC-ACM (serial) device #####
#display_msg Configure USB Serial Device
# Step 1 - Start USB device stack
#io-usb-dcd -dusbser-mx6sabrelite-ci ioport=0x02184000,irq=75
#waitfor /dev/io-usb-dcd/io-usb 4
#waitfor /dev/io-usb-dcd/devu-usbser-mx6sabrelite-ci.so 4
# Step 2 - Start USB CDC-ACM function driver and enable USB soft connect
#devc-serusb_dcd -e -v -F -s -d iface_list=0,unit=1
#waitfor /dev/serusb1 4
#ulink_ctrl -l 1Christopher Olarti(deleted)2014-06-19T22:03:45Zpost110775: RE: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110775
Hi Christopher,
Ok, let's try it from another angle, since you had usblauncher started somehow.
- don't mount the ram disk to / at boot up so we can rule out a problem with where /pps/qnx/device/usb_ctrl is being written to
- start pps with -m /pps/qnx
then try the echo "start_stack::device,1" etc. as before.
If you're still having problems it may be best to arrange a screen share / WebEx through your QNX contact (portal) so that we can walk you through the steps live.
-Andy
-----Original Message-----
From: Christopher Olarti [mailto:community-noreply@qnx.com]
Sent: Thursday, June 19, 2014 5:23 PM
To: osmeta-core_os
Subject: Re: RE: USB Device - usblauncher unable to update from *.lua files
Hi Andy,
I apparently do not have a bin/usblauncher.
# ls bin/
sh slog2info
But in my build script, it does contain the binary:
# Redirect console messages
[type=link] /bin/sh=/proc/boot/ksh
[type=link] /dev/console=/dev/ser1
[type=link] /tmp=/dev/shmem
# Programs require the runtime linker (ldqnx.so) to be at a fixed location
# Shared libraries
libc.so
libm.so.2
##############################################################
## Multimedia Publishing
##############################################################
/bin/usblauncher=usblauncher
[search=${QNX_TARGET}/etc/usblauncher]
/etc/usblauncher/rules.lua=rules.lua
/etc/usblauncher/umass.lua=umass.lua
/etc/usblauncher/usbser.lua=usbser.lua
[search=${QNX_TARGET}/armle-v7/lib/dll/pubs]
/lib/dll/pubs/pp-generic.so=pp-generic.so
#Restore search path
[search=${MKIFS_PATH}]
should i include usblauncher as a general command?
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post110774
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comAndrew Sherk2014-06-19T21:27:55Zpost110774: Re: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110774
Hi Andy,
I apparently do not have a bin/usblauncher.
# ls bin/
sh slog2info
But in my build script, it does contain the binary:
# Redirect console messages
[type=link] /bin/sh=/proc/boot/ksh
[type=link] /dev/console=/dev/ser1
[type=link] /tmp=/dev/shmem
# Programs require the runtime linker (ldqnx.so) to be at a fixed location
# Shared libraries
libc.so
libm.so.2
##############################################################
## Multimedia Publishing
##############################################################
/bin/usblauncher=usblauncher
[search=${QNX_TARGET}/etc/usblauncher]
/etc/usblauncher/rules.lua=rules.lua
/etc/usblauncher/umass.lua=umass.lua
/etc/usblauncher/usbser.lua=usbser.lua
[search=${QNX_TARGET}/armle-v7/lib/dll/pubs]
/lib/dll/pubs/pp-generic.so=pp-generic.so
#Restore search path
[search=${MKIFS_PATH}]
should i include usblauncher as a general command?Christopher Olarti(deleted)2014-06-19T21:22:56Zpost110773: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110773
Hi Christopher,
I believe in your build file usblauncher was included in the IFS and the full path is /bin/usblauncher? If so, please try
/bin/usblauncher -h -vvvl -p 2 -t -s /lib/dll/pubs
This will need to be run on a separate line from
echo "start_stack::device,2" >> /pps/qnx/usb_ctrl
(from usblauncher_slay.txt it looked like both lines were pasted together--perhaps your e-mail application may be removing line endings automatically?)
e.g.
slay devb-ram
slay pps
slay usblauncher
pps -m /pps/qnx
/bin/usblauncher -h -vvvl -p 2 -t -s /lib/dll/pubs/
echo "start_stack::device,2" >> /pps/qnx/usb_ctrl
Cheers,
Andy
-----Original Message-----
From: Christopher Olarti [mailto:community-noreply@qnx.com]
Sent: Thursday, June 19, 2014 4:54 PM
To: osmeta-core_os
Subject: Re: USB Device - usblauncher unable to update from *.lua files
Hi Andy,
Please find the attachment to be the results from your request.
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post110772
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comAndrew Sherk2014-06-19T21:00:00Zpost110772: Re: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110772
Hi Andy,
Please find the attachment to be the results from your request.Christopher Olarti(deleted)2014-06-19T20:54:29Zpost110771: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110771
Hi Christopher,
After the echo "start_stack::device,2" >> /pps/qnx/usb_ctrl
What's the output of
cat /pps/qnx/device/usb_ctrl
mount
Try (manually, at the console):
slay devb-ram
slay pps
slay usblauncher
pps -m /pps/qnx
usblauncher -h -vvvl -p 2 -t -s /lib/dll/pubs/
echo "start_stack::device,2" >> /pps/qnx/usb_ctrl
What happens?
-Andy
-----Original Message-----
From: Christopher Olarti [mailto:community-noreply@qnx.com]
Sent: Thursday, June 19, 2014 4:35 PM
To: osmeta-core_os
Subject: Re: USB Device - usblauncher unable to update from *.lua files
Hi Andy,
Please find the attachment to be the data you requested for usblauncher when the USB Host has been initialized and letting the usblauncher to perform the USB Device.
Also in my console.sh I let the script to run
##########################################################
## usblauncher
##########################################################
echo Starting USBlauncher
usblauncher -h -vvvl -p 2 -t -s /lib/dll/pubs/
then at my command prompt i performed the following commands:
#sloginfo -t
....
....
#sloginfo -wt &
....
....
#echo "start_stack::device,2" >> /pps/qnx/usb_ctrl
# <-- No new data was outputted
#pidin arg
.....
usblauncher_sloginfo_t.txt -->just executes sloginfo -t after usblauncher
usblauncher_echo.txt --> appends with usblauncher_sloginfo_t.txt and uses the commands
sloginfo -wt &
echo "start_stack::device,2" >> /pps/qnx/usb_ctrl
pidin arg
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post110770
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comAndrew Sherk2014-06-19T20:44:04Zpost110770: Re: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110770
Hi Andy,
Please find the attachment to be the data you requested for usblauncher when the USB Host has been initialized and letting the usblauncher to perform the USB Device.
Also in my console.sh I let the script to run
##########################################################
## usblauncher
##########################################################
echo Starting USBlauncher
usblauncher -h -vvvl -p 2 -t -s /lib/dll/pubs/
then at my command prompt i performed the following commands:
#sloginfo -t
....
....
#sloginfo -wt &
....
....
#echo "start_stack::device,2" >> /pps/qnx/usb_ctrl
# <-- No new data was outputted
#pidin arg
.....
usblauncher_sloginfo_t.txt -->just executes sloginfo -t after usblauncher
usblauncher_echo.txt --> appends with usblauncher_sloginfo_t.txt and uses the commands
sloginfo -wt &
echo "start_stack::device,2" >> /pps/qnx/usb_ctrl
pidin argChristopher Olarti(deleted)2014-06-19T20:34:54Zpost110768: RE: RE: RE: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110768
>>
cmd = 'io-usb-dcd -d -dusbncm-mx6sabrelite-ci ioport=0x02184000,irq=75';
cmd = 'io-usb-dcd -d -dusbser-mx6sabrelite-ci ioport=0x02184000,irq=75';
cmd = 'io-usb-dcd -d -dusbmass-mx6sabrelite-ci ioport=0x02184000,irq=75';
This is like
x = 3
x = 4
x = 5
the final value of x is 5; only the last cmd assignment is used.
The idea is that you use only one command, any of them is doesn't much matter, such as cmd = 'io-usb-dcd -d -dusbmass-mx6sabrelite-ci ioport=0x02184000,irq=75', then
echo "start_stack::device,1" >> /pps/qnx/usb_ctrl # to select the 1st item in descriptors {}, umass USB descriptors
or;
echo "start_stack::device,2" >> /pps/qnx/usb_ctrl # to select the 2nd item in descriptors {}, usbser USB descriptors
or;
echo "start_stack::device,3" >> /pps/qnx/usb_ctrl # to select the 3rd item in descriptors {}, usbncm USB descriptors
If usblauncher is used to override/set the USB descriptors, then any of the devu*-mx6sabrelite-ci.so shared objects can be used, since the USB descriptors that are compiled into these libraries are overridden based on how you instruct usblauncher to start the io-usb-dcd stack.
Were you able to type
echo "start_stack::device,1" >> /pps/qnx/usb_ctrl
at the prompt?
In the last log, I see higher verbosity logs but I don't see that this command was run yet. This command is required to properly set up the Sabrelite as a USB Device on the OTG port.
Let's try to get descriptor overrides working for mass storage, then we can discuss USB-Serial and NCM after.
Cheers,
Andy
-----Original Message-----
From: Christopher Olarti [mailto:community-noreply@qnx.com]
Sent: Thursday, June 19, 2014 2:31 PM
To: osmeta-core_os
Subject: Re: RE: RE: RE: USB Device - usblauncher unable to update from *.lua files
Please find the attachment to be the latest request for running usblauncher with -vvvl.
I am not seeing anything new on the PC Device Manager, so I will be getting a USB analyzer this afternoon and inspect the bus.
I would like to understand some of the actions better when trying to make the SabreLite a USB Device as a Network, Serial, and Mass Storage.
1. Under rules.lua, can I create multiple instances of the Device Stack for each USB type? Under the same Device_Stack{ } can I have mutliple cmd assignments; for instance:
Device_Stack = {
cmd = 'io-usb-dcd -d -dusbncm-mx6sabrelite-ci ioport=0x02184000,irq=75';
cmd = 'io-usb-dcd -d -dusbser-mx6sabrelite-ci ioport=0x02184000,irq=75';
cmd = 'io-usb-dcd -d -dusbmass-mx6sabrelite-ci ioport=0x02184000,irq=75';
path = '/dev/io-usb-dcd';
descriptors = {umass, usbser,usbncm};
}
2. What are the Serial and Networking Interfaces like the following for Mass Storage?
##############################################################
## Driver for USB Mass Storage interface
##############################################################
echo Launching devb-umass...
devb-umass cam pnp &
echo done
Thanks again.
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post110767
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comAndrew Sherk2014-06-19T19:26:46Zpost110767: Re: RE: RE: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110767
Please find the attachment to be the latest request for running usblauncher with -vvvl.
I am not seeing anything new on the PC Device Manager, so I will be getting a USB analyzer this afternoon and inspect the bus.
I would like to understand some of the actions better when trying to make the SabreLite a USB Device as a Network, Serial, and Mass Storage.
1. Under rules.lua, can I create multiple instances of the Device Stack for each USB type? Under the same Device_Stack{ } can I have mutliple cmd assignments; for instance:
Device_Stack = {
cmd = 'io-usb-dcd -d -dusbncm-mx6sabrelite-ci ioport=0x02184000,irq=75';
cmd = 'io-usb-dcd -d -dusbser-mx6sabrelite-ci ioport=0x02184000,irq=75';
cmd = 'io-usb-dcd -d -dusbmass-mx6sabrelite-ci ioport=0x02184000,irq=75';
path = '/dev/io-usb-dcd';
descriptors = {umass, usbser,usbncm};
}
2. What are the Serial and Networking Interfaces like the following for Mass Storage?
##############################################################
## Driver for USB Mass Storage interface
##############################################################
echo Launching devb-umass...
devb-umass cam pnp &
echo done
Thanks again.Christopher Olarti(deleted)2014-06-19T18:30:57Zpost110766: RE: RE: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110766
Hi Christopher,
Could you add -vvvl to the usblauncher command-line, then run sloginfo -t and provide the output?
This turns up the verbosity setting so that we can see what usblauncher's doing at each step. The -l sends the output to slogger.
Until you get everything working correctly, I recommend running
echo "start_stack::device,2" >> /pps/qnx/usb_ctrl
manually, instead of in the boot script.
You can run sloginfo in the background, and observe any new output as a response to the commands you enter on the console:
sloginfo -wt &
then
echo "start_stack::device,2" >> /pps/qnx/usb_ctrl
What output do you see?
It's ok to leave the first io-usb running. You'll need this to use the non-OTG port. devb-umass appears to fail with "xpt_configure: umass SIM attach failure" since the first io-usb instance is not running now.
If you have the first io-usb instance running (started by the boot script), then let usblauncher start the io-usb-dcd for the other controller, you'll be able to connect a USB cable between the two ports and run 'usb' or 'devb-umass' to test out the client device all on one target.
-Andy
-----Original Message-----
From: Christopher Olarti [mailto:community-noreply@qnx.com]
Sent: Thursday, June 19, 2014 1:00 PM
To: osmeta-core_os
Subject: Re: RE: RE: USB Device - usblauncher unable to update from *.lua files
Hi Andy,
Please find the attachment to be the latest actions for running usblauncher. I included the *.build file and the log file.
I commented out the initialization of the USB OTG Mass at the .script portion and made the console.sh run usblauncher -h. I did update the *.lua files to be recognized in dev/io-usb-dcd instead of dev/otg/io-usb-dcd. I also included in the console.sh the echo "start_stack::device,2" for umass after executing usblauncher.
I noticed in the log file, with "pidin arg", I did not see the device driver for a umass.
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post110765
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comAndrew Sherk2014-06-19T17:48:55Zpost110765: Re: RE: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110765
Hi Andy,
Please find the attachment to be the latest actions for running usblauncher. I included the *.build file and the log file.
I commented out the initialization of the USB OTG Mass at the .script portion and made the console.sh run usblauncher -h. I did update the *.lua files to be recognized in dev/io-usb-dcd instead of dev/otg/io-usb-dcd. I also included in the console.sh the echo "start_stack::device,2" for umass after executing usblauncher.
I noticed in the log file, with "pidin arg", I did not see the device driver for a umass.Christopher Olarti(deleted)2014-06-19T17:00:12Zpost110762: RE: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110762
I think two key things to watch for is to not start io-usb-dcd before usblauncher; let usblauncher start the USB stack for you, and to use the 'echo' command to send a PPS command to usblauncher to start the stack. Also, let usblauncher start devc-serusb_dcd, instead of starting this from your boot script. usblauncher will launch this driver.
In rules.lua:
lines 79, 96, and 100 need to have the same path, e.g. /dev/otg/io-usb-dcd so that the drivers (e.g. devc-serusb_dcd) can connect to the USB stack.
to test umass you'll need to uncomment lines 98-101.
I see that io-usb-dcd is running before usblauncher. You'll need to let usblauncher start io-usb-dcd; disable io-usb-dcd from your boot script, start usblauncher as you are doing currently, then use the 'echo' command to write the command text to usblauncher's PPS control object:
# "start_stack::device,1" >> /pps/qnx/usb_ctrl
ksh: start_stack::device,1: cannot execute - No such file or directory
--> this should be:
echo "start_stack::device,1" >> /pps/qnx/usb_ctrl
This command instructs usblauncher to spawn io-usb-dcd, a child process, and establish a connection to this stack. Then it can override whatever descriptors are in the devu-usbser-mx6sabrelite-ci.so, to take on the personality of 'umass' or 'usb-serial' (with your VID/DID and any other modifications), launch the appropriate supporting driver (devu-umass_client-block or devc-serusb_dcd), then enable the USB link so that the USB host (Windows PC) detects the device insertion.
echo "start_stack::device,1" >> /pps/qnx/usb_ctrl
--> start io-usb-dcd and override the descriptors to be umass, based on the 'umass' Lua table defined in /etc/usblauncher/umass.lua
echo "start_stack::none" >> /pps/qnx/usb_ctrl
--> usblauncher will slay io-usb-dcd (the one that it spawned in the above step)
echo "start_stack::device,2" >> /pps/qnx/usb_ctrl
--> start io-usb-dcd and override the descriptors to be usb-serial, based on the 'usbser' Lua table defined in /etc/usblauncher/usbser.lua
I see that you are running io-usb for the host-only port on the sabrelite. What you could do, once the above is working correctly, is plug a micro-USB cable into the OTG port, and the type A plug end of the cable into the port on the adjacent side of the board, then type 'usb' at the console and see if your device is enumerated. Or you could use a diagnostics tool on your Windows PC to see what is detected.
-----Original Message-----
From: Christopher Olarti [mailto:community-noreply@qnx.com]
Sent: Wednesday, June 18, 2014 6:52 PM
To: osmeta-core_os
Subject: Re: RE: USB Device - usblauncher unable to update from *.lua files
Thanks for helping with my current situation.
Please find the attachment to be the data you are requesting.
I have been switching from serial and mass storage, but the data log is for the serial communication.
Thanks Again.
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post110755
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comAndrew Sherk2014-06-19T13:48:56Zpost110756: Re: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110756
Apologies also find the following attachments to be the rules.luaChristopher Olarti(deleted)2014-06-18T22:57:51Zpost110755: Re: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110755
Thanks for helping with my current situation.
Please find the attachment to be the data you are requesting.
I have been switching from serial and mass storage, but the data log is for the serial communication.
Thanks Again.Christopher Olarti(deleted)2014-06-18T22:52:03Zpost110752: RE: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110752
After starting usblauncher, would you be able to post the output of "pidin arg", at least the portion that shows io-usb or io-usb-dcd and usblauncher running?
Would you be able to post the "Host_Stack" and "Device_Stack" portions of your Lua file that usblauncher is reading in?
If you run
echo "start_stack::device,1" >> /pps/qnx/usb_ctrl
what happens? check "pidin arg" again and see if io-usb-dcd has started.
Is the USB device that you're making serial-USB, umass, or something else?
I think we can ignore the missing /var/pps for now. It's not needed for what you're trying to accomplish.
-----Original Message-----
From: Christopher Olarti [mailto:community-noreply@qnx.com]
Sent: Tuesday, June 17, 2014 5:44 PM
To: osmeta-core_os
Subject: USB Device - usblauncher unable to update from *.lua files
I am trying to make my target board, SabreLite, to be a USB Device; so when I connect the SabreLite to a PC, I want to at least see the VID and PID in the PC Device Manager. I understand the PC side will need an *.INF file, but the VID and PID that are hexadecimal should still be updated.
So far i have tried updating the IFS boot script to include the PPS, to launch the usblauncher, and created the necessary directories for the *.lua files. However, when executing the boot script, the PPS is missing a /var/pps. The usblauncher is able to run, but when performing usb -vvv I do not see the VID and PID updated to my *.lua files.
When trying to create the missing directory with mkdir, i get an error: Function not implemented.
I also tried a QNX recommendation to run usblauncher through the SD mount. I am able to get the usblauncher to perform, but when using usb -vvv I am still seeing the USB controller being a Hub, when I want it to be a device with the information from the *.lua files. Also I am still unable to create a directory, when using mkdir.
So I would like to know if i need to mount a different binary for creating directories (mkdir)? Also is the PPS really necessary to execute the usblauncher, so it can update the usb controller with the necessary *.lua files?
Thanks in advance.
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post110732
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comAndrew Sherk2014-06-18T14:33:11Zpost110732: USB Device - usblauncher unable to update from *.lua files
http://community.qnx.com/sf/go/post110732
I am trying to make my target board, SabreLite, to be a USB Device; so when I connect the SabreLite to a PC, I want to at least see the VID and PID in the PC Device Manager. I understand the PC side will need an *.INF file, but the VID and PID that are hexadecimal should still be updated.
So far i have tried updating the IFS boot script to include the PPS, to launch the usblauncher, and created the necessary directories for the *.lua files. However, when executing the boot script, the PPS is missing a /var/pps. The usblauncher is able to run, but when performing usb -vvv I do not see the VID and PID updated to my *.lua files.
When trying to create the missing directory with mkdir, i get an error: Function not implemented.
I also tried a QNX recommendation to run usblauncher through the SD mount. I am able to get the usblauncher to perform, but when using usb -vvv I am still seeing the USB controller being a Hub, when I want it to be a device with the information from the *.lua files. Also I am still unable to create a directory, when using mkdir.
So I would like to know if i need to mount a different binary for creating directories (mkdir)? Also is the PPS really necessary to execute the usblauncher, so it can update the usb controller with the necessary *.lua files?
Thanks in advance.Christopher Olarti(deleted)2014-06-17T21:43:57Zpost110138: Re: Beaglebone Black Neutrino 6.6.0 BSP failing to start libraries
http://community.qnx.com/sf/go/post110138
To get around it I changed the file permissions in /prebuilt to execute for all users. Probably not the best solutions - but it works.Robert Porter2014-05-04T23:45:56Zpost110137: Re: Beaglebone Black Neutrino 6.6.0 BSP failing to start libraries
http://community.qnx.com/sf/go/post110137
I have the exact same issue with my build.
Any progress on the problem?Stephen Lewis(deleted)2014-05-03T20:54:54Zpost109945: Re: Enabling Serial 2 on Beaglebone Black
http://community.qnx.com/sf/go/post109945
Figured it out.
The initialisation of Serial 1 has to be the last one. Possibly due to the console being via JTAG which is tied to ser1...?
Working code for ser1 and 2
display_msg Starting Serial driver...
devc-seromap -e -F -u2 -b115200 -c48000000/16 0x48022000^2,73
waitfor /dev/ser2 4
reopen /dev/ser2
devc-seromap -e -F -u1 -b115200 -c48000000/16 0x44E09000^2,72
waitfor /dev/ser1 4
reopen /dev/ser1Robert Porter2014-04-17T04:27:32Zpost109944: Enabling Serial 2 on Beaglebone Black
http://community.qnx.com/sf/go/post109944
Hi,
I am fairly new to QNX, so I may be (am probably) doing something stupid.
I can see that the .build lines
devc-seromap -e -F -b115200 -c48000000/16 0x44E09000^2,72
waitfor /dev/ser1 4
reopen /dev/ser1
enable the first serial port.
The second serial port is at 0x48022000, however the following causes qnx to fail loading
devc-seromap -e -F -b115200 -c48000000/16 0x48022000^2,72
waitfor /dev/ser2 4
reopen /dev/ser2
Does anyone have any suggestions?
Thanks.Robert Porter2014-04-17T01:36:57Zpost109943: Re: Beaglebone Black Neutrino 6.6.0 BSP failing to start libraries
http://community.qnx.com/sf/go/post109943
Interestingly the executables in /proc/boot (Neutrino) for my build are not marked as executable, for example:
-rw-rw-r-- 1 1000 1000 46228 Apr 16 2014 devc-seromap
whilst they are for the original build:
-rwxr-xr-x 1 0 0 46228 Feb 25 2014 devc-seromap
Neutrino won't let me change them manually either.Robert Porter2014-04-16T23:59:41Zpost109941: Re: Beaglebone Black Neutrino 6.6.0 BSP failing to start libraries
http://community.qnx.com/sf/go/post109941
I should also say that I haven't yet made any changes to beaglebone.build or build.Robert Porter2014-04-16T23:41:58Zpost109940: Beaglebone Black Neutrino 6.6.0 BSP failing to start libraries
http://community.qnx.com/sf/go/post109940
Hi,
I am relatively new to QNX and may be overlooking something stupid. I am trying to use QNX on the Beaglebone Black using the Texas Instruments AM335x Beaglebone/Beaglebone Black Board Support Package.
When I load the .bin that is precompiled (in /images) Neutrino starts up without any issues. However, when I compile my own - using Momentics Software Development Platform 6.6 Linux Host (Ubuntu 12.04) - no errors are given during the build but upon loading the .bin the following is displayed:
--------------------------
## Starting application at 0x81000000 ...
__________Board ID__________
header: ee3355aa
name: A335BNLT
____________________________
BeagleBone Black detected
VFPv3: fpsid=410330c3
coproc_attach(10): attach fe07a3fc (fe07ad24)
coproc_attach(11): attach fe07a3fc (fe07ad24)
Welcome to QNX Neutrino 6.6.0 on the Texas Instruments AM335x BeagleBone (ARMv7 Cortex-A8 core) - Board
Unable to start "devc-seromap" (2)
Unable to access "/dev/ser1" (2)
Unable to access "/dev/ser1" (2)
Starting MMC/SD driver...
Unable to start "devb-mmcsd-jacinto5" (2)
starting I2C driver...
Unable to start "i2c-omap35xx-j5" (2)
Unable to access "/dev/i2c0" (2)
starting WDT reset utility...
Unable to start "dm814x-wdtkick" (2)
starting Board ID driver...
Unable to start "am335x-boardid" (2)
Unable to access "/dev/bdid" (2)
Setting OS Clock from on-board RTC
Unable to start "rtc" (2)
Sat Jan 01 00:00:15 GMT 2000
Starting USB OTG Host driver...
Starting SPI driver...
Unable to start "spi-master" (2)
Starting network driver...
starting leds driver...
Unable to start "am335x-leds" (2)
Unable to access "/dev/leds" (2)
sh: No controlling tty (open /dev/tty: No such device or address)
sh: warning: won't have full job control
#
---------------------------
It seems as if the necessary libraries have not been included in the image (though they are all in the file structure /prebuilt before the build, and /install after the build).
Does anyone know if there is something I am missing? Or is this an issue anyone else has encountered?
Thanks a lot.Robert Porter2014-04-16T23:39:37Zpost108595: RE: RE: RE: RE: RE: qnx 4.25 login problem
http://community.qnx.com/sf/go/post108595
The l means it`s a link, a file/folder that is a pointer to the real file/folder
-----Message d'origine-----
De : Bryan S [mailto:community-noreply@qnx.com]
Envoyé : Tuesday, February 04, 2014 2:16 PM
À : osmeta-core_os
Objet : Re: RE: RE: RE: RE: qnx 4.25 login problem
At the start of this I had a screen shot of when the computer started up. It looked like it was looking for a cd to run something. Im guessing it was a bootable cd rom that ran the programs ont he drive.
automap: not found
ascent_start: not found
I found a folder thanks to everyones help that is named Ascent. I still can not find that program. If thats what I need to run. To run a program do I simply type the name in the cmd line ? Also, what does the l mean in the front of the run time?
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post108594
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comMario Charest2014-02-04T19:24:55Zpost108594: Re: RE: RE: RE: RE: qnx 4.25 login problem
http://community.qnx.com/sf/go/post108594
At the start of this I had a screen shot of when the computer started up. It looked like it was looking for a cd to run something. Im guessing it was a bootable cd rom that ran the programs ont he drive.
automap: not found
ascent_start: not found
I found a folder thanks to everyones help that is named Ascent. I still can not find that program. If thats what I need to run. To run a program do I simply type the name in the cmd line ? Also, what does the l mean in the front of the run time?Bryan S2014-02-04T19:15:50Zpost108592: RE: RE: RE: RE: qnx 4.25 login problem
http://community.qnx.com/sf/go/post108592
Any x anywhere but it must NOT start with a d ( like dev ) .
Also all these files you mention are related to QNX, it is probably not what you are looking, and if you start something that should be start, you could crash the machine. Stay away from dinit, rm, rmdir, mv, to name a few.
Do a each on QNX site for commands you don`t know about before starting them. If you know anyone that knows linux they should feel somewhat comfortable and could help you find what you are looking for.
-----Message d'origine-----
De : Bryan S [mailto:community-noreply@qnx.com]
Envoyé : Tuesday, February 04, 2014 1:53 PM
À : osmeta-core_os
Objet : Re: RE: RE: RE: qnx 4.25 login problem
So the program that I can run are anything with and X to the far right ? like .photon,bin,boot,dev,etc ?
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post108591
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comMario Charest2014-02-04T18:58:58Zpost108591: Re: RE: RE: RE: qnx 4.25 login problem
http://community.qnx.com/sf/go/post108591
So the program that I can run are anything with and X to the far right ? like .photon,bin,boot,dev,etc ?Bryan S2014-02-04T18:52:56Zpost108588: RE: RE: RE: qnx 4.25 login problem
http://community.qnx.com/sf/go/post108588
Program that can be run have an executable flag attach to them. You can look at the flags by doing "ls -l(el)", -l stand for long format. It's the x has seen in the left side. However if the first letter is d instead of - that means it's a directory.
-rwXrwXr-X 1 root root 54715 Feb 04 00:50 pax
-rwXrwXr-X 1 root root 25413 Feb 04 00:50 ps
Under QNX and linux for that matter, the file name is NOT an indication of what the program is or does. The . is not a separator, it's a character just like any other. Extension have no mean to the computer, only to the human.
-----Message d'origine-----
De : Bryan S [mailto:community-noreply@qnx.com]
Envoyé : Tuesday, February 04, 2014 12:53 PM
À : osmeta-core_os
Objet : Re: RE: RE: qnx 4.25 login problem
I can now look under each folder on the hd thank you very much you have no idea how much this helps. My problem is short of learning all new code Im unsure of what to look for. This sys doesn't run .exe files or .su files correct ? What would a runnable program file look like ?
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post108587
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comMario Charest2014-02-04T18:02:29Zpost108587: Re: RE: RE: qnx 4.25 login problem
http://community.qnx.com/sf/go/post108587
I can now look under each folder on the hd thank you very much you have no idea how much this helps. My problem is short of learning all new code Im unsure of what to look for. This sys doesn't run .exe files or .su files correct ? What would a runnable program file look like ?Bryan S2014-02-04T17:52:48Zpost108586: RE: RE: qnx 4.25 login problem
http://community.qnx.com/sf/go/post108586
That looks like a normal QNX4 disk. The programs you are looking for could be under /home. But it could be anywhere on the disk...
-----Message d'origine-----
De : Bryan S [mailto:community-noreply@qnx.com]
Envoyé : Tuesday, February 04, 2014 12:24 PM
À : osmeta-core_os
Objet : Re: RE: qnx 4.25 login problem
Yes I can and this is what I get. The cd that used to auto run, ran a program in the hd. Im unsure of what its called and how to run it. let alone how to make the cd again. Any more ideas would help greatly.
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post108585
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comMario Charest2014-02-04T17:33:41Zpost108585: Re: RE: qnx 4.25 login problem
http://community.qnx.com/sf/go/post108585
Yes I can and this is what I get. The cd that used to auto run, ran a program in the hd. Im unsure of what its called and how to run it. let alone how to make the cd again. Any more ideas would help greatly.Bryan S2014-02-04T17:24:24Zpost108579: How to download the source package of ftp server for QNX RTOs?
http://community.qnx.com/sf/go/post108579
I want to debug the program from the host onto the embedded PC - I need a readme.txt file to do that. I studied a document and explained as below but I dont know how and where to download exactly.
Source code examples covering thread creation, usage of mutexes, message-passing and other methods of interprocess communication as well as a QNX resource-manager template can be found on our FTP server ftp.qnx.de; just use an FTP client to log in as user qnx with the password qnx!neutrino and download the source package. It contains a readme.txt that explains how to import the source examples into the QNX Momentics IDE.
Could anyone please help me in this ??hemanth jv(deleted)2014-02-04T09:09:47Zpost108576: RE: qnx 4.25 login problem
http://community.qnx.com/sf/go/post108576
The QNX file system is proprietary. The filesystem could be read by Linux but I don't think it does by default, you have to install the modules for that. Windows has no support for it.
Can you run a command like ls ?
-----Message d'origine-----
De : Bryan S [mailto:community-noreply@qnx.com]
Envoyé : Monday, February 03, 2014 3:46 PM
À : osmeta-core_os
Objet : Re: qnx 4.25 login problem
This is the window I get when I plug it back into its network. I don't know what the login is but if I use root I can log in under that. Once there I cant find any commands that can show me whats on the drive. I had thought about using a linix cd disc to boot it up but when loaded it only showed the cd rom and floppy drive but not the HD. I took the drive out and put it into a windows computer and it found the drive but asks to be formatted. Its very old and the drive its self is only 3gb's. There was a cd at one point that ran a program for the user so they did it need to log in each time but that cd is missing. With out knowing whats on the drive I can't guess at what command to use.
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post108574
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comMario Charest2014-02-03T21:16:57Zpost108574: Re: qnx 4.25 login problem
http://community.qnx.com/sf/go/post108574
This is the window I get when I plug it back into its network. I don't know what the login is but if I use root I can log in under that. Once there I cant find any commands that can show me whats on the drive. I had thought about using a linix cd disc to boot it up but when loaded it only showed the cd rom and floppy drive but not the HD. I took the drive out and put it into a windows computer and it found the drive but asks to be formatted. Its very old and the drive its self is only 3gb's. There was a cd at one point that ran a program for the user so they did it need to log in each time but that cd is missing. With out knowing whats on the drive I can't guess at what command to use.Bryan S2014-02-03T20:46:00Zpost108215: Re: qnx 4.25 login problem
http://community.qnx.com/sf/go/post108215
Here's some light reading that may help... :-)
http://www.qnx.com/developers/docs/qnx_4.25_docs/qnx4/
On 2014-01-28 1:45 PM, Bryan S wrote:
> Just got back to the office a few minutes ago and tried #acsent_start. Said not found. Is there a way of finding all the programs that are on the computer via a command?
>
>
>
> _______________________________________________
>
> OSMeta
> http://community.qnx.com/sf/go/post108202
> To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comColin Burgess(deleted)2014-01-28T23:36:16Zpost108202: Re: RE: qnx 4.25 login problem
http://community.qnx.com/sf/go/post108202
Just got back to the office a few minutes ago and tried #acsent_start. Said not found. Is there a way of finding all the programs that are on the computer via a command?Bryan S2014-01-28T18:45:50Zpost108199: Re: RE: qnx 4.25 login problem
http://community.qnx.com/sf/go/post108199
It might be trying to start up 'accent_start' from the network.
ie. if it was on the network, it might just work...
On Tue, Jan 28, 2014 at 01:20:31PM -0500, Bryan S wrote:
> The errors are because its not plugged into the network of computers. I had to unplug it and bring it home as home work. I am logged in under root but i am unsure what programs there are to use. I'm used to windows and even command lines in dos. The commands I have found online for this sys I am unsure about using. If I destroy something I will never get it back.
>
>
>
> _______________________________________________
>
> OSMeta
> http://community.qnx.com/sf/go/post108198
> To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comSean Boudreau(deleted)2014-01-28T18:23:34Zpost108198: Re: RE: qnx 4.25 login problem
http://community.qnx.com/sf/go/post108198
The errors are because its not plugged into the network of computers. I had to unplug it and bring it home as home work. I am logged in under root but i am unsure what programs there are to use. I'm used to windows and even command lines in dos. The commands I have found online for this sys I am unsure about using. If I destroy something I will never get it back.Bryan S2014-01-28T18:20:31Zpost108197: RE: qnx 4.25 login problem
http://community.qnx.com/sf/go/post108197
The screen shot shows you are logged in properly.
Before that there are a bunch of suspicious errors, are they expected? Are they part of the problem? Don't know.
Maybe it`s just a matter of starting the right program from the prompt #. I guess you could look on the HD for programs that are not part of the OS to see if one of them is the one you need.
-----Message d'origine-----
De : Bryan S [mailto:community-noreply@qnx.com]
Envoyé : Tuesday, January 28, 2014 11:54 AM
À : osmeta-core_os
Objet : qnx 4.25 login problem
This may not be the right place. I am a computer tech for five flight schools. I've never had this problem and I hope someone here can help me. One of the flight school bought a flight simulator from Mynix. As they are the smallest of schools they could not afford the larger, newer flight sims, so they bought one that was working but old. After having it moved from coast to coast, at some point they lost the log ins and can not get it running. The sim is huge and looks like its part of a Plain. The sim is set up on a network of four computers. One is for the projector, one for the copilot and the other for the pilot. All run windows. The main computer that talks to the simulator itself, and then runs all the calculations for the sim is running qnx 4.25. It comes up with a log in that no one knows the name or pass word to. I can type in root and its pass word but it just logs in the shows a # sign under today's date. I am unsure how to get the program, if any to start. ITs a 15k machine that's worthless without this one computer. Also, I called the company who made it and no one there knows how to fix it. The item is so old that the people who worked there who knew how to get it to work no longer work there. If this is not the right place for posting this I'm sorry. If it is not it would be great and much appreciated if any one could point me in the right direction.
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post108196
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comMario Charest2014-01-28T17:23:55Zpost108196: qnx 4.25 login problem
http://community.qnx.com/sf/go/post108196
This may not be the right place. I am a computer tech for five flight schools. I've never had this problem and I hope someone here can help me. One of the flight school bought a flight simulator from Mynix. As they are the smallest of schools they could not afford the larger, newer flight sims, so they bought one that was working but old. After having it moved from coast to coast, at some point they lost the log ins and can not get it running. The sim is huge and looks like its part of a Plain. The sim is set up on a network of four computers. One is for the projector, one for the copilot and the other for the pilot. All run windows. The main computer that talks to the simulator itself, and then runs all the calculations for the sim is running qnx 4.25. It comes up with a log in that no one knows the name or pass word to. I can type in root and its pass word but it just logs in the shows a # sign under today's date. I am unsure how to get the program, if any to start. ITs a 15k machine that's worthless without this one computer. Also, I called the company who made it and no one there knows how to fix it. The item is so old that the people who worked there who knew how to get it to work no longer work there. If this is not the right place for posting this I'm sorry. If it is not it would be great and much appreciated if any one could point me in the right direction.Bryan S2014-01-28T16:53:47Zpost107903: Re: sftp chroot (again?)
http://community.qnx.com/sf/go/post107903
I am having similar issues with SSH and chroot jail. My WinSCP client session terminates with 'Server refused to start a shell/command' and the last outputs from the /var/log/syslog on the server side are:
Jan 13 12:42:02 nto sshd[5943343-1]: debug3: safely_chroot: checking '/'
Jan 13 12:42:02 nto sshd[5943343-1]: debug3: safely_chroot: checking '/home/'
Jan 13 12:42:02 nto sshd[5943343-1]: debug3: safely_chroot: checking '/home/update/'
Jan 13 12:42:02 nto sshd[5943343-1]: debug3: safely_chroot: checking '/home/update/files'
Jan 13 12:42:02 nto sshd[5935141-1]: debug3: monitor_read: checking request 60
Jan 13 12:42:02 nto sshd[5935141-1]: debug3: mm_answer_term: tearing down sessions
I have not idea why the 'tearing down sessions' is happening.
Any idea ??
/PerPer von Knorring2014-01-13T19:43:51Zpost105690: SCSI Inquiry with devctl(DCMD_CAM_PASS_THRU)
http://community.qnx.com/sf/go/post105690
Hello,
I'm trying to send an SCSI Inquiry to an USB Stick over devctl(DCMD_CAM_PASS_THRU), is it possibel in general?
I iterate over the volumes in /fs and get the device with devctl(DCMD_FSYS_MOUNTED_ON) then I try to send the inquiry command with
CAM_PASS_THRU cpt;
int ret;
unsigned char sense_buffer[32];
unsigned char data[96];
memset(&cpt, 0, sizeof(cpt));
cpt.cam_flags = CAM_DIR_OUT | CAM_DIS_AUTOSENSE;
cpt.cam_cdb_len = 6;
cpt.cam_cdb[0] = 0x12;
cpt.cam_cdb[4] = 0x24;
cpt.cam_sense_len = sizeof(sense_buffer);
cpt.cam_sense_ptr = sense_buffer;
cpt.cam_data_ptr = data;
cpt.cam_dxfer_len = sizeof(data);
cpt.cam_timeout = CAM_TIME_DEFAULT;
ret = devctl(devfd, DCMD_CAM_PASS_THRU, &cpt, sizeof(cpt), NULL);
But devctl returns immediatly with EINVAL error code.
Thanks in advance.Bernd Schneider2013-10-07T09:07:58Zpost105593: Download Percy Jackson, Gravity
http://community.qnx.com/sf/go/post105593
In just a few times lovers will get to see the sequel-installment to the long awaited film ‘Percy Jackson: Sea of Monsters’ featuring Logan Lerman, Alexandra Daddario, Nathan Fillion and a few other extremely well-known celebrities that you should know. Fans of the smash hit sequence can go behind the curtain, on-set, with their preferred celebrities of the film thanks to a few discussions the throw created while capturing the enormous venture. Above you can listen to each character’s take on the new film, the establishing and what it was like to perform on such a smash hit occasion.
In the film there are a lot of new components that lovers will keep in mind from the well-known guides. Beginning off in Camping Half-blood, Percy will discover more about his close relatives, his competitors, have to cope with the come back of the super Robber and of course will have to preserve his buddies. (Download & Watch Percy Jackson Sea of Monsters Movie) The film begins off with release to camp Half-blood, everyone will in risk soon of course, and only the mythological ‘Golden Fleece’ will be able to preserve Percy and his buddies. Though that will need traversing ‘The Sea of Monsters,’ something that few have tried.
The film is being instructed by Thor Freudenthal, who is also presented in it clip. The movie script was published by Marc Guggenheim and is of course in accordance with the well-known novel published by John Riordan. The film is set to elite on Aug 7, 2013.
The Lightning Robber did not really produce the type of opinions one was anticipating it to, its $226 thousand box workplace selection certainly shown the point that the visitors of the Percy Fitzgibbons & The Olympians guide sequence do not proper care much about the opinions, and will observe its film variation anyway.
http://pjsm.blog.terra.com.br/
http://pjsom.comunidades.net/
http://pjsm.jottit.com/
http://watchgravity.myblog.it/
http://watchgravityfilm.tumblr.com/
http://dgravity.soup.io/
http://www.stumbleupon.com/su/55WfUv
http://www.kirkfranklin.com/node/12738FDGFDG FGDG2013-10-03T08:39:36Zpost105592: Re: Watch The Hangover 3, Gravity
http://community.qnx.com/sf/go/post105592
[url=http://watchgravity.myblog.it/]Watch Gravity Movie Online[/url] : In some ways, Alfonso Cuaron’s Gravity may be a terribly straightforward movie: it’s a couple of combine of yank astronauts United Nations agency survive a horrific accident whereas making an attempt to repair a satellite and should do all they will to remain alive.
[url=http://dgravity.soup.io/]Download Gravity Movie[/url] : In several different ways that, Gravity is associate astoundingly sophisticated motion-picture show. people who recall the epic “six-minute shot” from man. Cuaron’s sensible youngsters of Men are going to be excited to find out that the director has currently upped the ante in just about each dement of visual storytelling.
[url=http://watchgravityfilm.tumblr.com/]Watch Gravity Online[/url] : Not solely will Gravity feature one or two of splendidly extended sequences during which there aren’t any cuts — or the cuts square measure invisible however he employs fulgurant, jaw-dropping digital effects in masterful fashion, and his motion-picture photography turns quiet scenes into art and action scenes into one thing actually splendid.
[url=http://watchgravity.myblog.it/]Gravity Movie Download[/url] : It actually does not hurt that our traveler heroes square measure Sandra Bullock and St. George Clooney, however again: Cuaron does not use his motion-picture show stars as flashy props. The names may sell some tickets, however each actors square measure merely nice here. Clooney is his well charming self because the veteran astronaut; Bullock, as a laptop genius on her 1st area mission, is good and frightened, however conjointly sharply intelligent noble, and brave. Sandra Bullock and St. George Clooney might realize chemistry in any premise you’ll cook up, however they are associate icularly appealing team in Gravity.FDGFDG FGDG2013-10-03T08:37:39Zpost105591: Watch The Hangover 3, Gravity
http://community.qnx.com/sf/go/post105591
Watch The Hangover 3, GravityFDGFDG FGDG2013-10-03T08:36:59Zpost105434: How to make a bootable CD or DVD with QNX 6.5 SP1 ?
http://community.qnx.com/sf/go/post105434
hello,
I have crash problem with the bootable CD QNX 6.5.0 probably related to SATA (?). Question: How to make a bootable CD or DVD with QNX 6.5 SP1?
Sincerely,
Frédéric AchardGIMEL Bernard(deleted)2013-09-26T09:52:48Zpost104617: Re: Validate an IFS file
http://community.qnx.com/sf/go/post104617
Did you ever resolve this? I have the same question.Raymond Flach(deleted)2013-08-28T15:15:47Zpost104184: Re: Autologin and autostart photon
http://community.qnx.com/sf/go/post104184
Photon is deprecated and will not be included in the next QNX version. I'd recommend moving to Qt. In particular, KDAB is offering a Photon to Qt migration framework.
Cheers,
- MalteMalte Mundt2013-08-14T12:24:33Zpost100228: Re: Autologin and autostart photon
http://community.qnx.com/sf/go/post100228
Hi Georg
I have similiar problem with Photon autologin.
I have added the line
/usr/photon/bin/Photon -l '/usr/bin/photon/phlogin -O -Uusernamie:password'
to my rc.local file but during Photon startup it suddenly shows second login screen (different than the first one) and i have to type username and password once again.
How to avoid this second login prompt? I would like to start Photon automaticaly with autologin.
Does anybody know how to do this and why is there second login prompt?
I have added the second login prompt view in the attachment.
Regards,
Marcin.Marcin Morawski(deleted)2013-03-28T13:57:57Zpost99489: Re: sin cannot be executed on Neutrino 6.5.0
http://community.qnx.com/sf/go/post99489
I'm pretty rusty on my QNX4 but I think pidin is the closet QNX6 equivalent. Try "use pidin".
From: Allen Chen
Sent: Friday, February 22, 2013 10:48 PM
To: osmeta-core_os
Reply To: osmeta-core_os@community.qnx.com
Subject: sin cannot be executed on Neutrino 6.5.0
I installed Neutrino 6.5.0 on VMware workstation. To display system information, I use sin command. But it tells an error that /bin/sh cannot execute sin. Does the sin command not include in Neutrino 6.5.0?
_______________________________________________
OSMeta
http://community.qnx.com/sf/go/post99488
To cancel your subscription to this discussion, please e-mail osmeta-core_os-unsubscribe@community.qnx.comJoel Pilon(deleted)2013-02-23T04:27:57Zpost99488: sin cannot be executed on Neutrino 6.5.0
http://community.qnx.com/sf/go/post99488
I installed Neutrino 6.5.0 on VMware workstation. To display system information, I use sin command. But it tells an error that /bin/sh cannot execute sin. Does the sin command not include in Neutrino 6.5.0?Allen Chen(deleted)2013-02-23T03:48:47Zpost98924: Phindows v1.20 installer?
http://community.qnx.com/sf/go/post98924
Hello,
we have purchased a license for Phindows V1.20, but got only the license number as PDF, no executable or installer file. Download area contains only Phindows V2.0 or higher. Please help.
Thanks
-AlbrechtAlbrecht Uhlmann2013-01-31T10:52:57Zpost97352: Looking for QNX 4.25 zip with password argument
http://community.qnx.com/sf/go/post97352
Hello. I have the 1996 version of zip and unzip for QNX 4.25, and it has the -e option for interactive password encryption. But I cannot find anywhere a newer version of any type of compression with encryption which can be automated by script. I'm trying to set up weekly archives which cannot be left unencrypted, and I saw the QNX 6 version of zip has a -P option. Is there anywhere I can get something similar for QNX 4.25? I spent an hour searching forums and web and could not find any non-dead links, so sorry if I missed anything. Thanks very much.
Regards,
Guillermo LandeGuillermo Lande2012-11-21T19:11:56Zpost93826: Core: automatic activate PAE on x86 system with more 3GB of RAM
http://community.qnx.com/sf/go/post93826
Now, I and other customers of QSS have a problem for launch QNX 6.5 on modern systems.
Like that - Intel Core i7/6GB RAM/128GB SSD SATA.
By default downloadable images of QNX for x86 not use option -x for startup-bios and -mP for procnto.
Benefit:
- Add in loader verification on CPU PAE and memory size - if avaible more 3GB - add spec options
- Add this options by default in QNX SDK self-hosted
- Add pre-build template for Momentics by x86 image
Thanks.
P.S. If anybody can build QNX SDK self-hosted with this options - I'be very gladVitaly2012-06-22T09:45:48Zpost93363: SCSI Generic
http://community.qnx.com/sf/go/post93363
Hi,
i'm using QNX Neutrino 6.5 and I would like to know if QNX supports SCSI Generic Devices as on Linux or other possibilities for bypass, pass throug SCSI commands to a device.
Best Regards
BerndBernd Schneider2012-05-30T11:53:21Zpost92590: developers' branch?
http://community.qnx.com/sf/go/post92590
Is there a repository that developers can put their dev branches?
Sorry if it's posted somewhere but I didn't find it.Yan Wu(deleted)2012-04-17T21:22:14Zpost90999: Re: problem during downloading the kernel source
http://community.qnx.com/sf/go/post90999
Thank you very much!an zheng2012-01-19T02:27:27Zpost90979: Re: problem during downloading the kernel source
http://community.qnx.com/sf/go/post90979
The source has been moved out of the OS project. There are new rules for accessing the source. Sorry, we havent had time to update this wiki.
But the new policy for getting source is here:
<http://community.qnx.com/sf/wiki/do/viewPage/projects.community/wiki/UpdatedQNXSourceAccessPolicyFAQ>Attilla Danko(deleted)2012-01-18T15:16:26Zpost90973: problem during downloading the kernel source
http://community.qnx.com/sf/go/post90973
Hello everybody!I am a beginner of QNX.
I want to download the QNX kernel source.
After install the client of svn on windows,and incant:
svn checkout --username <myid> http://community.qnx.com/svn/repos/coreos_pub/trunk
I got this:
svn: E1750013: Server sent unexpected return value <500 Internel Server Error> in response to PROPFIND request for 'svn/repos'
I don't know how to deal with it.Please help me!
Thank you very much!an zheng2012-01-18T02:48:46Zpost89602: RE: wprintf doesn't printf anything out
http://community.qnx.com/sf/go/post89602
While I can't think of a reason why it would matter, try fflush(stdio). Either way, you should probably raise a PR.
[ Note that if you're using wide characters as part of an attempt at internationalization for PlayBook, you should probably abandon that idea: madness and despair lie in that direction. PlayBook uses libicu for I18N/L10N. ]Neil Schellenberger(deleted)2011-10-25T17:34:58Zpost89601: wprintf doesn't printf anything out
http://community.qnx.com/sf/go/post89601
wprintf(L"Hello\n");
wprintf doesn't print anything out on my telnet console. printf works just fine. Any idea?kunling ma(deleted)2011-10-25T17:32:32Zpost88881: QNX support for allocating I/O channels to different processor cores in a multicore system?
http://community.qnx.com/sf/go/post88881
All -
I was just thrown into a new project that uses QNX as the RTOS on which a legacy application runs. I'm new to QNX (though not to Unix/Linux), and not yet up to speed on all of the underlying technical details, so I figured I'd post a question at the same time I'm reading the documentation (so far, search tools have proved useless for this topic).
To add new capabilities to this legacy software application (built for QNX Neutrino 6.3.2), which has stringent real-time requirements (fast application clock cycle) and multiple high-speed I/O channels, the project would like to upgrade the hardware to a multicore system and assign I/O channels to different processor cores. Here's the theory:
The platform would be a modern PC desktop/workstation-class machine with an Intel Xeon 5500/5600 CPU and chipset that supports VT-x / VT-d virtualization technology. These processor features would not be used for their common application (a hypervisor that supports multiple virtual machines on the same physical host), but would be configured so that, within a single QNX host OS, separate I/O channels could be assigned to different processor cores, thus spreading the I/O processing load among the multiple available cores (on the current platform, even with an older dual- or quad-core processor, all of the I/O is handled by core 0 and cannot be offloaded onto another core). This would be accomplished using the VT-d capabilities of DMA remapping and interrupt migration. The legacy application could then be updated to utilize BMP to assign threads to different processor cores, matching I/O channels with the threads responsible for managing them.
My question is this: Does any version of QNX Neutrino support these processor features, or provide a mechanism for dividing the I/O load as described above? As I mentioned above, the legacy application runs on 6.3.2, and I've been researching 6.5.0, but so far have found nothing. If this is not supported now, are there plans to support it in the near future? If not, would it be possible for me to develop this capability myself (via drivers, etc.)? How much effort would it be to develop (my initial research tells me that it would not be trivial)?
I would appreciate any insight that those with more expertise than me can offer.
Thank you,
EPEric Preston(deleted)2011-09-16T02:27:01Zpost88275: Related to audio in QNX <waverec and wave>
http://community.qnx.com/sf/go/post88275
hi team!
While we developing an utility which will route audio info from input PCM channels to output channles(Basically deriving from
Waverec and wave uitilities) getting the following error messagesl.
this is failing at function snd_pcm_channel_params()
Any help in this regard is well appreciated.
# ./mictest -a0:0 -b0:0 -c=0x1 -vvv
Using card 0 device 0
Playback Channel on card 0 device 0
Playback Channel Name: OMAP35xx PCM 0
Channel info max voices: 4
Channel info min voices: 4
Channel info max rate: 48000
Channel info min rate: 48000
Channel info Min frag size: 128
Channel info Max frag size: 32768
Requesting rate: 48000
Requesting voices: 4
Requesting format: Interleaved Signed 16-bit Little Endian
snd_pcm_channel_params failed: Invalid argument
Capture Channel on card 0 device 0
Capture Channel Name: OMAP35xx PCM 0
Channel info max voices: 4
Channel info min voices: 4
Channel info max rate: 48000
Channel info min rate: 48000
Channel info Min frag size: 128
Channel info Max frag size: 32768
Requesting rate: 48000
Requesting voices: 4
Requesting format: Interleaved Signed 16-bit Little Endian
snd_pcm_channel_params failed: Invalid argument
Error initializing io-audio capture device!
We are using QNX 6.5.0 arm-le v7 (OMAP 3730)
Thanks
Siva Krishnasiva krishna yendamuri2011-08-23T05:04:11Zpost88181: sftp chroot (again?)
http://community.qnx.com/sf/go/post88181
I'm using QNX 6.5 and my assignment is to get sftp working with the ChrootDirectory directive. I'm wondering if anyone else had been successful doing this. I've overcome one challenge already. sshd requires a pipe, but in a chroot jail, there is no /dev/pipe device. The solution was to start pipe in the same chroot jail from a program running as root.
Now I can login and have some functionality, for example, if there's a file xyz in my directory I can do this:
sftp> get /xyz
or if there is a directory abc I can do this
sftp> ls /abc
However a lot of stuff doesn't work. For example, If my chroot jail is /usr/test then
sftp> pwd
gives
/usr/test
which is wrong, it should be /
If I do this:
sftp> ls
I get an error that /usr/test doesn't exist.
And finally if I try
sftp> cd /abc
I get an error
Couldn't stat remote file: No such file or directory
Clearly something is broken. Can anyone help?Mitchell Schoenbrun2011-08-18T07:28:01Zpost87274: Validate an IFS file
http://community.qnx.com/sf/go/post87274
Hi,
We are creating an embedded system (hardware + software) for motion
control. Our project is on QNX. We would like to let the users of our
product sending a new firmware in order to upgrade it (so we can keep
our jobs ;)). The firmware is an IFS file.
For the moment, we are able to
1. Let the user send the new firmware through a web page
2. Get the firmware (ifs file) on the board.
3. Copy it to a raw flash partition
4. Restart the product on the new firmware.
Our current issue is that we would like to be able to check, on the
product, that the user did send a valid ifs image. We notice that there
are two checksum embedded in the ifs image. One for the startup code and
one for the image itself.
What we do not know (and maybe you can help us on this) is:
- What is the internal structure of the ifs file (in order to
parse it) ? Is there some header files describing the data ?
- Is there (we did not find it) an API to recalculate the
checksum and compare them with the embedded checksum ?
- Has someone already done such kind of code and is there some
example, documentation somewhere ?
Regards,
Daniel Peppicelli
Kollmorgen
Please be advised that this email may contain confidential
information. If you are not the intended recipient, please notify us
by email by replying to the sender and delete this message. The
sender disclaims that the content of this email constitutes an offer
to enter into, or the acceptance of, any agreement; provided that the
foregoing does not invalidate the binding effect of any digital or
other electronic reproduction of a manual signature that is included
in any attachment.Daniel Peppicelli2011-07-12T13:28:41Z