From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 14 21:33:32 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE9191065670 for ; Fri, 14 Jan 2011 21:33:31 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id 5347B8FC16 for ; Fri, 14 Jan 2011 21:33:30 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=A4HDTGXxjEDC1UuJ6rl8GMp0zaXu4XgXPL1dbujgs48= c=1 sm=1 a=Q9fys5e9bTEA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=pGLkceISAAAA:8 a=ko-eBE1-jrdF_FMb_18A:9 a=hvbCEpgkQiE6-QogE_4A:7 a=bw09krdhWosN3VoHsahJZUN_w0gA:4 a=PUjeQqilurYA:10 a=MSl-tDqOz04A:10 a=_EDSFsDbAKuznG1k:21 a=zlb_2VThr5p0njQQ:21 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 75092134; Fri, 14 Jan 2011 22:33:29 +0100 From: Hans Petter Selasky To: Kevin Baxter Date: Fri, 14 Jan 2011 22:33:30 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201101142233.30435.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, Luigi Rizzo Subject: Re: Webcamd and the au0828 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2011 21:33:32 -0000 On Friday 14 January 2011 22:12:41 Kevin Baxter wrote: > On Thu, Jan 13, 2011 at 6:49 PM, Andrew Gallatin wrote: > > On Thu, Jan 13, 2011 at 6:43 PM, Luigi Rizzo wrote: > > > you prompted me to try the same for em28xx, so i followed a similar > > > > route: > > > > Try using webcamd from the Hans' SVN, not from ports. Hans & I got > > em28xx working earlier this week. I tripped over a SEGV like the OP > > describes, and Hans fixed it. For at least my em28xx stick, it is > > working well. > > > > Drew > > Like I accidentally replied to only Andrew, yes the svn fixed the > dev->driver issue already. An upstream driver change broke the dw2102.c > compilation, so I commented it out. > Now it detects the stick and populates /dev, so far so good. But it still > doesn't want to work. pwcview gives me: > Webcam set to: 320x240 (sif) at 5 fps > libv4l2: error queuing buf 0: Invalid argument > libv4l2: error queuing buf 1: Invalid argument > libv4l2: error queuing buf 2: Invalid argument > libv4l2: error queuing buf 3: Invalid argument > libv4l2: error reading: Device busy > Error reading from webcam: Device busy > > and xawtv can't use directvideo. It probably doesn't like my radeon. > Leaving only the behemoth that is MythTV to diagnose. It sees the input > source, but a channel scan fails to find anything. > > The webcamd debug log: > Linux video capture interface: v2.00 > > -snip a whole lot of registrations- > > Attached ugen5.2[0] to cuse unit 0 > au0828: i2c bus registered > tveeprom 129-0050: Hauppauge model 72001, rev B3F0, serial# 7982575 > tveeprom 129-0050: MAC address is 0x7fffffffe855M > tveeprom 129-0050: tuner model is Xceive XC5000 (idx 150, type 76) > tveeprom 129-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88) > tveeprom 129-0050: audio processor is AU8522 (idx 44) > tveeprom 129-0050: decoder processor is AU8522 (idx 42) > tveeprom 129-0050: has no radio, has IR receiver, has no IR transmitter > hauppauge_eeprom: hauppauge eeprom: model=72001 > analog subdev registration failed > tuner subdev registration fail > au8522 129-0047: creating new instance > xc5000 129-0061: creating new instance > xc5000: Successfully identified at address 0x61 > xc5000: Firmware has not been loaded previously > DVB: registering new adapter (au0828) > DVB: registering adapter 0 frontend 0 (Auvitek AU8522 QAM/8VSB Frontend)... > Registered device AU0828 [Hauppauge HVR950Q] > Creating /dev/video0 > Creating /dev/video1 > Creating /dev/dvb/adapter0/demux0 > Creating /dev/dvb/adapter0/dvr0 > Creating /dev/dvb/adapter0/frontend0 > > and upon channel scanning: > > xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)... > Loading firmware at '/boot/modules/dvb-fe-xc5000-1.6.114.fw', f=7 > xc5000: firmware read Zu bytes. > xc5000: firmware uploading... > xc5000: firmware upload complete... > > I'm not sure what's with the Zu bytes thing. That translates into > 0x5a75=21357, or 0x755a=30042 (for endianness), but the actual size of the > firmware file is 12401 bytes. Compression? > More importantly, there are references to the au8522, which according to > the v4l wiki, is the 950Q's A/V decoder. It looks like au8522_decoder.c is > needed after all. And the linker wants an implementation of > i2c_register_driver and i2c_del_driver. You need to use vlc with this device. vlc --dvb-adapter=0 dvb:// --HPS