LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-16-2014, 10:08 PM   #1
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Rep: Reputation: 10
Webcam not recognized


Evening:

I had "Cheese" installed and working. Now, it came on for just about 5 secs, went off and says "DEVICE NOT FOUND". Removed and re-installed,same thing....about 5 secs, then failure. Tried the other 2 webcam apps and they wouldn't work either. Now, nothing but "Device Not Found". Coincidentally, I've had other apps fail, in the past week, and I re-installed and they seem to working again...so far! What could be the problem with it's(Cheese) complete failure and having to re-install a few of the other programs after they failed? All were working fine when first installed? [HP2000-210US Ubu12.04]
Kryst, I've had nothing but trouble with 12.04...what gives?
RICK
 
Old 02-17-2014, 02:46 PM   #2
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Rep: Reputation: 14
What is your webcam model?
Paste the ouput of the following command:
Quote:
lsusb
 
Old 02-17-2014, 02:54 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Try replugging the camcorder and see what dmesg says about it. Probably lacking the /dev/video0 device. As in the uvcvideo / usbvideo modules that load when a usb webcam is plugged in and turned on.
 
Old 02-17-2014, 03:54 PM   #4
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
To fuorviato:

Thanx for replying. My webcam is built-in. Looked up specs and all it said was-- Camera:Yes Laptop is a HP2000-210us.
Answer to "readout": (BTW is it lsusb?)

Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0200 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root Hub
Bus 001 Device 008: ID 05c8:021e Cheng Uei Precision Industry Co., LTD (Foxlink)

Bus 001 Device 005 ID 0cf3:3005 Atheros Communications Inc., AR3011 Bluetooth
Bus 002 Device 004 ID 148f:3070 Ralink Technology Corp. RT2870/RT3070 Wireless Adapter

Hope this is helpful to you, because it doesn't mean a damn thing to me. Take Care
Rick

To: Shadow7

Please see post above. Thank you
Rick
 
Old 02-18-2014, 02:46 AM   #5
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Rep: Reputation: 14
Now, show me
Quote:
dmesg|grep uvcvideo
please
 
Old 02-19-2014, 10:03 PM   #6
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
Hey fuorviato:

This is just getting stupider by the day. 3 days after I posted the problem my comp(the O.S. actually) was experiencing, with no prompting from me, it has 'cured" itself. I don't know what caused the problem nor do I know what cured it. I'm really sorry I wasted your time/efforts. Since I'd already run the query you asked me to, I'll still give forth the results.

dmesg|grep uvcvideo: [ 26.845535] uvcvideo: Found UVC 1.00 device HP Webcam-101 (05c8:021e0
[ 26.860645] usbcore: registered new interface driver uvcvideo (I should explain that each time the readout showed "uvcvideo" it was in red print) Could you please tell me what this readout is saying? I THANK YOU for your time and efforts. Would you care to opine what may have caused the problem to start with and what may have happened for it to start working again? Now, I still have not been able to get bitorrent to work, however VLC did start working again as well, when webcam started working again.????

Take care:
RICK
 
Old 02-19-2014, 10:44 PM   #7
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Bus 001 Device 008: ID 05c8:021e Cheng Uei Precision Industry Co., LTD (Foxlink)

Says that your device is seen and labeled. So good to go mostly. You might check that the /dev/video# device exists and take note of what group is associated with it and ensure that the user is in that group (re-login required if that meant a change).
 
Old 02-20-2014, 04:39 AM   #8
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Rep: Reputation: 14
Quote:
Would you care to opine what may have caused the problem to start with and what may have happened for it to start working again?
It's quite hard to tell with 100%, but it seems your uvcvideo driver wasn't loading or was getting unloaded by something.
This was causing the programs not to recognize the device because, the OS itself wasn't aware of it.

As I said, it's hard to tell more without proper log investigation. I can however, give you some advices for future problems (fingers crossed )

Your webcam is handled by uvcvideo driver. So. If it happens to "disapear" again, you may want to:

1) Make sure the driver has been loaded at startup and recognized the webcam

As you can see on mine (and your setup) --> This is correct

Quote:
dmesg |grep uvcvideo
[ 15.265911] uvcvideo: Found UVC 1.00 device Laptop_Integrated_Webcam_HD (0bda:58c2)
[ 15.271659] usbcore: registered new interface driver uvcvideo
2) If the first fails. Check if the driver is loaded at all

Quote:

lsmod |grep uvcvideo
uvcvideo 82214 0
videobuf2_core 40815 1 uvcvideo
videodev 130172 2 uvcvideo,videobuf2_core
videobuf2_vmalloc 13056 1 uvcvideo
You can see "uvcvideo" in the output string. That means the driver is loaded

Those would be the first steps to take before reporting a problem.
Also Shadow_7's advice is good to follow.



Quote:
however VLC did start working again as well, when webcam started
As I said - hard to tell for sure but if VLC wasn't working along with the webcam, it may be caused by some graphic drivers problem.
Solved by now. Hopefully

For bittorrent, please open a new thread so we can see what we can do.

Cheers

Łukasz

Last edited by fuorviato; 02-20-2014 at 04:45 AM.
 
Old 02-23-2014, 02:35 PM   #9
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
sTOPPED wORKING....AGAIN!!!!

To: fuorviato & Shasow_7:

S.O.B....the damn program/app quit working AGAIN. I don't understand it and it's really pissin' me off. There has to something wrong, but I'll be damned if I know what it is. O.S-hardware...who knows? Anyway, anyboby got any suggestions and/or opinions?

Thanx:
Rick
 
Old 02-24-2014, 09:57 AM   #10
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Try unloading and reloading the kernel modules / drivers. Or perhaps something locked the /dev/video# device and is keeping other apps from using it. Check dmesg for any messages about the device. Or /var/log/syslog for system messages. And lspci and lsusb to see if the device is still seen and known. Beyond that try the most recent kernel to benefit from any fixes that may have already been done.
 
Old 02-25-2014, 02:27 PM   #11
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
To: Shawdow 7;

I once again "removed" and re-installed (3 times). It eventually came back up(working). This 0.S. is getting quite squirly. It seems to have another/new quirk about once a week or so, now. The video player (DRAGON) sometimes, now, will just stop in the middle of playing a movie..no reason/not a bad spot in DVD, then I have reboot before it'll play again. Have been in the middle of penning an e-mail and the damn thing just goes "blank". It doesn't send it to 'draft". Just disappears in cyberspace; no warning, nothing. Downloads are still excrutiatingly slow. Can't seem to get qtorrent nor TransmissionBitorrent to "load" a magnet/torrent file. There's a few other things things, as well, but you get the idea. I'm quite serious about moving to PINGUY or possibly, LinuxMint...VERY SOON!!! I'll be getting a newer, larger HDD next month, and I'm pretty sure, then, it's GOODBYE and good riddance UBUNTU. Meantime, however, I'd like to be able to use my comp as it is intended, so any help with my current problems would be appreciated. ANYONE care to respond? Shawdow..THANK YOU.

Take care:
RICK

THOSE WHO CAN...DO! THOSE WHO CAN'T USUALLY END UP YOUR SUPERVISOR
 
Old 02-26-2014, 09:00 AM   #12
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Deluge is probably the better torrent client atm.

