Re: failed to start webcamd

2011-04-25 Thread mato

Hans Petter Selasky wrote:

On Wednesday 02 March 2011 16:26:35 martinko wrote:
   

martinko wrote:
 

Hans Petter Selasky wrote:
   

On Monday 28 February 2011 19:35:38 martinko wrote:
 

Hi,

I've just installed webcamd port to try out my Logitech HD camera.
However, when plugging the camera in I get root:
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd message,
then camera is disconnected, connected again and it all repeats (cycle
about 1 second).

Where should I start looking at please ?
   

Hi,

There is a new webcamd port coming soon. Can you give that a try first
and see
if the problem is still the same?

--HPS
 

Hi!

I had a little difficulty applying the patch and later restarting devd
(WARNING: failed to start devd) but the end result seems interesting:

kernel: ugen3.2:vendor 0x046d  at usbus3
kernel: uaudio0:vendor 0x046d product 0x0823, class 239/2, rev
2.00/0.10, addr 2  on usbus3
kernel: uaudio0: No playback!
kernel: uaudio0: Record: 32000 Hz, 2 ch, 16-bit S-LE PCM format
kernel: uaudio0: No midi sequencer
kernel: pcm1:USB audio  on uaudio0

So I do have audio but where is video ?

And how should I test it ? :-)

Cheers,

Martin
   

Hi,

I've just updated to the latest webcamd port and restarted my system.
Though I can see video0 node in /dev now, there is no message when
attaching device.  Actually, I get the following:

Mar  2 16:14:56 kernel: ugen3.2:vendor 0x046d  at usbus3 (disconnected)
Mar  2 16:14:56 kernel: uaudio0: at uhub3, port 3, addr 2 (disconnected)
Mar  2 16:14:56 kernel: pcm1: detached
Mar  2 16:15:06 kernel: ugen3.2:vendor 0x046d  at usbus3
Mar  2 16:15:06 kernel: uaudio0:vendor 0x046d product 0x0823, class
239/2, rev 2.00/0.10, addr 2  on usbus3
Mar  2 16:15:07 root: /usr/local/etc/rc.d/webcamd: WARNING: failed to
start webcamd
Mar  2 16:15:07 root: Unknown USB device: vendor 0x046d product 0x0823
bus uhub3
Mar  2 16:15:07 root: Unknown USB device: vendor 0x046d product 0x0823
bus uhub3
Mar  2 16:15:07 kernel: uaudio0: No playback!
Mar  2 16:15:07 kernel: uaudio0: Record: 32000 Hz, 2 ch, 16-bit S-LE PCM
format
Mar  2 16:15:07 kernel: uaudio0: No midi sequencer
Mar  2 16:15:07 kernel: pcm1:USB audio  on uaudio0
Mar  2 16:15:07 root: Unknown USB device: vendor 0x046d product 0x0823
bus uhub3

Any ideas what might be going on please ?

Cheers,

Martin
 

Could you try to open your camera in Kopete? Don't forget to give correct
permissions first.

--HPS
   


Hi,

Finally I managed to upgrade all ports and install Kopete.
Situation has not improved though -- still I got:
root: /usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd
I am in group webcamd and /dev/video0 does appear after plugging camera in.
Trying Kopete and opening Video tab in preferences -- nothing there.
I can try reboot with camera plugged in and I'll see if any change..

M.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: failed to start webcamd

2011-03-02 Thread martinko

martinko wrote:

Hans Petter Selasky wrote:

On Monday 28 February 2011 19:35:38 martinko wrote:

Hi,

I've just installed webcamd port to try out my Logitech HD camera.
However, when plugging the camera in I get root:
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd message,
then camera is disconnected, connected again and it all repeats (cycle
about 1 second).

Where should I start looking at please ?



Hi,

There is a new webcamd port coming soon. Can you give that a try first
and see
if the problem is still the same?

--HPS



Hi!

I had a little difficulty applying the patch and later restarting devd
(WARNING: failed to start devd) but the end result seems interesting:

kernel: ugen3.2: vendor 0x046d at usbus3
kernel: uaudio0: vendor 0x046d product 0x0823, class 239/2, rev
2.00/0.10, addr 2 on usbus3
kernel: uaudio0: No playback!
kernel: uaudio0: Record: 32000 Hz, 2 ch, 16-bit S-LE PCM format
kernel: uaudio0: No midi sequencer
kernel: pcm1: USB audio on uaudio0

So I do have audio but where is video ?

And how should I test it ? :-)

Cheers,

Martin



Hi,

I've just updated to the latest webcamd port and restarted my system.
Though I can see video0 node in /dev now, there is no message when 
attaching device.  Actually, I get the following:


Mar  2 16:14:56 kernel: ugen3.2: vendor 0x046d at usbus3 (disconnected)
Mar  2 16:14:56 kernel: uaudio0: at uhub3, port 3, addr 2 (disconnected)
Mar  2 16:14:56 kernel: pcm1: detached
Mar  2 16:15:06 kernel: ugen3.2: vendor 0x046d at usbus3
Mar  2 16:15:06 kernel: uaudio0: vendor 0x046d product 0x0823, class 
239/2, rev 2.00/0.10, addr 2 on usbus3
Mar  2 16:15:07 root: /usr/local/etc/rc.d/webcamd: WARNING: failed to 
start webcamd
Mar  2 16:15:07 root: Unknown USB device: vendor 0x046d product 0x0823 
bus uhub3
Mar  2 16:15:07 root: Unknown USB device: vendor 0x046d product 0x0823 
bus uhub3

Mar  2 16:15:07 kernel: uaudio0: No playback!
Mar  2 16:15:07 kernel: uaudio0: Record: 32000 Hz, 2 ch, 16-bit S-LE PCM 
format

Mar  2 16:15:07 kernel: uaudio0: No midi sequencer
Mar  2 16:15:07 kernel: pcm1: USB audio on uaudio0
Mar  2 16:15:07 root: Unknown USB device: vendor 0x046d product 0x0823 
bus uhub3


Any ideas what might be going on please ?

Cheers,

Martin

PS:  The camera does support UVC -- 
http://www.logitech.com/en-us/for-business/products/webcams-headsets/devices/7364 
-- and its siblings are listed in uvc(4) man page as supported.


___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: failed to start webcamd

2011-02-28 Thread Hans Petter Selasky
On Monday 28 February 2011 19:35:38 martinko wrote:
 Hi,
 
 I've just installed webcamd port to try out my Logitech HD camera.
 However, when plugging the camera in I get root:
 /usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd message,
 then camera is disconnected, connected again and it all repeats (cycle
 about 1 second).
 
 Where should I start looking at please ?
 

Hi,

There is a new webcamd port coming soon. Can you give that a try first and see 
if the problem is still the same?

--HPS
diff -N -u -r webcamd.orig/Makefile webcamd/Makefile
--- webcamd.orig/Makefile	2011-02-28 17:09:51.0 +0100
+++ webcamd/Makefile	2011-02-28 17:47:37.0 +0100
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	webcamd
-PORTVERSION=	0.1.18
-PORTREVISION=	1
+PORTVERSION=	0.1.20
 CATEGORIES=	multimedia
 MASTER_SITES=	http://www.selasky.org/hans_petter/video4bsd/releases/
 
@@ -26,13 +25,17 @@
 USE_LDCONFIG=	yes
 MAKE_JOBS_SAFE=	yes
 MANCOMPRESSED=	yes
-MAN4=		au0828.4 benq.4 bttv.4 conex.4 cpiax.4 cx23885.4 cx88.4 \
-		em28xx.4 et61x251.4 finepix.4 gl860.4 ibmcam.4 ivtv.4 \
-		jeilinj.4 m5602.4 mars.4 meye.4 mr97310a.4 ov519.4 ov534.4 \
-		pacxxx.4 pvrusb2.4 pwc.4 saa7134.4 saa7164.4 se401.4 si470x.4 \
-		sn9c102.4 sn9c20x.4 sonixj.4 spca5xx.4 sq905c.4 stk014.4 \
-		stv06xx.4 sunplus.4 t613.4 tv8532.4 usbvision.4 vc032x.4 \
-		w9966.4 w996x.4 zc0301.4 zc3xx.4 zoran.4 zr364xx.4
+MAN4=		a800.4 ce6230.4 dtv5100.4 gl861.4 mr800.4 pwc.4 sq905c.4 \
+		usbvision.4 af9005.4 cinergy.4 dw2102.4 gp8psk.4 \
+		mr97310a.4 s2255.4 stk014.4 uvc.4 af9015.4 conex.4 \
+		ec168.4 hdpvr.4 nova-t.4 se401.4 stv06xx.4 vc032x.4 \
+		anysee.4 cpiax.4 em28xx.4 ibmcam.4 opera.4 siano.4 \
+		sunplus.4 vp702x.4 au0828.4 cxusb.4 et61x251.4 \
+		jeilinj.4 ov519.4 sn9c102.4 t613.4 vp7045.4 au6610.4 \
+		dib0700.4 finepix.4 m5602.4 ov534.4 sn9c20x.4 ttusb2.4 \
+		zc3xx.4 b2c2.4 digitv.4 friio.4 m920x.4 pacxxx.4 \
+		sonixj.4 tv8532.4 zr364xx.4 benq.4 dtt200u.4 gl860.4 \
+		mars.4 pvrusb2.4 spca5xx.4 umt.4
 MAN8=		webcamd.8
 
 LIBDIR=		${PREFIX}/lib
diff -N -u -r webcamd.orig/distinfo webcamd/distinfo
--- webcamd.orig/distinfo	2011-02-28 17:09:51.0 +0100
+++ webcamd/distinfo	2011-02-28 17:47:14.0 +0100
@@ -1,2 +1,2 @@
-SHA256 (webcamd-0.1.18.tar.bz2) = 5ebb5b5347ddf6f3552141fa43036e330ece54133a66e7f2832de9770eb96aeb
-SIZE (webcamd-0.1.18.tar.bz2) = 3545356
+SHA256 (webcamd-0.1.20.tar.bz2) = 8a95758ffa79541e1c53e7ed19be6d0c12ba39a40c1221cdb4e0ddfbdfb33cd9
+SIZE (webcamd-0.1.20.tar.bz2) = 3564033
diff -N -u -r webcamd.orig/files/patch-dvb_frontend.h webcamd/files/patch-dvb_frontend.h
--- webcamd.orig/files/patch-dvb_frontend.h	2011-02-28 17:09:51.0 +0100
+++ webcamd/files/patch-dvb_frontend.h	1970-01-01 01:00:00.0 +0100
@@ -1,11 +0,0 @@
 v4l-dvb/linux/include/linux/dvb/frontend.h.orig	2010-03-19 03:47:27.0 +0100
