Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Built-In Webcam Not Seen By Kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
jrussia
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2012
Posts: 89
Location: Chicago

PostPosted: Sun Dec 30, 2012 3:32 am    Post subject: Built-In Webcam Not Seen By Kernel Reply with quote

Hey Gentooers,

I have a small problem which I was hoping another pair of eyes might look at to see if I've missed anything. I have this ~5 year-old laptop with a built-in camera. I have never, that I can remember, tried to use it before now, which means I don't really know if it ever even worked.

Right now, it looks like the kernel doesn't see it at all:
Code:

Bus 004 Device 002: ID 0a5c:2101 Broadcom Corp. BCM2045 Bluetooth
Bus 005 Device 002: ID 046d:0a37 Logitech, Inc.
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 003 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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

(the Logitech device above is my headset)

lspci -nn
Code:

00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 0c)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) [8086:2a02] (rev 0c)
00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) [8086:2a03] (rev 0c)
00:1a.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 03)
00:1a.1 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 03)
00:1a.7 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 03)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 [8086:2841] (rev 03)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 [8086:2843] (rev 03)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 [8086:2845] (rev 03)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 [8086:2847] (rev 03)
00:1c.5 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 [8086:2849] (rev 03)
00:1d.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 03)
00:1d.1 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 03)
00:1d.2 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 03)
00:1d.7 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev f3)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801HM (ICH8M) LPC Interface Controller [8086:2815] (rev 03)
00:1f.1 IDE interface [0101]: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller [8086:2850] (rev 03)
00:1f.2 SATA controller [0106]: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] [8086:2829] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801H (ICH8 Family) SMBus Controller [8086:283e] (rev 03)
04:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express [14e4:1713] (rev 02)
0c:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection [8086:4222] (rev 02)
0e:06.0 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832] (rev 05)
0e:06.1 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 22)
0e:06.2 System peripheral [0880]: Ricoh Co Ltd R5C843 MMC Host Controller [1180:0843] (rev 12)
0e:06.3 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 12)


There is no /dev/video0, and in addition to the above I have tried:
- x86 platform specific drivers, and pressing every additional special laptop "function" key on my machine
- adding support for uvcvideo in kernel
- adding module support for all the v4l usb video capture drivers in the kernel
- trying to get it to work in Cheese
- seeing if it is seen in the SysRecCD environment (it isn't)

I am feeling at this point that it is either a) broken or b) disabled by a special laptop function that I may not have access to. If anyone has insight about something I may have missed, let me know.

Thanks--
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9645
Location: almost Mile High in the USA

PostPosted: Sun Dec 30, 2012 10:19 am    Post subject: Reply with quote

If it can't be found with lspci or lsusb, it's probably not a good omen in possibly getting it to work (firewire? Doubt it...)

Any other possible methods of how it could be connected to the computer? That's the question that needs to be answered, else it's probably simply broken. (Most of the built-in cameras on laptops I've seen are USB devices...)

Likely the easiest (relatively speaking) step is to see how it works when used in Windows...

My uvcvideo device does show up in lsusb
Code:
Bus 001 Device 003: ID 1bcf:2c0e Sunplus Innovation Technology Inc.
so it's a bit easier to get working...

Maybe another way to look at it: Is this the stock camera that came with the machine? What machine brand/model is it? Perhaps someone who has experience with the machine could backreference?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Sun Dec 30, 2012 7:59 pm    Post subject: Reply with quote

Hi!

Which kernel version? I had my webcam disappearing after some update (3.6.x or 3.7.x).
Found out the location in the kernel changed so even lsusb didn't see it.
You can check all the options under
Device drivers > Multimedia support > USB media devices > USB video class (UVC).
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
jrussia
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2012
Posts: 89
Location: Chicago

PostPosted: Sun Dec 30, 2012 8:08 pm    Post subject: Reply with quote

Ahh, thanks. To answer some of your questions I went looking to see if I still had a specs e-mail from when I was originally buying it, and I came across a list I had made of hardware devices from Windows just before I eradicated it to install Gentoo. The camera wasn't there on Windows, either. In case it helps anyone else or anyone comes across a solution in the future, it's a Compal FL91 laptop with a Chicony webcam.

But I will consider it solved as broken hardware.
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Sun Dec 30, 2012 8:13 pm    Post subject: Reply with quote

Hey, you are in the GENTOO forum... You are not supposed to give up so fast :D
Maybe you will find your device supported here?
http://www.ideasonboard.org/uvc/#devices
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
jrussia
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2012
Posts: 89
Location: Chicago

PostPosted: Sun Dec 30, 2012 8:21 pm    Post subject: Reply with quote

Martux wrote:
Hi!

Which kernel version? I had my webcam disappearing after some update (3.6.x or 3.7.x).
Found out the location in the kernel changed so even lsusb didn't see it.
You can check all the options under
Device drivers > Multimedia support > USB media devices > USB video class (UVC).


Kernel 3.6.11 --

I am currently using a (test) kernel with UVC, all the V4L USB camera choices as modules, and all of the GSPCA cameras as modules.

Cheese fails with "No device found", and also I don't see anything in /dev/ that looks like it corresponds to the camera.
Back to top
View user's profile Send private message
jrussia
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2012
Posts: 89
Location: Chicago

PostPosted: Sun Dec 30, 2012 8:29 pm    Post subject: Reply with quote

Martux wrote:
Hey, you are in the GENTOO forum... You are not supposed to give up so fast :D
Maybe you will find your device supported here?
http://www.ideasonboard.org/uvc/#devices


Hehe, never give up, never surrender...

My camera is in that list (Chicony 2.0 USB webcam or something to that effect.) I believe I have the relevant kernel option enabled:
Code:
<*>   USB Video Class (UVC) 


and it seems to be loading up:
Code:

dmesg | grep video
[    0.145007] Linux video capture interface: v2.00
[    0.204355] pci 0000:00:02.0: Boot video device
[    1.317839] usbcore: registered new interface driver uvcvideo
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Sun Dec 30, 2012 8:32 pm    Post subject: Reply with quote

Nice :-) looks good. You might want to install uvcview to see if it's working.
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sun Dec 30, 2012 8:46 pm    Post subject: Reply with quote

Is it enabled in the BIOS?
Back to top
View user's profile Send private message
jrussia
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2012
Posts: 89
Location: Chicago

PostPosted: Sun Dec 30, 2012 8:53 pm    Post subject: Reply with quote

Thanks for the suggestion, but uvcview doesn't work either:
Code:

video device: /dev/video0
unable to detect video devices on your system (0)
ERROR opening V4L interface: No such file or directory
Init video returned -1


I'm growing in confidence that it's just a broken camera. :D
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Sun Dec 30, 2012 8:56 pm    Post subject: Reply with quote

Hmmm, my last idea: libv4l and v4l useflags set? I am not even sure this is really needed for UVC cams.
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
jrussia
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2012
Posts: 89
Location: Chicago

PostPosted: Sun Dec 30, 2012 9:11 pm    Post subject: Reply with quote

To answer the two posts above:
I don't see any relevant options in the BIOS - there is a "Legacy USB Support" option that is enabled; everything else is typical clock/boot type stuff.
I added libv4l, v4l and v4l2 to my USE flags at some point to do some testing, but unfortunately it's a no-go.
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Sun Dec 30, 2012 9:26 pm    Post subject: Reply with quote

Hm... You could check also this thread, esp. the kernel options, if anything is missing:
https://forums.gentoo.org/viewtopic-t-939460-start-0.html
Good luck!
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
jrussia
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2012
Posts: 89
Location: Chicago

PostPosted: Sun Dec 30, 2012 10:31 pm    Post subject: Reply with quote

Martux wrote:
Hm... You could check also this thread, esp. the kernel options, if anything is missing:
https://forums.gentoo.org/viewtopic-t-939460-start-0.html
Good luck!


Looks like he didn't know that his camera was actually in his lsusb from the start. ;)

Thanks for all of the ideas. I think I've confirmed that I need a new camera.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Sun Dec 30, 2012 11:18 pm    Post subject: Reply with quote

If /dev/video0 exists, you can try to open it with mplayer as per http://en.gentoo-wiki.com/wiki/Webcam#Mplayer (needs USE=v4l enabled)
Back to top
View user's profile Send private message
jrussia
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2012
Posts: 89
Location: Chicago

PostPosted: Mon Dec 31, 2012 12:00 am    Post subject: Reply with quote

chithanh wrote:
If /dev/video0 exists, you can try to open it with mplayer as per http://en.gentoo-wiki.com/wiki/Webcam#Mplayer (needs USE=v4l enabled)


/dev/video0 was never created in any of the configurations I tried.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9645
Location: almost Mile High in the USA

PostPosted: Mon Dec 31, 2012 1:18 am    Post subject: Reply with quote

I'm sorry it sounds like bad hardware. If you're not scared of it I'd take it apart and see if I can find how it's connected to the motherboard (USB wiring) and make sure it's still intact.

For future reference, tt looks like someone created a webpage about this laptop...

http://www.gentoo-wiki.info/Compal_FL91
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum