Leap 42.2 + Phillips SPC 900NC

I have a couple of Philips SPC 900NC webcams, and these seem to have
stopped working in 42.2. I thought that the drivers were included in the
kernel and these have been working OK (wxCam & Skype) for years.
When I try with wxCam I get:
Code:

Cannot open /dev/video0.
Please check if your system has the correct driver for your webcam, or
change the webcam device in settings->preferences.

Tried all combinations of preferences and that does not change
anything. :-/

lsusb tells me that the camera is detected:

Code:

Bus 002 Device 002: ID 0471:0329 Philips (or NXP) SPC 900NC PC Camera /
ORITE CCD Webcam(PC370R)

libv4l libraries (both 1 and 2, in the 64 and 32 bit versions) are
installed.
Anything else I should try?
Thanks.

I have a couple of Philips SPC 900NC webcams, and these seem to have
stopped working in 42.2. I thought that the drivers were included in the
kernel and these have been working OK (wxCam & Skype) for years.

Use the following command (lsusb by itself means very little other than how a device is enumerated)

usb-devices

It will return blocks of out put pertaining to each USB device (or hub) attached, and should show the driver in use if applicable.

It can also be useful to open a terminal window and watch the kernel output just prior to plugging a USB device in…

dmesg --follow

Anyway, the pwc driver apparently supports this hardware
https://wiki.ubuntu.com/HardwareSupportComponentsMultimediaWebCamerasPhilips
and this should be shown in the output derived from the above steps.

I forgot to add - check that /dev/video0 exists and the device ownership

ls -l /dev/video*

It may be that you need to add the user to the appropriate group first.

On Sat, 26 Nov 2016 20:56:02 +0000, deano ferrari wrote:
> Use the following command (lsusb by itself means very little other than
> how a device is enumerated)
> Code:
> --------------------
> usb-devices
> --------------------

Thank you for the reply. Trying the command above I get:
Code:

T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0471 ProdID=0329 Rev=00.03
S: SerialNumber=01690000A652012A
C: #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
/usr/bin/usb-devices: line 79: printf: webcam: invalid number
I: If#= 0 Alt= 0 #EPs= 0 Cls=() Sub= Prot= Driver=
I: If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-
audio
I: If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-
audio

The line “I:” that claims to have an invalid number in /usr/bin/usb-
devices: line 79 says:

Code:

printf "I: If#=%2i Alt=%2i #EPs=%2i Cls=%s(%s) Sub=%s Prot=%s Driver=%s

"
${ifnum#0} ${altset#0} ${numeps#0} $class “$classname” $subclass
$protocol $driver

I also checked
Code:

ls -l /dev/video*

and yes video0 exists:

Code:

crw-rw---- 1 root video 81, 0 Nov 27 08:47 /dev/video0

However, in one computer (most odd) the webcam suddenly started working
again. In the other computer (identical webcam, different hardware)
changing the usb port I connected the camera also made it work. Most
puzzled why that would be…
Thanks again for the pointers. I learned a bit more about how to
investigate this kind of problems.

Nice to read that the webcam devices are working as expected now :slight_smile: