Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

HDDL issue: device cannot be found

BBi
Beginner
1,596 Views

Dears, 

        when i use mini-pice HDDL to run the demo(mini-pcie to usb interface), always failed to find or init the device. Could you give me some good suggestion?

HW   : Core i5-8250U

SW    :  Ubuntu 18.04 x86-64, Intel OpenVINO-2019R3

issue :  the installation of hddl driver failed. (cannot insert myd_ion.ko in ..../myd/: not permitted)

then i tried on another computer like this: (both openvino installation are ok)

HW   : Core i7-8550U

SW    :  Ubuntu 16.04 x86-64, Intel OpenVINO-2019R3

issue :  the installation of hddl is successful, but when run ./demo_security_barrier_camera.sh -d HDDL,always “No device find”comes out

 

0 Kudos
15 Replies
JesusE_Intel
Moderator
1,595 Views

Hi Barret,

Thanks for reaching out, are you trying the latest OpenVINO toolkit 2019 R3.1 (2019.3.376)?

issue :  the installation of hddl driver failed. (cannot insert myd_ion.ko in ..../myd/: not permitted)

Did you run the setup.sh command with sudo? It seems the user account did not have elevated permissions. 

issue :  the installation of hddl is successful, but when run ./demo_security_barrier_camera.sh -d HDDL,always “No device find”comes out

What is the output of lsusb? Which HDDL device are you using?

Regards,

Jesus

0 Kudos
BBi
Beginner
1,595 Views

hi Jesus,

      thanks for your reply

1. yes, i tried the latest OpenVINO toolkit. [cb6cad9663aea3d282e0e8b3e0bf359df665d5d0 / releases_2019_R3_InferenceEngine_30677]

2. yes, i ran the setup.sh command with sudo (root).

3. i have used lsusb before and after running "./demo_security_barrier_camera.sh -d HDDL",but no difference, even though i restarted the OS. so, the installation didnot take effect.

4. hddl comes from your partner JWIPC.

sorry, i don't know how post pictures on this page, and i tried but failed.

also, how can we solve the problem? tks 

0 Kudos
BBi
Beginner
1,595 Views

sorry, sir,

        update item 1: just use OpenVINIO R3, not R3.1

 

0 Kudos
JesusE_Intel
Moderator
1,595 Views

Hi Barret,

Could you make sure the udev rules exist as mentioned in this page?

https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_linux_ivad_vpu.html#how_to_solve_the_permission_issue

Please copy/paste the output of lsusb before and after running the ./demo_security_barrier_camera.sh -d HDDL

Also, please try the latest OpenVINO 2019 R3.1 (2019.3.376).

Regards,

Jesus

0 Kudos
BBi
Beginner
1,595 Views

hi, Jesus,

related info is as below ---

root@firefly:~# ls /etc/udev/rules.d/ -l
total 12
-rw-r--r-- 1 root root  45 Jun 14  2019 50-hevc-rk3399.rules
-rw-r--r-- 1 root root  51 Jun 14  2019 50-hevc.rules
-rw-r--r-- 1 root root  44 Jun 14  2019 50-mail.rules
-rw-r--r-- 1 root root  43 Jun 14  2019 50-mail400.rules
-rw-r--r-- 1 root root  50 Jun 14  2019 50-vpu-rk3399.rules
-rw-r--r-- 1 root root 137 Jun 14  2019 50-vpu.rules
-rw-r--r-- 1 root root 702 Jun 14  2019 77-dongle.rules
-rw-r--r-- 1 root root 378 Jan  2  2020 97-myriad-usbboot.rules
-rw-r--r-- 1 root root 150 Jan  2  2020 98-hddlbsl.rules
-rw-r--r-- 1 root root  60 Jan  2  2020 99-hddl-ion.rules
-rw-r--r-- 1 root root 100 Jan  2  2020 99-myriad-vsc.rules
-rw-r--r-- 1 root root  70 Jun 14  2019 hdmi.rules
root@firefly:~# lsusb       (before inseting hddl)
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@firefly:~# lsusb      (after inserting hddl)
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 003: ID 2c42:5114  
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@firefly:~# 

by the way, could you tell me how to install the latest OpenVINO 2019 R3.1 (2019.3.376) on aarch64 platform, pls? 

 

 

0 Kudos
JesusE_Intel
Moderator
1,595 Views

Hi Barret,

From the output of lsusb, it does not seem to be detecting the card. You should also see a device with ID 03e7:2485.  Could you test the card on another system?