-+++ v4l-dvb/linux/include/linux/dvb/frontend.h	2010-04-15 13:00:04.0 +0200
-@@ -373,7 +373,7 @@
- };
- 
- #define FE_SET_PROPERTY		   _IOW('o', 82, struct dtv_properties)
--#define FE_GET_PROPERTY		   _IOR('o', 83, struct dtv_properties)
-+#define FE_GET_PROPERTY		   _IOW('o', 83, struct dtv_properties)
- 
- 
- /**
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: failed to start webcamd

2011-02-28 Thread martinko

Hans Petter Selasky wrote:

On Monday 28 February 2011 19:35:38 martinko wrote:

Hi,

I've just installed webcamd port to try out my Logitech HD camera.
However, when plugging the camera in I get root:
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd message,
then camera is disconnected, connected again and it all repeats (cycle
about 1 second).

Where should I start looking at please ?



Hi,

There is a new webcamd port coming soon. Can you give that a try first and see
if the problem is still the same?

--HPS



Hi!

I had a little difficulty applying the patch and later restarting devd 
(WARNING: failed to start devd) but the end result seems interesting:


kernel: ugen3.2: vendor 0x046d at usbus3
kernel: uaudio0: vendor 0x046d product 0x0823, class 239/2, rev 
2.00/0.10, addr 2 on usbus3

kernel: uaudio0: No playback!
kernel: uaudio0: Record: 32000 Hz, 2 ch, 16-bit S-LE PCM format
kernel: uaudio0: No midi sequencer
kernel: pcm1: USB audio on uaudio0

So I do have audio but where is video ?

And how should I test it ?  :-)

Cheers,

Martin

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: failed to start webcamd

2011-02-28 Thread martinko

Hans Petter Selasky wrote:

On Monday 28 February 2011 19:35:38 martinko wrote:

Hi,

I've just installed webcamd port to try out my Logitech HD camera.
However, when plugging the camera in I get root:
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd message,
then camera is disconnected, connected again and it all repeats (cycle
about 1 second).

Where should I start looking at please ?



Hi,

There is a new webcamd port coming soon. Can you give that a try first and see
if the problem is still the same?

--HPS



Btw, any reason behind randomising man pages in Makefile ?
Now it is more difficult to find out if a particular driver is in.

M:)

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: failed to start webcamd

2011-02-28 Thread martinko

Hans Petter Selasky wrote:

On Monday 28 February 2011 19:40:33 Hans Petter Selasky wrote:

On Monday 28 February 2011 19:35:38 martinko wrote:

Hi,

I've just installed webcamd port to try out my Logitech HD camera.
However, when plugging the camera in I get root:
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd message,
then camera is disconnected, connected again and it all repeats (cycle
about 1 second).

Where should I start looking at please ?


Hi,

There is a new webcamd port coming soon. Can you give that a try first and
see if the problem is still the same?

--HPS


You can also try to compile webcamd with debugging and see if any errors are
output. Maybe your camera needs firmware to work.

--HPS


Next time, if you think it can reveal something useful.

I don't think it needs any firmware.  It should support UVC, afaik.
I tried it with Mac and it worked immediately after plugging in.

M.

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: failed to start webcamd

2011-02-28 Thread Hans Petter Selasky
On Monday 28 February 2011 21:39:02 martinko wrote:
 Hans Petter Selasky wrote:
  On Monday 28 February 2011 19:35:38 martinko wrote:
  Hi,
  
  I've just installed webcamd port to try out my Logitech HD camera.
  However, when plugging the camera in I get root:
  /usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd message,
  then camera is disconnected, connected again and it all repeats (cycle
  about 1 second).
  
  Where should I start looking at please ?
  
  Hi,
  
  There is a new webcamd port coming soon. Can you give that a try first
  and see if the problem is still the same?
  
  --HPS
 
 Btw, any reason behind randomising man pages in Makefile ?
 Now it is more difficult to find out if a particular driver is in.

You mean the alphabetical sorting?

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: failed to start webcamd

2011-02-28 Thread Hans Petter Selasky
On Monday 28 February 2011 21:35:57 martinko wrote:
 Hans Petter Selasky wrote:
  On Monday 28 February 2011 19:40:33 Hans Petter Selasky wrote:
  On Monday 28 February 2011 19:35:38 martinko wrote:
  Hi,
  
  I've just installed webcamd port to try out my Logitech HD camera.
  However, when plugging the camera in I get root:
  /usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd message,
  then camera is disconnected, connected again and it all repeats (cycle
  about 1 second).
  
  Where should I start looking at please ?
  
  Hi,
  
  There is a new webcamd port coming soon. Can you give that a try first
  and see if the problem is still the same?
  
  --HPS
  
  You can also try to compile webcamd with debugging and see if any errors
  are output. Maybe your camera needs firmware to work.
  
  --HPS
 
 Next time, if you think it can reveal something useful.
 
 I don't think it needs any firmware.  It should support UVC, afaik.
 I tried it with Mac and it worked immediately after plugging in.

The new version of webcamd is in ports now.

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: failed to start webcamd

2011-02-28 Thread martinko

Hans Petter Selasky wrote:

On Monday 28 February 2011 21:35:57 martinko wrote:

Hans Petter Selasky wrote:

On Monday 28 February 2011 19:40:33 Hans Petter Selasky wrote:

On Monday 28 February 2011 19:35:38 martinko wrote:

Hi,

I've just installed webcamd port to try out my Logitech HD camera.
However, when plugging the camera in I get root:
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd message,
then camera is disconnected, connected again and it all repeats (cycle
about 1 second).

Where should I start looking at please ?


Hi,

There is a new webcamd port coming soon. Can you give that a try first
and see if the problem is still the same?

--HPS


You can also try to compile webcamd with debugging and see if any errors
are output. Maybe your camera needs firmware to work.

--HPS


Next time, if you think it can reveal something useful.

I don't think it needs any firmware.  It should support UVC, afaik.
I tried it with Mac and it worked immediately after plugging in.


The new version of webcamd is in ports now.

--HPS


I unplugged the camera, deinstalled webcamd, configured it with debug 
support and installed, then tried to restart devd as suggested:


# /etc/rc.d/devd restart
devd not running?
Starting devd.
Starting webcamd.
Attached ugen3.2[0] to cuse unit -1
Starting webcamd.
Webcamd is already running for ugen3.2.0
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd
devd: devd already running, pid: 872
/etc/rc.d/devd: WARNING: failed to start devd

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: failed to start webcamd

2011-02-28 Thread martinko

Hans Petter Selasky wrote:

On Monday 28 February 2011 21:39:02 martinko wrote:

Hans Petter Selasky wrote:

On Monday 28 February 2011 19:35:38 martinko wrote:

Hi,

I've just installed webcamd port to try out my Logitech HD camera.
However, when plugging the camera in I get root:
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd message,
then camera is disconnected, connected again and it all repeats (cycle
about 1 second).

Where should I start looking at please ?


Hi,

There is a new webcamd port coming soon. Can you give that a try first
and see if the problem is still the same?

--HPS


Btw, any reason behind randomising man pages in Makefile ?
Now it is more difficult to find out if a particular driver is in.


You mean the alphabetical sorting?

--HPS


Yes, that's what I meant.  [It's also harder to maintain the port.]
I noticed because I have Philips SAA7135hl ENLTV TV/Radio Tuner and I 
wondered whether there could be a driver for it. :-)

Also when doing `pkg_info -L` the files come in Makefile order.

M.

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org