[Done] usb webcam

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[Done] usb webcam

Postby JJF » Sep 17th, '14, 07:10

Trying to setup Creative D1001 USB webcam on mageia 4.1 64b.
lsusb sees and reports the device.
Yet, both motion and cheese display an error similar to: ....can't find /dev/video0.
I'ld appreciate a step by step instructions as to how to set up correctly the webcam using motion detection.
JJF
Last edited by JJF on Sep 28th, '14, 10:34, edited 1 time in total.
JJF
 
Posts: 216
Joined: Feb 13th, '14, 11:42

Re: usb webcam

Postby doktor5000 » Sep 17th, '14, 19:17

Please show the output of
Code: Select all
lspcidrake -v
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: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: usb webcam

Postby JJF » Sep 17th, '14, 20:14

Code: Select all
lspcidrake -v
r8169           : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:10ec device:8168 subv:1462 subd:7519) (rev: 03)
pata_jmicron    : JMicron Technology Corp.|JMB368 IDE controller [STORAGE_IDE] (vendor:197b device:2368 subv:197b subd:2363)
Card:NVIDIA GeForce 8100 to GeForce 360: NVIDIA Corporation|G96 [GeForce 9500 GT] [DISPLAY_VGA] (vendor:10de device:0640 subv:1acc subd:909a) (rev: a1)
ata_piix        : Intel Corporation|82801JI (ICH10 Family) 2 port SATA IDE Controller #2 [STORAGE_IDE] (vendor:8086 device:3a26 subv:1462 subd:7519)
i2c_i801        : Intel Corporation|82801JI (ICH10 Family) SMBus Controller [SERIAL_SMBUS] (vendor:8086 device:3a30 subv:1462 subd:7519)
ata_piix        : Intel Corporation|82801JI (ICH10 Family) 4 port SATA IDE Controller #1 [STORAGE_IDE] (vendor:8086 device:3a20 subv:1462 subd:7519)
lpc_ich         : Intel Corporation|82801JIB (ICH10) LPC Interface Controller [BRIDGE_ISA] (vendor:8086 device:3a18 subv:1462 subd:7519)
unknown         : Intel Corporation|82801 PCI Bridge [BRIDGE_PCI] (vendor:8086 device:244e) (rev: 90)
ehci_pci        : Intel Corporation|82801JI (ICH10 Family) USB2 EHCI Controller #1 [SERIAL_USB] (vendor:8086 device:3a3a subv:1462 subd:7519)
uhci_hcd        : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #3 [SERIAL_USB] (vendor:8086 device:3a36 subv:1462 subd:7519)
uhci_hcd        : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #2 [SERIAL_USB] (vendor:8086 device:3a35 subv:1462 subd:7519)
uhci_hcd        : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #1 [SERIAL_USB] (vendor:8086 device:3a34 subv:1462 subd:7519)
shpchp          : Intel Corporation|82801JI (ICH10 Family) PCI Express Root Port 6 [BRIDGE_PCI] (vendor:8086 device:3a4a)
shpchp          : Intel Corporation|82801JI (ICH10 Family) PCI Express Port 2 [BRIDGE_PCI] (vendor:8086 device:3a42)
shpchp          : Intel Corporation|82801JI (ICH10 Family) PCI Express Root Port 1 [BRIDGE_PCI] (vendor:8086 device:3a40)
snd_hda_intel   : Intel Corporation|82801JI (ICH10 Family) HD Audio Controller [MULTIMEDIA_AUDIO_DEV] (vendor:8086 device:3a3e subv:1462 subd:7519)
ehci_pci        : Intel Corporation|82801JI (ICH10 Family) USB2 EHCI Controller #2 [SERIAL_USB] (vendor:8086 device:3a3c subv:1462 subd:7519)
uhci_hcd        : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #6 [SERIAL_USB] (vendor:8086 device:3a39 subv:1462 subd:7519)
uhci_hcd        : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #5 [SERIAL_USB] (vendor:8086 device:3a38 subv:1462 subd:7519)
uhci_hcd        : Intel Corporation|82801JI (ICH10 Family) USB UHCI Controller #4 [SERIAL_USB] (vendor:8086 device:3a37 subv:1462 subd:7519)
shpchp          : Intel Corporation|4 Series Chipset PCI Express Root Port [BRIDGE_PCI] (vendor:8086 device:2e21) (rev: 03)
unknown         : Intel Corporation|4 Series Chipset DRAM Controller [BRIDGE_HOST] (vendor:8086 device:2e20 subv:1462 subd:7519) (rev: 03)
hub             : Linux 3.12.25-desktop-3.mga4 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
unknown         : CTL|Creative WebCam (vendor:041e device:400d)
hub             : Linux 3.12.25-desktop-3.mga4 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 3.12.25-desktop-3.mga4 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 3.12.25-desktop-3.mga4 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
Mouse:USB|Wheel : Microsoft|Microsoft 3-Button Mouse with IntelliEye(TM) [Human Interface Device|Boot Interface Subclass|Mouse] (vendor:045e device:0040)
hub             : Linux 3.12.25-desktop-3.mga4 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
usb_storage     : Generic|Mass Storage Device [Mass Storage|SCSI|Bulk-Only] (vendor:058f device:6362)
hub             : Linux 3.12.25-desktop-3.mga4 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Linux 3.12.25-desktop-3.mga4 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 3.12.25-desktop-3.mga4 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hid_generic     : Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)
Last edited by doktor5000 on Sep 17th, '14, 20:22, edited 1 time in total.
Reason: added code tags
JJF
 
Posts: 216
Joined: Feb 13th, '14, 11:42

Re: usb webcam

Postby doktor5000 » Sep 17th, '14, 20:33

JJF wrote:unknown : CTL|Creative WebCam (vendor:041e device:400d)

Best get a different webcam.

Check the following links for more information on your camera:
https://web.archive.org/web/20130826031 ... org/ov511/
http://mandrivausers.org/index.php?/top ... esnt-work/
http://compgroups.net/comp.os.linux.har ... at/1274302
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: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: usb webcam

Postby JJF » Sep 17th, '14, 20:40

Thanks
(If I correctly remmeber, this wecam used to function in one of the earlier versions maybe mageia 2 or an entirely different distribution, on this machine. Thus I believed I could find a way to make it work.
Any explanation why there is no video0??)

thanks again
JJF
JJF
 
Posts: 216
Joined: Feb 13th, '14, 11:42

Re: usb webcam

Postby doktor5000 » Sep 17th, '14, 20:51

Because no driver is loaded (or it's builtin to the kernel), as you can see from the above output. Or it's missing the correct option. Did you actually read the links I've posted?

Maybe you can check with as root
Code: Select all
journalctl -ab | grep -i -e creative -e webcam -e 041e
what's in the logs.
Or what happens if you run as root
Code: Select all
journalctl -af
and then plugin the 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: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: usb webcam

Postby jiml8 » Sep 18th, '14, 14:37

Well, there is this http://sourceforge.net/projects/epcam/s ... rce=navbar

But I will offer no opinion on how it will work for you. I would bet, since there have been no upgrades since 2011, that it would require some work to get it working.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: usb webcam

Postby JJF » Sep 19th, '14, 10:24

Doktor5000 and Jiml8

Attached are the last lines of the " journalctl -af " before and after I plugged the device:

Code: Select all
Sep 19 11:06:35 localhost.localdomain kernel: Shorewall:net2fw:DROP:IN=eth0 OUT= MAC=40:61:86:4a:dd:e0:00:22:b0:db:c7:9e:08:00 SRC=94.102.51.229 DST=10.0.0.7 LEN=48 TOS=0x00 PREC=0x00 TTL=120 ID=39487 PROTO=TCP SPT=30546 DPT=5900 WINDOW=65535 RES=0x00 SYN URGP=0
Sep 19 11:07:06 localhost.localdomain kernel: usb 4-1: USB disconnect, device number 2
Sep 19 11:08:12 localhost.localdomain kernel: usb 4-1: new full-speed USB device number 3 using uhci_hcd
Sep 19 11:08:12 localhost.localdomain kernel: usb 4-1: New USB device found, idVendor=041e, idProduct=400d
Sep 19 11:08:13 localhost.localdomain kernel: usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Sep 19 11:08:13 localhost.localdomain mtp-probe[7067]: checking bus 4, device 3: "/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1"
Sep 19 11:08:13 localhost.localdomain mtp-probe[7067]: bus: 4, device: 3 was not an MTP device
Sep 19 11:08:13 localhost.localdomain kernel: usb 4-1: Product: Creative WebCam
Sep 19 11:08:13 localhost.localdomain kernel: usb 4-1: Manufacturer: CTL

I also looked at the links trying to install "epcam" which, apparently, would support the device. However trying to follow the enclosed instructions in the "install" , it failed to pass the "make" phase with the following report:
Code: Select all
[root@localhost Epcam]# make
   Building EPCAM driver for 2.5/2.6 kernel.
   Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build  M=/home/jacob/Epcam modules
make[1]: Entering directory '/usr/src/kernel-3.12.25-desktop-3.mga4'
  CC [M]  /home/jacob/Epcam/drivers/usb/epcam.o
In file included from /home/jacob/Epcam/drivers/usb/epcam.c:89:0:
/home/jacob/Epcam/drivers/usb/epcam.h:5:28: fatal error: linux/videodev.h: No such file or directory
 #include <linux/videodev.h>
                            ^
compilation terminated.
scripts/Makefile.build:308: recipe for target '/home/jacob/Epcam/drivers/usb/epcam.o' failed
make[2]: *** [/home/jacob/Epcam/drivers/usb/epcam.o] Error 1
Makefile:1228: recipe for target '_module_/home/jacob/Epcam' failed
make[1]: *** [_module_/home/jacob/Epcam] Error 2
make[1]: Leaving directory '/usr/src/kernel-3.12.25-desktop-3.mga4'
Makefile:49: recipe for target 'default' failed
make: *** [default] Error 2


Is there a chance that you can further help
Tks
JJF
Last edited by isadora on Sep 19th, '14, 13:52, edited 1 time in total.
Reason: Command-output placed between [CODE]-tags, for better readability. ;)
JJF
 
Posts: 216
Joined: Feb 13th, '14, 11:42

Re: usb webcam

Postby doktor5000 » Sep 19th, '14, 20:45

JJF wrote:/home/jacob/Epcam/drivers/usb/epcam.h:5:28: fatal error: linux/videodev.h: No such file or directory
#include <linux/videodev.h>


You could try to install v4l-devel and try to put up a symlink for that file like explained in http://stackoverflow.com/questions/5842 ... untu-11-04
But this header file mentioned above must be required from pretty old code ...

Code: Select all
[doktor5000@Mageia4 ~]$ urpmf videodev.h                                                                                                                         
lib64v4l-devel:/usr/include/libv4l1-videodev.h
libv4l-devel:/usr/include/libv4l1-videodev.h
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: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: usb webcam

Postby JJF » Sep 28th, '14, 09:41

Thanks to all
I gave up and abandoned this webcam
JJF
JJF
 
Posts: 216
Joined: Feb 13th, '14, 11:42

Re: usb webcam

Postby doktor5000 » Sep 28th, '14, 10:24

Please mark the thread accordingly by editing the topic of the first post and prefix it by [DONE], thanks
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: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest