Fixed
Details
Details
Assignee
christian.gromm
christian.grommReporter
Dominig ar Foll
Dominig ar FollFix versions
Labels
Components
Priority
Created November 16, 2017 at 9:02 AM
Updated December 22, 2017 at 7:13 PM
Resolved December 18, 2017 at 5:17 PM
Christian and Tobias
device name created when loading the driver do not match with device name expected by the binder.
, please sync together on how that should work. Obvioulsy if the device name are dynamic it should be held only in one place.
Please find here some log extract.
------------ journal ----------------
[2017-11-16 09:58:57] [ 2669.629596] mostcore: registered new MOST device mdev2 (usb_device 1-2:1.2)
[2017-11-16 09:58:57] Nov 03 18:40:27 intel-corei7-64 kernel: usb 1-2: new high-speed USB device number 4 using xhci_hcd
[2017-11-16 09:58:57] Nov 03 18:40:27 intel-corei7-64 kernel[315]: [ 2669.376029] usb 1-2: new high-speed USB device number 4 using xhci_hcd
[2017-11-16 09:58:57] Nov 03 18:40:27 intel-corei7-64 kernel: usb 1-2: claimed gadget: Vendor=0424 ProdID=cf18 Bus=01 Device=04
[2017-11-16 09:58:57] Nov 03 18:40:27 intel-corei7-64 kernel: usb 1-2: device path: /sys/bus/usb/devices/1-2:1.0
[2017-11-16 09:58:57] Nov 03 18:40:27 intel-corei7-64 kernel[315]: [ 2669.562953] usb 1-2: claimed gadget: Vendor=0424 ProdID=cf18 Bus=01 Device=04
[2017-11-16 09:58:57] Nov 03 18:40:27 intel-corei7-64 kernel[315]: [ 2669.571002] usb 1-2: device path: /sys/bus/usb/devices/1-2:1.0
[2017-11-16 09:58:57] Nov 03 18:40:27 intel-corei7-64 kernel: mostcore: registered new MOST device mdev0 (usb_device 1-2:1.0)
[2017-11-16 09:58:57] Nov 03 18:40:27 intel-corei7-64 kernel[315]: [ 2669.579751] mostcore: registered new MOST device mdev0 (usb_device 1-2:1.0)
[2017-11-16 09:58:57] Nov 03 18:40:27 intel-corei7-64 kernel: usb 1-2: claimed gadget: Vendor=0424 ProdID=cf18 Bus=01 Device=04
[2017-11-16 09:58:57] Nov 03 18:40:27 intel-corei7-64 kernel: usb 1-2: device path: /sys/bus/usb/devices/1-2:1.1
[2017-11-16 09:58:57] Nov 03 18:40:27 intel-corei7-64 kernel[315]: [ 2669.588550] usb 1-2: claimed gadget: Vendor=0424 ProdID=cf18 Bus=01 Device=04
[2017-11-16 09:58:57] Nov 03 18:40:27 intel-corei7-64 kernel[315]: [ 2669.596565] usb 1-2: device path: /sys/bus/usb/devices/1-2:1.1
[2017-11-16 09:58:57] Nov 03 18:40:27 intel-corei7-64 kernel: mostcore: registered new MOST device mdev1 (usb_device 1-2:1.1)
[2017-11-16 09:58:57] Nov 03 18:40:27 intel-corei7-64 kernel[315]: [ 2669.604692] mostcore: registered new MOST device mdev1 (usb_device 1-2:1.1)
[2017-11-16 09:58:57] Nov 03 18:40:27 intel-corei7-64 kernel: usb 1-2: claimed gadget: Vendor=0424 ProdID=cf18 Bus=01 Device=04
[2017-11-16 09:58:57] Nov 03 18:40:27 intel-corei7-64 kernel: usb 1-2: device path: /sys/bus/usb/devices/1-2:1.2
[2017-11-16 09:58:58] Nov 03 18:40:27 intel-corei7-64 kernel[315]: [ 2669.613350] usb 1-2: claimed gadget: Vendor=0424 ProdID=cf18 Bus=01 Device=04
[2017-11-16 09:58:58] Nov 03 18:40:27 intel-corei7-64 kernel[315]: [ 2669.621360] usb 1-2: device path: /sys/bus/usb/devices/1-2:1.2
[2017-11-16 09:58:58] Nov 03 18:40:27 intel-corei7-64 kernel: mostcore: registered new MOST device mdev2 (usb_device 1-2:1.2)
[2017-11-16 09:58:58] Nov 03 18:40:27 intel-corei7-64 kernel[315]: [ 2669.629596] mostcore: registered new MOST device mdev2 (usb_device 1-2:1.2)
[2017-11-16 09:58:59] [ 2671.215298] IPv6: ADDRCONF(NETDEV_UP): meth0: link is not ready
[2017-11-16 09:58:59] Nov 03 18:40:29 intel-corei7-64 loadDriver.sh[467]: Set Ethernet mdev1 channel: ep8e
[2017-11-16 09:58:59] Nov 03 18:40:29 intel-corei7-64 loadDriver.sh[467]: Set Ethernet mdev1 channel: ep0e
[2017-11-16 09:58:59] Nov 03 18:40:29 intel-corei7-64 connmand[295]: meth0 {create} index 7 type 1 <ETHER>
[2017-11-16 09:58:59] Nov 03 18:40:29 intel-corei7-64 connmand[295]: meth0 {update} flags 4098 <DOWN>
[2017-11-16 09:58:59] Nov 03 18:40:29 intel-corei7-64 connmand[295]: meth0 {newlink} index 7 address 00:00:00:00:00:00 mtu 1500
[2017-11-16 09:58:59] Nov 03 18:40:29 intel-corei7-64 connmand[295]: meth0 {newlink} index 7 operstate 2 <DOWN>
[2017-11-16 09:58:59] Nov 03 18:40:29 intel-corei7-64 kernel: IPv6: ADDRCONF(NETDEV_UP): meth0: link is not ready
[2017-11-16 09:58:59] Nov 03 18:40:29 intel-corei7-64 connmand[295]: Adding interface meth0 [ ethernet ]
[2017-11-16 09:58:59] Nov 03 18:40:29 intel-corei7-64 connmand[295]: meth0 {update} flags 168003 <UP,RUNNING>
[2017-11-16 09:58:59] Nov 03 18:40:29 intel-corei7-64 connmand[295]: meth0 {newlink} index 7 address 00:00:00:00:00:00 mtu 1500
[2017-11-16 09:58:59] Nov 03 18:40:29 intel-corei7-64 connmand[295]: meth0 {newlink} index 7 operstate 0 <UNKNOWN>
[2017-11-16 09:58:59] Nov 03 18:40:29 intel-corei7-64 kernel[315]: [ 2671.215298] IPv6: ADDRCONF(NETDEV_UP): meth0: link is not ready
[2017-11-16 09:58:59] Nov 03 18:40:29 intel-corei7-64 connmand[295]: meth0 {update} flags 167939 <UP>
[2017-11-16 09:58:59] Nov 03 18:40:29 intel-corei7-64 connmand[295]: meth0 {newlink} index 7 address 00:00:00:00:00:00 mtu 1500
[2017-11-16 09:58:59] Nov 03 18:40:29 intel-corei7-64 connmand[295]: meth0 {newlink} index 7 operstate 2 <DOWN>
[2017-11-16 09:59:00] [ 2672.271061] meth0: set mac 00-02-00-02-00-00
[2017-11-16 09:59:00] Nov 03 18:40:30 intel-corei7-64 MostNetworkManager[469]: Creating new Device Queue
[2017-11-16 09:59:00] Nov 03 18:40:30 intel-corei7-64 kernel: meth0: set mac 00-02-00-02-00-00
[2017-11-16 09:59:00] Nov 03 18:40:30 intel-corei7-64 connmand[295]: meth0 {update} flags 36867 <UP>
[2017-11-16 09:59:00] Nov 03 18:40:30 intel-corei7-64 connmand[295]: meth0 {newlink} index 7 address 00:02:00:02:00:00 mtu 1500
[2017-11-16 09:59:00] Nov 03 18:40:30 intel-corei7-64 connmand[295]: meth0 {newlink} index 7 operstate 2 <DOWN>
[2017-11-16 09:59:00] Nov 03 18:40:30 intel-corei7-64 kernel[315]: [ 2672.271061] meth0: set mac 00-02-00-02-00-00
[2017-11-16 09:59:02] Nov 03 18:40:32 intel-corei7-64 loadDriver.sh[467]: Setting IP address 10.0.0.1 for device meth0 MAC:0-2-0-2-0-0
[2017-11-16 09:59:02] Nov 03 18:40:32 intel-corei7-64 avahi-daemon[296]: Joining mDNS multicast group on interface meth0.IPv4 with address 10.0.0.1.
[2017-11-16 09:59:02] Nov 03 18:40:32 intel-corei7-64 connmand[295]: meth0 {add} address 10.0.0.1/8 label meth0 family 2
[2017-11-16 09:59:02] Nov 03 18:40:32 intel-corei7-64 avahi-daemon[296]: New relevant interface meth0.IPv4 for mDNS.
[2017-11-16 09:59:02] Nov 03 18:40:32 intel-corei7-64 connmand[295]: meth0 {add} route 10.0.0.0 gw 0.0.0.0 scope 253 <LINK>
[2017-11-16 09:59:03] Nov 03 18:40:32 intel-corei7-64 avahi-daemon[296]: Registering new address record for 10.0.0.1 on meth0.IPv4.
[2017-11-16 09:59:03] Nov 03 18:40:32 intel-corei7-64 connmand[295]: meth0 {del} address 10.0.0.1/8 label meth0
[2017-11-16 09:59:03] Nov 03 18:40:32 intel-corei7-64 avahi-daemon[296]: Withdrawing address record for 10.0.0.1 on meth0.
[2017-11-16 09:59:03] Nov 03 18:40:32 intel-corei7-64 avahi-daemon[296]: Leaving mDNS multicast group on interface meth0.IPv4 with address 10.0.0.1.
[2017-11-16 09:59:03] Nov 03 18:40:32 intel-corei7-64 connmand[295]: meth0 {del} route 10.0.0.0 gw 0.0.0.0 scope 253 <LINK>
[2017-11-16 09:59:03] Nov 03 18:40:32 intel-corei7-64 connmand[295]: meth0 {add} address 10.0.0.1/24 label meth0 family 2
[2017-11-16 09:59:03] Nov 03 18:40:32 intel-corei7-64 connmand[295]: meth0 {add} route 10.0.0.0 gw 0.0.0.0 scope 253 <LINK>
[2017-11-16 09:59:03] Nov 03 18:40:32 intel-corei7-64 avahi-daemon[296]: Interface meth0.IPv4 no longer relevant for mDNS.
[2017-11-16 09:59:03] Nov 03 18:40:32 intel-corei7-64 avahi-daemon[296]: Joining mDNS multicast group on interface meth0.IPv4 with address 10.0.0.1.
[2017-11-16 09:59:03] Nov 03 18:40:32 intel-corei7-64 avahi-daemon[296]: New relevant interface meth0.IPv4 for mDNS.
[2017-11-16 09:59:03] Nov 03 18:40:32 intel-corei7-64 avahi-daemon[296]: Registering new address record for 10.0.0.1 on meth0.IPv4.
----------------- lsmod output -------------------------
2017-11-16 09:59:45.219] aim_network 5544 0
[2017-11-16 09:59:45.219] aim_cdev 6019 4
[2017-11-16 09:59:45.219] mostcore 19188 7 aim_sound,hdm_dim2,aim_v4l2,aim_cdev,hdm_usb,aim_network,hdm_i2c
--------------- binding output ---------------
[2017-11-16 10:00:32.752] root@intel-corei7-64:/var/local/lib/afm/applications/unicens-agent/0.1# afb-daemon --name=afb-unicens --ldpaths=./ --port=1234 --workdir=. --roothttp=./htdocs --tracereq=common --token= --verbose
[2017-11-16 10:00:32.800] NOTICE: API monitor started
[2017-11-16 10:00:32.800] NOTICE: [API UNICENS] AFM_APP_INSTALL_DIR is: /var/local/lib/afm/applications/unicens-agent/0.1
[2017-11-16 10:00:32.800] NOTICE: [API UNICENS] Default configuration: /var/local/lib/afm/applications/unicens-agent/0.1/data/config_multichannel_audio_kit.xml
[2017-11-16 10:00:32.801] NOTICE: [API UNICENS] AUTO-LOAD configuration: /var/local/lib/afm/applications/unicens-agent/0.1/data/config_multichannel_audio_kit.xml
[2017-11-16 10:00:32.801] ERROR: [API UNICENS] Fail to initialise device [rx=/dev/inic-usb-crx tx=/dev/inic-usb-ctx] /home/dominig/AGL-test/agl-service-unicens/ucs2-afb/ucs_binding.c:373,StartConfiguration
[2017-11-16 10:00:32.834] NOTICE: [API UNICENS] AUTO-LOAD failed
[2017-11-16 10:00:32.834] NOTICE: API UNICENS started
[2017-11-16 10:00:32.834] NOTICE: Waiting port=1234 rootdir=.
[2017-11-16 10:00:32.834] NOTICE: Browser URL= http://localhost:1234