You are not logged in.

#1 2015-09-05 06:50:14

vitalka
Member
Registered: 2015-09-05
Posts: 11

webcamera not create device

I connect webcamera

# dmesg
[190693.687086] usb 1-4: new high-speed USB device number 7 using ehci-pci
[190693.831521] uvcvideo: Found UVC 1.00 device Vimicro USB Camera (Altair) (0ac8:3450)
[190693.833329] input: Vimicro USB Camera (Altair) as /devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4:1.0/input/input18

# lsusb
Bus 001 Device 007: ID 0ac8:3450 Z-Star Microelectronics Corp.


If I chek /dev/video* - empty

Why?

Thnx!

Offline

#2 2015-09-05 13:50:57

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: webcamera not create device

Check https://wiki.archlinux.org/index.php/Webcam_setup .

Read the whole page first, then compare your dmesg output with that shown in chapter 3.

Welcome to Archlinux forum .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2015-09-05 14:54:35

vitalka
Member
Registered: 2015-09-05
Posts: 11

Re: webcamera not create device

# lsmod | grep uvc
uvcvideo               90112  0
videobuf2_vmalloc      16384  2 uvcvideo,stk1160
videobuf2_core         40960  2 uvcvideo,stk1160
videodev              139264  5 saa7115,uvcvideo,stk1160,v4l2_common,videobuf2_core
media                  20480  2 uvcvideo,videodev
usbcore               200704  12 snd_usb_audio,uvcvideo,stk1160,ohci_hcd,ohci_pci,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci

Module is loaded? Right?

# dmesg|tail
[190693.687086] usb 1-4: new high-speed USB device number 7 using ehci-pci
[190693.831521] uvcvideo: Found UVC 1.00 device Vimicro USB Camera (Altair) (0ac8:3450)
[190693.833329] input: Vimicro USB Camera (Altair) as /devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4:1.0/input/input18


I read the wiki but it did not help me.

Thnx!

Last edited by vitalka (2015-09-05 14:55:15)

Offline

#4 2015-09-05 16:27:00

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: webcamera not create device

Looks like your webcam is supported by the stk1160 module, and it is indeed loaded.

The code on that wiki page shows lines you are missing in dmesg :

sn9c102: V4L2 driver for SN9C10x PC Camera Controllers v1:1.24a
<snip>
usb 1-1: V4L2 device registered as /dev/video0

Is the package v4l-utils installed on your system ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2015-09-05 16:43:52

vitalka
Member
Registered: 2015-09-05
Posts: 11

Re: webcamera not create device

Yes

v4l-utils-1.6.3-1

I load module: stk1160
# lsmod | grep stk1160
stk1160                28672  0
snd_ac97_codec        122880  1 stk1160
videobuf2_vmalloc      16384  2 uvcvideo,stk1160
videobuf2_core         40960  2 uvcvideo,stk1160
v4l2_common            16384  3 saa7115,stk1160,videobuf2_core
videodev              139264  5 saa7115,uvcvideo,stk1160,v4l2_common,videobuf2_core
snd                    69632  17 snd_hda_codec_realtek,snd_usb_audio,snd_ac97_codec,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,stk1160,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_mpu401_uart,snd_seq_device,snd_cmipci,snd_opl3_lib
usbcore               200704  12 snd_usb_audio,uvcvideo,stk1160,ohci_hcd,ohci_pci,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
i2c_core               49152  9 drm,saa7115,i2c_piix4,drm_kms_helper,i2c_algo_bit,stk1160,v4l2_common,radeon,videodev


# dmesg | tail
[226616.221017] usb 1-4: new high-speed USB device number 9 using ehci-pci
[226616.365433] uvcvideo: Found UVC 1.00 device Vimicro USB Camera (Altair) (0ac8:3450)
[226616.367416] input: Vimicro USB Camera (Altair) as /devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4:1.0/input/input20

The same result.


Thnx!

Offline

#6 2015-09-05 16:57:13

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: webcamera not create device

Well, we've reached the end of my knowledge about webcams. Others will have to take over.

One thing that may help them is if you post FULL dmesg (big, better use a pastebin site, check wiki)  , along with lsusb and lsusb -t output.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2015-09-05 17:27:00

vitalka
Member
Registered: 2015-09-05
Posts: 11

Re: webcamera not create device

$ uname -a
Linux turbo 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST 2015 x86_64 GNU/Linux

$ lsusb -t
/:  Bus 13.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/4p, 12M
/:  Bus 12.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
/:  Bus 11.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 10.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/5p, 12M
/:  Bus 09.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/5p, 12M
    |__ Port 3: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/4p, 480M
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M
    |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=stk1160, 480M
    |__ Port 1: Dev 2, If 1, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 2, Class=Audio, Driver=snd-usb-audio, 480M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M
    |__ Port 4: Dev 9, If 0, Class=Video, Driver=usbfs, 480M
    |__ Port 4: Dev 9, If 1, Class=Video, Driver=usbfs, 480M


$ dmesg
http://pastebin.com/H8Qgd6rc

Offline

#8 2015-09-08 12:56:56

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: webcamera not create device

[    4.534467] usb 4-1: New device Syntek Semiconductor USB 2.0 Video Capture Controller @ 480 Mbps (05e1:0408, interface 0, class 0)
[    4.534468] usb 4-1: video interface 0 found

<snip>

[    6.485064] stk1160: driver ver 0.9.5 successfully loaded
[    6.595079] stk1160 4-1:1.0: AC'97 0 access is not valid [0x0], removing mixer.
[    6.595948] stk1160: registers to NTSC like standard
[    6.756385] stk1160 4-1:1.0: V4L2 device registered as video0
[    6.756500] usbcore: registered new interface driver stk1160
[    6.763294] usbcore: registered new interface driver snd-usb-audio

<snip>

[183786.038658] usb 1-4: new high-speed USB device number 3 using ehci-pci
[183786.201372] uvcvideo: Found UVC 1.00 device Vimicro USB Camera (Altair) (0ac8:3450)
[183786.203832] input: Vimicro USB Camera (Altair) as /devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4:1.0/input/input14
[183786.203988] usbcore: registered new interface driver uvcvideo
[183786.203989] USB Video Class driver (1.1.1)
[183883.567351] stk1160: registers to PAL like standard
[183883.720622] stk1160: queue_setup: buffer count 8, each 829440 bytes
[183883.722613] stk1160: setting alternate 5
[183883.722616] stk1160: minimum isoc packet size: 3072 (alt=5)
[183883.722617] stk1160: setting alt 5 with wMaxPacketSize=3072
[183883.723297] stk1160: allocating urbs...
[183883.724153] stk1160: 16 urbs allocated
[183883.724661] stk1160: streaming started
[183892.134540] stk1160: killing 16 urbs...
[183892.295579] stk1160: all urbs killed
[183892.295582] stk1160: freeing 16 urb buffers...
[183892.295608] stk1160: all urb buffers freed
[183892.295609] stk1160: setting alternate 0
[183892.296002] stk1160: streaming stopped
[184276.099781] usb 1-4: USB disconnect, device number 3

This does look like the stk1160 kernel module takes care Syntek Semiconductor USB 2.0 Video Capture Controller , but somehow clashes with the vimicro webcam.


please post lsusb , that should show hardware IDs .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#9 2015-09-08 14:40:12

vitalka
Member
Registered: 2015-09-05
Posts: 11

Re: webcamera not create device

$ lsusb
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 013 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 011 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 012 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 05e1:0408 Syntek Semiconductor Co., Ltd STK1160 Video Capture Device
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 009: ID 0ac8:3450 Z-Star Microelectronics Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 002: ID 046d:c019 Logitech, Inc. Optical Tilt Wheel Mouse
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Offline

#10 2015-09-09 21:58:41

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: webcamera not create device

I did some investigating, and figured out that Z-Star Microelectronics Corp is a chipset maker, and vimicro does indeed use their chips.

some questions for clarification :
boot without the webcamera plugged in
I expect you will see a dev/video*  devices at this point, but need verification.
plug in the webcam, does this make the video* device disappear ?

If that's the case, try the following :
blacklist the stk1160 kernel module
reboot, verify it's not loaded through lsmod.
plug in the webcam, post full dmesg.
check for dev/video* devices.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB