Webcam stopped working after upgrading to mageia 5 [DONE]

Webcam stopped working after upgrading to mageia 5 [DONE]

Postby geraldow » Jun 29th, '15, 00:02

Hello!

I did an upgrade from Mageia 4 to 5 (32 bit) using the classic installer. Everything worked fine and so I used the "urpme --auto-orphans" to remove the orphan packages.

After all the webcam stopped working.

I tried to configure it using the MCC, and so I realize that the webcam was listed twice there (see the images below).

Maybe there are some conflicting modules or some module is not being loaded, but I don't know how to deal with that. I also thought that the "urpme" could have removed some package needed for the webcam, but if there was the case it would not be listed on MCC.

How can I solve this problem?

Thank you and sorry for my poor English.
Attachments
webcam MCC 1.png
webcam MCC 1.png (65.76 KiB) Viewed 2685 times
webcam MCC 2.png
webcam MCC 2.png (57.69 KiB) Viewed 2685 times
Last edited by geraldow on Jul 30th, '15, 15:14, edited 1 time in total.
geraldow
 
Posts: 22
Joined: Apr 16th, '14, 20:34
Location: Goiás, GO - Brasil

Re: Webcam stopped working after upgrading to mageia 5

Postby doktor5000 » Jun 29th, '15, 21:08

What happens if you run any application that uses your webcam, say cheese, or e.g. vlc ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Webcam stopped working after upgrading to mageia 5

Postby geraldow » Jul 1st, '15, 01:08

doktor5000 wrote:What happens if you run any application that uses your webcam, say cheese, or e.g. vlc ?


Hello doktor 5000!

When I run wxcam the system shows this message (translated from portuguese by me):

Impossible to open /dev/video0. Please, check if the system has the correct driver for your camera or change the device on: Settings->Preferences


So, checking the preferences it shows me 2 devices (video0 and video1). When I change the device from video0 to video1 and restart the application it works fine, but just for the first time. If I close the app and try to do the same it doesn't work.

I tried using VLC, Ekiga, Skype, Jitsi, but didn't work. Wmwebcam worked: the system displays a small box in the corner with the images obtained.

So, the webcam is recognized by the system, but works only with some apps. I don't know why the system shows 2 devices, because there is only one integrated webcam.

Thank you!
geraldow
 
Posts: 22
Joined: Apr 16th, '14, 20:34
Location: Goiás, GO - Brasil

Re: Webcam stopped working after upgrading to mageia 5

Postby doktor5000 » Jul 1st, '15, 07:31

Can you show the output of
Code: Select all
ls -al /dev/video*
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Webcam stopped working after upgrading to mageia 5

Postby geraldow » Jul 1st, '15, 16:10

doktor5000 wrote:Can you show the output of
Code: Select all
ls -al /dev/video*


Sure:
Code: Select all
ls -al /dev/video*
crw-rw----+ 1 root video 81, 0 Jul  1 10:55 /dev/video0
geraldow
 
Posts: 22
Joined: Apr 16th, '14, 20:34
Location: Goiás, GO - Brasil

Re: Webcam stopped working after upgrading to mageia 5

Postby doktor5000 » Jul 1st, '15, 21:48

Only one device listed, hence the programs should also only offer one device.

Dumb question, the webcam is an internal one, meaning you cannot easily disconnect and reconnect it? Or is it an external USB one?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Webcam stopped working after upgrading to mageia 5

Postby geraldow » Jul 1st, '15, 21:56

doktor5000 wrote:Only one device listed, hence the programs should also only offer one device.

Dumb question, the webcam is an internal one, meaning you cannot easily disconnect and reconnect it? Or is it an external USB one?


Sorry, I forgot to say: it's an internal camera integrated on the netbook.
geraldow
 
Posts: 22
Joined: Apr 16th, '14, 20:34
Location: Goiás, GO - Brasil

Re: Webcam stopped working after upgrading to mageia 5

Postby doktor5000 » Jul 1st, '15, 22:03

Then I'm out of clues ... my guess is that it's either an issue with the libv4l wrappers (v4l = video for linux)
or some issue with the driver for the webcam for newer kernels ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Webcam stopped working after upgrading to mageia 5

Postby geraldow » Jul 4th, '15, 15:34

doktor5000 wrote:Then I'm out of clues ... my guess is that it's either an issue with the libv4l wrappers (v4l = video for linux)
or some issue with the driver for the webcam for newer kernels ...


Thank you anyway, doktor5000!

I think my next steps are this: testing with the livedvd for knowing if it was an upgrade issue or if my hardware is not adequated to Mageia 5 (newer kernels, etc).

Having any other information I will put it here.

Best!
geraldow
 
Posts: 22
Joined: Apr 16th, '14, 20:34
Location: Goiás, GO - Brasil

Re: Webcam stopped working after upgrading to mageia 5

Postby doktor5000 » Jul 4th, '15, 18:44

geraldow wrote:or if my hardware is not adequated to Mageia 5 (newer kernels, etc).

That's definitely not the case, I mean this is a simple webcam ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Webcam stopped working after upgrading to mageia 5

Postby geraldow » Jul 4th, '15, 19:36

I agree! After the tests with the livedvd I'll have more information...
---EDITED---
I tested with the livedvd and the webcam worked fine with several softwares (vlc, wxcam, skype, jitsi), so definetively it's an update issue or a problem with urpme --auto-orphans. I'll make some more tests, but probably will reinstall MGA5.
geraldow
 
Posts: 22
Joined: Apr 16th, '14, 20:34
Location: Goiás, GO - Brasil

Re: Webcam stopped working after upgrading to mageia 5

Postby geraldow » Jul 5th, '15, 03:44

Bad news: I've done a clean install using both livedvd and classical installer and the webcam doesn't work. The strange is: using the livedvd it worked fine...

Have no idea of what is this!
---EDITED---
We are discussing this issue on Mageia brazilian forum. There we are guessing that it could be an udev problem. I'm searching for this and found two topics on Linux Questions:
http://www.linuxquestions.org/questions ... 175427378/
http://www.linuxquestions.org/questions ... am-374359/

But I really don't know how to deal with udev...
geraldow
 
Posts: 22
Joined: Apr 16th, '14, 20:34
Location: Goiás, GO - Brasil

Re: Webcam stopped working after upgrading to mageia 5

Postby wintpe » Jul 10th, '15, 12:24

just adding some info incase it helps.

would be good if we knew what webcam it is so other people on here can either confirm your findings or disagree.

im using the classic install of kde/lxde based mga5

my webcam works fine on my ultrabook labptop.

heres the details for you to compare.

Code: Select all
[peter@localhost ~]$ lsusb
Bus 002 Device 004: ID 8087:07da Intel Corp.
Bus 002 Device 003: ID 04f2:b330 Chicony Electronics Co., Ltd Asus 720p CMOS webcam


peter@localhost ~]$ dmesg|grep Chicony
[    4.629190] usb 2-1.5: Manufacturer: Chicony Electronics Co.,Ltd.
[peter@localhost ~]$

root@localhost ~]# lsmod|grep usbcore
usbcore               239242  7 btusb,uvcvideo,rtsx_usb,ehci_hcd,ehci_pci,xhci_hcd,xhci_pci
usb_common             13057  1 usbcore



regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: Webcam stopped working after upgrading to mageia 5

Postby geraldow » Jul 25th, '15, 22:58

Hello, Peter!

I was very busy in the last days, so I couldn't answer before.

The information you requested is here:
Code: Select all
lsmod|$ lsusb
Bus 001 Device 002: ID 13d3:5108 IMC Networks
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


I know from the MCC that the vendor is Sonix.
Code: Select all
$ dmesg|grep Sonix
[   10.684410] usb 1-2: Manufacturer: Sonix Technology Co., Ltd.


And the last:
Code: Select all
# lsmod|grep usbcore
usbcore               208183  5 uhci_hcd,uvcvideo,ehci_hcd,ehci_pci,usbhid
usb_common             13504  1 usbcore


Just adding some information. I've tested with several distributions (live cds of Debian, Manjaro, Slitaz, Puppy Slacko, OpenSuse) and the webcam didn't work with any. It worked only with the Mageia 5 livedvd, as I said before.

Thank you all!
geraldow
 
Posts: 22
Joined: Apr 16th, '14, 20:34
Location: Goiás, GO - Brasil

Re: Webcam stopped working after upgrading to mageia 5

Postby geraldow » Jul 30th, '15, 15:13

I don't know what happened, but the webcam came back to live! It's working now. I suspect it has something to do with system upgrades, but I'm not sure.

But the problem is solved. I'll try to find out what happened.

Thank you all!
Last edited by geraldow on Jul 30th, '15, 22:30, edited 1 time in total.
geraldow
 
Posts: 22
Joined: Apr 16th, '14, 20:34
Location: Goiás, GO - Brasil

Re: Webcam stopped working after upgrading to mageia 5 [DONE

Postby doktor5000 » Jul 30th, '15, 17:59

You can query the most recently installed 250 packages together with the date of installation via
Code: Select all
rpm -qa --last | head -250

Maybe it helps.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Video

Who is online

Users browsing this forum: No registered users and 1 guest