BMWRaspControl - Forum
android auto on osmc - Druckversion

+- BMWRaspControl - Forum (https://www.bmwraspcontrol.de/board)
+-- Forum: BMWRaspControl - Diskussion (https://www.bmwraspcontrol.de/board/forumdisplay.php?fid=13)
+--- Forum: BMWRaspControl - english questions (https://www.bmwraspcontrol.de/board/forumdisplay.php?fid=43)
+--- Thema: android auto on osmc (/showthread.php?tid=1251)

Seiten: 1 2 3 4 5 6


RE: android auto on osmc - harryberlin - 10.05.2020

Steps to create an image from Raspberry SdCard.
The drive is in this case /dev/sdb

1. Use GParted to shrink to 2nd partition to an usefull size.

2. Open terminal window.

3. After shrinking, test the 2nd partition again with cmd:

Code:
sudo e2fsck -f -y -v -C 0 /dev/sdb2

4. Get end of sector with this cmd:
Code:
fdisk -l

5. Take number of 2nd partition end sector and add +1. in example: 7974911 + 1 = 7974912

6. create the image into compressed format with cmd:
Code:
sudo dd if=/dev/sdb conv=sync,noerror bs=10M count=7974912 | gzip -c > "/media/whatever/nameofthefile.img.gz"

7. wait a long time for new output from terminal

This Thread has a german manual incl. screenshots but without double check and without compress: https://www.bmwraspcontrol.de/board/showthread.php?tid=303


RE: android auto on osmc - amrilyes - 10.05.2020

you know harry, with us it's "RAMADON" no food or drink 17 long hours.
between BM and RPI screen switching does not work,
but works well between kodi and aa, so I will try to start pibus that in aa starts, but there will be a start time of pibus.problem ...
Thanks for the LINUX way, I will do an img to see if I can do something.


RE: android auto on osmc - harryberlin - 10.05.2020

no, i'm not informed about ramadon.
bm screen switching is only working if you set audio-mode for pibus. default should be cdc.
if it is not working, may your ibus messages are not known by the program.


RE: android auto on osmc - amrilyes - 10.05.2020

then I add -a0 to the pibus start-up?


RE: android auto on osmc - harryberlin - 11.05.2020

just try it.


RE: android auto on osmc - amrilyes - 11.05.2020

no. its not working, what command sitch gpoio23?


RE: android auto on osmc - harryberlin - 11.05.2020

usual gpio control from commandline?


RE: android auto on osmc - amrilyes - 11.05.2020

no; I want to say in pibus

and your python; can't you start it except kodi?


RE: android auto on osmc - harryberlin - 11.05.2020

pibus handles the gpio by ibus message.


RE: android auto on osmc - amrilyes - 11.05.2020

another harry, openauto start on xsession,
so d-bus start, is it that pibus can transmit messages to d-bus? or old openbm?

but openbm-gateway, gives errors that we compile