-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DroidCam #1239
base: master
Are you sure you want to change the base?
Add DroidCam #1239
Conversation
This PR should be ready now, but I got Does anyone get this message too? |
Droidcam works! |
@cycool29, I think a Also, the install scripts for DroidCam could be turned into one with a: case $arch in
32) package_arch=armhf
64) package_arch=arm64
*) echo "Something is wrong!" and then by putting the Also, if the Github based release PR gets merged before this does, we'd want a version variable in the scripts. Good work! 👍 |
Now I found DroidCam doesn't work on armhf architecture with arm64 kernel. Trying to fix it. |
when installing on twister OS, I got this error:
|
Can you try to reboot and install again? |
Still doesn't work, I will just install Raspberry Pi OS for now.
…On Sat, Jan 8, 2022, 9:24 AM cycool29 ***@***.***> wrote:
Can you try to reboot and install again?
—
Reply to this email directly, view it on GitHub
<#1239 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATXE5QJJRWNULHIHK4AQRDDUVBJJNANCNFSM5JJWX4DQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Same error? |
@derryktutt Any updates? |
Same result, now have Raspberry Pi OS running a KDE desktop environment.
…On Wed, Jan 12, 2022, 6:34 AM cycool29 ***@***.***> wrote:
@derryktutt <https://github.com/derryktutt> Any updates?
—
Reply to this email directly, view it on GitHub
<#1239 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATXE5QLTII6IZ3UAQSB4JO3UVVYMLANCNFSM5JJWX4DQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@derryktutt Can you post the output of: |
@derryktutt ^^ |
dpkg-query: no packages found matching raspberrypi-kernel-headers
…On Fri, Jan 28, 2022, 2:06 AM cycool29 ***@***.***> wrote:
@derryktutt <https://github.com/derryktutt> Can you post the output of: dpkg
-L raspberrypi-kernel-headers | grep "/lib/modules"?
@derryktutt <https://github.com/derryktutt> ^^
—
Reply to this email directly, view it on GitHub
<#1239 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATXE5QKU53AZX32H5WRONKTUYJE7JANCNFSM5JJWX4DQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I don't appear to have that package installed either.
|
DroidCam needs kernel headers to work. So, @derryktutt try |
What I mean is The output of
|
Correct, but only on Buster and lower. On Bullseye they've changed it up. |
@Botspot This PR is ready to merge. |
#check for 32 bit arch with 64 bit kernel | ||
if [ "$(uname -m)" == "arm64" ] || [ "$(uname -m)" == "aarch64" ]; then | ||
if [ "$(dpkg --print-architecture)" == "armhf" ]; then | ||
warning "You can't install DroidCam on armhf OS with arm64 kernel." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I try my best to make arm64-kernel-on-armhf-OS an officially supported operating mode of Pi-Apps. Other apps like WPS Office need the arm64 kernel enabled, so it would be unfortunate for other apps to require the 64-bit kernel to not be enabled.
It should be possible to manually specify the desired architecture to those make
commands.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously, I tried many times for this, all failed.
Tried:
- Installing arm64 kernel
- Result: I got my kernel messed up and I need to reflash my SD.
- Change
make
to compile on armv7l kernel- Result:
make
prompts about a whole list of errors.
- Result:
- Use
setarch
and cross-compilation- Result: Same errors with compiling natively
Opened an issue on droidcam repo.
Co-authored-by: Crilum <[email protected]>
Co-authored-by: Crilum <[email protected]>
a0635fa
to
06a8328
Compare
Co-Authored-By: Crilum <[email protected]>
I am new to this PR |
yup the dkms module can be used Does anyone still run a 32bit OS with a 64bit kernel and is able to check if |
I do. This is the output:
And here is the |
yeah that error is because dkms is using the default armv7 gcc. I think if you want to add droidcam, you will just have to accept that it can't be installed on systems that have a different kernel and userspace architecture. |
@Botspot I have recently become aware that raspbian packages non-standard aarch64 gcc crosscompilers for armhf hosts. This is interesting and not available in debian (only amd64, i386, and ppc64 have cross compilers for arm64 on debian).
so while the |
1d137bb
to
6119ae6
Compare
To close #851