Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Radar sensor Forum Discussions

jingjing
Level 1
5 sign-ins First question asked Welcome!
Level 1

my sensor is work well  with windows,

but when i plan  connect the sensor with ubuntu(20.04),

and try to run range-angle-map.py,

there has an error like below:

Traceback (most recent call last):
File "range-angle-map.py", line 122, in <module>
with Device() as device:
File "/home/zhangjj/work/2022/mmwave/RDK-TOOLS-SW/SDK/apps/py/examples/ifxRadarSDK.py", line 460, in __init__
check_rc()
File "/home/zhangjj/work/2022/mmwave/RDK-TOOLS-SW/SDK/apps/py/examples/ifxRadarSDK.py", line 374, in check_rc
raise_exception_for_error_code(error_code, dll)
File "/home/zhangjj/work/2022/mmwave/RDK-TOOLS-SW/SDK/apps/py/examples/ifxError.py", line 41, in raise_exception_for_error_code
raise eval(error_mapping_exception[error_code])(dll)
ifxError.ErrorNoDevice: no compatible device found (IFX_ERROR_NO_DEVICE)

 

and if i run command "lsusb" in linux,

(base) zhangjj@zhangjj-PNVKB0A0-Samsung-DeskTop:~/work/2022/mmwave/RDK-TOOLS-SW/SDK/apps/py/examples$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 009: ID 058b:0251 Infineon Technologies IFX CDC
Bus 001 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 002: ID 1c4f:0049 SiGma Micro USB Wired Keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

the Infineon device will be appeared.

 

is there has any idea for it?

0 Likes
1 Solution
Deepa_V
Moderator
Moderator 50 solutions authored 100 replies posted 100 sign-ins
Moderator

Hi @jingjing ,

Can you please make sure that your current user is in the group dialout ? You can check the groups of your current user using:

Deepa_V_0-1659941045260.png

Let us know if this helps ! 

Best regards,

Deepa

View solution in original post

0 Likes
4 Replies
Deepa_V
Moderator
Moderator 50 solutions authored 100 replies posted 100 sign-ins
Moderator

Hi @jingjing ,

Can you please make sure that your current user is in the group dialout ? You can check the groups of your current user using:

Deepa_V_0-1659941045260.png

Let us know if this helps ! 

Best regards,

Deepa

0 Likes
KThormann
Level 1
First like received 5 likes given 5 replies posted
Level 1

Hi,

 

I have the same problem. The board is blinking green and everything works under windows, but when I run the python scripts under ubuntu 20.04, I get the IFX_ERROR_NO_DEVICE error. I am not sure whether I udnerstand the answer correctly, but my ubuntu username is also in groups. Are there any additional drivers I require?

 

Best regards

Kolja

0 Likes
Deepa_V
Moderator
Moderator 50 solutions authored 100 replies posted 100 sign-ins
Moderator

Hi @KThormann ,

For the proper functioning, please follow the instructions below (as stated in the RDK documentation) : 

Deepa_V_0-1661296954059.png

In addition, Can you please make sure that you can accessing the device file /dev/ttyACM0 (the trailing number might be different on your computer)? 

If this does not take care of your issue, I request you to create a new query stating your concern as it might deviate from the initial requirement of this query. Also, it would allow us to address your query better. 

Thank you,

Best regards,

Deepa

KThormann
Level 1
First like received 5 likes given 5 replies posted
Level 1

Thank you. I will create a new query.

0 Likes