Mint and Web Camera

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Post Reply
koluna
Level 1
Level 1
Posts: 13
Joined: Mon Feb 18, 2019 2:34 am

Mint and Web Camera

Post by koluna »

Hi!

My OS is Linux Mint 19.3, kernel is 5.4.0-47-generic.
I have an old camera Genius e-Messenger 112.
It does not work on my OS (Skype, Cheese). Why? Help me please.
I added my user to a video group.

dmesg

Code: Select all

[136948.463244] usb 1-1.4: new full-speed USB device number 9 using ehci-pci
[136948.576661] usb 1-1.4: config 1 interface 0 altsetting 1 endpoint 0x6 has invalid wMaxPacketSize 0
[136948.576663] usb 1-1.4: config 1 interface 0 altsetting 2 endpoint 0x6 has invalid wMaxPacketSize 0
[136948.576665] usb 1-1.4: config 1 interface 0 altsetting 3 endpoint 0x6 has invalid wMaxPacketSize 0
[136948.576666] usb 1-1.4: config 1 interface 0 altsetting 4 endpoint 0x6 has invalid wMaxPacketSize 0
[136948.576668] usb 1-1.4: config 1 interface 0 altsetting 5 endpoint 0x6 has invalid wMaxPacketSize 0
[136948.576669] usb 1-1.4: config 1 interface 0 altsetting 6 endpoint 0x6 has invalid wMaxPacketSize 0
[136948.576671] usb 1-1.4: config 1 interface 0 altsetting 7 endpoint 0x6 has invalid wMaxPacketSize 0
[136948.576672] usb 1-1.4: config 1 interface 0 altsetting 8 endpoint 0x6 has invalid wMaxPacketSize 0
[136948.577267] usb 1-1.4: New USB device found, idVendor=093a, idProduct=2476, bcdDevice= 1.00
[136948.577269] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[136948.577271] usb 1-1.4: Product: CIF Single Chip     
[136948.577272] usb 1-1.4: Manufacturer: Pixart Imaging Inc. 
[136948.577542] gspca_main: pac207-2.14.0 probing 093a:2476
[136948.578067] input: pac207 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/input/input16
koluna@intel:~/prj/cashsrv$ ls -l /dev/ | grep video

Code: Select all

crw-rw----  1 root video      29,   0 Oct 20 23:16 fb0
crw-rw----+ 1 root video      81,   0 Oct 22 13:18 video0
koluna@intel:~/prj/cashsrv$ hwinfo --usb

Code: Select all

02: USB 00.0: 11200 TV Card                                     
  [Created at usb.122]
  Unique ID: 33sj.cG12hRrFO77
  Parent ID: ADDn.4Nx_qoDfSd7
  SysFS ID: /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0
  SysFS BusID: 1-1.4:1.0
  Hardware Class: tv card
  Model: "Pixart Imaging CIF Single Chip"
  Hotplug: USB
  Vendor: usb 0x093a "Pixart Imaging, Inc."
  Device: usb 0x2476 "CIF Single Chip"
  Revision: "1.00"
  Driver: "pac207"
  Driver Modules: "gspca_pac207"
  Speed: 12 Mbps
  Module Alias: "usb:v093Ap2476d0100dcFFdscFFdpFFicFFiscFFipFFin00"
  Driver Info #0:
    Driver Status: gspca_pac207 is active
    Driver Activation Cmd: "modprobe gspca_pac207"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #12 (Hub)
koluna@intel:~/prj/cashsrv$ lsmod

Code: Select all

Module                  Size  Used by
pci_stub               16384  1
vboxpci                24576  0
vboxnetadp             28672  0
vboxnetflt             28672  0
vboxdrv               479232  3 vboxpci,vboxnetadp,vboxnetflt
nls_iso8859_1          16384  1
gspca_pac207           16384  0
gspca_main             24576  1 gspca_pac207
intel_rapl_msr         20480  0
videobuf2_vmalloc      20480  1 gspca_main
intel_rapl_common      24576  1 intel_rapl_msr
x86_pkg_temp_thermal    20480  0
videobuf2_memops       20480  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 gspca_main
intel_powerclamp       20480  0
videobuf2_common       53248  2 gspca_main,videobuf2_v4l2
videodev              217088  4 gspca_main,videobuf2_v4l2,gspca_pac207,videobuf2_common
coretemp               20480  0
mc                     53248  3 videodev,videobuf2_v4l2,videobuf2_common
kvm_intel             253952  0
kvm                   655360  1 kvm_intel
joydev                 28672  0
input_leds             16384  0
snd_hda_codec_hdmi     61440  1
crct10dif_pclmul       16384  1
snd_hda_codec_realtek   126976  1
snd_hda_codec_generic    81920  1 snd_hda_codec_realtek
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_intel          49152  3
snd_intel_dspcfg       24576  1 snd_hda_intel
snd_hda_codec         131072  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
snd_hda_core           90112  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               102400  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_seq_midi           20480  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            36864  1 snd_seq_midi
snd_seq                69632  2 snd_seq_midi,snd_seq_midi_event
cryptd                 24576  1 ghash_clmulni_intel
parport_serial         24576  0
mei_hdcp               24576  0
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              36864  2 snd_seq,snd_pcm
gpio_ich               16384  0
snd                    86016  17 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
mei_me                 40960  1
rapl                   20480  0
soundcore              16384  1 snd
intel_cstate           20480  0
mei                   102400  3 mei_hdcp,mei_me
lpc_ich                24576  0
mac_hid                16384  0
serio_raw              20480  0
sch_fq_codel           20480  2
parport_pc             40960  2 parport_serial
ppdev                  24576  0
lp                     20480  0
parport                53248  3 parport_pc,lp,ppdev
ip_tables              32768  0
x_tables               40960  1 ip_tables
autofs4                45056  2
btrfs                1232896  0
xor                    24576  1 btrfs
zstd_compress         163840  1 btrfs
raid6_pq              114688  1 btrfs
libcrc32c              16384  1 btrfs
hid_generic            16384  0
usbhid                 53248  0
hid                   126976  2 usbhid,hid_generic
dm_mirror              24576  0
dm_region_hash         20480  1 dm_mirror
dm_log                 20480  2 dm_region_hash,dm_mirror
i915                 1978368  10
video                  49152  1 i915
i2c_algo_bit           16384  1 i915
drm_kms_helper        184320  1 i915
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
psmouse               151552  0
e1000e                253952  0
drm                   491520  7 drm_kms_helper,i915
ahci                   40960  4
libahci                32768  1 ahci
User avatar
Kadaitcha Man
Level 11
Level 11
Posts: 3605
Joined: Mon Aug 27, 2012 10:17 pm

Re: Mint and Web Camera

Post by Kadaitcha Man »

koluna wrote:
Thu Oct 22, 2020 5:48 am
I have an old camera Genius e-Messenger 112.
It does not work on my OS (Skype, Cheese). Why? Help me please.
https://help.ubuntu.com/community/Webca ... leshooting
Coming to a thread near you: Lots of bragging about my AMD 5950X. Currently delayed due to high demand.
It's pronounced kad-eye-cha, not kada-itcha.
koluna
Level 1
Level 1
Posts: 13
Joined: Mon Feb 18, 2019 2:34 am

Re: Mint and Web Camera

Post by koluna »

Thanks. I read it.
I installed guvcview. It works.
But video is dark and I have horizontal strips.
And video is very slow... FPS is ~2. Why?!
User avatar
phd21
Level 19
Level 19
Posts: 9832
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Mint and Web Camera

Post by phd21 »

Hi koluna,

I just read your post and the good replies to it. Here are my thoughts on this as well.

It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

Webcams like most hardware have various qualities and capabilities. Yours may not be a very good one. You can try another USB port, unplug it and wait 20 secs, plug it into another USB port and wait another 20 secs, and try it. FYI: Do not use USB hubs that do not have their own power supply.

Fortunately, there are reasonably priced USB webcams that work well as the Logitech C270.

Amazon.com: Logitech C270 Desktop or Laptop Webcam, HD 720p Widescreen for Video Calling and Recording:
https://www.amazon.com/Logitech-Desktop ... B004FHO5Y6

Guvcview is my favorite webcam app so far. Have you installed the Video for Linux (V4L) packages from the "Synaptic Package Manager (SPM)"? There is a very good test app called Qt V4L2 test Utility (qv4l2).

Another great webcam app ( I use heir AppImage)
Webcamoid, The ultimate webcam suite!
https://webcamoid.github.io/#downloads

I installed Skype from their Linux Deb file from the link below.
Download Skype | Free calls | Chat app
- Click to select the deb file, save it, double-click to install it.
https://www.skype.com/en/get-skype/

Interestingly, my laptop's built-in webcam has two options an infrared and regular, and Skype selected the first one Infrared camera for face recognition which looked like a black and white strobe light video, I just selected the only other camera option and it works very well.
phd21 wrote:lsusb
Bus 001 Device 003: ID 0bda:5692 Realtek Semiconductor Corp. Integrated_Webcam_HD
Zoom for Linux seems to work well too.

Hope this helps ...
.
Skype in Linux Mint 20 Cinnamon
Skype in Linux Mint 20 Cinnamon
Phd21: Mint 20 and 19.2 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
koluna
Level 1
Level 1
Posts: 13
Joined: Mon Feb 18, 2019 2:34 am

Re: Mint and Web Camera

Post by koluna »

Hi!
Thanks for your help! :)
I do not use any hub.

koluna@intel:~/prj/cashsrv$ inxi -Fxzd

Code: Select all

System:    Host: intel Kernel: 5.4.0-47-generic x86_64 bits: 64 compiler: gcc v: 7.5.0 Desktop: MATE 1.22.2 
           Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Machine:   Type: Desktop Mobo: Intel model: DH67CL v: AAG10212-207 serial: <filter> UEFI: Intel 
           v: BLH6710H.86A.0119.2011.0523.1030 date: 05/23/2011 
CPU:       Topology: Dual Core model: Intel Core i3-2130 bits: 64 type: MT MCP arch: Sandy Bridge rev: 7 L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 27138 
           Speed: 1614 MHz min/max: 1600/3400 MHz Core speeds (MHz): 1: 1667 2: 1655 3: 1622 4: 2030 
Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics driver: i915 v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa resolution: 1600x900~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 2000 (SNB GT1) v: 3.3 Mesa 20.0.8 direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           Sound Server: ALSA v: k5.4.0-47-generic 
Network:   Device-1: Intel 82579V Gigabit Network driver: e1000e v: 3.2.6-k port: f080 bus ID: 00:19.0 
           IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 465.76 GiB used: 85.37 GiB (18.3%) 
           ID-1: /dev/sda vendor: Hitachi model: HDP725050GLA360 size: 465.76 GiB 
           Message: No Optical or Floppy data was found. 
Partition: ID-1: / size: 76.40 GiB used: 10.11 GiB (13.2%) fs: ext4 dev: /dev/sda2 
           ID-2: /home size: 372.37 GiB used: 75.25 GiB (20.2%) fs: ext4 dev: /dev/sda4 
           ID-3: swap-1 size: 7.81 GiB used: 780 KiB (0.0%) fs: swap dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 37.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 220 Uptime: 4d 12h 33m Memory: 7.68 GiB used: 2.53 GiB (33.0%) Init: systemd runlevel: 5 Compilers: 
           gcc: 7.5.0 Shell: bash v: 4.4.20 inxi: 3.0.32 
koluna@intel:~/prj/cashsrv$ lsusb

Code: Select all

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 005: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 015: ID 093a:2476 Pixart Imaging, Inc. 
Bus 001 Device 003: ID 0483:3748 STMicroelectronics ST-LINK/V2
Bus 001 Device 014: ID 16c0:05dc Van Ooijen Technische Informatica shared ID for use with libusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
koluna
Level 1
Level 1
Posts: 13
Joined: Mon Feb 18, 2019 2:34 am

Re: Mint and Web Camera

Post by koluna »

Have you installed the Video for Linux (V4L) packages from the "Synaptic Package Manager (SPM)"? There is a very good test app called Qt V4L2 test Utility (qv4l2).
Hmm... Is it necessary?

koluna@intel:~/prj/cashsrv$ dpkg -l | grep v4l

Code: Select all

ii  libv4l-0:amd64                             1.14.2-1                                         amd64        Collection of video4linux support libraries
ii  libv4lconvert0:amd64                       1.14.2-1                                         amd64        Video4linux frame format conversion library
I see a "qv4l2 - Graphical Qt v4l2 control panel" packet.
How is V4L named?
I installed Skype from their Linux Deb file from the link below.
I am too. Skype version 8.65.0.78
User avatar
phd21
Level 19
Level 19
Posts: 9832
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Mint and Web Camera

Post by phd21 »

Hi koluna

You are welcome...

I do not see anything wrong with the results of your terminal commands. Now, we know you are running Linux Mint 19.3 Mate edition 64-bit. You might want to see if there are any Bios updates since 2011 and apply those.

I do not see the webcam listed in the results of the lsusb command. I read that this webcam is supported by current Linux Kernels.

gspca devices - LinuxTVWiki
https://www.linuxtv.org/wiki/index.php/Gspca_devices

I don't think the V4L (Video for Linux) packages are required, but it cannot hurt to install them.

Did you try other USB ports? Maybe there is a conflict with other USB devices? With the computer off, try temporarily removing (unplugging) these USB devices below and then turn on computer and re-run lsusb and see if the webcam shows up and works or works better, and let us know.

- ST-LINK/V2 is an in-circuit debugger and programmer for the STM8 and STM32 microcontrollers
- Arduino - Van Ooijen Technische Informatica shared ID for use with libusb (midiboy?)

koluna wrote:Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 005: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 015: ID 093a:2476 Pixart Imaging, Inc.

Bus 001 Device 003: ID 0483:3748 STMicroelectronics ST-LINK/V2
Bus 001 Device 014: ID 16c0:05dc Van Ooijen Technische Informatica shared ID for use with libusb


Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Again, there are newer webcams at reasonable prices available that would probably work better than your older Genius e-Messenger 112.

Hope this helps ...
Phd21: Mint 20 and 19.2 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
Post Reply

Return to “Sound, Multimedia, & Codecs”