Help - Search - Members - Calendar
Full Version: No Devices Found
Skype Community > English > Development, Betas and Skype Garage > Archive > Skype 2.0 Beta for Linux
epchris
I have two different USB logitech webcams, neither of which is detected by Skype. I have installed the SuSE RPM distribution of Skype Linux 2.0 Beta. Any ideas on what I might be doing wrong or what I can look at to try and figure this out? Or is opening a JIRA issue the best thing to do?

Here's my system information:
Linux sorrow 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC x86_64 x86_64 x86_64 GNU/Linux

Section from /var/log/messages as I plug in the webcam and start skype:
CODE

Nov 27 19:55:21 sorrow kernel: usb 1-3: new full speed USB device using ohci_hcd and address 8
Nov 27 19:55:21 sorrow kernel: usb 1-3: new device found, idVendor=046d, idProduct=08d8
Nov 27 19:55:21 sorrow kernel: usb 1-3: new device strings: Mfr=0, Product=0, SerialNumber=0
Nov 27 19:55:21 sorrow kernel: usb 1-3: configuration #1 chosen from 1 choice
Nov 27 19:55:21 sorrow kernel: /usr/src/packages/BUILD/gspcav1-20070110/obj/default/gspca_core.c: USB SPCA5XX camera found.(ZC3XX)
Nov 27 19:55:21 sorrow kernel: /usr/src/packages/BUILD/gspcav1-20070110/obj/default/gspca_core.c: [spca5xx_probe:3983] Camera type JPEG
Nov 27 19:55:21 sorrow kernel: /usr/src/packages/BUILD/gspcav1-20070110/obj/default/Vimicro/zc3xx.h: [zc3xx_config:515] Sensor ID:9
Nov 27 19:55:22 sorrow kernel: /usr/src/packages/BUILD/gspcav1-20070110/obj/default/Vimicro/zc3xx.h: [zc3xx_config:597] Find Sensor HV7131R(c)
Nov 27 19:55:23 sorrow kernel: /usr/src/packages/BUILD/gspcav1-20070110/obj/default/gspca_core.c: [spca5xx_getcapability:1189] maxw 640 maxh 480 minw 176 minh 144
Nov 27 19:55:29 sorrow kernel: /usr/src/packages/BUILD/gspcav1-20070110/obj/default/gspca_core.c: [spca5xx_set_light_freq:1858] Sensor currently not support light frequency banding filters.
Nov 27 19:55:29 sorrow kernel: /usr/src/packages/BUILD/gspcav1-20070110/obj/default/gspca_core.c: [gspca_set_isoc_ep:881] ISO EndPoint found 0x81 AlternateSet 7
Nov 27 19:55:30 sorrow kernel: /usr/src/packages/BUILD/gspcav1-20070110/obj/default/gspca_core.c: init isoc: usb_submit_urb(0) ret -28
Nov 27 19:55:30 sorrow kernel: /usr/src/packages/BUILD/gspcav1-20070110/obj/default/gspca_core.c: [gspca_set_isoc_ep:881] ISO EndPoint found 0x81 AlternateSet 6
Nov 27 19:55:30 sorrow kernel: ohci_hcd 0000:00:02.0: leak ed ffff810037f38320 (#81) state 2
Nov 27 19:55:32 sorrow kernel: ioctl32(skype:5562): Unknown cmd fd(15) cmd(80685600){t:'V';sz:104} arg(f4151054) on /dev/video0
Nov 27 19:55:32 sorrow kernel: ioctl32(skype:5562): Unknown cmd fd(15) cmd(803c7601){t:'v';sz:60} arg(f41510bc) on /dev/video0
jm04
I get the same messages.

Using ubuntu 7.10 on a ferrari 4000 laptop with 64bit cpu:
CODE

Nov 28 21:08:48 johnm-laptop kernel: [19860.736096] usb 2-1: new full speed USB device using ohci_hcd and address 2
Nov 28 21:08:48 johnm-laptop kernel: [19860.818866] usb 2-1: configuration #1 chosen from 1 choice
Nov 28 21:08:49 johnm-laptop kernel: [19860.953815] Linux video capture interface: v2.00
Nov 28 21:08:49 johnm-laptop kernel: [19860.991409] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: USB OV519 video device found
Nov 28 21:08:49 johnm-laptop kernel: [19861.151192] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: Sensor is an OV7648
Nov 28 21:08:49 johnm-laptop kernel: [19861.236099] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: Device at usb-0000:00:13.1-1 registered to minor 0
Nov 28 21:08:49 johnm-laptop kernel: [19861.236346] usbcore: registered new interface driver ov51x
Nov 28 21:08:49 johnm-laptop kernel: [19861.236483] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: 1.5.1 : ov51x USB Camera Driver
Nov 28 21:08:50 johnm-laptop kernel: [19861.360032] usbcore: registered new interface driver snd-usb-audio
Nov 28 21:09:59 johnm-laptop kernel: [19896.906975] ioctl32(skype:7751): Unknown cmd fd(26) cmd(80685600){t:'V';sz:104} arg(f41b6064) on /dev/video0
Nov 28 21:09:59 johnm-laptop kernel: [19896.907424] ioctl32(skype:7751): Unknown cmd fd(26) cmd(803c7601){t:'v';sz:60} arg(f41b60cc) on /dev/video0
johnm@johnm-laptop:~$ uname -a
Linux johnm-laptop 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 GNU/Linux
johnm@johnm-laptop:~$


device works with other programs, eg vlc.

Thanks

John
jm04
QUOTE(jm04 @ Wed Nov 28 2007, 22:24) [snapback]469356[/snapback]

I get the same messages.

Using ubuntu 7.10 on a ferrari 4000 laptop with 64bit cpu:
CODE

Nov 28 21:08:48 johnm-laptop kernel: [19860.736096] usb 2-1: new full speed USB device using ohci_hcd and address 2
Nov 28 21:08:48 johnm-laptop kernel: [19860.818866] usb 2-1: configuration #1 chosen from 1 choice
Nov 28 21:08:49 johnm-laptop kernel: [19860.953815] Linux video capture interface: v2.00
Nov 28 21:08:49 johnm-laptop kernel: [19860.991409] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: USB OV519 video device found
Nov 28 21:08:49 johnm-laptop kernel: [19861.151192] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: Sensor is an OV7648
Nov 28 21:08:49 johnm-laptop kernel: [19861.236099] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: Device at usb-0000:00:13.1-1 registered to minor 0
Nov 28 21:08:49 johnm-laptop kernel: [19861.236346] usbcore: registered new interface driver ov51x
Nov 28 21:08:49 johnm-laptop kernel: [19861.236483] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: 1.5.1 : ov51x USB Camera Driver
Nov 28 21:08:50 johnm-laptop kernel: [19861.360032] usbcore: registered new interface driver snd-usb-audio
Nov 28 21:09:59 johnm-laptop kernel: [19896.906975] ioctl32(skype:7751): Unknown cmd fd(26) cmd(80685600){t:'V';sz:104} arg(f41b6064) on /dev/video0
Nov 28 21:09:59 johnm-laptop kernel: [19896.907424] ioctl32(skype:7751): Unknown cmd fd(26) cmd(803c7601){t:'v';sz:60} arg(f41b60cc) on /dev/video0
johnm@johnm-laptop:~$ uname -a
Linux johnm-laptop 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 GNU/Linux
johnm@johnm-laptop:~$


device works with other programs, eg vlc.

Thanks

John



Also I used the ubuntu package getlibs to sort out dependencies.

SOme libs weren't 64 bit. I'll try the static library.

Jm

downloading dynamic-static version also fails.

Permissions on the video device are correct.

Any help appreciated.

John
Andypoo
epchris: gspca version bundled with your OS is out of date and doesn't have proper ioctl64/32 compatibility support. Download the latest from the gspca homepage and install and you should be fine (albeit with some crashes in the initial beta release).

John: You also need ioctl64/32 compatibility support in your driver. Unfortunately, this doesn't exist in the driver as yet, alas, I did create a patch to enable this. Although you also need some other patches from the webcam driver thread to get this camera working with Skype.

I'd recommend digging through the Skype 2.0 Beta thread in the Skype for Linux forum for more details.

Andy.
epchris
QUOTE(Andypoo @ Thu Nov 29 2007, 12:12) [snapback]469559[/snapback]

epchris: gspca version bundled with your OS is out of date and doesn't have proper ioctl64/32 compatibility support. Download the latest from the gspca homepage and install and you should be fine (albeit with some crashes in the initial beta release).

John: You also need ioctl64/32 compatibility support in your driver. Unfortunately, this doesn't exist in the driver as yet, alas, I did create a patch to enable this. Although you also need some other patches from the webcam driver thread to get this camera working with Skype.

I'd recommend digging through the Skype 2.0 Beta thread in the Skype for Linux forum for more details.

Andy.


Hi,
I downloaded and installed:
gspcav1-20071214.tar.gz
from the site:
http://mxhaard.free.fr/download.html
and am getting the same errors. Can you specify which version you meant?

Thanks,
Chris
Andypoo
epchris: Can you post the dmesg output from 20071214?

Thanks,
Andy.
Andreas Demmer
[quote name='Andypoo' date='Mon Dec 24 2007, 04:35' post='477640']
epchris: Can you post the dmesg output from 20071214?

I have also a logitech webcam working with latest GSPCA (20071224) V4L, tested with several linux apps. But skype won't find the cam. Here is the /var/log/messages when loading GSPCA:

Jan 3 00:53:13 onyx kernel: /home/ademmer/Downloads/gspcav1-20071224/gspca_core.c: USB GSPCA camera found.(VC0321)
Jan 3 00:53:13 onyx kernel: /home/ademmer/Downloads/gspcav1-20071224/gspca_core.c: [spca5xx_probe:4277] Camera type YUYV
Jan 3 00:53:14 onyx kernel: /home/ademmer/Downloads/gspcav1-20071224/Vimicro/vc032x.h: [vc032x_probe_sensor:140] check sensor header 44
Jan 3 00:53:14 onyx kernel: /home/ademmer/Downloads/gspcav1-20071224/Vimicro/vc032x.h: [vc032x_read_sensor_register:123] Read Sensor h (0x00) m (0x30) l (0x31)
Jan 3 00:53:14 onyx syslog-ng[2642]: last message repeated 2 times
Jan 3 00:53:14 onyx kernel: /home/ademmer/Downloads/gspcav1-20071224/Vimicro/vc032x.h: [vc0321_config:371] Find Sensor PO3130NC
Jan 3 00:53:14 onyx kernel: /home/ademmer/Downloads/gspcav1-20071224/gspca_core.c: [spca5xx_getcapability:1250] maxw 640 maxh 480 minw 176 minh 144
Jan 3 00:53:14 onyx kernel: usbcore: registered new interface driver gspca
Jan 3 00:53:14 onyx kernel: /home/ademmer/Downloads/gspcav1-20071224/gspca_core.c: gspca driver 01.00.20 registered

Any hints? :-(
Andypoo
Andreas: Everything looks good there. Do the other programs run on the same system?

When you say Skype doesn't find the cam, do you get "No devices found" in the video devices section of Skype's configuration?

Andy.
Andreas Demmer
Other programs do find the camera and can use it without any problems; I tested the Flash player, Kopete messenger, Ekiga VoIP chat and others.

Skype's config dialog shows "no devices found", right.
Andreas Demmer
Is there any hint or clue what to do? crying.png
Andypoo
Is the video device /dev/video0 under the other applications (or something else?)

In a console, can you run:
lsof |grep "/dev/video"

whilst accessing the camera in another application.

If this doesn't reveal anything unusual, then please do this:

mkdir ~/.Skype/Logs

And then run Skype again, go to video options dialog, and then close Skype and send us the resulting .log file to this thread.

You can then delete the ~/.Skype/Logs directory.

Andrew.
Andreas Demmer
QUOTE(Andypoo @ Wed Jan 16 2008, 10:38) [snapback]486505[/snapback]

And then run Skype again, go to video options dialog, and then close Skype and send us the resulting .log file to this thread.


Meanwhile the cam magically appeared in skype, not sure what part of my setup changed. But now I ran into the black preview bug. I have Compiz Fusion / XGL installed but switched back to KWin for testing video in skype, still nothing.

Please find the skype logfile [attachmentid=12505] attached, maybe you can find something useful in it! :-)
Andypoo
Hi -- this failed because Skype tried to output in I420 colourspace and the Xv overlay didn't support it.

Can you send the output from xvinfo and also let us know what video card driver you are using?

Thanks,
Andy.
smeredin
QUOTE(Andypoo @ Wed Jan 16 2008, 10:38) [snapback]486505[/snapback]

Is the video device /dev/video0 under the other applications (or something else?)

In a console, can you run:
lsof |grep "/dev/video"

whilst accessing the camera in another application.

If this doesn't reveal anything unusual, then please do this:

mkdir ~/.Skype/Logs

And then run Skype again, go to video options dialog, and then close Skype and send us the resulting .log file to this thread.

You can then delete the ~/.Skype/Logs directory.

Andrew.


Ok I just did, what you asked for and I got no errors while accessing my cam with vlc and running "lsof |grep "/dev/video" "

So I created the Logs folder and the logs are attached to this post.

Thanks for any help.
Andreas Demmer
QUOTE(Andypoo @ Thu Jan 17 2008, 09:28) [snapback]486923[/snapback]

Can you send the output from xvinfo and also let us know what video card driver you are using?


I am using the ATI fglrx driver version 8.40.4, xvinfo output follows:

X-Video Extension version 2.2
screen #0
Adaptor #0: "Xgl Generic Texture Video"
number of ports: 32
port base: 48
operations supported: PutImage
supported visuals:
depth 24, visualID 0x2c
depth 24, visualID 0x2d
depth 32, visualID 0x2e
depth 32, visualID 0x2f
no port attributes defined
maximum XvImage size: 2048 x 2048
Number of image formats: 3
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x0
guid: 03000000-0000-0010-8000-00aa00389b71
bits per pixel: 32
number of planes: 1
type: RGB (packed)
depth: 24
red, green, blue masks: 0xff0000, 0xff00, 0xff


As said before, I am running XGL but switched away from compiz back to KWIN for Skype.
flynch
FWIW I also encountered this on ubuntu gutsty. It turned out that skype wasn't able to open my camera due to a simple permissions issue:

user@gutsy:/dev$ ls -l video0
crw-rw---- 1 root video 81, 0 2008-01-22 20:26 video0
user@gutsy:/dev$ sudo chmod 777 video0
user@gutsy:/dev$ ls -l video0
crwxrwxrwx 1 root video 81, 0 2008-01-22 20:26 video0


Once I made this change & restarted skype I was able to access my webcam cool.png
Andypoo
It would make more sense to ensure your user is in the video group and keep the original permissions.

Andy.
Andreas Demmer
I managed to get it working with XGL! Andypoo pointed me to the right direction with the missing I420 color support in XGL.
I opend a second X-Server (Xorg this time) on virtual display 1 and opend skype on this server. And - horray! - it worked! :-)

But now I am facing the issue that the cam only randomly seems to work, sometimes I need to close skype und use the cam with another app before getting the cam to work in a then reopened Skype.

Any hints?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.