Firefox (iceweasel) and yahoo mail tends to have the symptoms you've described. Be sure that you've got the latest flash and java. If you use those (almost can't avoid them these days). For email you could pen them in a text editor or libre-office first and cut and paste at send time. Which probably works better IMO because of a spell checker that actually works and other nice things that a web browser fails to provide or provide well.

You can install other linux's under ubuntu in a sub-directory and chroot to those installs. If you're a CLI type like me. I seem to be doing that a lot these days for things. Like pentoo that I don't trust booting, but might want to run a few of the apps and configurations it has by default. And debian wheezy since povray doesn't currently compile under debian sid. And I use povray to generate graphics for videos all the time. As in I can't draw, but I'm okay at math and code stuffs.

Code:
$ sudo mount -t proc none /home/user/otherdistro/proc
$ sudo mount --rbind /dev /home/user/otherdistro/dev
$ sudo mount --rbind /dev/pts /home/user/otherdistro/dev/pts
$ sudo mount --rbind /run /home/user/otherdistro/run
$ sudo mount --rbind /sys /home/user/otherdistro/sys
$ sudo mount --rbind /tmp /home/user/otherdistro/tmp
$ cp /home/userwhostartedX/.Xauthority /home/user/otherdistro/home/userinotherdistro/
$ sudo export LANG=C; sudo chroot /home/user/otherdistro /bin/bash
$ cd /home/userinotherdistro
$ sudo su userinotherdistro
$ export DISPLAY=":0.0"
$ export XAUTHORITY=".Xauthority"
And run whatever gui applications you desire from the other distro while using the X session of the host distro. Unfortunately it's difficult to undo those mount points after running applications so a reboot is the simpler undo option. Something I learned in order to use a 32 bit browser and 32 bit java on a 32 bit distro during that 5+ years that 64 bit machines and distros existed, but a 64 bit browser plugin for java did NOT exist.

Unfortunately if the issue with your webcam is the kernel and it's drivers, that type of thing wont solve that issue. Although if the problem is the software that uses the webcam it could help. There are limits to that type of chroot. Like needing to be running a 64 bit kernel to chroot into a 64 bit distro. And other cloning of the audio configuration to fully function. Plus you can't be too different in the versions of your software.

Just some options, since you can mount a lot of iso images and have a root filesystem of a bootable linux in there somewhere. Although mounting the iso, then mounting the squashfs file (-o loop -t squashfs) seems to be a popular way to do it these days. Probably a bit techy, but an option. If the bootable filesystem isn't the iso itself, then it's probably the largest file in that iso file.

With some devices you need to pass parameters to the drivers (modules). Scripted to happen at boot from /etc/modprobe.d/ in the .conf files. Or you can modprobe with parameters. Perhaps some of that methodology might improve things for you.

$ sudo modinfo uvcvideo
$ egrep -r -i "uvcvideo" /etc/modprobe.d/*

For your device 05c8:021e no hits in the source tree. Although 05c8:0403 had a hit with a bandwidth quirk. And a bug report for linphone on that device for debian. So at least you're not alone in that arena. Lots of issues with the wifi for folks who also have that device. I wonder if you disable the wireless if that device works with fewer or no issues.

https://bugs.debian.org/cgi-bin/bugr...cgi?bug=721728
 
1 members found this post helpful.
Old 02-26-2014, 02:17 PM   #13
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
hey Shadow 7:

Well, there's quite a lot to digest there, but every bit of info helps. Yes, I too have been noticing other folks are encountering some of the same problems I'm running into. Curiously, I'm wondering if there weren't glithes in the O.S. right from the start that, only after using for some time, are just now manifesting themselves? Just a thought! The last command you suggested... would you please explain just what that would do? You see, I'm fairly certain I'll be moving to either LinuxMint or Pinguy within a month's time.(probably the latter) So, I don't know if modifying or rebuilding anything, at this time, would be in my best interests. I'm not questioning your advice. Just whether it would be of benefit for me at this time. I wish to THANK YOU for all the help you've passed on to me. I realize I've got a lot to learn!! And saying that, I've now discovered a LUG in my area and have signed up to attend it. This may be the oppritunity that gets me on my way to "understanding" Linux much better than I do now... and much to YOUR relief, maybe I'll quit bugging all of you. LOL LOL
Take Care:
Rick
 
Old 02-27-2014, 02:22 AM   #14
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
A lot of modules (as in drivers) for the linux kernel will take parameters. The modinfo application lists those parameters available and expected values for a given module. The egrep application lets you search existing configurations (parameters already passed / boot sequence) for the module in question. About all another distro will do for you is give you a newer or different kernel (more recent drivers). Or newer versions of the software that uses the drivers. Which may not be any different with regards to your issue.

Glitches? Manifest? Did you used to not have any issues with using this device in linux? Perhaps an older kernel might restore your sanity if that's the case. Or there's some firmware in play and the newer firmware is more problematic than the old firmware. I've got a wireless card with that quirk. Although usb video has a specification, and class compliant devices should just work. So it is likely that your device is not built to the specification. Or the specification happened after your device was manufactured. It might be interesting to see if the 05c8:0403 quirk if applied to 05c8:021e would help the usability. A simple code change and module build, but likely not in your current skillset.
 
Old 02-27-2014, 12:17 PM   #15
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
Afternoon Shadow 7:

I don't know what to make of this. Now. today, the WiFi I'm receiving is great..fastest it's been in awhile. Then, who knows what'll happen the next time I boot up. I really think it's an "internal" problem...i.e., not the fault of the device. I've had the external antenna since the 11th of Jan. I understand a lot of what your saying and i did not mean to imply I was going to 'build" or even try to re-build the kernel. It just seems, to me, that expected improvements over the internal WiFi chip have not been applied. I intend to run the 2 commands you've suggested in post #12 and will report back. I'll ask this, do you think removing the internal chip would help? It is NOT hooked up, but perhaps removing it altogether may help? As always, I appreciate your help/suggestions. I should also tell you that I've been having "quirks" with the overall performance of Ubuntu and, therefore, the problems may lie within it's O.S. See, I just don't know!! So, once again, THANK YOU for your time and patience.

Take care:
Rick

THOSE WHO CAN...DO!!! THOSE WHO CAN'T USUALLY END UP YOUR SUPERVISORS
 
  


Reply

Tags
softwares



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hp webcam 101 recognized, but does not work... ERSOUL Linux - Newbie 3 05-31-2013 09:05 PM
Veo Advance Webcam not recognized alan9339 Linux - Hardware 7 07-07-2009 12:13 AM
Mercury: webcam not recognized Hungry ghost Linux - Software 1 08-31-2005 06:34 PM
Webcam module installed, recognized, but not working MikeOliveri Linux - Hardware 0 02-05-2005 06:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration