Giter Club home page Giter Club logo

Comments (7)

rhysmorgan134 avatar rhysmorgan134 commented on July 19, 2024 1

Thanks for the info, could you supply abit more about how you installed the OS? Is this running on a headless pi? Are you using a custom desktop enviroment? If not was it the full OS or the light version? All errors point to not being able to open the x display.

Just to rule it out could you run the below commands and then start the application without sudo ?

echo "SUBSYSTEM==\"usb\", ATTR{idVendor}==\"1314\", ATTR{idProduct}==\"152*\", MODE=\"0660\", GROUP=\"plugdev\"" | sudo tee /etc/udev/rules.d/52-nodecarplay.rules

from react-carplay.

LRYMND avatar LRYMND commented on July 19, 2024 1

Please try without sudo, when your phone connects you should see "Connect iPhone to begin carplay".

You will see in the console that the data arrives however the stream should still not be visible. Once you toggle carplay in the iPhone settings off and back on again, CarPlay should be visible.

This would be a replication of the behavior I mentioned in the other issue where the status state of the CarPlay component apparently needs to be updated twice in order for the stream to be revealed. Confirmed this issue with @Tigo2000 as well on the latest react-carplay as well as volvo-rtvi.

Cheers

from react-carplay.

rhysmorgan134 avatar rhysmorgan134 commented on July 19, 2024 1

@kostasfe the commands don’t do much, they just allow non root permissions to access the carlinkit (matches product and vendor ID) the issue won’t come back, just make sure you add those rules on any install (or use the setup-pi.sh script which does it for you)

if you tried to run without sudo before doing the command you would have had an error there too!

from react-carplay.

rhysmorgan134 avatar rhysmorgan134 commented on July 19, 2024

@LRYMND Could you elaborate? I am not seeing that issue my side. Are you having to do that on every run?

from react-carplay.

kostasfe avatar kostasfe commented on July 19, 2024

@rhysmorgan134 thank you for the swift answer. After running your commands and the application without sudo it worked like a charm. Including the wireless option.

However, I'm not sure what the commands actually do, therefore, not sure if they helped or just running without sudo did, as I have always used sudo in previous attempts.

Any suggestions of what I should do if the problem repeats? Also would be curious to know what your commands actually did thanks.

By the way, not sure if still relevant, but to your questions: I installed the os through the official Raspberry Pi Imager onto an SD Card. The Pi is headless and the OS is completely clean and empty, no custom desktop env. Both Buster and Bullseye were full versions.

@LRYMND thanks for the comment. I did get the "Connect iPhone to begin carplay", but it connected seconds after I plugged in the phone without the need to toggle Carplay in the settings.

from react-carplay.

LRYMND avatar LRYMND commented on July 19, 2024

I tested a bit more extensively with react-carplay now and you are right, the connection does in fact establish right away without needing to toggle. Maybe my dongle was asleep or something... Interesting though that Tigo experienced the same behaviour. However the problem with navigating from and to the carplay component persists and you have to toggle it in the settings to reveal it again.

from react-carplay.

kostasfe avatar kostasfe commented on July 19, 2024

@rhysmorgan134 many thanks. By the way, the wireless option seems to be snappier versus using it when running LineageOS Android 11 and Android Autokit.apk on the same PI. Well done!

from react-carplay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.