Comments (7)
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.
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.
@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.
@LRYMND Could you elaborate? I am not seeing that issue my side. Are you having to do that on every run?
from react-carplay.
@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.
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.
@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)
- Recommended hardware HOT 2
- Can’t get further than ./CarPlay.AppImage HOT 12
- Carlinkit CPC200-U2W-Plus & Raspberry Pi 3B Compatible? HOT 3
- Orange screen when carplay launches HOT 5
- Stuttering and freezing HOT 1
- Buildroot HOT 4
- Carplay does't show content on screen HOT 1
- sharing of your react-carplay proejct
- Keybindings not working inside Carplay HOT 5
- Instrument Cluster
- Raspberry PI camera HOT 1
- ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
- A javascript error occurred in the main process HOT 2
- Uncaught TypeError: player.getRawBuffer is not a function
- X Y screen position
- How to change orientation from LHD to RHD, what settings to change in V4?
- Need help: A JavaScript error occurred in the main process
- Up arrow key binding missing
- Canbus not working and PiMost enabled regardless of the boolean flag
- Javascript error in the main process
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-carplay.