Giter Club home page Giter Club logo

Comments (5)

jagonga avatar jagonga commented on July 18, 2024

Log:

pi@raspberrypi:~/Desktop $ sudo ./Carplay.AppImage --no-sandbox
spawning carplay {
dpi: 240,
nightMode: 0,
hand: 0,
boxName: 'nodePlay',
width: 1824,
height: 984,
fps: 60
}
directory found
device not connected
Socket connected. sending data...
14 0.4780701754385965 0.8851626016260162
(node:1487) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'transfer' of null
at /tmp/.mount_CarplaPkrV3P/resources/app.asar/node_modules/node-carplay/modules/DongleHandler.js:239:29
at new Promise ()
at /tmp/.mount_CarplaPkrV3P/resources/app.asar/node_modules/node-carplay/modules/DongleHandler.js:238:13
at new Promise ()
at DongleHandler.serialise (/tmp/.mount_CarplaPkrV3P/resources/app.asar/node_modules/node-carplay/modules/DongleHandler.js:229:16)
at DongleHandler.sendTouch (/tmp/.mount_CarplaPkrV3P/resources/app.asar/node_modules/node-carplay/modules/DongleHandler.js:137:14)
at Carplay.sendTouch (/tmp/.mount_CarplaPkrV3P/resources/app.asar/node_modules/node-carplay/modules/Carplay.js:25:22)
at IpcMainImpl. (/tmp/.mount_CarplaPkrV3P/resources/app.asar/build/electron/main.js:76:17)
at IpcMainImpl.emit (events.js:315:20)
at Object. (electron/js2c/browser_init.js:161:9469)
(Use carplay --trace-warnings ... to show where the warning was created)
(node:1487) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:1487) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
16 0.4780701754385965 0.8851626016260162
(node:1487) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'transfer' of null
at /tmp/.mount_CarplaPkrV3P/resources/app.asar/node_modules/node-carplay/modules/DongleHandler.js:239:29
at new Promise ()
at /tmp/.mount_CarplaPkrV3P/resources/app.asar/node_modules/node-carplay/modules/DongleHandler.js:238:13
at new Promise ()
at DongleHandler.serialise (/tmp/.mount_CarplaPkrV3P/resources/app.asar/node_modules/node-carplay/modules/DongleHandler.js:229:16)
at DongleHandler.sendTouch (/tmp/.mount_CarplaPkrV3P/resources/app.asar/node_modules/node-carplay/modules/DongleHandler.js:137:14)
at Carplay.sendTouch (/tmp/.mount_CarplaPkrV3P/resources/app.asar/node_modules/node-carplay/modules/Carplay.js:25:22)
at IpcMainImpl. (/tmp/.mount_CarplaPkrV3P/resources/app.asar/build/electron/main.js:76:17)
at IpcMainImpl.emit (events.js:315:20)
at Object. (electron/js2c/browser_init.js:161:9469)
(node:1487) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)

from react-carplay.

rhysmorgan134 avatar rhysmorgan134 commented on July 18, 2024

Hi, it is only tested with the device linked. That being said, it may work with this. The error is showing that it has not detected the device, so I am guessing it is using different PID and VIDs.

Would you be able to post the output of

lsusb

with the device plugged in?

from react-carplay.

jagonga avatar jagonga commented on July 18, 2024

Hi,
Yes, sure, this is the output I got:

pi@raspberrypi:~ $ lsusb
Bus 001 Device 008: ID 05ac:12a8 Apple, Inc. iPhone5/5C/5S/6
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Any idea what can I do to make it work?
Thanks.

from react-carplay.

encku avatar encku commented on July 18, 2024

@jagonga your device is not compatible with this method. Your dongle act like phone for tricking the car system.

As you can see in first line: Bus 001 Device 008: ID 05ac:12a8 Apple, Inc. iPhone5/5C/5S/6

from react-carplay.

jagonga avatar jagonga commented on July 18, 2024

Dear @encku
Many thanks for your reply. I understand, thank you.
Finally in order to configure at home the device, I've installed alphaVNC on the device and configured the wifi, then I use RealVNC to see the screen remotely at home.
Many thanks for your help.

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.