could you tell me how to install the latest OpenVINO 2019 R3.1 (2019.3.376) on aarch64 platform, pls?

You will need to download and build the open source version (DLDT) of OpenVINO toolkit. However, the HDDL plugin is not available in the open source version.

Regards,

Jesus

0 Kudos
BBi
Beginner
1,595 Views

Hi, Jesus,

        yes, i've tried on the other platforms like J1900/Core, ran the interactive_face_detection_demo with -d HDDL, and came out the expected result. Also, i used the same hddl device on these cpus and saw the right ID 03e7:2485. 

        however, when i transfered to this aarch64 platform, i cannot install the hddl driver correctly, the error always occurs like this :

[ 2252.728774] myd_ion: version magic '4.4.167 SMP preempt mod_unload aarch64' should be '4.4.167-gd9f2125 SMP mod_unload aarch64'
insmod: ERROR: could not insert module intelR3/deployment_tools/inference_engine/external/hddl/drivers/myd_ion.ko: Invalid module format

root@firefly:/opt# uname -a
Linux firefly 4.4.167-gd9f2125 #4 SMP Thu Aug 15 10:19:24 CST 2019 aarch64 aarch64 aarch64 GNU/Linux

platform: FireFly-RK3399 arm-64bit

os          : Linux firefly 4.4.167-gd9f2125 #4 SMP Thu Aug 15 10:19:24 CST 2019 aarch64 aarch64 aarch64 GNU/Linux

issue      :  when i insmod hddl myd_ion.ko and and myd_vsc.ko on this machine, an error always occured as below decription

     steps---

            root@firefly:/#source /opt/intelR3/bin/setupvars.sh 
            [setupvars.sh] OpenVINO environment initialized

           root@firefly:/#insmod intelR3/deployment_tools/inference_engine/external/hddl/drivers/myd_ion.ko

           [58201.493849] myd_ion: version magic '4.4.167 SMP preempt mod_unload aarch64' should be '4.4.167-gd9f2125 SMP mod_unload aarch64'
             insmod: ERROR: could not insert module intelR3/deployment_tools/inference_engine/external/hddl/drivers/myd_ion.ko: Invalid module format

root@firefly:/opt# dmesg | tail    
[56626.553340] rockchip-dwc3 usb0: USB peripheral connected
[56626.556781] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn
[56643.624290] fusb302 4-0022: connection has disconnected
[56643.636903] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn
[56643.638276] rockchip-dwc3 usb0: USB unconnected
[56644.120274] phy phy-ff770000.syscon:usb2-phy@e450.7: charger = USB_SDP_CHARGER
[56644.163403] fusb302 4-0022: CC connected in CC1 as UFP
[56644.173030] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn
[56644.173833] rockchip-dwc3 usb0: USB peripheral connected
[58201.493849] myd_ion: version magic '4.4.52-armada-17.10.3 SMP preempt mod_unload aarch64' should be '4.4.167-gd9f2125 SMP mod_unload aarch64'
root@firefly:/opt#

then, i tried to rebuild these two module with the 4.4.167 kernel (downloaded from https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/linux-4.4.167.tar.gz) but the same issue mentioned above appeard. Now it's blocked here...

Q: Do you have some good ideas ? Or could you give me some good suggestion or sth? 

tks

0 Kudos
JesusE_Intel
Moderator
1,595 Views

Hi Barret,

The OpenVINO tookit is not supported on aarch64, you can find additional information on the system requirements page.

Regards,

Jesus

0 Kudos
BBi
Beginner
1,595 Views

Hi Jesus,

         tks

i got it.

and i just wanna transfer it to aarch64.

0 Kudos
BBi
Beginner
1,595 Views

Hi Jesus,

         tks

i got it.

and i just wanna transfer it to aarch64.

0 Kudos
BBi
Beginner
1,595 Views

Hi Jesus,

         tks

i got it.

and i just wanna transfer it to aarch64.

0 Kudos
BBi
Beginner
1,595 Views

Hi Jesus,

         tks

i got it.

and i just wanna transfer it to aarch64.

0 Kudos
BBi
Beginner
1,595 Views

Hi Jesus,

         tks

i got it.

and i just wanna transfer it to aarch64.

0 Kudos
BBi
Beginner
1,595 Views

Hi Jesus,

         tks

i got it.

and i just wanna transfer it to aarch64.

0 Kudos
BBi
Beginner
1,595 Views

Hi Jesus,

         tks

i got it.

and i just wanna transfer it to aarch64.

0 Kudos
Reply