dlt-daemon 설치후 빌드가능


$ cmake -D CMAKE_INSTALL_PREFIX=/opt/GENIVI/new ..



서비스 파일


AudioManager.service

[Unit]

Description=AudioManager

Requires=dbus.service

After=dbus.service


[Service]

Type=oneshot

RemainAfterExit=true

ExecStart=/lib/systemd/scripts/setup_amgr.sh


[Install]

WantedBy=multi-user.target

 


AudioManager_user.service

[Unit]

Description=AudioManager service

Requires=dbus.service

After=dbus.service


[Service]

Type=simple

ExecStart=/usr/bin/AudioManager -c /usr/lib/audiomanager/control/libPluginControlInterfaceGeneric.so \

    -l /usr/lib/audiomanager/command/ -r /usr/lib/audiomanager/routing/

Restart=always

RestartSec=5

TimeoutSec=5



 ./AudioManager -c /usr/lib/audiomanager/control/libPluginControlInterfaceGeneric.so    -l /usr/lib/audiomanager/command/ -r /usr/lib/audiomanager/routing/

[10159.218925]~DLT~10759~INFO     ~FIFO /tmp/dlt cannot be opened. Retrying later...

The AudioManager ended by throwing an exception Could not find controller plugin!

^C^C[10169.223426]~DLT~10759~WARNING  ~Lost log messages in user buffer when exiting: 10





setup_amgr.sh

dbus-daemon --session --print-address --fork > /tmp/session_amgr

export DBUS_SESSION_BUS_ADDRESS=`cat /tmp/session_amgr`

AudioManager -d 




플러그인 설치


https://github.com/GENIVI/AudioManagerPlugins.git

git clone https://github.com/GENIVI/AudioManagerPlugins.git


의존성 :  dlt-daemon node-state-manager

/home/kj/Yocto/GDP/rcar-m3/genivi-dev-platform/meta-genivi-dev/meta-ivi/recipes-multimedia/audiomanager
/home/kj/Yocto/GDP/rcar-m3/genivi-dev-platform/meta-genivi-dev/meta-ivi/recipes-extended/node-state-manager

node-state-manager 설치

욕토 레시피 옵션 추가 

    -DWITH_TEST_CONTROLLER=OFF \

    -DWITH_ENABLED_IPC=DBUS \

    -DWITH_DATABASE_STORAGE=OFF \

    -DWITH_COMMAND_INTERFACE_CAPI=OFF \

    -DWITH_COMMAND_INTERFACE_DBUS=ON \

    -DWITH_ROUTING_INTERFACE_CAPI=OFF \

    -DWITH_ROUTING_INTERFACE_DBUS=ON \ 






'Embedded > OpenSourceProject' 카테고리의 다른 글

Connectiviity  (0) 2018.12.24
genivi-swm  (0) 2018.12.24
GDP Application  (0) 2018.12.24
[GENIVI] vehicle-simulator  (0) 2018.12.24
[GENIVI] GDP 릴리즈 노트 정리  (0) 2018.12.24

+ Recent posts