LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   uvc kernel modules missing???? (https://www.linuxquestions.org/questions/slackware-arm-108/uvc-kernel-modules-missing-4175579998/)

arfon 05-17-2016 06:48 AM

uvc kernel modules missing????
 
I'm running SlackwareARM current (full install) and I JUST did an update... It looks like the system is using 3.18.10-arm modules. The uvc kernel modules are missing. What happened?

Penthux 05-17-2016 01:40 PM

Quote:

Originally Posted by arfon (Post 5546669)
I'm running SlackwareARM current (full install) and I JUST did an update... It looks like the system is using 3.18.10-arm modules. The uvc kernel modules are missing. What happened?

Is this Raspberry Pi related?
What does 'uname -r' tell you?

Explain what you're really asking with "What happened?" in a little more detail.

arfon 05-17-2016 09:26 PM

Yes, it's an RPi but, that shouldn't matter, slackpkg, doesn't update from Fatdog, it updates from arm.slackware.com so, the SlackARM distro has (apparently) removed the uvc (USB camera) modules.

Linux SlackRPi 3.18.10-arm #1 PREEMPT Sun Mar 29 11:39:33 BST 2015 armv6l BCM2708 GNU/Linux

What I am really asking: Why were the USB camera modules not included in -current as they were in 14.1, is this an oversight?


On an x86 -current box, the modules are in this package:
/var/log/packages/kernel-headers-4.4.10-x86-1:usr/include/linux/uvcvideo.h
/var/log/packages/kernel-modules-4.4.10-x86_64-1:lib/modules/4.4.10/kernel/drivers/media/usb/uvc/uvcvideo.ko

On the RPi -current the headers and source are there but the modules aren't built:
/var/log/packages/kernel-headers-4.4.10-arm-1:usr/include/linux/uvcvideo.h
/var/log/packages/kernel-source-4.4.10-arm-1:usr/src/linux-4.4.10/Documentation/video4linux/uvcvideo.txt
/var/log/packages/kernel-source-4.4.10-arm-1:usr/src/linux-4.4.10/drivers/media/usb/uvc/uvcvideo.h
/var/log/packages/kernel-source-4.4.10-arm-1:usr/src/linux-4.4.10/include/uapi/linux/uvcvideo.h

...and the 4.4.10 modules aren't being used, the 3.18.10 ones are and the modules are missing from those packages.


I'm thinking that I have missed a step to tell the RPi to boot the 4.4.10 kernel because, I believe that the 3.18.10 kernel is stripped down by Fatdog.

drmozes 05-18-2016 03:31 AM

Quote:

Originally Posted by arfon (Post 5547031)
Yes, it's an RPi but, that shouldn't matter, slackpkg, doesn't update from Fatdog, it updates from arm.slackware.com so, the SlackARM distro has (apparently) removed the uvc (USB camera) modules.

The kernels in the official tree is as you notice, 4.4.10.
The RPi stuff from Fatdog does not use the official Kernel, so the modules in it aren't relevant.


Quote:

Originally Posted by arfon (Post 5547031)
What I am really asking: Why were the USB camera modules not included in -current as they were in 14.1, is this an oversight?

There were never any "uvc" modules in 14.1 on ARM.

Quote:

Originally Posted by arfon (Post 5547031)
On an x86 -current box, the modules are in this package:
/var/log/packages/kernel-headers-4.4.10-x86-1:usr/include/linux/uvcvideo.h
/var/log/packages/kernel-modules-4.4.10-x86_64-1:lib/modules/4.4.10/kernel/drivers/media/usb/uvc/uvcvideo.ko

The x86 Kernels don't have feature parity with ARM. I only endeavored to make sure that the user land stuff works the same. Many modules are included but some aren't for one reason or another. If there's a 4.4.11 before 14.2's released I'll add the UVC modules; but it won't make any difference for you since you're not using that kernel on the RPi.

arfon 05-18-2016 11:51 AM

Quote:

There were never any "uvc" modules in 14.1 on ARM.
You know, you may be right... I run USB cameras off of my RPis but, they may all be Raspbian. I've got alot of RPis and half are Raspbian and it's starting to get hard to remember which is which from a CLI.


FEATURE REQUEST: uvcvideo module please.

drmozes 05-20-2016 03:04 AM

Quote:

Originally Posted by arfon (Post 5547294)
You know, you may be right... I run USB cameras off of my RPis but, they may all be Raspbian. I've got alot of RPis and half are Raspbian and it's starting to get hard to remember which is which from a CLI.


FEATURE REQUEST: uvcvideo module please.

I've added that in to the new kernel pushed out today, plus all of the dependencies for it. You're not using it for the RPi though so it won't benefit you, but it's good stuff to have in the armv7 kernel.


All times are GMT -5. The time now is 03:58 AM.