From owner-freebsd-multimedia@FreeBSD.ORG Sun May 16 22:47:07 2010 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 579EA106566B for ; Sun, 16 May 2010 22:47:07 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 848208FC17 for ; Sun, 16 May 2010 22:47:06 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id DEC301E00223; Mon, 17 May 2010 00:47:04 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.3/8.14.3) with ESMTP id o4GMjP4w049450; Mon, 17 May 2010 00:45:25 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.3/8.14.3/Submit) id o4GMjPAv049449; Mon, 17 May 2010 00:45:25 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 17 May 2010 00:45:25 +0200 To: Juergen Lock Message-ID: <20100516224525.GA48612@triton8.kn-bremen.de> References: <20100502190207.GA96276@triton8.kn-bremen.de> <20100504203248.GA8212@triton8.kn-bremen.de> <20100506201305.GA23951@triton8.kn-bremen.de> <20100514171150.GA51257@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100514171150.GA51257@triton8.kn-bremen.de> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-multimedia@FreeBSD.org Subject: Re: for those that want to try vdr on FreeBSD... (dvb with webcamd) 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: Sun, 16 May 2010 22:47:07 -0000 On Fri, May 14, 2010 at 07:11:50PM +0200, Juergen Lock wrote: > On Thu, May 06, 2010 at 10:13:06PM +0200, Juergen Lock wrote: > > On Tue, May 04, 2010 at 10:32:48PM +0200, Juergen Lock wrote: > > > On Sun, May 02, 2010 at 09:02:07PM +0200, Juergen Lock wrote: > > > > Hi! > > > > > > > > I took jpulz' vdr 1.7.14 patches: (hi, you never seem to be on irc > > > > when I am... :) > > > > > > > > ftp://ftp.frm2.tum.de/pub/jpulz/VDR/ > > > > ftp://ftp.frm2.tum.de/pub/jpulz/pictures/ > > > > > > > > and made q&d ports of those and of a few more plugins and two webinterfaces > > > > so I can now use FreeBSD as a pc dvb-s2 dvr: > > > > > > > > http://people.freebsd.org/~nox/dvb/vdrdevel-preliminary.shar > > > > > > > > I don't know if/when I'll be able finish these to make them commit-ready > > > > (or even port all of the other plugins that people might want to use), > > > > if anyone wants to take over from here or at least help they are most > > > > welcome... > > > > > > > > Note: vdr 1.7.14 is the development branch so expect bugs! (I mostly > > > > used it because the stable branch (1.6) doesn't support dvb-s2...) > > > > > > > > FreeBSD notes: > > > > > > > > 0. See my earlier threads on the freebsd-multimedia list about webcamd > > > > and the usb dvb-s2 tuner I use; the relevant webcamd ports and > > > > frieds have been updated now so you _should_ be able to just use > > > > those. (I see no reason why dvb-t or dvb-c tuners wouldn't work > > > > also as long as webcamd supports them, I just haven't tested any.) > > > > > > > > 1. Before you start installing these ports add the vdr user and group > > > > to /usr/ports/UIDs: > > > > > > > > vdr:*:988:988::0:0:vdr user:/nonexistent:/usr/sbin/nologin > > > > > > > > and to /usr/ports/GIDs: > > > > > > > > vdr:*:988: > > > > > > > > (you don't have to use 988, I just didn't want the id to conflict with > > > > new ports being committed too quickly...), and then either mount an extra > > > > fs with enough space for the recordings on /video or create a video dir > > > > elsewhere where there is space, symlink it to /video and make it > > > > writable for vdr. (or if you do have one big / then you can create > > > > the dir on there too ofc, I just disabled the mkdir in the port to > > > > avoid inadvertently filling up ppl's small / fs.) > > > > > > > > 2. I didn't make rc.d scripts yet so for now you need to start vdr as > > > > well as the vdradmin-am webinterface manually, look in the README.s > > > > of the individual (plugins, vdradmin-am) ports for any needed options. > > > > My current vdr startup line is: > > > > > > > > vdr -P"xineliboutput --local=none --remote=127.1:37890" -Pskinenigmang -Pfemon -Posdpip '-Posdteletext --directory=/usr/tmp --cache-system=packed --max-cache=128' -P"streamdev-server" -P"live -i127.1" -Pepgsearch -Pcontrol > > > > > > > > Oh and I skipped install of a lot of locales for now too... > > > > > > > > 3. Of all the video output methods only xineliboutput and streamdev > > > > seem to work (and the vdr-live webinterface browser streaming which > > > > also uses streamdev), jpulz also has patches for softdevice so I made > > > > a port for that too but it only gave me a black screen... streamdev > > > > doesn't have an osd so you probably want xineliboutput at least for > > > > the first setup. > > > > > > > > I was unable to test xineliboutput's vdpau support since I no longer > > > > have nvidia (and miwi's issues with the nvidia blob on amd64 don't > > > > exactly encourage me to try it again soon...) - on the radeon here > > > > using xorg 7.4's video-ati driver with xv xineliboutput via vdr-sxfe, > > > > > > > > vdr-sxfe --video=xv --hotkeys xvdr://127.0.0.1:37890 > > > > > > > > (vdr-sxfe gets installed by the xineliboutput plugin port) as well as any > > > > other player that knew the xvdr protocol (xineliboutput with osd) were > > > > unable to play h264 hd channels (I suspect they use too much cpu; I tried > > > > xine and both the kde3 and kde4 versions of kaffeine, > > > > > > > > xine "xvdr://127.0.0.1#nocache" > > > > kaffeine "xvdr+tcp://127.1:37890" > > > > /usr/local/kde4/bin/kaffeine "xvdr+tcp://127.1:37890" > > > > > > > > ), only mplayer and (sometimes) totem/gstreamer (incluing the totem > > > > browser plugin invoked by the vdr-live webinterface) apparently were > > > > efficient enough to decode h264 on this PhenomII cpu in software: > > > > > > > > mplayer -mc 10 -cache 8192 -demuxer lavf http://127.0.0.1:37890/ > > > > totem http://127.0.0.1:37890/ > > > > > > > > (or using streamdev: > > > > > > > > mplayer -mc 10 -cache 8192 -demuxer lavf http://127.0.0.1:3000/302 > > > > totem http://127.0.0.1:3000/302 > > > > > > > > - channel 302 is arte hd in my channels.conf.) > > > > > > > > 4. I have no idea if the lirc support works on FreeBSD (and webcamd doesn't > > > > seem to support dvb tuner remotes yet anyway), so you probably will > > > > have to use keyboard control for now. I have included an example > > > > remote.conf for vdr-sxfe and the multimedia/vdr-plugin-control plugin > > > > that you can access by telnet (default port is 2002), I have put the > > > > menu button on the tab and insert keys and OK on the return key, see > > > > > > > > /usr/local/etc/vdr/remote.conf > > > > > > > > for the full keybindings list. (If you start vdr in the foreground > > > > and keep that shell open you should be able to use that for keyboard > > > > control also, the control plugin just gives me an osd too for when I > > > > use mplayer...) > > > > > > > > Oh and the webinterfaces have point-and-click remotes too but I prefer > > > > keyboard control. > > > > > > > > 5. The example channels.conf is the one that comes with the vdr sources, > > > > its for Astra 19.2E and a little outdated (also doesn't have hd channels > > > > yet), if you receive something else and don't want to go hunting for a > > > > suitable channels.conf on the web you can use w_scan for which I put a > > > > port here earlier: > > > > > > > > http://people.freebsd.org/~nox/dvb/w_scan.shar > > > > > > > > Remember to use -o7 for vdr 1.7, see the w_scan homepage for options > > > > and examples: > > > > > > > > http://wirbel.htpc-forum.de/w_scan/index_en.html > > > > > > > > Also note you probably will only need to use w_scan once initially, > > > > this vdr version by default should look for new transponders itself > > > > when it does its epg scan during idle times unles you disable that > > > > feature. > > > > > > > > 5. I ported two webinterfaces because I only learned about vdr-live > > > > later which seems to be faster and uses fewer resources meaning you > > > > could probably turn a pretty wimpy box into a vdr server as long as > > > > you keep the actual watching (especially of h264 hd) to a faster box > > > > connected over the network. The vdr-plugin-live webinterface by > > > > default listens on port 8008: > > > > > > > > http://127.1:8008/ > > > > > > > > and vdradmin_am listens on 8001: > > > > > > > > http://127.1:8001/ > > > > > > > > And the streamdev plugin has a (simple) webinterface too if you point > > > > a browser at it: (instead of a player) > > > > > > > > http://127.1:3000/ > > > > > > > > 6. I may have forgot some other manual installation steps, if you > > > > notice something just post a followup... Most of vdr's own > > > > configuration including plugins should be available in the osd > > > > under `Setup'. > > > > > > > > And finally, here are some links about vdr and the plugins and > > > > webinterfaces I made ports for: > > > > > > > > 0. vdr 1.7.14: > > > > http://www.tvdr.de/ > > > > http://www.linuxtv.org/vdrwiki/index.php/Main_Page > > > > > > > > 1. xineliboutput-1.0.5 cvs snapshot from 20100414: > > > > http://sourceforge.net/projects/xineliboutput/ > > > > http://www.linuxtv.org/vdrwiki/index.php/Xineliboutput-plugin > > > > > > > > 2. streamdev-0.5.0 cvs snapshot from 20100426: > > > > http://streamdev.vdr-developer.org/ > > > > http://www.linuxtv.org/vdrwiki/index.php/Streamdev-plugin > > > > > > > > 3. live-0.2.0: > > > > http://live.vdr-developer.org/ > > > > > > > > 4. live also depends on cxxtools and tntnet which I also had to port: > > > > http://www.tntnet.org/cxxtools.html > > > > http://www.tntnet.org/index.html > > > > > > > > 5. epgsearch-0.9.25.beta16: > > > > http://winni.vdr-developer.org/epgsearch/index_eng.html > > > > http://www.linuxtv.org/vdrwiki/index.php/Epgsearch-plugin > > > > > > > > 6. femon-1.7.7: > > > > http://www.saunalahti.fi/~rahrenbe/vdr/femon/ > > > > http://www.linuxtv.org/vdrwiki/index.php/Femon-plugin > > > > > > > > 7. osdpip-0.1.0: > > > > http://projects.vdr-developer.org/projects/show/plg-osdpip > > > > http://www.linuxtv.org/vdrwiki/index.php/Osdpip-plugin > > > > > > > > 8. osdteletext-0.8.3: > > > > http://projects.vdr-developer.org/projects/show/plg-osdteletext > > > > http://www.linuxtv.org/vdrwiki/index.php/Osdteletext-plugin > > > > > > > > 9. skinenigmang-0.1.1: > > > > http://andreas.vdr-developer.org/enigmang/index.html > > > > http://www.vdr-wiki.de/wiki/index.php/Skinenigmang-plugin > > > > (sorry for de in the second link but at least there are pics...) > > > > > > > > 10. softdevice 0.5.0 cvs snapshot from 20100414: > > > > http://softdevice.berlios.de/ > > > > http://www.linuxtv.org/vdrwiki/index.php/Softdevice-plugin > > > > > > > > 10. control-0.0.2a-45yavdr1 with ubuntu yavdr patches: > > > > http://ricomp.de/vdr/down_en.html > > > > http://www.linuxtv.org/vdrwiki/index.php/Control-plugin > > > > > > > > 11. vdradmin_am-3.6.7: > > > > http://andreas.vdr-developer.org/vdradmin-am/ > > > > > > Ok I now found out why xineliboutput didn't want to play h264 at all: > > > the libxine port builds with an internal copy of ffmpeg by default, > > > turning on its 'Enable external FFMpeg' knob got it playing. Its still > > > skipping once in a while, maybe using the new ffmpeg-devel port will > > > fix that, but looks like that would involve rebuilding several > > > dependencies at least so I haven't yet tried. > > > > > > While testing that, I have also added a small patch to improve the osd > > > resizing so the osd should look a little better now when the video resolution > > > changes (multimedia/vdr-plugin-xineliboutput/files/patch-osdautosize), > > > and I add the keypad return key to the vdr-sxfe remote.conf and changed > > > FastFwd from f to w because f is already in use for the fullscreen toggle > > > with vdr-sxfe --hotkeys. > > > > Updated version with a new osd autosize patch that handles width < 512 > > after I found out there are sd channels with width = 480 at least... > > New version that takes care of OSTYPE being now defined (which caused > the FreeBSD host detection in jpulz' patches to fail and the vdr and > plugin port builds to abort), and that adds a missing www/p5-libwww > dependency in the vdradmin-am port. Good news: with the ffmpeg-devel port and updated ports watching h264 hd streams via xineliboutput (vdr-sxfe/xine/kaffeine) and xv on xf86-video-ati-6.13.0 works well now, only enabling deinterlacing with 1080i still sometimes causes skipping with kaffeine. Another issue I initially had was vdr-sxfe often used 100% cpu on sd(!) channels, but turned out that that was just caused by it now defaulting to using libasound (alsa) that I installed for chrome, passing --audio=oss to vdr-sxfe fixed that. ..and I also updated the shar again, this time its mostly plist/permission fixes, and reinstalling the vdrdevel port via portmaster/portupgrade was broken too. Enjoy, :) Juergen From owner-freebsd-multimedia@FreeBSD.ORG Mon May 17 11:07:03 2010 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 13AB11065672 for ; Mon, 17 May 2010 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 00F178FC29 for ; Mon, 17 May 2010 11:07:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4HB72Sq015800 for ; Mon, 17 May 2010 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4HB722B015798 for freebsd-multimedia@FreeBSD.org; Mon, 17 May 2010 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 17 May 2010 11:07:02 GMT Message-Id: <201005171107.o4HB722B015798@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-multimedia@FreeBSD.org 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: Mon, 17 May 2010 11:07:03 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/146031 multimedia [snd_hda] race condition when kldunload snd_hda sound f ports/145770 multimedia [patch] multimedia/gstreamer-plugins-v4l2 says Device o kern/144659 multimedia [pcm] The distortion of the sound playback of music at o kern/143505 multimedia [pcm] FreeBSD 8.0-RELEASE (x64) won't make sound card o kern/141826 multimedia [snd_hda] load of snd_hda module fails o kern/140591 multimedia [PATCH][sound] No sound output on lineout/headphone ja o kern/140453 multimedia [sound] No sound inside Virtualbox on 50% volume o kern/137589 multimedia [snd_uaudio] snd_uaudio.ko (USB audio driver) doesn't o kern/134767 multimedia [sound] [snd_hda] [regression] Sigmatel STAC9205X no s o kern/132848 multimedia [sound] [snd_emu10kx] driver problem with card init, s o kern/132511 multimedia [sound] [snd_hda] Probing ALC888 codec on ASRock K10N7 o kern/129604 multimedia [sound] Sound stops with error: pcm0:virtual:dsp0.vp0: o kern/127131 multimedia [bktr] /usr/src/sys/dev/bktr/bktr_os.c, line 469: wron s kern/125756 multimedia [sound] [patch] cannot detect soft-modem on HDA bus o kern/124319 multimedia [sound] [snd_emu10k1] [regression] Cannot record from o kern/122086 multimedia [sound] maestro sound driver is working, but mixer ini p kern/121156 multimedia [sound] [patch] Turn on inverted external amplifier se o kern/120857 multimedia [sound] [snd_emu10k1] snd_emu10k1 driver issues a warn o kern/120780 multimedia [sound] [snd_hda] snd_hda doesn't work on Dell Latitut o kern/119973 multimedia [sound] [snd_maestro] [regression] snd_maestro only wo o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o kern/119759 multimedia [sound] [snd_emu10k1] [regression] Can not record anyt f kern/115666 multimedia [sound] Microphone does not work o kern/115300 multimedia [sound] [snd_hda] [regression] snd_hda(4) fails to att o kern/114760 multimedia [sound] [snd_cmi] snd_cmi driver causing sporadic syst s kern/113950 multimedia [sound] [patch] [request] add per-vchan mixer support o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou o kern/107516 multimedia [sound] [snd_emu10k1] - skips, clicks and lag after a o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o kern/104874 multimedia [sound] [snd_emu10k1] kldload snd_emu10k1 hangs system o kern/104626 multimedia [sound] FreeBSD 6.2 does not support SoundBlaster Audi o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del o kern/100859 multimedia [sound] [snd_ich] snd_ich broken on GIGABYTE 915 syste o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/98496 multimedia [sound] [snd_ich] some functions don't work in my soun o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/97535 multimedia [sound] [snd_mss] doesn't work in 6.0-RELEASE and abov o kern/96538 multimedia [sound] emu10k1-driver inverts channels o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx o kern/94279 multimedia [sound] [snd_neomagic] snd_neomagic crashes on FreeBSD o kern/93986 multimedia [sound] Acer TravelMate 4652LMi pcm0 channel dead o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup s kern/83697 multimedia [sound] [snd_mss] [patch] support, docs added for full o kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work. o kern/81146 multimedia [sound] Sound isn't working AT ALL for Sis7012 onboard o kern/80632 multimedia [sound] pcm driver missing support for CMI8738 auxilla o kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: interrupt sto o kern/79905 multimedia [sound] sis7018 sound module problem o kern/79678 multimedia [sound] sound works except recording from any source f kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I s kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. o kern/23546 multimedia [sound] [snd_csa] [patch] csa DMA-interrupt problem 57 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Mon May 17 18:40:19 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BCFA106566C for ; Mon, 17 May 2010 18:40:19 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out1.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id 074EB8FC0A for ; Mon, 17 May 2010 18:40:18 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out1.tiscali.nl with esmtp (Exim) (envelope-from ) id 1OE4wO-0001Ov-3G; Mon, 17 May 2010 20:21:24 +0200 Received: from pc2844lv.mapper.nl ([10.58.235.143]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1OE4wL-0007qb-1R; Mon, 17 May 2010 20:21:21 +0200 Message-ID: <4BF1891F.3040704@mapper.nl> Date: Mon, 17 May 2010 20:21:19 +0200 From: Mark Stapper User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Garrett Cooper References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6196EEF1F7287BBF6881A6D7" Cc: multimedia@freebsd.org Subject: Re: Buzzing snd_emu10kx enabled card with r206173 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: Mon, 17 May 2010 18:40:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6196EEF1F7287BBF6881A6D7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12/04/2010 16:29, Garrett Cooper wrote: > On Tue, Apr 6, 2010 at 3:39 AM, Garrett Cooper wro= te: > =20 >> On Mon, Apr 5, 2010 at 12:26 PM, Garrett Cooper w= rote: >> =20 >>> On Mon, Apr 5, 2010 at 11:22 AM, Garrett Cooper = wrote: >>> =20 >>>> Hi, >>>> When I first installed FreeBSD on this machine, I had a heck of a= >>>> time getting the soundcard's PCM channel to function properly. It >>>> would buzz incessantly when I played any audio on it; I disabled the= >>>> onboard snd_hda enabled audio and things magically worked, until >>>> today. After a kernel upgrade and a few warm boots, I'm back to wher= e >>>> I started from -- the PCM channel buzzes whenever I play audio; >>>> line-in works perfectly fine however. I'm not seeing anything out of= >>>> the ordinary in commits over the past couple of weeks for the pcm >>>> pieces (the last successful kernel I used was 2~3 weeks old). >>>> Are there any device_printf's I should add or a debug procedure >>>> that you recommend I do to triage the situation? >>>> Thanks, >>>> -Garrett >>>> >>>> # uname -a >>>> FreeBSD bayonetta.local 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r206173M:= >>>> Sun Apr 4 19:54:22 PDT 2010 >>>> root@bayonetta.local:/usr/obj/usr/src/sys/BAYONETTA amd64 >>>> # pciconf -lv | grep -A 4 emu >>>> emu10kx0@pci0:8:0:0: class=3D0x040100 card=3D0x10211102 chip=3D0x= 00081102 >>>> rev=3D0x00 hdr=3D0x00 >>>> vendor =3D 'Creative Technology LTD.' >>>> device =3D 'sound blaster Audigy 2 (ca0108)' >>>> class =3D multimedia >>>> subclass =3D audio >>>> # dmesg | grep 'irq 16' >>>> uhci0: port 0xa800-0xa8= 1f >>>> irq 16 at device 26.0 on pci0 >>>> pcib7: irq 16 at device 28.1 on pci0 >>>> emu10kx0: port 0xec00-0xec3f irq 16 at >>>> device 0.0 on pci8 >>>> # dmesg | grep 'pcm' >>>> pcm0: on emu10kx0 >>>> pcm0: >>>> pcm1: on emu10kx0 >>>> pcm2: on emu10kx0 >>>> pcm3: on emu10kx0 >>>> pcm4: on emu10kx0 >>>> =20 >>> Some more information: >>> >>> 1. snd_emu10kx and sound are both modules loaded on boot, along with >>> if_re, linux, and nvidia. >>> 2. Disabling nvidia -> no change. >>> 3. Disabling acpi -> unbootable system because many drivers can't map= >>> interrupts without it (can't test unless I isolate the drivers and >>> enable them one by one -- something I'll try later on). >>> >>> I'm at a loss right now... my hunch is that it's potentially a bad >>> interaction between the snd_emu10kx driver and another driver on the >>> same PCI bus (which is just the ACPI and uhci drivers), but I can't >>> test these claims. There are other funky things about my system that >>> have changed over the past couple of kernel versions, like front USB >>> ports could charge my iPhone, and now they don't... and the fact that= >>> ACPI blanking via nvidia now works again... so something may have >>> changed on the backend, but I'm not 100% sure on what I should isolat= e >>> as the root cause, yet. >>> =20 >> Grr... it's `healed' itself again. I'll watch out for potential >> catalysts to the issue in the future. >> =20 > Ok. Damn issue came back and here's what happened. Rebooted > several times with the same kernel and slight modifications, loading > and unloading snd_emu10kx and sound, testing out snd_emu10k1, and no > dice. The buzz was bad and it was driving me insane. Again, line-in > functioned just fine, so I didn't know what the heck was going. I was > getting desperate, so I finally broke down and booted the Gentoo Linux > livecd. PCM worked just fine. Then I got irritated enough and finally > just built the module and the sound support directly into the kernel > and everything is hunky dorey again. Does anyone have a stab in the > dark as to what's going on? Is it a potential bus or interrupt > conflict / race condition that gets alleviated when support is nailed > into the kernel? Or are other folks as stumped as I am, s.t. I should > just try emailing current@ instead to see if someone maybe knows > what's going on there :(...? > Thanks, > -Garrett > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebs= d.org" > =20 I have the same problem. I'll try compiling the driver in the kernel. Thank you! --------------enig6196EEF1F7287BBF6881A6D7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvxiSIACgkQN9xNqOOVnWDXiQCfZ0CCNQeucdhDXL7nFbsnwJtO 8RUAn2PEjvfKCorjRALzKCm53QlUnPTh =9RvJ -----END PGP SIGNATURE----- --------------enig6196EEF1F7287BBF6881A6D7-- From owner-freebsd-multimedia@FreeBSD.ORG Mon May 17 20:20:51 2010 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A16131065688; Mon, 17 May 2010 20:20:51 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 79E5F8FC13; Mon, 17 May 2010 20:20:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4HKKpFE009455; Mon, 17 May 2010 20:20:51 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4HKKp2L009446; Mon, 17 May 2010 20:20:51 GMT (envelope-from edwin) Date: Mon, 17 May 2010 20:20:51 GMT Message-Id: <201005172020.o4HKKp2L009446@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/146675: Update port: multimedia/mkvtoolnix to 3.4.0 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: Mon, 17 May 2010 20:20:51 -0000 Synopsis: Update port: multimedia/mkvtoolnix to 3.4.0 Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-multimedia Responsible-Changed-By: edwin Responsible-Changed-When: Mon May 17 20:20:51 UTC 2010 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=146675 From owner-freebsd-multimedia@FreeBSD.ORG Mon May 17 22:22:53 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5272106564A for ; Mon, 17 May 2010 22:22:53 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f188.google.com (mail-qy0-f188.google.com [209.85.221.188]) by mx1.freebsd.org (Postfix) with ESMTP id 98BC18FC12 for ; Mon, 17 May 2010 22:22:53 +0000 (UTC) Received: by qyk26 with SMTP id 26so2071271qyk.28 for ; Mon, 17 May 2010 15:22:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uqXbG/ZB8T7tIaOUbPJkD8NVpIFQyC2A4p6fWROcBSg=; b=NfKB4WFrhW7OaYCljmMJuE3KAEFN9ZeeQDpU2vizn7QLVWTHmReEFUB1Xd5zkgSfBU xZhFJ/fhaWkSLl59cF84fZ7slyV8PsAUkJRSb2D8A1jizmDiq34inK9TIJT21p2kd+XH Zlngp+A6O8ncXm3qA7BkjSdwj2NSgnkVWwIYM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ddt23iIwI2YRRBmA5eYWp0/of43MhTzw3XzeSaSuv67Od8DPS4mPaNsgCDj+mCjKER Mbgtwf3AuEWnl3XiY3R4+hesAwHxCsWnDaN4G0UiAI04Z66Ht9rjBL7urIcYJptNNUXs oeQoHYBwuUzvnrnQFxn94V/77jRN+th/9wtuQ= MIME-Version: 1.0 Received: by 10.229.227.197 with SMTP id jb5mr692731qcb.134.1274134972851; Mon, 17 May 2010 15:22:52 -0700 (PDT) Received: by 10.229.193.14 with HTTP; Mon, 17 May 2010 15:22:52 -0700 (PDT) In-Reply-To: <4BF1891F.3040704@mapper.nl> References: <4BF1891F.3040704@mapper.nl> Date: Mon, 17 May 2010 15:22:52 -0700 Message-ID: From: Garrett Cooper To: Mark Stapper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: multimedia@freebsd.org Subject: Re: Buzzing snd_emu10kx enabled card with r206173 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: Mon, 17 May 2010 22:22:54 -0000 On Mon, May 17, 2010 at 11:21 AM, Mark Stapper wrote: > On 12/04/2010 16:29, Garrett Cooper wrote: >> On Tue, Apr 6, 2010 at 3:39 AM, Garrett Cooper wrot= e: >> >>> On Mon, Apr 5, 2010 at 12:26 PM, Garrett Cooper wr= ote: >>> >>>> On Mon, Apr 5, 2010 at 11:22 AM, Garrett Cooper w= rote: >>>> >>>>> Hi, >>>>> =A0 =A0When I first installed FreeBSD on this machine, I had a heck o= f a >>>>> time getting the soundcard's PCM channel to function properly. It >>>>> would buzz incessantly when I played any audio on it; I disabled the >>>>> onboard snd_hda enabled audio and things magically worked, until >>>>> today. After a kernel upgrade and a few warm boots, I'm back to where >>>>> I started from -- the PCM channel buzzes whenever I play audio; >>>>> line-in works perfectly fine however. I'm not seeing anything out of >>>>> the ordinary in commits over the past couple of weeks for the pcm >>>>> pieces (the last successful kernel I used was 2~3 weeks old). >>>>> =A0 =A0Are there any device_printf's I should add or a debug procedur= e >>>>> that you recommend I do to triage the situation? >>>>> Thanks, >>>>> -Garrett >>>>> >>>>> # uname -a >>>>> FreeBSD bayonetta.local 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r206173M: >>>>> Sun Apr =A04 19:54:22 PDT 2010 >>>>> root@bayonetta.local:/usr/obj/usr/src/sys/BAYONETTA =A0amd64 >>>>> # pciconf -lv | grep -A 4 emu >>>>> emu10kx0@pci0:8:0:0: =A0 =A0class=3D0x040100 card=3D0x10211102 chip= =3D0x00081102 >>>>> rev=3D0x00 hdr=3D0x00 >>>>> =A0 =A0vendor =A0 =A0 =3D 'Creative Technology LTD.' >>>>> =A0 =A0device =A0 =A0 =3D 'sound blaster Audigy 2 (ca0108)' >>>>> =A0 =A0class =A0 =A0 =A0=3D multimedia >>>>> =A0 =A0subclass =A0 =3D audio >>>>> # dmesg | grep 'irq 16' >>>>> uhci0: port 0xa800-0xa81= f >>>>> irq 16 at device 26.0 on pci0 >>>>> pcib7: irq 16 at device 28.1 on pci0 >>>>> emu10kx0: port 0xec00-0xec3f irq 16 at >>>>> device 0.0 on pci8 >>>>> # dmesg | grep 'pcm' >>>>> pcm0: on emu10kx0 >>>>> pcm0: >>>>> pcm1: on emu10kx0 >>>>> pcm2: on emu10kx0 >>>>> pcm3: on emu10kx0 >>>>> pcm4: on emu10kx0 >>>>> >>>> Some more information: >>>> >>>> 1. snd_emu10kx and sound are both modules loaded on boot, along with >>>> if_re, linux, and nvidia. >>>> 2. Disabling nvidia -> no change. >>>> 3. Disabling acpi -> unbootable system because many drivers can't map >>>> interrupts without it (can't test unless I isolate the drivers and >>>> enable them one by one -- something I'll try later on). >>>> >>>> I'm at a loss right now... my hunch is that it's potentially a bad >>>> interaction between the snd_emu10kx driver and another driver on the >>>> same PCI bus (which is just the ACPI and uhci drivers), but I can't >>>> test these claims. There are other funky things about my system that >>>> have changed over the past couple of kernel versions, like front USB >>>> ports could charge my iPhone, and now they don't... and the fact that >>>> ACPI blanking via nvidia now works again... so something may have >>>> changed on the backend, but I'm not 100% sure on what I should isolate >>>> as the root cause, yet. >>>> >>> Grr... it's `healed' itself again. I'll watch out for potential >>> catalysts to the issue in the future. >>> >> =A0 =A0 Ok. Damn issue came back and here's what happened. Rebooted >> several times with the same kernel and slight modifications, loading >> and unloading snd_emu10kx and sound, testing out snd_emu10k1, and no >> dice. The buzz was bad and it was driving me insane. Again, line-in >> functioned just fine, so I didn't know what the heck was going. I was >> getting desperate, so I finally broke down and booted the Gentoo Linux >> livecd. PCM worked just fine. Then I got irritated enough and finally >> just built the module and the sound support directly into the kernel >> and everything is hunky dorey again. Does anyone have a stab in the >> dark as to what's going on? Is it a potential bus or interrupt >> conflict / race condition that gets alleviated when support is nailed >> into the kernel? Or are other folks as stumped as I am, s.t. I should >> just try emailing current@ instead to see if someone maybe knows >> what's going on there :(...? >> Thanks, >> -Garrett > > I have the same problem. > I'll try compiling the driver in the kernel. FWIW I've compiled the driver into the kernel for several iterations now and it works like a champ, so there's something with the sound subsystem that isn't jiving properly when loading from modules... HTH, -Garrett From owner-freebsd-multimedia@FreeBSD.ORG Tue May 18 01:01:19 2010 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A68C6106566B; Tue, 18 May 2010 01:01:19 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7E4068FC16; Tue, 18 May 2010 01:01:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4I11Jo8027686; Tue, 18 May 2010 01:01:19 GMT (envelope-from miwi@freefall.freebsd.org) Received: (from miwi@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4I11JMZ027682; Tue, 18 May 2010 01:01:19 GMT (envelope-from miwi) Date: Tue, 18 May 2010 01:01:19 GMT Message-Id: <201005180101.o4I11JMZ027682@freefall.freebsd.org> To: miwi@FreeBSD.org, freebsd-multimedia@FreeBSD.org, miwi@FreeBSD.org From: miwi@FreeBSD.org Cc: Subject: Re: ports/146675: Update port: multimedia/mkvtoolnix to 3.4.0 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: Tue, 18 May 2010 01:01:19 -0000 Synopsis: Update port: multimedia/mkvtoolnix to 3.4.0 Responsible-Changed-From-To: freebsd-multimedia->miwi Responsible-Changed-By: miwi Responsible-Changed-When: Tue May 18 01:01:18 UTC 2010 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=146675 From owner-freebsd-multimedia@FreeBSD.ORG Tue May 18 06:14:08 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF3411065672 for ; Tue, 18 May 2010 06:14:08 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id 48EB38FC16 for ; Tue, 18 May 2010 06:14:08 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out0.tiscali.nl with esmtp (Exim) (envelope-from ) id 1OEG47-0005vj-9S; Tue, 18 May 2010 08:14:07 +0200 Received: from yoshi ([10.58.235.3] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1OEG42-0009lG-2y; Tue, 18 May 2010 08:14:02 +0200 Message-ID: <4BF23029.80104@mapper.nl> Date: Tue, 18 May 2010 08:14:01 +0200 From: Mark Stapper User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Garrett Cooper References: <4BF1891F.3040704@mapper.nl> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig075EA6DA4754E2066559F991" Cc: multimedia@freebsd.org Subject: Re: Buzzing snd_emu10kx enabled card with r206173 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: Tue, 18 May 2010 06:14:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig075EA6DA4754E2066559F991 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 18/05/2010 00:22, Garrett Cooper wrote: > On Mon, May 17, 2010 at 11:21 AM, Mark Stapper wrote:= > =20 >> On 12/04/2010 16:29, Garrett Cooper wrote: >> =20 >>> On Tue, Apr 6, 2010 at 3:39 AM, Garrett Cooper w= rote: >>> >>> =20 >>>> On Mon, Apr 5, 2010 at 12:26 PM, Garrett Cooper = wrote: >>>> >>>> =20 >>>>> On Mon, Apr 5, 2010 at 11:22 AM, Garrett Cooper wrote: >>>>> >>>>> =20 >>>>>> Hi, >>>>>> When I first installed FreeBSD on this machine, I had a heck of= a >>>>>> time getting the soundcard's PCM channel to function properly. It >>>>>> would buzz incessantly when I played any audio on it; I disabled t= he >>>>>> onboard snd_hda enabled audio and things magically worked, until >>>>>> today. After a kernel upgrade and a few warm boots, I'm back to wh= ere >>>>>> I started from -- the PCM channel buzzes whenever I play audio; >>>>>> line-in works perfectly fine however. I'm not seeing anything out = of >>>>>> the ordinary in commits over the past couple of weeks for the pcm >>>>>> pieces (the last successful kernel I used was 2~3 weeks old). >>>>>> Are there any device_printf's I should add or a debug procedure= >>>>>> that you recommend I do to triage the situation? >>>>>> Thanks, >>>>>> -Garrett >>>>>> >>>>>> # uname -a >>>>>> FreeBSD bayonetta.local 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r206173= M: >>>>>> Sun Apr 4 19:54:22 PDT 2010 >>>>>> root@bayonetta.local:/usr/obj/usr/src/sys/BAYONETTA amd64 >>>>>> # pciconf -lv | grep -A 4 emu >>>>>> emu10kx0@pci0:8:0:0: class=3D0x040100 card=3D0x10211102 chip=3D= 0x00081102 >>>>>> rev=3D0x00 hdr=3D0x00 >>>>>> vendor =3D 'Creative Technology LTD.' >>>>>> device =3D 'sound blaster Audigy 2 (ca0108)' >>>>>> class =3D multimedia >>>>>> subclass =3D audio >>>>>> # dmesg | grep 'irq 16' >>>>>> uhci0: port 0xa800-0x= a81f >>>>>> irq 16 at device 26.0 on pci0 >>>>>> pcib7: irq 16 at device 28.1 on pci0 >>>>>> emu10kx0: port 0xec00-0xec3f irq 16 a= t >>>>>> device 0.0 on pci8 >>>>>> # dmesg | grep 'pcm' >>>>>> pcm0: on emu10kx0 >>>>>> pcm0: >>>>>> pcm1: on emu10kx0 >>>>>> pcm2: on emu10kx0 >>>>>> pcm3: on emu10kx0 >>>>>> pcm4: on emu10kx0 >>>>>> >>>>>> =20 >>>>> Some more information: >>>>> >>>>> 1. snd_emu10kx and sound are both modules loaded on boot, along wit= h >>>>> if_re, linux, and nvidia. >>>>> 2. Disabling nvidia -> no change. >>>>> 3. Disabling acpi -> unbootable system because many drivers can't m= ap >>>>> interrupts without it (can't test unless I isolate the drivers and >>>>> enable them one by one -- something I'll try later on). >>>>> >>>>> I'm at a loss right now... my hunch is that it's potentially a bad >>>>> interaction between the snd_emu10kx driver and another driver on th= e >>>>> same PCI bus (which is just the ACPI and uhci drivers), but I can't= >>>>> test these claims. There are other funky things about my system tha= t >>>>> have changed over the past couple of kernel versions, like front US= B >>>>> ports could charge my iPhone, and now they don't... and the fact th= at >>>>> ACPI blanking via nvidia now works again... so something may have >>>>> changed on the backend, but I'm not 100% sure on what I should isol= ate >>>>> as the root cause, yet. >>>>> >>>>> =20 >>>> Grr... it's `healed' itself again. I'll watch out for potential >>>> catalysts to the issue in the future. >>>> >>>> =20 >>> Ok. Damn issue came back and here's what happened. Rebooted >>> several times with the same kernel and slight modifications, loading >>> and unloading snd_emu10kx and sound, testing out snd_emu10k1, and no >>> dice. The buzz was bad and it was driving me insane. Again, line-in >>> functioned just fine, so I didn't know what the heck was going. I was= >>> getting desperate, so I finally broke down and booted the Gentoo Linu= x >>> livecd. PCM worked just fine. Then I got irritated enough and finally= >>> just built the module and the sound support directly into the kernel >>> and everything is hunky dorey again. Does anyone have a stab in the >>> dark as to what's going on? Is it a potential bus or interrupt >>> conflict / race condition that gets alleviated when support is nailed= >>> into the kernel? Or are other folks as stumped as I am, s.t. I should= >>> just try emailing current@ instead to see if someone maybe knows >>> what's going on there :(...? >>> Thanks, >>> -Garrett >>> =20 >> I have the same problem. >> I'll try compiling the driver in the kernel. >> =20 > FWIW I've compiled the driver into the kernel for several > iterations now and it works like a champ, so there's something with > the sound subsystem that isn't jiving properly when loading from > modules... > HTH, > -Garrett > =20 Thanks for the info. I've noticed that when I load the kernel module at startup (by adding it to loader.conf) chances of it working improve. If I load it afterwards, the nice huff puff sounds come out of my speaker again. Compiling the new and improved kernel today. Thanks for your help. Greetz, Mark --------------enig075EA6DA4754E2066559F991 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvyMCsACgkQN9xNqOOVnWABjQCdEgJleIuha4J3wT0tU3KDZ/Xf UwkAniKhMs/VxgE6I/MNdmrCwCEbev8K =V+o/ -----END PGP SIGNATURE----- --------------enig075EA6DA4754E2066559F991-- From owner-freebsd-multimedia@FreeBSD.ORG Tue May 18 19:04:38 2010 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 9B2EA1065672 for ; Tue, 18 May 2010 19:04:38 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 1A92A8FC18 for ; Tue, 18 May 2010 19:04:38 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id D39DE1E00234; Tue, 18 May 2010 21:04:36 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.3/8.14.3) with ESMTP id o4IJ2lL2095516; Tue, 18 May 2010 21:02:47 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.3/8.14.3/Submit) id o4IJ2ldL095515; Tue, 18 May 2010 21:02:47 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 18 May 2010 21:02:47 +0200 To: Juergen Lock Message-ID: <20100518190247.GA95111@triton8.kn-bremen.de> References: <20100502190207.GA96276@triton8.kn-bremen.de> <20100504203248.GA8212@triton8.kn-bremen.de> <20100506201305.GA23951@triton8.kn-bremen.de> <20100514171150.GA51257@triton8.kn-bremen.de> <20100516224525.GA48612@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100516224525.GA48612@triton8.kn-bremen.de> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-multimedia@FreeBSD.org Subject: Re: for those that want to try vdr on FreeBSD... (dvb with webcamd) 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: Tue, 18 May 2010 19:04:38 -0000 On Mon, May 17, 2010 at 12:45:25AM +0200, Juergen Lock wrote: > On Fri, May 14, 2010 at 07:11:50PM +0200, Juergen Lock wrote: > > On Thu, May 06, 2010 at 10:13:06PM +0200, Juergen Lock wrote: > > > On Tue, May 04, 2010 at 10:32:48PM +0200, Juergen Lock wrote: > > > > On Sun, May 02, 2010 at 09:02:07PM +0200, Juergen Lock wrote: > > > > > Hi! > > > > > > > > > > I took jpulz' vdr 1.7.14 patches: (hi, you never seem to be on irc > > > > > when I am... :) > > > > > > > > > > ftp://ftp.frm2.tum.de/pub/jpulz/VDR/ > > > > > ftp://ftp.frm2.tum.de/pub/jpulz/pictures/ > > > > > > > > > > and made q&d ports of those and of a few more plugins and two webinterfaces > > > > > so I can now use FreeBSD as a pc dvb-s2 dvr: > > > > > > > > > > http://people.freebsd.org/~nox/dvb/vdrdevel-preliminary.shar > > > > > > > > > > I don't know if/when I'll be able finish these to make them commit-ready > > > > > (or even port all of the other plugins that people might want to use), > > > > > if anyone wants to take over from here or at least help they are most > > > > > welcome... > > > > > > > > > > Note: vdr 1.7.14 is the development branch so expect bugs! (I mostly > > > > > used it because the stable branch (1.6) doesn't support dvb-s2...) > > > > > > > > > > FreeBSD notes: > > > > > > > > > > 0. See my earlier threads on the freebsd-multimedia list about webcamd > > > > > and the usb dvb-s2 tuner I use; the relevant webcamd ports and > > > > > frieds have been updated now so you _should_ be able to just use > > > > > those. (I see no reason why dvb-t or dvb-c tuners wouldn't work > > > > > also as long as webcamd supports them, I just haven't tested any.) > > > > > > > > > > 1. Before you start installing these ports add the vdr user and group > > > > > to /usr/ports/UIDs: > > > > > > > > > > vdr:*:988:988::0:0:vdr user:/nonexistent:/usr/sbin/nologin > > > > > > > > > > and to /usr/ports/GIDs: > > > > > > > > > > vdr:*:988: > > > > > > > > > > (you don't have to use 988, I just didn't want the id to conflict with > > > > > new ports being committed too quickly...), and then either mount an extra > > > > > fs with enough space for the recordings on /video or create a video dir > > > > > elsewhere where there is space, symlink it to /video and make it > > > > > writable for vdr. (or if you do have one big / then you can create > > > > > the dir on there too ofc, I just disabled the mkdir in the port to > > > > > avoid inadvertently filling up ppl's small / fs.) > > > > > > > > > > 2. I didn't make rc.d scripts yet so for now you need to start vdr as > > > > > well as the vdradmin-am webinterface manually, look in the README.s > > > > > of the individual (plugins, vdradmin-am) ports for any needed options. > > > > > My current vdr startup line is: > > > > > > > > > > vdr -P"xineliboutput --local=none --remote=127.1:37890" -Pskinenigmang -Pfemon -Posdpip '-Posdteletext --directory=/usr/tmp --cache-system=packed --max-cache=128' -P"streamdev-server" -P"live -i127.1" -Pepgsearch -Pcontrol > > > > > > > > > > Oh and I skipped install of a lot of locales for now too... > > > > > > > > > > 3. Of all the video output methods only xineliboutput and streamdev > > > > > seem to work (and the vdr-live webinterface browser streaming which > > > > > also uses streamdev), jpulz also has patches for softdevice so I made > > > > > a port for that too but it only gave me a black screen... streamdev > > > > > doesn't have an osd so you probably want xineliboutput at least for > > > > > the first setup. > > > > > > > > > > I was unable to test xineliboutput's vdpau support since I no longer > > > > > have nvidia (and miwi's issues with the nvidia blob on amd64 don't > > > > > exactly encourage me to try it again soon...) - on the radeon here > > > > > using xorg 7.4's video-ati driver with xv xineliboutput via vdr-sxfe, > > > > > > > > > > vdr-sxfe --video=xv --hotkeys xvdr://127.0.0.1:37890 > > > > > > > > > > (vdr-sxfe gets installed by the xineliboutput plugin port) as well as any > > > > > other player that knew the xvdr protocol (xineliboutput with osd) were > > > > > unable to play h264 hd channels (I suspect they use too much cpu; I tried > > > > > xine and both the kde3 and kde4 versions of kaffeine, > > > > > > > > > > xine "xvdr://127.0.0.1#nocache" > > > > > kaffeine "xvdr+tcp://127.1:37890" > > > > > /usr/local/kde4/bin/kaffeine "xvdr+tcp://127.1:37890" > > > > > > > > > > ), only mplayer and (sometimes) totem/gstreamer (incluing the totem > > > > > browser plugin invoked by the vdr-live webinterface) apparently were > > > > > efficient enough to decode h264 on this PhenomII cpu in software: > > > > > > > > > > mplayer -mc 10 -cache 8192 -demuxer lavf http://127.0.0.1:37890/ > > > > > totem http://127.0.0.1:37890/ > > > > > > > > > > (or using streamdev: > > > > > > > > > > mplayer -mc 10 -cache 8192 -demuxer lavf http://127.0.0.1:3000/302 > > > > > totem http://127.0.0.1:3000/302 > > > > > > > > > > - channel 302 is arte hd in my channels.conf.) > > > > > > > > > > 4. I have no idea if the lirc support works on FreeBSD (and webcamd doesn't > > > > > seem to support dvb tuner remotes yet anyway), so you probably will > > > > > have to use keyboard control for now. I have included an example > > > > > remote.conf for vdr-sxfe and the multimedia/vdr-plugin-control plugin > > > > > that you can access by telnet (default port is 2002), I have put the > > > > > menu button on the tab and insert keys and OK on the return key, see > > > > > > > > > > /usr/local/etc/vdr/remote.conf > > > > > > > > > > for the full keybindings list. (If you start vdr in the foreground > > > > > and keep that shell open you should be able to use that for keyboard > > > > > control also, the control plugin just gives me an osd too for when I > > > > > use mplayer...) > > > > > > > > > > Oh and the webinterfaces have point-and-click remotes too but I prefer > > > > > keyboard control. > > > > > > > > > > 5. The example channels.conf is the one that comes with the vdr sources, > > > > > its for Astra 19.2E and a little outdated (also doesn't have hd channels > > > > > yet), if you receive something else and don't want to go hunting for a > > > > > suitable channels.conf on the web you can use w_scan for which I put a > > > > > port here earlier: > > > > > > > > > > http://people.freebsd.org/~nox/dvb/w_scan.shar > > > > > > > > > > Remember to use -o7 for vdr 1.7, see the w_scan homepage for options > > > > > and examples: > > > > > > > > > > http://wirbel.htpc-forum.de/w_scan/index_en.html > > > > > > > > > > Also note you probably will only need to use w_scan once initially, > > > > > this vdr version by default should look for new transponders itself > > > > > when it does its epg scan during idle times unles you disable that > > > > > feature. > > > > > > > > > > 5. I ported two webinterfaces because I only learned about vdr-live > > > > > later which seems to be faster and uses fewer resources meaning you > > > > > could probably turn a pretty wimpy box into a vdr server as long as > > > > > you keep the actual watching (especially of h264 hd) to a faster box > > > > > connected over the network. The vdr-plugin-live webinterface by > > > > > default listens on port 8008: > > > > > > > > > > http://127.1:8008/ > > > > > > > > > > and vdradmin_am listens on 8001: > > > > > > > > > > http://127.1:8001/ > > > > > > > > > > And the streamdev plugin has a (simple) webinterface too if you point > > > > > a browser at it: (instead of a player) > > > > > > > > > > http://127.1:3000/ > > > > > > > > > > 6. I may have forgot some other manual installation steps, if you > > > > > notice something just post a followup... Most of vdr's own > > > > > configuration including plugins should be available in the osd > > > > > under `Setup'. > > > > > > > > > > And finally, here are some links about vdr and the plugins and > > > > > webinterfaces I made ports for: > > > > > > > > > > 0. vdr 1.7.14: > > > > > http://www.tvdr.de/ > > > > > http://www.linuxtv.org/vdrwiki/index.php/Main_Page > > > > > > > > > > 1. xineliboutput-1.0.5 cvs snapshot from 20100414: > > > > > http://sourceforge.net/projects/xineliboutput/ > > > > > http://www.linuxtv.org/vdrwiki/index.php/Xineliboutput-plugin > > > > > > > > > > 2. streamdev-0.5.0 cvs snapshot from 20100426: > > > > > http://streamdev.vdr-developer.org/ > > > > > http://www.linuxtv.org/vdrwiki/index.php/Streamdev-plugin > > > > > > > > > > 3. live-0.2.0: > > > > > http://live.vdr-developer.org/ > > > > > > > > > > 4. live also depends on cxxtools and tntnet which I also had to port: > > > > > http://www.tntnet.org/cxxtools.html > > > > > http://www.tntnet.org/index.html > > > > > > > > > > 5. epgsearch-0.9.25.beta16: > > > > > http://winni.vdr-developer.org/epgsearch/index_eng.html > > > > > http://www.linuxtv.org/vdrwiki/index.php/Epgsearch-plugin > > > > > > > > > > 6. femon-1.7.7: > > > > > http://www.saunalahti.fi/~rahrenbe/vdr/femon/ > > > > > http://www.linuxtv.org/vdrwiki/index.php/Femon-plugin > > > > > > > > > > 7. osdpip-0.1.0: > > > > > http://projects.vdr-developer.org/projects/show/plg-osdpip > > > > > http://www.linuxtv.org/vdrwiki/index.php/Osdpip-plugin > > > > > > > > > > 8. osdteletext-0.8.3: > > > > > http://projects.vdr-developer.org/projects/show/plg-osdteletext > > > > > http://www.linuxtv.org/vdrwiki/index.php/Osdteletext-plugin > > > > > > > > > > 9. skinenigmang-0.1.1: > > > > > http://andreas.vdr-developer.org/enigmang/index.html > > > > > http://www.vdr-wiki.de/wiki/index.php/Skinenigmang-plugin > > > > > (sorry for de in the second link but at least there are pics...) > > > > > > > > > > 10. softdevice 0.5.0 cvs snapshot from 20100414: > > > > > http://softdevice.berlios.de/ > > > > > http://www.linuxtv.org/vdrwiki/index.php/Softdevice-plugin > > > > > > > > > > 10. control-0.0.2a-45yavdr1 with ubuntu yavdr patches: > > > > > http://ricomp.de/vdr/down_en.html > > > > > http://www.linuxtv.org/vdrwiki/index.php/Control-plugin > > > > > > > > > > 11. vdradmin_am-3.6.7: > > > > > http://andreas.vdr-developer.org/vdradmin-am/ > > > > > > > > Ok I now found out why xineliboutput didn't want to play h264 at all: > > > > the libxine port builds with an internal copy of ffmpeg by default, > > > > turning on its 'Enable external FFMpeg' knob got it playing. Its still > > > > skipping once in a while, maybe using the new ffmpeg-devel port will > > > > fix that, but looks like that would involve rebuilding several > > > > dependencies at least so I haven't yet tried. > > > > > > > > While testing that, I have also added a small patch to improve the osd > > > > resizing so the osd should look a little better now when the video resolution > > > > changes (multimedia/vdr-plugin-xineliboutput/files/patch-osdautosize), > > > > and I add the keypad return key to the vdr-sxfe remote.conf and changed > > > > FastFwd from f to w because f is already in use for the fullscreen toggle > > > > with vdr-sxfe --hotkeys. > > > > > > Updated version with a new osd autosize patch that handles width < 512 > > > after I found out there are sd channels with width = 480 at least... > > > > New version that takes care of OSTYPE being now defined (which caused > > the FreeBSD host detection in jpulz' patches to fail and the vdr and > > plugin port builds to abort), and that adds a missing www/p5-libwww > > dependency in the vdradmin-am port. > > Good news: with the ffmpeg-devel port and updated ports watching h264 > hd streams via xineliboutput (vdr-sxfe/xine/kaffeine) and xv on > xf86-video-ati-6.13.0 works well now, only enabling deinterlacing with > 1080i still sometimes causes skipping with kaffeine. Another issue I > initially had was vdr-sxfe often used 100% cpu on sd(!) channels, but > turned out that that was just caused by it now defaulting to using > libasound (alsa) that I installed for chrome, passing --audio=oss > to vdr-sxfe fixed that. > > ..and I also updated the shar again, this time its mostly plist/permission > fixes, and reinstalling the vdrdevel port via portmaster/portupgrade was > broken too. And now I also found a `fix' for vdr-sxfe resetting the mixer volume to 45 at start when using software volume control, added that to the shar as multimedia/vdr-plugin-xineliboutput/files/patch-swvol (so you'll need to reinstall the vdr-plugin-xineliboutput port.) Btw I use software volume control in vdr because selecting `hardware' volume control doesn't work so well with snd(4)'s volume-per-channel feature (hint.pcm.X.vpc, which also in fact is software) that I want to keep enabled for other apps... And in case you didn't know about this snd(4) feature you can read more here: http://people.freebsd.org/~ariff/SOUND_4.TXT.html Enjoy, :) Juergen From owner-freebsd-multimedia@FreeBSD.ORG Wed May 19 08:21:16 2010 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1A04106566C for ; Wed, 19 May 2010 08:21:16 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from mail.itac.at (unknown [IPv6:2002:5bc2:5ac8:d:20c:29ff:fe19:7b2]) by mx1.freebsd.org (Postfix) with ESMTP id 74AC28FC0A for ; Wed, 19 May 2010 08:21:16 +0000 (UTC) Received: from [91.205.172.21] (helo=webmail.bluelife.at) by mail.itac.at with esmtpa (Exim 4.63) (envelope-from ) id 1OEeWh-0007uO-7q for multimedia@FreeBSD.org; Wed, 19 May 2010 10:21:15 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Wed, 19 May 2010 10:21:16 +0200 From: Bernhard Froehlich To: Message-ID: <94ad0be988c6c40cb0efd5bf6cde5968@bluelife.at> X-Sender: decke@FreeBSD.org User-Agent: RoundCube Webmail/0.4-beta X-Spam-Score: 0.5 (/) X-Spam-Report: Spam detection software, running on the system "mail.itac.at", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi multimedia@! This is the final call for testers for MythTV 0.23. There have happened a lot of interesting things in the last months so I decided to send out a final call for testers to get some more feedback. Please test it if you have the chance to do so or at least compile it and see if it fails. MythTV has always been a bit problematic when various other ports are installed on the system (ffmpeg, Qt3, ...). [...] Content analysis details: (0.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 1.9 AWL AWL: From: address is in the auto white-list Cc: Subject: CFT: MythTV 0.23 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: Wed, 19 May 2010 08:21:17 -0000 Hi multimedia@! This is the final call for testers for MythTV 0.23. There have happened a lot of interesting things in the last months so I decided to send out a final call for testers to get some more feedback. Please test it if you have the chance to do so or at least compile it and see if it fails. MythTV has always been a bit problematic when various other ports are installed on the system (ffmpeg, Qt3, ...). The most important new feature is that V4L support is now enabled so that you can use mythtv together with multimedia/webcamd which supports a lot of USB DVB-S/S2/T/C hardware. I've successfully tested it with a Pinnacle PCTV Sat Pro USB 450e device and watched DVB-S live tv (see screenshots). There are now also two new ports mythplugin-mythvideo and mythplugin-mythmusic which give you the possibility to use mythtv as a real Media Center also if you don't have a supported DVB card. You can import your movies and music in mythtv and play it from there. They are really useful and I have to thank Andriy Bakay for the preliminary work on this plugins! Changelog for MythTV 0.23: http://www.mythtv.org/wiki/Release_Notes_-_0.23 Changes in the FreeBSD MythTV ports: - Update to 0.23 - V4L support enabled for webcamd (works fine with DVB-S2 USB hardware) - VDPAU enabled - mythweb port renamed to mythplugin-mythweb - New ports: mythplugin-mythmusic, mythplugin-mythvideo [1] Thanks to: Andriy Bakay [1] Screenshots: http://home.bluelife.at/images/mythtv-0.23-DVB-1.jpg http://home.bluelife.at/ports/mythtv/01-mythtv-home.jpg http://home.bluelife.at/ports/mythtv/ FreeBSD ports: http://home.bluelife.at/ports/mythtv-cft-20100519.tar.gz If everything works fine I plan to commit it within the next two weeks. Good luck and have fun with it :o) -- Bernhard Froehlich http://www.bluelife.at/ From owner-freebsd-multimedia@FreeBSD.ORG Wed May 19 11:21:42 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A6F4106566B; Wed, 19 May 2010 11:21:42 +0000 (UTC) (envelope-from scjamorim@bsd.com.br) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id ADA008FC08; Wed, 19 May 2010 11:21:41 +0000 (UTC) Received: by fxm4 with SMTP id 4so889784fxm.13 for ; Wed, 19 May 2010 04:21:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.16.207 with SMTP id p15mr2994181faa.99.1274268100395; Wed, 19 May 2010 04:21:40 -0700 (PDT) Received: by 10.223.105.136 with HTTP; Wed, 19 May 2010 04:21:40 -0700 (PDT) In-Reply-To: <94ad0be988c6c40cb0efd5bf6cde5968@bluelife.at> References: <94ad0be988c6c40cb0efd5bf6cde5968@bluelife.at> Date: Wed, 19 May 2010 08:21:40 -0300 Message-ID: From: =?ISO-8859-1?Q?Sylvio_C=E9sar?= To: Bernhard Froehlich Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: multimedia@freebsd.org Subject: Re: CFT: MythTV 0.23 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: Wed, 19 May 2010 11:21:42 -0000 2010/5/19 Bernhard Froehlich : > Hi multimedia@! > > This is the final call for testers for MythTV 0.23. There have happened a > lot of interesting things in the last months so I decided to send out a > final call for testers to get some more feedback. Please test it if you > have the chance to do so or at least compile it and see if it fails. > MythTV > has always been a bit problematic when various other ports are installed > on > the system (ffmpeg, Qt3, ...). > > The most important new feature is that V4L support is now enabled so that > you can use mythtv together with multimedia/webcamd which supports a lot > of > USB DVB-S/S2/T/C hardware. I've successfully tested it with a Pinnacle > PCTV Sat Pro USB 450e device and watched DVB-S live tv (see screenshots). > > There are now also two new ports mythplugin-mythvideo and > mythplugin-mythmusic which give you the possibility to use mythtv as a > real > Media Center also if you don't have a supported DVB card. You can import > your movies and music in mythtv and play it from there. They are really > useful and I have to thank Andriy Bakay for the preliminary work on this > plugins! > > > Changelog for MythTV 0.23: > http://www.mythtv.org/wiki/Release_Notes_-_0.23 > > > Changes in the FreeBSD MythTV ports: > - Update to 0.23 > - V4L support enabled for webcamd (works fine with DVB-S2 USB hardware) > - VDPAU enabled > - mythweb port renamed to mythplugin-mythweb > - New ports: mythplugin-mythmusic, mythplugin-mythvideo [1] > > Thanks to: Andriy Bakay [1] > > > Screenshots: > http://home.bluelife.at/images/mythtv-0.23-DVB-1.jpg > http://home.bluelife.at/ports/mythtv/01-mythtv-home.jpg > http://home.bluelife.at/ports/mythtv/ > > > FreeBSD ports: > http://home.bluelife.at/ports/mythtv-cft-20100519.tar.gz > > If everything works fine I plan to commit it within the next two weeks. > Good luck and have fun with it :o) > > -- > Bernhard Froehlich > http://www.bluelife.at/ > > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.= org" > Congratulations decke@ --=20 Regards, Sylvio Cesar || FreeBSD Committer || Team multimedia@FreeBSD.= org sylvio@FreeBSD.org || http://people.freebsd.org/~sylvio || http://www.scjamorim.org || http://www.freebsd.org "Tenho posto o Senhor continuamente diante de mim; porque Ele est=E1 =E0 minha m=E3o direita, n=E3o vacilarei. Portanto, alegre est=E1 o meu cora=E7=E3o". (Salmos 16:8) "Os olhos do SENHOR est=E3o sobre os justos, e os seus ouvidos atentos ao seu clamor". (Salmos 34:15) From owner-freebsd-multimedia@FreeBSD.ORG Wed May 19 13:51:18 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0029106566B; Wed, 19 May 2010 13:51:18 +0000 (UTC) (envelope-from mickael.maillot@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2367E8FC18; Wed, 19 May 2010 13:51:17 +0000 (UTC) Received: by wye20 with SMTP id 20so573218wye.13 for ; Wed, 19 May 2010 06:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=poL1qO7uYabWvh6bHcI3rqO0bAoamsCFygf/2NJh7MY=; b=AWyvO6vIlJNadWh3iDDSKLvn8KIqiFkaccb6S38E2DBoGUWMpdPTMxwUv7zY2SyySZ VY7cVwPO4q5+JY5hu0SWHSobMMJsx8owvPaHJagrbX2wv2lA/M7PzP6J4ogPXVQl8ejw bIZtJwsSMsoxjT2sRUjN2/mSESXEP80xEiPLE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=WfEjXXjPfsV532UoRA6lI3Cij2xZLqaB8TMW6zxxCy6qH0pyWsA0rVGAdR0e6/InMz sotdYpovIqYld0j8pvs1rqzcf+CFh2JzNoRPN0BSVeAgNFRJEe20Y5xl62M7Ld3J7Yfx 0S+qtBBWGHU7Cxiluy0b3Hg6zPDraoKgDMoNs= MIME-Version: 1.0 Received: by 10.216.156.147 with SMTP id m19mr5162043wek.162.1274275324542; Wed, 19 May 2010 06:22:04 -0700 (PDT) Received: by 10.216.39.80 with HTTP; Wed, 19 May 2010 06:22:04 -0700 (PDT) In-Reply-To: References: <94ad0be988c6c40cb0efd5bf6cde5968@bluelife.at> Date: Wed, 19 May 2010 15:22:04 +0200 Message-ID: From: =?ISO-8859-1?Q?Micka=EBl_Maillot?= To: =?ISO-8859-1?Q?Sylvio_C=E9sar?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Bernhard Froehlich , multimedia@freebsd.org Subject: Re: CFT: MythTV 0.23 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: Wed, 19 May 2010 13:51:18 -0000 hi, i just have a small install problem with mysql: my mysql server was not enable and the install failed: Added group "mythtv". Added user "mythtv". Cannot 'start' mysql. Set mysql_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'. *** Unable to start mysqld *** Error code 1 Stop in /usr/ports/multimedia/mythtv. *** Error code 1 Stop in /usr/ports/multimedia/mythtv. it's in pkg-install.in, i think you can remove the mysql part beceause of pkg-message.in and makedb do the same thing thx for you works 2010/5/19 Sylvio C=E9sar : > 2010/5/19 Bernhard Froehlich : >> Hi multimedia@! >> >> This is the final call for testers for MythTV 0.23. There have happened = a >> lot of interesting things in the last months so I decided to send out a >> final call for testers to get some more feedback. Please test it if you >> have the chance to do so or at least compile it and see if it fails. >> MythTV >> has always been a bit problematic when various other ports are installed >> on >> the system (ffmpeg, Qt3, ...). >> >> The most important new feature is that V4L support is now enabled so tha= t >> you can use mythtv together with multimedia/webcamd which supports a lot >> of >> USB DVB-S/S2/T/C hardware. I've successfully tested it with a Pinnacle >> PCTV Sat Pro USB 450e device and watched DVB-S live tv (see screenshots)= . >> >> There are now also two new ports mythplugin-mythvideo and >> mythplugin-mythmusic which give you the possibility to use mythtv as a >> real >> Media Center also if you don't have a supported DVB card. You can import >> your movies and music in mythtv and play it from there. They are really >> useful and I have to thank Andriy Bakay for the preliminary work on this >> plugins! >> >> >> Changelog for MythTV 0.23: >> http://www.mythtv.org/wiki/Release_Notes_-_0.23 >> >> >> Changes in the FreeBSD MythTV ports: >> - Update to 0.23 >> - V4L support enabled for webcamd (works fine with DVB-S2 USB hardware) >> - VDPAU enabled >> - mythweb port renamed to mythplugin-mythweb >> - New ports: mythplugin-mythmusic, mythplugin-mythvideo [1] >> >> Thanks to: Andriy Bakay [1] >> >> >> Screenshots: >> http://home.bluelife.at/images/mythtv-0.23-DVB-1.jpg >> http://home.bluelife.at/ports/mythtv/01-mythtv-home.jpg >> http://home.bluelife.at/ports/mythtv/ >> >> >> FreeBSD ports: >> http://home.bluelife.at/ports/mythtv-cft-20100519.tar.gz >> >> If everything works fine I plan to commit it within the next two weeks. >> Good luck and have fun with it :o) >> >> -- >> Bernhard Froehlich >> http://www.bluelife.at/ >> >> _______________________________________________ >> freebsd-multimedia@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia >> To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd= .org" >> > > Congratulations decke@ > > > -- > Regards, > > Sylvio Cesar =A0 =A0 =A0 =A0 =A0 =A0 =A0 || FreeBSD Committer || Team mul= timedia@FreeBSD.org > sylvio@FreeBSD.org =A0|| http://people.freebsd.org/~sylvio || > http://www.scjamorim.org || http://www.freebsd.org > > "Tenho posto o Senhor continuamente diante de mim; porque Ele est=E1 =E0 > minha m=E3o direita, n=E3o vacilarei. Portanto, alegre est=E1 o meu > cora=E7=E3o". (Salmos 16:8) > > "Os olhos do SENHOR est=E3o sobre os justos, e os seus ouvidos atentos > ao seu clamor". (Salmos 34:15) > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.= org" > From owner-freebsd-multimedia@FreeBSD.ORG Wed May 19 15:19:00 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C8FF106566C for ; Wed, 19 May 2010 15:19:00 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from mail.itac.at (unknown [IPv6:2002:5bc2:5ac8:d:20c:29ff:fe19:7b2]) by mx1.freebsd.org (Postfix) with ESMTP id 929F88FC16 for ; Wed, 19 May 2010 15:18:59 +0000 (UTC) Received: from [91.205.172.21] (helo=webmail.bluelife.at) by mail.itac.at with esmtpa (Exim 4.63) (envelope-from ) id 1OEl2w-0001xJ-EX; Wed, 19 May 2010 17:18:58 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Wed, 19 May 2010 17:18:59 +0200 From: Bernhard Froehlich To: =?UTF-8?Q?Micka=C3=ABl_Maillot?= In-Reply-To: References: <94ad0be988c6c40cb0efd5bf6cde5968@bluelife.at> Message-ID: <264755987672f1d5e36eca99c3ba7f7b@bluelife.at> X-Sender: decke@FreeBSD.org User-Agent: RoundCube Webmail/0.4-beta X-Spam-Score: 0.4 (/) X-Spam-Report: Spam detection software, running on the system "mail.itac.at", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, 19 May 2010 15:22:04 +0200, Mickaël Maillot wrote: > hi, > > i just have a small install problem with mysql: > my mysql server was not enable and the install failed: > > Added group "mythtv". > Added user "mythtv". > Cannot 'start' mysql. Set mysql_enable to YES in /etc/rc.conf or use > 'onestart' instead of 'start'. > *** Unable to start mysqld > *** Error code 1 > > Stop in /usr/ports/multimedia/mythtv. > *** Error code 1 > > Stop in /usr/ports/multimedia/mythtv. > > > it's in pkg-install.in, i think you can remove the mysql part beceause > of pkg-message.in and makedb do the same thing [...] Content analysis details: (0.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 1.9 AWL AWL: From: address is in the auto white-list Cc: multimedia@freebsd.org Subject: Re: CFT: MythTV 0.23 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: Wed, 19 May 2010 15:19:00 -0000 On Wed, 19 May 2010 15:22:04 +0200, Mickaël Maillot wrote: > hi, > > i just have a small install problem with mysql: > my mysql server was not enable and the install failed: > > Added group "mythtv". > Added user "mythtv". > Cannot 'start' mysql. Set mysql_enable to YES in /etc/rc.conf or use > 'onestart' instead of 'start'. > *** Unable to start mysqld > *** Error code 1 > > Stop in /usr/ports/multimedia/mythtv. > *** Error code 1 > > Stop in /usr/ports/multimedia/mythtv. > > > it's in pkg-install.in, i think you can remove the mysql part beceause > of pkg-message.in and makedb do the same thing That was just left as it always was but I also find it annoying sometimes. The description in pkg-message is okay and should be enough to guide a user what he has to do manually. So we can safely remove the database creation from post-install and makedb. I also want to see if I can use the groups framework to create the MythTV user an group so that i can also remove the other post-install and post-deinstall code. > 2010/5/19 Sylvio César : >> 2010/5/19 Bernhard Froehlich : >>> Hi multimedia@! >>> >>> This is the final call for testers for MythTV 0.23. There have happened >>> a >>> lot of interesting things in the last months so I decided to send out a >>> final call for testers to get some more feedback. Please test it if you >>> have the chance to do so or at least compile it and see if it fails. >>> MythTV >>> has always been a bit problematic when various other ports are installed >>> on >>> the system (ffmpeg, Qt3, ...). >>> >>> The most important new feature is that V4L support is now enabled so >>> that >>> you can use mythtv together with multimedia/webcamd which supports a lot >>> of >>> USB DVB-S/S2/T/C hardware. I've successfully tested it with a Pinnacle >>> PCTV Sat Pro USB 450e device and watched DVB-S live tv (see >>> screenshots). >>> >>> There are now also two new ports mythplugin-mythvideo and >>> mythplugin-mythmusic which give you the possibility to use mythtv as a >>> real >>> Media Center also if you don't have a supported DVB card. You can import >>> your movies and music in mythtv and play it from there. They are really >>> useful and I have to thank Andriy Bakay for the preliminary work on this >>> plugins! >>> >>> >>> Changelog for MythTV 0.23: >>> http://www.mythtv.org/wiki/Release_Notes_-_0.23 >>> >>> >>> Changes in the FreeBSD MythTV ports: >>> - Update to 0.23 >>> - V4L support enabled for webcamd (works fine with DVB-S2 USB hardware) >>> - VDPAU enabled >>> - mythweb port renamed to mythplugin-mythweb >>> - New ports: mythplugin-mythmusic, mythplugin-mythvideo [1] >>> >>> Thanks to: Andriy Bakay [1] >>> >>> >>> Screenshots: >>> http://home.bluelife.at/images/mythtv-0.23-DVB-1.jpg >>> http://home.bluelife.at/ports/mythtv/01-mythtv-home.jpg >>> http://home.bluelife.at/ports/mythtv/ >>> >>> >>> FreeBSD ports: >>> http://home.bluelife.at/ports/mythtv-cft-20100519.tar.gz >>> >>> If everything works fine I plan to commit it within the next two weeks. >>> Good luck and have fun with it :o) >>> >>> -- >>> Bernhard Froehlich >>> http://www.bluelife.at/ >>> >>> _______________________________________________ >>> freebsd-multimedia@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia >>> To unsubscribe, send any mail to >>> "freebsd-multimedia-unsubscribe@freebsd.org" >>> >> >> Congratulations decke@ >> >> >> -- >> Regards, >> >> Sylvio Cesar               || FreeBSD Committer || Team >> multimedia@FreeBSD.org >> sylvio@FreeBSD.org  || http://people.freebsd.org/~sylvio || >> http://www.scjamorim.org || http://www.freebsd.org >> >> "Tenho posto o Senhor continuamente diante de mim; porque Ele está à >> minha mão direita, não vacilarei. Portanto, alegre está o meu >> coração". (Salmos 16:8) >> >> "Os olhos do SENHOR estão sobre os justos, e os seus ouvidos atentos >> ao seu clamor". (Salmos 34:15) >> _______________________________________________ >> freebsd-multimedia@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia >> To unsubscribe, send any mail to >> "freebsd-multimedia-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to > "freebsd-multimedia-unsubscribe@freebsd.org" From owner-freebsd-multimedia@FreeBSD.ORG Wed May 19 22:37:32 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6DCD1065679; Wed, 19 May 2010 22:37:32 +0000 (UTC) (envelope-from mickael.maillot@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3BFE58FC20; Wed, 19 May 2010 22:37:31 +0000 (UTC) Received: by wye20 with SMTP id 20so1096828wye.13 for ; Wed, 19 May 2010 15:37:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LO2BHazqJw9/LGClRSVIBDyBR6Vz6bdYpPhHhjd1SZU=; b=ANOuyfNyrhcHsGeh4JroISSpw/JnWu7POtPHEj4Fzbk1tc4dz9bez4x2sobL2PBVbE WO49owbZVnbg4BAs4zpN79IMSwx4hLFc94mqiNkH0r+/4bIT2A3JmuphIm7Kb5HmpSjD zhbzuMbAcCT87ebQXwt4oSirLrAFA3q+XrpTk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=KoFBLV+ckIwVBt8NOu+3qhjv+8oT7wrLb0X5AtQuVMS/mWMY0AgEzjRpUHghP335SZ Qt9LuF45wYt7o+EzYqduRxkfx2jsVuF3OChHkfhIWUwaXoCMl8JrI3SetUnrRBmVdKGc WCSPvMf4yuWv1he6rEkqmk8SmyYVu2wEQHyIE= MIME-Version: 1.0 Received: by 10.216.154.69 with SMTP id g47mr217981wek.82.1274308650168; Wed, 19 May 2010 15:37:30 -0700 (PDT) Received: by 10.216.39.80 with HTTP; Wed, 19 May 2010 15:37:30 -0700 (PDT) In-Reply-To: <264755987672f1d5e36eca99c3ba7f7b@bluelife.at> References: <94ad0be988c6c40cb0efd5bf6cde5968@bluelife.at> <264755987672f1d5e36eca99c3ba7f7b@bluelife.at> Date: Thu, 20 May 2010 00:37:30 +0200 Message-ID: From: =?ISO-8859-1?Q?Micka=EBl_Maillot?= To: Bernhard Froehlich Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: multimedia@freebsd.org Subject: Re: CFT: MythTV 0.23 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: Wed, 19 May 2010 22:37:32 -0000 for multimedia/mythplugin-mythvideo the default script to find video metadata is scripts/Movie/tmdb.py who depends on databases/py-MySQLdb 2010/5/19 Bernhard Froehlich : > On Wed, 19 May 2010 15:22:04 +0200, Micka=EBl Maillot > wrote: >> hi, >> >> i just have a small install problem with mysql: >> my mysql server was not enable and the install failed: >> >> Added group "mythtv". >> Added user "mythtv". >> Cannot 'start' mysql. Set mysql_enable to YES in /etc/rc.conf or use >> 'onestart' instead of 'start'. >> *** Unable to start mysqld >> *** Error code 1 >> >> Stop in /usr/ports/multimedia/mythtv. >> *** Error code 1 >> >> Stop in /usr/ports/multimedia/mythtv. >> >> >> it's in pkg-install.in, i think you can remove the mysql part beceause >> of pkg-message.in and makedb do the same thing > > That was just left as it always was but I also find it annoying sometimes= . > The description in pkg-message is okay and should be enough to guide a us= er > what he has to do manually. So we can safely remove the database creation > from post-install and makedb. > > I also want to see if I can use the groups framework to create the MythTV > user an group so that i can also remove the other post-install and > post-deinstall code. > > > >> 2010/5/19 Sylvio C=E9sar : >>> 2010/5/19 Bernhard Froehlich : >>>> Hi multimedia@! >>>> >>>> This is the final call for testers for MythTV 0.23. There have > happened >>>> a >>>> lot of interesting things in the last months so I decided to send out > a >>>> final call for testers to get some more feedback. Please test it if > you >>>> have the chance to do so or at least compile it and see if it fails. >>>> MythTV >>>> has always been a bit problematic when various other ports are > installed >>>> on >>>> the system (ffmpeg, Qt3, ...). >>>> >>>> The most important new feature is that V4L support is now enabled so >>>> that >>>> you can use mythtv together with multimedia/webcamd which supports a > lot >>>> of >>>> USB DVB-S/S2/T/C hardware. I've successfully tested it with a Pinnacle >>>> PCTV Sat Pro USB 450e device and watched DVB-S live tv (see >>>> screenshots). >>>> >>>> There are now also two new ports mythplugin-mythvideo and >>>> mythplugin-mythmusic which give you the possibility to use mythtv as a >>>> real >>>> Media Center also if you don't have a supported DVB card. You can > import >>>> your movies and music in mythtv and play it from there. They are > really >>>> useful and I have to thank Andriy Bakay for the preliminary work on > this >>>> plugins! >>>> >>>> >>>> Changelog for MythTV 0.23: >>>> http://www.mythtv.org/wiki/Release_Notes_-_0.23 >>>> >>>> >>>> Changes in the FreeBSD MythTV ports: >>>> - Update to 0.23 >>>> - V4L support enabled for webcamd (works fine with DVB-S2 USB > hardware) >>>> - VDPAU enabled >>>> - mythweb port renamed to mythplugin-mythweb >>>> - New ports: mythplugin-mythmusic, mythplugin-mythvideo [1] >>>> >>>> Thanks to: Andriy Bakay [1] >>>> >>>> >>>> Screenshots: >>>> http://home.bluelife.at/images/mythtv-0.23-DVB-1.jpg >>>> http://home.bluelife.at/ports/mythtv/01-mythtv-home.jpg >>>> http://home.bluelife.at/ports/mythtv/ >>>> >>>> >>>> FreeBSD ports: >>>> http://home.bluelife.at/ports/mythtv-cft-20100519.tar.gz >>>> >>>> If everything works fine I plan to commit it within the next two > weeks. >>>> Good luck and have fun with it :o) >>>> >>>> -- >>>> Bernhard Froehlich >>>> http://www.bluelife.at/ >>>> >>>> _______________________________________________ >>>> freebsd-multimedia@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia >>>> To unsubscribe, send any mail to >>>> "freebsd-multimedia-unsubscribe@freebsd.org" >>>> >>> >>> Congratulations decke@ >>> >>> >>> -- >>> Regards, >>> >>> Sylvio Cesar =A0 =A0 =A0 =A0 =A0 =A0 =A0 || FreeBSD Committer || Team >>> multimedia@FreeBSD.org >>> sylvio@FreeBSD.org =A0|| http://people.freebsd.org/~sylvio || >>> http://www.scjamorim.org || http://www.freebsd.org >>> >>> "Tenho posto o Senhor continuamente diante de mim; porque Ele est=E1 = =E0 >>> minha m=E3o direita, n=E3o vacilarei. Portanto, alegre est=E1 o meu >>> cora=E7=E3o". (Salmos 16:8) >>> >>> "Os olhos do SENHOR est=E3o sobre os justos, e os seus ouvidos atentos >>> ao seu clamor". (Salmos 34:15) >>> _______________________________________________ >>> freebsd-multimedia@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia >>> To unsubscribe, send any mail to >>> "freebsd-multimedia-unsubscribe@freebsd.org" >>> >> _______________________________________________ >> freebsd-multimedia@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia >> To unsubscribe, send any mail to >> "freebsd-multimedia-unsubscribe@freebsd.org" > From owner-freebsd-multimedia@FreeBSD.ORG Thu May 20 15:44:15 2010 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BE391065676; Thu, 20 May 2010 15:44:15 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D79AD8FC12; Thu, 20 May 2010 15:44:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4KFiEJP068346; Thu, 20 May 2010 15:44:14 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4KFiEZT068342; Thu, 20 May 2010 15:44:14 GMT (envelope-from linimon) Date: Thu, 20 May 2010 15:44:14 GMT Message-Id: <201005201544.o4KFiEZT068342@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/146758: [sound] [patch] fix volume control in spicds 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: Thu, 20 May 2010 15:44:15 -0000 Synopsis: [sound] [patch] fix volume control in spicds Responsible-Changed-From-To: freebsd-bugs->freebsd-multimedia Responsible-Changed-By: linimon Responsible-Changed-When: Thu May 20 15:44:02 UTC 2010 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=146758 From owner-freebsd-multimedia@FreeBSD.ORG Thu May 20 18:02:06 2010 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 BC3CC1065672 for ; Thu, 20 May 2010 18:02:06 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 33AB08FC18 for ; Thu, 20 May 2010 18:02:05 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id C20EA1E00213; Thu, 20 May 2010 20:02:04 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.3/8.14.3) with ESMTP id o4KHxrDN090818; Thu, 20 May 2010 19:59:53 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.3/8.14.3/Submit) id o4KHxrB9090817; Thu, 20 May 2010 19:59:53 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Thu, 20 May 2010 19:59:52 +0200 To: Juergen Lock Message-ID: <20100520175952.GA90477@triton8.kn-bremen.de> References: <20100502190207.GA96276@triton8.kn-bremen.de> <20100504203248.GA8212@triton8.kn-bremen.de> <20100506201305.GA23951@triton8.kn-bremen.de> <20100514171150.GA51257@triton8.kn-bremen.de> <20100516224525.GA48612@triton8.kn-bremen.de> <20100518190247.GA95111@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100518190247.GA95111@triton8.kn-bremen.de> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-multimedia@FreeBSD.org Subject: Re: for those that want to try vdr on FreeBSD... (dvb with webcamd) 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: Thu, 20 May 2010 18:02:06 -0000 On Tue, May 18, 2010 at 09:02:47PM +0200, Juergen Lock wrote: > On Mon, May 17, 2010 at 12:45:25AM +0200, Juergen Lock wrote: > > On Fri, May 14, 2010 at 07:11:50PM +0200, Juergen Lock wrote: > > > On Thu, May 06, 2010 at 10:13:06PM +0200, Juergen Lock wrote: > > > > On Tue, May 04, 2010 at 10:32:48PM +0200, Juergen Lock wrote: > > > > > On Sun, May 02, 2010 at 09:02:07PM +0200, Juergen Lock wrote: > > > > > > Hi! > > > > > > > > > > > > I took jpulz' vdr 1.7.14 patches: (hi, you never seem to be on irc > > > > > > when I am... :) > > > > > > > > > > > > ftp://ftp.frm2.tum.de/pub/jpulz/VDR/ > > > > > > ftp://ftp.frm2.tum.de/pub/jpulz/pictures/ > > > > > > > > > > > > and made q&d ports of those and of a few more plugins and two webinterfaces > > > > > > so I can now use FreeBSD as a pc dvb-s2 dvr: > > > > > > > > > > > > http://people.freebsd.org/~nox/dvb/vdrdevel-preliminary.shar > > > > > > > > > > > > I don't know if/when I'll be able finish these to make them commit-ready > > > > > > (or even port all of the other plugins that people might want to use), > > > > > > if anyone wants to take over from here or at least help they are most > > > > > > welcome... > > > > > > > > > > > > Note: vdr 1.7.14 is the development branch so expect bugs! (I mostly > > > > > > used it because the stable branch (1.6) doesn't support dvb-s2...) > > > > > > > > > > > > FreeBSD notes: > > > > > > > > > > > > 0. See my earlier threads on the freebsd-multimedia list about webcamd > > > > > > and the usb dvb-s2 tuner I use; the relevant webcamd ports and > > > > > > frieds have been updated now so you _should_ be able to just use > > > > > > those. (I see no reason why dvb-t or dvb-c tuners wouldn't work > > > > > > also as long as webcamd supports them, I just haven't tested any.) > > > > > > > > > > > > 1. Before you start installing these ports add the vdr user and group > > > > > > to /usr/ports/UIDs: > > > > > > > > > > > > vdr:*:988:988::0:0:vdr user:/nonexistent:/usr/sbin/nologin > > > > > > > > > > > > and to /usr/ports/GIDs: > > > > > > > > > > > > vdr:*:988: > > > > > > > > > > > > (you don't have to use 988, I just didn't want the id to conflict with > > > > > > new ports being committed too quickly...), and then either mount an extra > > > > > > fs with enough space for the recordings on /video or create a video dir > > > > > > elsewhere where there is space, symlink it to /video and make it > > > > > > writable for vdr. (or if you do have one big / then you can create > > > > > > the dir on there too ofc, I just disabled the mkdir in the port to > > > > > > avoid inadvertently filling up ppl's small / fs.) > > > > > > > > > > > > 2. I didn't make rc.d scripts yet so for now you need to start vdr as > > > > > > well as the vdradmin-am webinterface manually, look in the README.s > > > > > > of the individual (plugins, vdradmin-am) ports for any needed options. > > > > > > My current vdr startup line is: > > > > > > > > > > > > vdr -P"xineliboutput --local=none --remote=127.1:37890" -Pskinenigmang -Pfemon -Posdpip '-Posdteletext --directory=/usr/tmp --cache-system=packed --max-cache=128' -P"streamdev-server" -P"live -i127.1" -Pepgsearch -Pcontrol > > > > > > > > > > > > Oh and I skipped install of a lot of locales for now too... > > > > > > > > > > > > 3. Of all the video output methods only xineliboutput and streamdev > > > > > > seem to work (and the vdr-live webinterface browser streaming which > > > > > > also uses streamdev), jpulz also has patches for softdevice so I made > > > > > > a port for that too but it only gave me a black screen... streamdev > > > > > > doesn't have an osd so you probably want xineliboutput at least for > > > > > > the first setup. > > > > > > > > > > > > I was unable to test xineliboutput's vdpau support since I no longer > > > > > > have nvidia (and miwi's issues with the nvidia blob on amd64 don't > > > > > > exactly encourage me to try it again soon...) - on the radeon here > > > > > > using xorg 7.4's video-ati driver with xv xineliboutput via vdr-sxfe, > > > > > > > > > > > > vdr-sxfe --video=xv --hotkeys xvdr://127.0.0.1:37890 > > > > > > > > > > > > (vdr-sxfe gets installed by the xineliboutput plugin port) as well as any > > > > > > other player that knew the xvdr protocol (xineliboutput with osd) were > > > > > > unable to play h264 hd channels (I suspect they use too much cpu; I tried > > > > > > xine and both the kde3 and kde4 versions of kaffeine, > > > > > > > > > > > > xine "xvdr://127.0.0.1#nocache" > > > > > > kaffeine "xvdr+tcp://127.1:37890" > > > > > > /usr/local/kde4/bin/kaffeine "xvdr+tcp://127.1:37890" > > > > > > > > > > > > ), only mplayer and (sometimes) totem/gstreamer (incluing the totem > > > > > > browser plugin invoked by the vdr-live webinterface) apparently were > > > > > > efficient enough to decode h264 on this PhenomII cpu in software: > > > > > > > > > > > > mplayer -mc 10 -cache 8192 -demuxer lavf http://127.0.0.1:37890/ > > > > > > totem http://127.0.0.1:37890/ > > > > > > > > > > > > (or using streamdev: > > > > > > > > > > > > mplayer -mc 10 -cache 8192 -demuxer lavf http://127.0.0.1:3000/302 > > > > > > totem http://127.0.0.1:3000/302 > > > > > > > > > > > > - channel 302 is arte hd in my channels.conf.) > > > > > > > > > > > > 4. I have no idea if the lirc support works on FreeBSD (and webcamd doesn't > > > > > > seem to support dvb tuner remotes yet anyway), so you probably will > > > > > > have to use keyboard control for now. I have included an example > > > > > > remote.conf for vdr-sxfe and the multimedia/vdr-plugin-control plugin > > > > > > that you can access by telnet (default port is 2002), I have put the > > > > > > menu button on the tab and insert keys and OK on the return key, see > > > > > > > > > > > > /usr/local/etc/vdr/remote.conf > > > > > > > > > > > > for the full keybindings list. (If you start vdr in the foreground > > > > > > and keep that shell open you should be able to use that for keyboard > > > > > > control also, the control plugin just gives me an osd too for when I > > > > > > use mplayer...) > > > > > > > > > > > > Oh and the webinterfaces have point-and-click remotes too but I prefer > > > > > > keyboard control. > > > > > > > > > > > > 5. The example channels.conf is the one that comes with the vdr sources, > > > > > > its for Astra 19.2E and a little outdated (also doesn't have hd channels > > > > > > yet), if you receive something else and don't want to go hunting for a > > > > > > suitable channels.conf on the web you can use w_scan for which I put a > > > > > > port here earlier: > > > > > > > > > > > > http://people.freebsd.org/~nox/dvb/w_scan.shar > > > > > > > > > > > > Remember to use -o7 for vdr 1.7, see the w_scan homepage for options > > > > > > and examples: > > > > > > > > > > > > http://wirbel.htpc-forum.de/w_scan/index_en.html > > > > > > > > > > > > Also note you probably will only need to use w_scan once initially, > > > > > > this vdr version by default should look for new transponders itself > > > > > > when it does its epg scan during idle times unles you disable that > > > > > > feature. > > > > > > > > > > > > 5. I ported two webinterfaces because I only learned about vdr-live > > > > > > later which seems to be faster and uses fewer resources meaning you > > > > > > could probably turn a pretty wimpy box into a vdr server as long as > > > > > > you keep the actual watching (especially of h264 hd) to a faster box > > > > > > connected over the network. The vdr-plugin-live webinterface by > > > > > > default listens on port 8008: > > > > > > > > > > > > http://127.1:8008/ > > > > > > > > > > > > and vdradmin_am listens on 8001: > > > > > > > > > > > > http://127.1:8001/ > > > > > > > > > > > > And the streamdev plugin has a (simple) webinterface too if you point > > > > > > a browser at it: (instead of a player) > > > > > > > > > > > > http://127.1:3000/ > > > > > > > > > > > > 6. I may have forgot some other manual installation steps, if you > > > > > > notice something just post a followup... Most of vdr's own > > > > > > configuration including plugins should be available in the osd > > > > > > under `Setup'. > > > > > > > > > > > > And finally, here are some links about vdr and the plugins and > > > > > > webinterfaces I made ports for: > > > > > > > > > > > > 0. vdr 1.7.14: > > > > > > http://www.tvdr.de/ > > > > > > http://www.linuxtv.org/vdrwiki/index.php/Main_Page > > > > > > > > > > > > 1. xineliboutput-1.0.5 cvs snapshot from 20100414: > > > > > > http://sourceforge.net/projects/xineliboutput/ > > > > > > http://www.linuxtv.org/vdrwiki/index.php/Xineliboutput-plugin > > > > > > > > > > > > 2. streamdev-0.5.0 cvs snapshot from 20100426: > > > > > > http://streamdev.vdr-developer.org/ > > > > > > http://www.linuxtv.org/vdrwiki/index.php/Streamdev-plugin > > > > > > > > > > > > 3. live-0.2.0: > > > > > > http://live.vdr-developer.org/ > > > > > > > > > > > > 4. live also depends on cxxtools and tntnet which I also had to port: > > > > > > http://www.tntnet.org/cxxtools.html > > > > > > http://www.tntnet.org/index.html > > > > > > > > > > > > 5. epgsearch-0.9.25.beta16: > > > > > > http://winni.vdr-developer.org/epgsearch/index_eng.html > > > > > > http://www.linuxtv.org/vdrwiki/index.php/Epgsearch-plugin > > > > > > > > > > > > 6. femon-1.7.7: > > > > > > http://www.saunalahti.fi/~rahrenbe/vdr/femon/ > > > > > > http://www.linuxtv.org/vdrwiki/index.php/Femon-plugin > > > > > > > > > > > > 7. osdpip-0.1.0: > > > > > > http://projects.vdr-developer.org/projects/show/plg-osdpip > > > > > > http://www.linuxtv.org/vdrwiki/index.php/Osdpip-plugin > > > > > > > > > > > > 8. osdteletext-0.8.3: > > > > > > http://projects.vdr-developer.org/projects/show/plg-osdteletext > > > > > > http://www.linuxtv.org/vdrwiki/index.php/Osdteletext-plugin > > > > > > > > > > > > 9. skinenigmang-0.1.1: > > > > > > http://andreas.vdr-developer.org/enigmang/index.html > > > > > > http://www.vdr-wiki.de/wiki/index.php/Skinenigmang-plugin > > > > > > (sorry for de in the second link but at least there are pics...) > > > > > > > > > > > > 10. softdevice 0.5.0 cvs snapshot from 20100414: > > > > > > http://softdevice.berlios.de/ > > > > > > http://www.linuxtv.org/vdrwiki/index.php/Softdevice-plugin > > > > > > > > > > > > 10. control-0.0.2a-45yavdr1 with ubuntu yavdr patches: > > > > > > http://ricomp.de/vdr/down_en.html > > > > > > http://www.linuxtv.org/vdrwiki/index.php/Control-plugin > > > > > > > > > > > > 11. vdradmin_am-3.6.7: > > > > > > http://andreas.vdr-developer.org/vdradmin-am/ > > > > > > > > > > Ok I now found out why xineliboutput didn't want to play h264 at all: > > > > > the libxine port builds with an internal copy of ffmpeg by default, > > > > > turning on its 'Enable external FFMpeg' knob got it playing. Its still > > > > > skipping once in a while, maybe using the new ffmpeg-devel port will > > > > > fix that, but looks like that would involve rebuilding several > > > > > dependencies at least so I haven't yet tried. > > > > > > > > > > While testing that, I have also added a small patch to improve the osd > > > > > resizing so the osd should look a little better now when the video resolution > > > > > changes (multimedia/vdr-plugin-xineliboutput/files/patch-osdautosize), > > > > > and I add the keypad return key to the vdr-sxfe remote.conf and changed > > > > > FastFwd from f to w because f is already in use for the fullscreen toggle > > > > > with vdr-sxfe --hotkeys. > > > > > > > > Updated version with a new osd autosize patch that handles width < 512 > > > > after I found out there are sd channels with width = 480 at least... > > > > > > New version that takes care of OSTYPE being now defined (which caused > > > the FreeBSD host detection in jpulz' patches to fail and the vdr and > > > plugin port builds to abort), and that adds a missing www/p5-libwww > > > dependency in the vdradmin-am port. > > > > Good news: with the ffmpeg-devel port and updated ports watching h264 > > hd streams via xineliboutput (vdr-sxfe/xine/kaffeine) and xv on > > xf86-video-ati-6.13.0 works well now, only enabling deinterlacing with > > 1080i still sometimes causes skipping with kaffeine. Another issue I > > initially had was vdr-sxfe often used 100% cpu on sd(!) channels, but > > turned out that that was just caused by it now defaulting to using > > libasound (alsa) that I installed for chrome, passing --audio=oss > > to vdr-sxfe fixed that. > > > > ..and I also updated the shar again, this time its mostly plist/permission > > fixes, and reinstalling the vdrdevel port via portmaster/portupgrade was > > broken too. > > And now I also found a `fix' for vdr-sxfe resetting the mixer volume to > 45 at start when using software volume control, added that to the shar > as multimedia/vdr-plugin-xineliboutput/files/patch-swvol (so you'll need > to reinstall the vdr-plugin-xineliboutput port.) > > Btw I use software volume control in vdr because selecting > `hardware' volume control doesn't work so well with snd(4)'s > volume-per-channel feature (hint.pcm.X.vpc, which also in fact is > software) that I want to keep enabled for other apps... And in > case you didn't know about this snd(4) feature you can read more here: > > http://people.freebsd.org/~ariff/SOUND_4.TXT.html That patch has been committed upstream now, so I took the opportunity to update the vdr-plugin-xineliboutput port to latest cvs; and I also made the previous osd size patch (follow native stream resolution) a seperate option in the xineliboutput osd config (multimedia/vdr-plugin-xineliboutput/files/patch-osdstreamsize), so `auto' is now back to what it did previously. And you can get the new distfile from here while the mirrors have not updated yet: http://people.freebsd.org/~nox/tmp/distfiles/vdr-xineliboutput-1.0.5s20100520.tar.bz2 Enjoy, :) Juergen From owner-freebsd-multimedia@FreeBSD.ORG Thu May 20 18:35:33 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 864BE106566B for ; Thu, 20 May 2010 18:35:33 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from mail.itac.at (unknown [IPv6:2002:5bc2:5ac8:d:20c:29ff:fe19:7b2]) by mx1.freebsd.org (Postfix) with ESMTP id BBE758FC18 for ; Thu, 20 May 2010 18:35:32 +0000 (UTC) Received: from [91.205.172.21] (helo=webmail.bluelife.at) by mail.itac.at with esmtpa (Exim 4.63) (envelope-from ) id 1OFAah-0001IG-23; Thu, 20 May 2010 20:35:31 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Thu, 20 May 2010 20:35:31 +0200 From: Bernhard Froehlich To: =?UTF-8?Q?Micka=C3=ABl_Maillot?= In-Reply-To: References: <94ad0be988c6c40cb0efd5bf6cde5968@bluelife.at> <264755987672f1d5e36eca99c3ba7f7b@bluelife.at> Message-ID: <754e3a99732a8c54d4420c3fcb377999@bluelife.at> X-Sender: decke@FreeBSD.org User-Agent: RoundCube Webmail/0.4-beta X-Spam-Score: 0.3 (/) X-Spam-Report: Spam detection software, running on the system "mail.itac.at", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Thu, 20 May 2010 00:37:30 +0200, Mickaël Maillot wrote: > for multimedia/mythplugin-mythvideo > the default script to find video metadata is scripts/Movie/tmdb.py > who depends on databases/py-MySQLdb [...] Content analysis details: (0.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 1.8 AWL AWL: From: address is in the auto white-list Cc: multimedia@freebsd.org Subject: Re: CFT: MythTV 0.23 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: Thu, 20 May 2010 18:35:33 -0000 On Thu, 20 May 2010 00:37:30 +0200, Mickaël Maillot wrote: > for multimedia/mythplugin-mythvideo > the default script to find video metadata is scripts/Movie/tmdb.py > who depends on databases/py-MySQLdb Thanks. I've added the dependency and also did the things we discussed yesterday. So the automatic installation of the database is removed and i've also replaced all the user/group creation code with the USERS/GROUPS framework plus a bit cleanup and a few fixed portlint warnings. http://home.bluelife.at/ports/mythtv-cft-20100520.tar.gz Changes are here: http://svn.bluelife.at/index.cgi/blueports/log/multimedia > 2010/5/19 Bernhard Froehlich : >> On Wed, 19 May 2010 15:22:04 +0200, Mickaël Maillot >> wrote: >>> hi, >>> >>> i just have a small install problem with mysql: >>> my mysql server was not enable and the install failed: >>> >>> Added group "mythtv". >>> Added user "mythtv". >>> Cannot 'start' mysql. Set mysql_enable to YES in /etc/rc.conf or use >>> 'onestart' instead of 'start'. >>> *** Unable to start mysqld >>> *** Error code 1 >>> >>> Stop in /usr/ports/multimedia/mythtv. >>> *** Error code 1 >>> >>> Stop in /usr/ports/multimedia/mythtv. >>> >>> >>> it's in pkg-install.in, i think you can remove the mysql part beceause >>> of pkg-message.in and makedb do the same thing >> >> That was just left as it always was but I also find it annoying >> sometimes. >> The description in pkg-message is okay and should be enough to guide a >> user >> what he has to do manually. So we can safely remove the database creation >> from post-install and makedb. >> >> I also want to see if I can use the groups framework to create the MythTV >> user an group so that i can also remove the other post-install and >> post-deinstall code. >> >> >> >>> 2010/5/19 Sylvio César : >>>> 2010/5/19 Bernhard Froehlich : >>>>> Hi multimedia@! >>>>> >>>>> This is the final call for testers for MythTV 0.23. There have >> happened >>>>> a >>>>> lot of interesting things in the last months so I decided to send out >> a >>>>> final call for testers to get some more feedback. Please test it if >> you >>>>> have the chance to do so or at least compile it and see if it fails. >>>>> MythTV >>>>> has always been a bit problematic when various other ports are >> installed >>>>> on >>>>> the system (ffmpeg, Qt3, ...). >>>>> >>>>> The most important new feature is that V4L support is now enabled so >>>>> that >>>>> you can use mythtv together with multimedia/webcamd which supports a >> lot >>>>> of >>>>> USB DVB-S/S2/T/C hardware. I've successfully tested it with a Pinnacle >>>>> PCTV Sat Pro USB 450e device and watched DVB-S live tv (see >>>>> screenshots). >>>>> >>>>> There are now also two new ports mythplugin-mythvideo and >>>>> mythplugin-mythmusic which give you the possibility to use mythtv as a >>>>> real >>>>> Media Center also if you don't have a supported DVB card. You can >> import >>>>> your movies and music in mythtv and play it from there. They are >> really >>>>> useful and I have to thank Andriy Bakay for the preliminary work on >> this >>>>> plugins! >>>>> >>>>> >>>>> Changelog for MythTV 0.23: >>>>> http://www.mythtv.org/wiki/Release_Notes_-_0.23 >>>>> >>>>> >>>>> Changes in the FreeBSD MythTV ports: >>>>> - Update to 0.23 >>>>> - V4L support enabled for webcamd (works fine with DVB-S2 USB >> hardware) >>>>> - VDPAU enabled >>>>> - mythweb port renamed to mythplugin-mythweb >>>>> - New ports: mythplugin-mythmusic, mythplugin-mythvideo [1] >>>>> >>>>> Thanks to: Andriy Bakay [1] >>>>> >>>>> >>>>> Screenshots: >>>>> http://home.bluelife.at/images/mythtv-0.23-DVB-1.jpg >>>>> http://home.bluelife.at/ports/mythtv/01-mythtv-home.jpg >>>>> http://home.bluelife.at/ports/mythtv/ >>>>> >>>>> >>>>> FreeBSD ports: >>>>> http://home.bluelife.at/ports/mythtv-cft-20100519.tar.gz >>>>> >>>>> If everything works fine I plan to commit it within the next two >> weeks. >>>>> Good luck and have fun with it :o) >>>>> >>>>> -- >>>>> Bernhard Froehlich >>>>> http://www.bluelife.at/ >>>>> >>>>> _______________________________________________ >>>>> freebsd-multimedia@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia >>>>> To unsubscribe, send any mail to >>>>> "freebsd-multimedia-unsubscribe@freebsd.org" >>>>> >>>> >>>> Congratulations decke@ >>>> >>>> >>>> -- >>>> Regards, >>>> >>>> Sylvio Cesar               || FreeBSD Committer || Team >>>> multimedia@FreeBSD.org >>>> sylvio@FreeBSD.org  || http://people.freebsd.org/~sylvio || >>>> http://www.scjamorim.org || http://www.freebsd.org >>>> >>>> "Tenho posto o Senhor continuamente diante de mim; porque Ele está à >>>> minha mão direita, não vacilarei. Portanto, alegre está o meu >>>> coração". (Salmos 16:8) >>>> >>>> "Os olhos do SENHOR estão sobre os justos, e os seus ouvidos atentos >>>> ao seu clamor". (Salmos 34:15) >>>> _______________________________________________ >>>> freebsd-multimedia@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia >>>> To unsubscribe, send any mail to >>>> "freebsd-multimedia-unsubscribe@freebsd.org" >>>> >>> _______________________________________________ >>> freebsd-multimedia@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia >>> To unsubscribe, send any mail to >>> "freebsd-multimedia-unsubscribe@freebsd.org" >> -- Bernhard Froehlich http://www.bluelife.at/ From owner-freebsd-multimedia@FreeBSD.ORG Thu May 20 18:45:06 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAA11106566B for ; Thu, 20 May 2010 18:45:06 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.freebsd.org (Postfix) with ESMTP id 6D7528FC1D for ; Thu, 20 May 2010 18:44:59 +0000 (UTC) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.50) id 1OF9sh-00087r-JH for multimedia@freebsd.org; Fri, 21 May 2010 00:50:03 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id o4KHp0Uf028200 for ; Fri, 21 May 2010 00:51:00 +0700 (NOVST) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id o4KHotv9028142 for multimedia@freebsd.org; Fri, 21 May 2010 00:50:55 +0700 (NOVST) (envelope-from danfe) Date: Fri, 21 May 2010 00:50:54 +0700 From: Alexey Dokuchaev To: multimedia@freebsd.org Message-ID: <20100520175054.GA11523@regency.nsu.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oLBj+sq0vYjzfsbl" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: snd_hda(4) pin routing issues 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: Thu, 20 May 2010 18:45:06 -0000 --oLBj+sq0vYjzfsbl Content-Type: multipart/mixed; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello there, I'm trying to get sound working on NEC Versa S950 laptop of mine, which is recognized by snd_hda(4), but unfortunately, playback does not work out of the box: $ mixer Mixer speaker is currently set to 75:75 Mixer rec is currently set to 0:0 Recording source: mic As for recording, it seems to work: setting rec volume to non-zero value allows me to record sound with e.g. SoX package via "rec out.wav". Both internal mic (mono) and external jack (pink, stereo) work fine. I've tried to patch pin assignment as manpage suggests, and got playback working (both speakers and phones, speakers also mute correctly on jack insertion) with this single device hint: hint.hdac.0.cad0.nid13.config=3D"as=3D1 seq=3D15" $ mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Recording source:=20 However, without this line mixer(8) reports recording source (mic), but *with* it, stops seeing it, as you can see. Obviously, recording does not work any more. Naturally, I'm trying to figure out what proper hints I need to provide so both playback and recording work. Am I missing something? Comparing verbose dmesg outputs (relevant lines attached for both cases) does not immediately reveal why recording gets broken with nid13 sequence number reassigned. Attached files can be also found here in case our mailman drops attachments: http://193.124.210.26/dmesg.verbose.default http://193.124.210.26/dmesg.verbose.hinted mav@, if you need access to the laptop to see if any quirks might be required for it in the snd_hda(4), I'd happy to set it up for you. Thanks in advance. =2E/danfe P.S.: my kernel is recent 7.3-STABLE (csuped+built yesterday). --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.verbose.default" Content-Transfer-Encoding: quoted-printable pci0: driver added found-> vendor=3D0x8086, dev=3D0x2668, revid=3D0x04 domain=3D0, bus=3D0, slot=3D27, func=3D0 class=3D04-03-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D255 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit pci0:0:27:0: reprobing on driver added hdac0: mem 0xd000c000-0xd00= 0ffff at device 27.0 on pci0 hdac0: HDA Driver Revision: 20091113_0138 hdac0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 256 to vector 49 hdac0: using IRQ 256 for MSI hdac0: [MPSAFE] hdac0: [ITHREAD] hdac0: Caps: OSS 4, ISS 4, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256 hdac0: Probing codec #0... hdac0: HDA Codec #0: Sigmatel STAC9220 hdac0: HDA Codec ID: 0x83847690 hdac0: Vendor: 0x8384 hdac0: Device: 0x7690 hdac0: Revision: 0x22 hdac0: Stepping: 0x01 hdac0: PCI Subvendor: 0x83171033 hdac0: Found audio FG nid=3D1 startnode=3D2 endnode=3D21 total=3D19 hdac0: Probing codec #1... hdac0: HDA Codec #1: Lucent/Agere Systems (Unknown) hdac0: HDA Codec ID: 0x11c13026 hdac0: Vendor: 0x11c1 hdac0: Device: 0x3026 hdac0: Revision: 0x07 hdac0: Stepping: 0x00 hdac0: PCI Subvendor: 0x83171033 hdac0: Found modem FG nid=3D1 startnode=3D2 endnode=3D40 total=3D38 hdac0:=20 hdac0: Processing audio FG cad=3D0 nid=3D1... hdac0: GPIO: 0xc0000004 NumGPIO=3D4 NumGPO=3D0 NumGPI=3D0 GPIWake=3D1 GPIUn= sol=3D1 hdac0: nid 8 0x01c5e030 as 3 seq 0 SPDIF-in Jack jack 5 loc 1 co= lor White misc 0 hdac0: nid 9 0x01451012 as 1 seq 2 SPDIF-out Jack jack 5 loc 1 co= lor Black misc 0 hdac0: nid 13 0x02214011 as 1 seq 1 Headphones Jack jack 1 loc 2 c= olor Green misc 0 hdac0: nid 14 0x01014010 as 1 seq 0 Line-out Jack jack 1 loc 1 c= olor Green misc 0 hdac0: nid 15 0x01813021 as 2 seq 1 Line-in Jack jack 1 loc 1 c= olor Blue misc 0 hdac0: nid 16 0x02a19020 as 2 seq 0 Mic Jack jack 1 loc 2 c= olor Pink misc 0 hdac0: nid 17 0x50170013 as 1 seq 3 Speaker None jack 7 loc 16 c= olor Unknown misc 0 hdac0: nid 18 0x90330022 as 2 seq 2 CD Fixed jack 3 loc 16 c= olor Unknown misc 0 hdac0: Patched pins configuration: hdac0: nid 8 0x01c5e030 as 3 seq 0 SPDIF-in Jack jack 5 loc 1 co= lor White misc 0 hdac0: nid 9 0x01451012 as 1 seq 2 SPDIF-out Jack jack 5 loc 1 co= lor Black misc 0 hdac0: nid 13 0x02214011 as 1 seq 1 Headphones Jack jack 1 loc 2 c= olor Green misc 0 hdac0: nid 14 0x01014010 as 1 seq 0 Line-out Jack jack 1 loc 1 c= olor Green misc 0 hdac0: nid 15 0x01813021 as 2 seq 1 Line-in Jack jack 1 loc 1 c= olor Blue misc 0 hdac0: nid 16 0x02a19020 as 2 seq 0 Mic Jack jack 1 loc 2 c= olor Pink misc 0 hdac0: nid 17 0x50170013 as 1 seq 3 Speaker None jack 7 loc 16 c= olor Unknown misc 0 [DISABLED] hdac0: nid 18 0x90330022 as 2 seq 2 CD Fixed jack 3 loc 16 c= olor Unknown misc 0 hdac0: 3 associations found: hdac0: Association 0 (1) out: hdac0: Pin nid=3D14 seq=3D0 hdac0: Pin nid=3D13 seq=3D1 hdac0: Pin nid=3D9 seq=3D2 hdac0: Association 1 (2) in: hdac0: Pin nid=3D16 seq=3D0 hdac0: Pin nid=3D15 seq=3D1 hdac0: Pin nid=3D18 seq=3D2 hdac0: Association 2 (3) in: hdac0: Pin nid=3D8 seq=3D0 hdac0: Tracing association 0 (1) hdac0: Pin 14 traced to DAC 2 hdac0: Unable to trace pin 13 seq 1 with min nid 0 hdac0: Unable to trace pin 14 seq 0 with min nid 3 hdac0: Association 0 (1) trace failed hdac0: Tracing association 1 (2) hdac0: Pin 16 traced to ADC 3 hdac0: Pin 15 traced to ADC 3 hdac0: Pin 18 traced to ADC 3 hdac0: Association 1 (2) trace succeeded hdac0: Tracing association 2 (3) hdac0: Pin 8 traced to ADC 4 hdac0: Association 2 (3) trace succeeded hdac0: Tracing input monitor hdac0: Tracing beeper hdac0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref hdac0:=20 hdac0: +-------------------+ hdac0: | DUMPING HDA NODES | hdac0: +-------------------+ hdac0:=20 hdac0: Default Parameter hdac0: ----------------- hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: IN amp: 0x00000000 hdac0: OUT amp: 0x80051f1f hdac0:=20 hdac0: nid: 2 [DISABLED] hdac0: Name: audio output hdac0: Widget cap: 0x000d0401 hdac0: PWR STEREO hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0:=20 hdac0: nid: 3 hdac0: Name: audio input hdac0: Widget cap: 0x001d0541 hdac0: PWR PROC STEREO hdac0: Association: 1 (0x00000007) hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D10 [audio selector] hdac0:=20 hdac0: nid: 4 hdac0: Name: audio input hdac0: Widget cap: 0x00140311 hdac0: DIGITAL STEREO hdac0: Association: 2 (0x00000001) hdac0: Stream cap: 0x00000005 hdac0: AC3 PCM hdac0: PCM cap: 0x000e0160 hdac0: 16 20 24 bits, 44 48 96 KHz hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D8 [pin: SPDIF-in (White Jack)] hdac0:=20 hdac0: nid: 5 [DISABLED] hdac0: Name: audio output hdac0: Widget cap: 0x00040211 hdac0: DIGITAL STEREO hdac0: Stream cap: 0x00000005 hdac0: AC3 PCM hdac0: PCM cap: 0x000e01e0 hdac0: 16 20 24 bits, 44 48 88 96 KHz hdac0:=20 hdac0: nid: 6 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f30201 hdac0: DIGITAL STEREO hdac0:=20 hdac0: nid: 7 [DISABLED] hdac0: Name: audio selector hdac0: Widget cap: 0x00300901 hdac0: LRSWAP STEREO hdac0: connections: 3 hdac0: | hdac0: + <- nid=3D2 [audio output] [DISABLED] (selected) hdac0: + <- nid=3D8 [pin: SPDIF-in (White Jack)] hdac0: + <- nid=3D10 [audio selector] hdac0:=20 hdac0: nid: 8 hdac0: Name: pin: SPDIF-in (White Jack) hdac0: Widget cap: 0x00430681 hdac0: PWR DIGITAL UNSOL STEREO hdac0: Association: 2 (0x00000001) hdac0: OSS: dig1 (dig1) hdac0: Pin cap: 0x00010024 hdac0: PDC IN EAPD hdac0: Pin config: 0x01c5e030 hdac0: Pin control: 0x00000020 IN hdac0: EAPD: 0x00000002 hdac0:=20 hdac0: nid: 9 [DISABLED] hdac0: Name: pin: SPDIF-out (Black Jack) hdac0: Widget cap: 0x00400301 hdac0: DIGITAL STEREO hdac0: Pin cap: 0x00000010 hdac0: OUT hdac0: Pin config: 0x01451012 hdac0: Pin control: 0x00000000 hdac0: connections: 2 hdac0: | hdac0: + <- nid=3D5 [audio output] [DISABLED] (selected) hdac0: + <- nid=3D10 [audio selector] hdac0:=20 hdac0: nid: 10 hdac0: Name: audio selector hdac0: Widget cap: 0x0030090d hdac0: LRSWAP STEREO hdac0: Association: 1 (0x00000007) hdac0: OSS: line, mic, cd hdac0: Output amp: 0x80050f00 hdac0: mute=3D1 step=3D15 size=3D5 offset=3D0 hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D12 [audio selector] hdac0:=20 hdac0: nid: 11 [DISABLED] hdac0: Name: audio selector hdac0: Widget cap: 0x00300105 hdac0: STEREO hdac0: Output amp: 0x80051f1f hdac0: mute=3D1 step=3D31 size=3D5 offset=3D31 hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D7 [audio selector] [DISABLED] hdac0:=20 hdac0: nid: 12 hdac0: Name: audio selector hdac0: Widget cap: 0x0030010d hdac0: STEREO hdac0: Association: 1 (0x00000007) hdac0: OSS: line, mic, cd hdac0: Output amp: 0x00270400 hdac0: mute=3D0 step=3D4 size=3D39 offset=3D0 hdac0: connections: 5 hdac0: | hdac0: + <- nid=3D16 [pin: Mic (Pink Jack)] (selected) hdac0: + <- nid=3D15 [pin: Line-in (Blue Jack)] hdac0: + [DISABLED] <- nid=3D14 [pin: Line-out (Green Jack)] [DIS= ABLED] hdac0: + [DISABLED] <- nid=3D13 [pin: Headphones (Green Jack)] [D= ISABLED] hdac0: + <- nid=3D18 [pin: CD (Fixed)] hdac0:=20 hdac0: nid: 13 [DISABLED] hdac0: Name: pin: Headphones (Green Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Pin cap: 0x0000003f hdac0: ISC TRQD PDC HP OUT IN hdac0: Pin config: 0x02214011 hdac0: Pin control: 0x00000000 hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D11 [audio selector] [DISABLED] hdac0:=20 hdac0: nid: 14 [DISABLED] hdac0: Name: pin: Line-out (Green Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Pin cap: 0x0000003f hdac0: ISC TRQD PDC HP OUT IN hdac0: Pin config: 0x01014010 hdac0: Pin control: 0x00000000 hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D11 [audio selector] [DISABLED] hdac0:=20 hdac0: nid: 15 hdac0: Name: pin: Line-in (Blue Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 1 (0x00000002) hdac0: OSS: line (line) hdac0: Pin cap: 0x00000037 hdac0: ISC TRQD PDC OUT IN hdac0: Pin config: 0x01813021 hdac0: Pin control: 0x00000020 IN hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=3D11 [audio selector] [DISABLED] hdac0:=20 hdac0: nid: 16 hdac0: Name: pin: Mic (Pink Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 1 (0x00000001) hdac0: OSS: mic (mic) hdac0: Pin cap: 0x00001737 hdac0: ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ] hdac0: Pin config: 0x02a19020 hdac0: Pin control: 0x00000024 IN VREFs hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=3D11 [audio selector] [DISABLED] hdac0:=20 hdac0: nid: 17 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00400104 hdac0: Pin cap: 0x00000010 hdac0: OUT hdac0: Pin config: 0x50170013 hdac0: Pin control: 0x00000000 hdac0: Output amp: 0x80051f1f hdac0: mute=3D1 step=3D31 size=3D5 offset=3D31 hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=3D19 [audio mixer] [DISABLED] hdac0:=20 hdac0: nid: 18 hdac0: Name: pin: CD (Fixed) hdac0: Widget cap: 0x00400001 hdac0: STEREO hdac0: Association: 1 (0x00000004) hdac0: OSS: cd (cd) hdac0: Pin cap: 0x00000020 hdac0: IN hdac0: Pin config: 0x90330022 hdac0: Pin control: 0x00000020 IN hdac0:=20 hdac0: nid: 19 [DISABLED] hdac0: Name: audio mixer hdac0: Widget cap: 0x00200100 hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D7 [audio selector] [DISABLED] hdac0:=20 hdac0: nid: 20 hdac0: Name: beep widget hdac0: Widget cap: 0x0070000c hdac0: Association: -2 (0x00000000) hdac0: OSS: speaker (speaker) hdac0: Output amp: 0x80170303 hdac0: mute=3D1 step=3D3 size=3D23 offset=3D3 hdac0:=20 hdac0: Processing modem FG cad=3D1 nid=3D1... hdac0:=20 found-> vendor=3D0x8086, dev=3D0x266a, revid=3D0x04 domain=3D0, bus=3D0, slot=3D31, func=3D3 class=3D0c-05-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0001, statreg=3D0x0280, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D19 pci0:0:31:3: reprobing on driver added pci2: driver added pci6: driver added found-> vendor=3D0x104c, dev=3D0x8031, revid=3D0x00 domain=3D0, bus=3D6, slot=3D7, func=3D0 class=3D06-07-00, hdrtype=3D0x02, mfdev=3D1 cmdreg=3D0x0007, statreg=3D0x0210, cachelnsz=3D8 (dwords) lattimer=3D0x31 (1470 ns), mingnt=3D0x44 (17000 ns), maxlat=3D0x03 (750 ns) intpin=3Da, irq=3D18 powerspec 2 supports D0 D1 D2 D3 current D0 pci0:6:7:0: reprobing on driver added found-> vendor=3D0x104c, dev=3D0x8032, revid=3D0x00 domain=3D0, bus=3D6, slot=3D7, func=3D2 class=3D0c-00-10, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0016, statreg=3D0x0210, cachelnsz=3D8 (dwords) lattimer=3D0x20 (960 ns), mingnt=3D0x03 (750 ns), maxlat=3D0x04 (1000 ns) intpin=3Da, irq=3D18 powerspec 3 supports D0 D1 D2 D3 current D0 pci0:6:7:2: reprobing on driver added found-> vendor=3D0x104c, dev=3D0x8033, revid=3D0x00 domain=3D0, bus=3D6, slot=3D7, func=3D3 class=3D01-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D8 (dwords) lattimer=3D0x39 (1710 ns), mingnt=3D0x07 (1750 ns), maxlat=3D0x04 (1000 ns) intpin=3Da, irq=3D18 powerspec 2 supports D0 D1 D2 D3 current D0 pci0:6:7:3: reprobing on driver added pci9: driver added pci10: driver added pcm0: at cad 0 nid 1 on hdac0 pcm0: +--------------------------------------+ pcm0: | DUMPING PCM Playback/Record Channels | pcm0: +--------------------------------------+ pcm0:=20 pcm0: Record: pcm0:=20 pcm0: Stream cap: 0x00000001 pcm0: PCM pcm0: PCM cap: 0x000e07e0 pcm0: 16 20 24 bits, 44 48 88 96 176 192 KHz pcm0: ADC: 3 pcm0:=20 pcm0: +-------------------------------+ pcm0: | DUMPING Playback/Record Paths | pcm0: +-------------------------------+ pcm0:=20 pcm0: Record: pcm0:=20 pcm0: nid=3D3 [audio input] pcm0: | pcm0: + <- nid=3D10 [audio selector] [src: line, mic, cd] pcm0: | pcm0: + <- nid=3D12 [audio selector] [src: line, mic, cd] pcm0: | pcm0: + <- nid=3D16 [pin: Mic (Pink Jack)] [src: mic] pcm0: + <- nid=3D15 [pin: Line-in (Blue Jack)] [src: li= ne] pcm0: + <- nid=3D18 [pin: CD (Fixed)] [src: cd] pcm0:=20 pcm0: +-------------------------+ pcm0: | DUMPING Volume Controls | pcm0: +-------------------------+ pcm0:=20 pcm0: Speaker/Beep Volume (OSS: speaker) pcm0: | pcm0: +- ctl 5 (nid 20 out): -18/0dB (4 steps) + mute pcm0:=20 pcm0: Recording Level (OSS: rec) pcm0: | pcm0: +- ctl 1 (nid 10 out): 0/22dB (16 steps) + mute pcm0: +- ctl 3 (nid 12 out): 0/40dB (5 steps) pcm0:=20 pcm0: Mixer "speaker": pcm0: Mixer "rec": pcm0: clone manager: deadline=3D750ms flags=3D0x8000001e pcm0: sndbuf_setmap 34bf0000, 4000; 0xe415a000 -> 34bf0000 pcm1: at cad 0 nid 1 on hdac0 pcm1: +--------------------------------------+ pcm1: | DUMPING PCM Playback/Record Channels | pcm1: +--------------------------------------+ pcm1:=20 pcm1: Record: pcm1:=20 pcm1: Stream cap: 0x00000005 pcm1: AC3 PCM pcm1: PCM cap: 0x000e0160 pcm1: 16 20 24 bits, 44 48 96 KHz pcm1: ADC: 4 pcm1:=20 pcm1: +-------------------------------+ pcm1: | DUMPING Playback/Record Paths | pcm1: +-------------------------------+ pcm1:=20 pcm1: Record: pcm1:=20 pcm1: nid=3D4 [audio input] pcm1: | pcm1: + <- nid=3D8 [pin: SPDIF-in (White Jack)] [src: dig1] pcm1:=20 pcm1: +-------------------------+ pcm1: | DUMPING Volume Controls | pcm1: +-------------------------+ pcm1:=20 pcm1: clone manager: deadline=3D750ms flags=3D0x8000001e pcm1: sndbuf_setmap 1a470000, 4000; 0xe416a000 -> 1a470000 hdac0: Dumping AFG cad=3D0 nid=3D1 pins: hdac0: nid 8 0x01c5e030 as 3 seq 0 SPDIF-in Jack jack 5 loc 1 co= lor White misc 0 hdac0: Caps: IN EAPD Sense: 0x00000000 hdac0: nid 9 0x01451012 as 1 seq 2 SPDIF-out Jack jack 5 loc 1 co= lor Black misc 0 [DISABLED] hdac0: Caps: OUT =20 hdac0: nid 13 0x02214011 as 1 seq 1 Headphones Jack jack 1 loc 2 c= olor Green misc 0 [DISABLED] hdac0: Caps: IN OUT HP Sense: 0x7fffffff delay 100000us hdac0: nid 14 0x01014010 as 1 seq 0 Line-out Jack jack 1 loc 1 c= olor Green misc 0 [DISABLED] hdac0: Caps: IN OUT HP Sense: 0x7fffffff delay 100000us hdac0: nid 15 0x01813021 as 2 seq 1 Line-in Jack jack 1 loc 1 c= olor Blue misc 0 hdac0: Caps: IN OUT Sense: 0x7fffffff delay 100000us hdac0: nid 16 0x02a19020 as 2 seq 0 Mic Jack jack 1 loc 2 c= olor Pink misc 0 hdac0: Caps: IN OUT VREF Sense: 0x80002710 delay 10us hdac0: nid 17 0x50170013 as 1 seq 3 Speaker None jack 7 loc 16 c= olor Unknown misc 0 [DISABLED] hdac0: Caps: OUT =20 hdac0: nid 18 0x90330022 as 2 seq 2 CD Fixed jack 3 loc 16 c= olor Unknown misc 0 hdac0: Caps: IN =20 hdac0: NumGPIO=3D4 NumGPO=3D0 NumGPI=3D0 GPIWake=3D1 GPIUnsol=3D1 hdac0: GPIO: data=3D0x00000000 enable=3D0x00000000 direction=3D0x00000000 hdac0: wake=3D0x00000000 unsol=3D0x00000000 sticky=3D0x00000000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.verbose.hinted" Content-Transfer-Encoding: quoted-printable pci0: driver added found-> vendor=3D0x8086, dev=3D0x2668, revid=3D0x04 domain=3D0, bus=3D0, slot=3D27, func=3D0 class=3D04-03-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0406, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D255 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit pci0:0:27:0: reprobing on driver added hdac0: mem 0xd000c000-0xd00= 0ffff at device 27.0 on pci0 hdac0: HDA Driver Revision: 20091113_0138 hdac0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 256 to vector 49 hdac0: using IRQ 256 for MSI hdac0: [MPSAFE] hdac0: [ITHREAD] hdac0: Caps: OSS 4, ISS 4, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256 hdac0: Probing codec #0... hdac0: HDA Codec #0: Sigmatel STAC9220 hdac0: HDA Codec ID: 0x83847690 hdac0: Vendor: 0x8384 hdac0: Device: 0x7690 hdac0: Revision: 0x22 hdac0: Stepping: 0x01 hdac0: PCI Subvendor: 0x83171033 hdac0: Found audio FG nid=3D1 startnode=3D2 endnode=3D21 total=3D19 hdac0: Probing codec #1... hdac0: HDA Codec #1: Lucent/Agere Systems (Unknown) hdac0: HDA Codec ID: 0x11c13026 hdac0: Vendor: 0x11c1 hdac0: Device: 0x3026 hdac0: Revision: 0x07 hdac0: Stepping: 0x00 hdac0: PCI Subvendor: 0x83171033 hdac0: Found modem FG nid=3D1 startnode=3D2 endnode=3D40 total=3D38 hdac0:=20 hdac0: Processing audio FG cad=3D0 nid=3D1... hdac0: GPIO: 0xc0000004 NumGPIO=3D4 NumGPO=3D0 NumGPI=3D0 GPIWake=3D1 GPIUn= sol=3D1 hdac0: nid 8 0x01c5e030 as 3 seq 0 SPDIF-in Jack jack 5 loc 1 co= lor White misc 0 hdac0: nid 9 0x01451012 as 1 seq 2 SPDIF-out Jack jack 5 loc 1 co= lor Black misc 0 hdac0: nid 13 0x02214011 as 1 seq 1 Headphones Jack jack 1 loc 2 c= olor Green misc 0 hdac0: Patching pin config nid=3D13 0x02214011 -> 0x0221401f hdac0: nid 14 0x01014010 as 1 seq 0 Line-out Jack jack 1 loc 1 c= olor Green misc 0 hdac0: nid 15 0x01813021 as 2 seq 1 Line-in Jack jack 1 loc 1 c= olor Blue misc 0 hdac0: nid 16 0x02a19020 as 2 seq 0 Mic Jack jack 1 loc 2 c= olor Pink misc 0 hdac0: nid 17 0x50170013 as 1 seq 3 Speaker None jack 7 loc 16 c= olor Unknown misc 0 hdac0: nid 18 0x90330022 as 2 seq 2 CD Fixed jack 3 loc 16 c= olor Unknown misc 0 hdac0: Patched pins configuration: hdac0: nid 8 0x01c5e030 as 3 seq 0 SPDIF-in Jack jack 5 loc 1 co= lor White misc 0 hdac0: nid 9 0x01451012 as 1 seq 2 SPDIF-out Jack jack 5 loc 1 co= lor Black misc 0 hdac0: nid 13 0x0221401f as 1 seq 15 Headphones Jack jack 1 loc 2 c= olor Green misc 0 hdac0: nid 14 0x01014010 as 1 seq 0 Line-out Jack jack 1 loc 1 c= olor Green misc 0 hdac0: nid 15 0x01813021 as 2 seq 1 Line-in Jack jack 1 loc 1 c= olor Blue misc 0 hdac0: nid 16 0x02a19020 as 2 seq 0 Mic Jack jack 1 loc 2 c= olor Pink misc 0 hdac0: nid 17 0x50170013 as 1 seq 3 Speaker None jack 7 loc 16 c= olor Unknown misc 0 [DISABLED] hdac0: nid 18 0x90330022 as 2 seq 2 CD Fixed jack 3 loc 16 c= olor Unknown misc 0 hdac0: 3 associations found: hdac0: Association 0 (1) out: hdac0: Pin nid=3D14 seq=3D0 hdac0: Pin nid=3D9 seq=3D2 hdac0: Pin nid=3D13 seq=3D15 hdac0: Association 1 (2) in: hdac0: Pin nid=3D16 seq=3D0 hdac0: Pin nid=3D15 seq=3D1 hdac0: Pin nid=3D18 seq=3D2 hdac0: Association 2 (3) in: hdac0: Pin nid=3D8 seq=3D0 hdac0: Tracing association 0 (1) hdac0: Pin 14 traced to DAC 2 hdac0: Pin 9 traced to DAC 5 hdac0: Pin 13 traced to DAC 2 and hpredir 0 hdac0: Association 0 (1) trace succeeded hdac0: Tracing association 1 (2) hdac0: Pin 16 traced to ADC 3 hdac0: Pin 15 traced to ADC 3 hdac0: Pin 18 traced to ADC 3 hdac0: Association 1 (2) trace succeeded hdac0: Tracing association 2 (3) hdac0: Pin 8 traced to ADC 4 hdac0: Association 2 (3) trace succeeded hdac0: Tracing input monitor hdac0: Tracing beeper hdac0: Enabling headphone/speaker audio routing switching: hdac0: as=3D0 sense nid=3D13 [UNSOL] hdac0: Pin sense: nid=3D13 res=3D0x7fffffff hdac0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref hdac0:=20 hdac0: +-------------------+ hdac0: | DUMPING HDA NODES | hdac0: +-------------------+ hdac0:=20 hdac0: Default Parameter hdac0: ----------------- hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: IN amp: 0x00000000 hdac0: OUT amp: 0x80051f1f hdac0:=20 hdac0: nid: 2 hdac0: Name: audio output hdac0: Widget cap: 0x000d0401 hdac0: PWR STEREO hdac0: Association: 0 (0x00008001) hdac0: OSS: pcm (pcm) hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0:=20 hdac0: nid: 3 hdac0: Name: audio input hdac0: Widget cap: 0x001d0541 hdac0: PWR PROC STEREO hdac0: Association: 1 (0x00000007) hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D10 [audio selector] hdac0:=20 hdac0: nid: 4 hdac0: Name: audio input hdac0: Widget cap: 0x00140311 hdac0: DIGITAL STEREO hdac0: Association: 2 (0x00000001) hdac0: Stream cap: 0x00000005 hdac0: AC3 PCM hdac0: PCM cap: 0x000e0160 hdac0: 16 20 24 bits, 44 48 96 KHz hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D8 [pin: SPDIF-in (White Jack)] hdac0:=20 hdac0: nid: 5 hdac0: Name: audio output hdac0: Widget cap: 0x00040211 hdac0: DIGITAL STEREO hdac0: Association: 0 (0x00000004) hdac0: OSS: pcm (pcm) hdac0: Stream cap: 0x00000005 hdac0: AC3 PCM hdac0: PCM cap: 0x000e01e0 hdac0: 16 20 24 bits, 44 48 88 96 KHz hdac0:=20 hdac0: nid: 6 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f30201 hdac0: DIGITAL STEREO hdac0:=20 hdac0: nid: 7 hdac0: Name: audio selector hdac0: Widget cap: 0x00300901 hdac0: LRSWAP STEREO hdac0: Association: 0 (0x00008001) hdac0: OSS: pcm hdac0: connections: 3 hdac0: | hdac0: + <- nid=3D2 [audio output] (selected) hdac0: + [DISABLED] <- nid=3D8 [pin: SPDIF-in (White Jack)] hdac0: + [DISABLED] <- nid=3D10 [audio selector] hdac0:=20 hdac0: nid: 8 hdac0: Name: pin: SPDIF-in (White Jack) hdac0: Widget cap: 0x00430681 hdac0: PWR DIGITAL UNSOL STEREO hdac0: Association: 2 (0x00000001) hdac0: OSS: dig1 (dig1) hdac0: Pin cap: 0x00010024 hdac0: PDC IN EAPD hdac0: Pin config: 0x01c5e030 hdac0: Pin control: 0x00000020 IN hdac0: EAPD: 0x00000002 hdac0:=20 hdac0: nid: 9 hdac0: Name: pin: SPDIF-out (Black Jack) hdac0: Widget cap: 0x00400301 hdac0: DIGITAL STEREO hdac0: Association: 0 (0x00000004) hdac0: Pin cap: 0x00000010 hdac0: OUT hdac0: Pin config: 0x01451012 hdac0: Pin control: 0x00000040 OUT hdac0: connections: 2 hdac0: | hdac0: + <- nid=3D5 [audio output] (selected) hdac0: + [DISABLED] <- nid=3D10 [audio selector] hdac0:=20 hdac0: nid: 10 hdac0: Name: audio selector hdac0: Widget cap: 0x0030090d hdac0: LRSWAP STEREO hdac0: Association: 1 (0x00000007) hdac0: OSS: line, mic, cd hdac0: Output amp: 0x80050f00 hdac0: mute=3D1 step=3D15 size=3D5 offset=3D0 hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D12 [audio selector] hdac0:=20 hdac0: nid: 11 hdac0: Name: audio selector hdac0: Widget cap: 0x00300105 hdac0: STEREO hdac0: Association: 0 (0x00008001) hdac0: OSS: pcm hdac0: Output amp: 0x80051f1f hdac0: mute=3D1 step=3D31 size=3D5 offset=3D31 hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D7 [audio selector] hdac0:=20 hdac0: nid: 12 hdac0: Name: audio selector hdac0: Widget cap: 0x0030010d hdac0: STEREO hdac0: Association: 1 (0x00000007) hdac0: OSS: line, mic, cd hdac0: Output amp: 0x00270400 hdac0: mute=3D0 step=3D4 size=3D39 offset=3D0 hdac0: connections: 5 hdac0: | hdac0: + <- nid=3D16 [pin: Mic (Pink Jack)] (selected) hdac0: + <- nid=3D15 [pin: Line-in (Blue Jack)] hdac0: + [DISABLED] <- nid=3D14 [pin: Line-out (Green Jack)] hdac0: + [DISABLED] <- nid=3D13 [pin: Headphones (Green Jack)] hdac0: + <- nid=3D18 [pin: CD (Fixed)] hdac0:=20 hdac0: nid: 13 hdac0: Name: pin: Headphones (Green Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 0 (0x00008000) hdac0: Pin cap: 0x0000003f hdac0: ISC TRQD PDC HP OUT IN hdac0: Pin config: 0x0221401f hdac0: Pin control: 0x00000080 HP hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D11 [audio selector] hdac0:=20 hdac0: nid: 14 hdac0: Name: pin: Line-out (Green Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 0 (0x00000001) hdac0: Pin cap: 0x0000003f hdac0: ISC TRQD PDC HP OUT IN hdac0: Pin config: 0x01014010 hdac0: Pin control: 0x00000040 OUT hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D11 [audio selector] hdac0:=20 hdac0: nid: 15 hdac0: Name: pin: Line-in (Blue Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 1 (0x00000002) hdac0: OSS: line (line) hdac0: Pin cap: 0x00000037 hdac0: ISC TRQD PDC OUT IN hdac0: Pin config: 0x01813021 hdac0: Pin control: 0x00000020 IN hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=3D11 [audio selector] hdac0:=20 hdac0: nid: 16 hdac0: Name: pin: Mic (Pink Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 1 (0x00000001) hdac0: OSS: mic (mic) hdac0: Pin cap: 0x00001737 hdac0: ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ] hdac0: Pin config: 0x02a19020 hdac0: Pin control: 0x00000024 IN VREFs hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=3D11 [audio selector] hdac0:=20 hdac0: nid: 17 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00400104 hdac0: Pin cap: 0x00000010 hdac0: OUT hdac0: Pin config: 0x50170013 hdac0: Pin control: 0x00000000 hdac0: Output amp: 0x80051f1f hdac0: mute=3D1 step=3D31 size=3D5 offset=3D31 hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=3D19 [audio mixer] [DISABLED] hdac0:=20 hdac0: nid: 18 hdac0: Name: pin: CD (Fixed) hdac0: Widget cap: 0x00400001 hdac0: STEREO hdac0: Association: 1 (0x00000004) hdac0: OSS: cd (cd) hdac0: Pin cap: 0x00000020 hdac0: IN hdac0: Pin config: 0x90330022 hdac0: Pin control: 0x00000020 IN hdac0:=20 hdac0: nid: 19 [DISABLED] hdac0: Name: audio mixer hdac0: Widget cap: 0x00200100 hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D7 [audio selector] hdac0:=20 hdac0: nid: 20 hdac0: Name: beep widget hdac0: Widget cap: 0x0070000c hdac0: Association: -2 (0x00000000) hdac0: OSS: speaker (speaker) hdac0: Output amp: 0x80170303 hdac0: mute=3D1 step=3D3 size=3D23 offset=3D3 hdac0:=20 hdac0: Processing modem FG cad=3D1 nid=3D1... hdac0:=20 found-> vendor=3D0x8086, dev=3D0x266a, revid=3D0x04 domain=3D0, bus=3D0, slot=3D31, func=3D3 class=3D0c-05-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0001, statreg=3D0x0280, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D19 pci0:0:31:3: reprobing on driver added pci2: driver added pci6: driver added found-> vendor=3D0x104c, dev=3D0x8031, revid=3D0x00 domain=3D0, bus=3D6, slot=3D7, func=3D0 class=3D06-07-00, hdrtype=3D0x02, mfdev=3D1 cmdreg=3D0x0007, statreg=3D0x0210, cachelnsz=3D8 (dwords) lattimer=3D0x31 (1470 ns), mingnt=3D0x44 (17000 ns), maxlat=3D0x03 (750 ns) intpin=3Da, irq=3D18 powerspec 2 supports D0 D1 D2 D3 current D0 pci0:6:7:0: reprobing on driver added found-> vendor=3D0x104c, dev=3D0x8032, revid=3D0x00 domain=3D0, bus=3D6, slot=3D7, func=3D2 class=3D0c-00-10, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0016, statreg=3D0x0210, cachelnsz=3D8 (dwords) lattimer=3D0x20 (960 ns), mingnt=3D0x03 (750 ns), maxlat=3D0x04 (1000 ns) intpin=3Da, irq=3D18 powerspec 3 supports D0 D1 D2 D3 current D0 pci0:6:7:2: reprobing on driver added pci0:6:7:2: Transition from D0 to D3 found-> vendor=3D0x104c, dev=3D0x8033, revid=3D0x00 domain=3D0, bus=3D6, slot=3D7, func=3D3 class=3D01-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D8 (dwords) lattimer=3D0x39 (1710 ns), mingnt=3D0x07 (1750 ns), maxlat=3D0x04 (1000 ns) intpin=3Da, irq=3D18 powerspec 2 supports D0 D1 D2 D3 current D0 pci0:6:7:3: reprobing on driver added pci0:6:7:3: Transition from D0 to D3 pci9: driver added pci10: driver added pcm0: at cad 0 nid 1 on hdac0 pcm0: +--------------------------------------+ pcm0: | DUMPING PCM Playback/Record Channels | pcm0: +--------------------------------------+ pcm0:=20 pcm0: Playback: pcm0:=20 pcm0: Stream cap: 0x00000001 pcm0: PCM pcm0: PCM cap: 0x000e01e0 pcm0: 16 20 24 bits, 44 48 88 96 KHz pcm0: DAC: 2 5 pcm0:=20 pcm0: Record: pcm0:=20 pcm0: Stream cap: 0x00000005 pcm0: AC3 PCM pcm0: PCM cap: 0x000e0160 pcm0: 16 20 24 bits, 44 48 96 KHz pcm0: ADC: 4 pcm0:=20 pcm0: +-------------------------------+ pcm0: | DUMPING Playback/Record Paths | pcm0: +-------------------------------+ pcm0:=20 pcm0: Playback: pcm0:=20 pcm0: nid=3D9 [pin: SPDIF-out (Black Jack)] pcm0: | pcm0: + <- nid=3D5 [audio output] [src: pcm] pcm0:=20 pcm0: nid=3D13 [pin: Headphones (Green Jack)] pcm0: | pcm0: + <- nid=3D11 [audio selector] [src: pcm] pcm0: | pcm0: + <- nid=3D7 [audio selector] [src: pcm] pcm0: | pcm0: + <- nid=3D2 [audio output] [src: pcm] pcm0:=20 pcm0: nid=3D14 [pin: Line-out (Green Jack)] pcm0: | pcm0: + <- nid=3D11 [audio selector] [src: pcm] pcm0: | pcm0: + <- nid=3D7 [audio selector] [src: pcm] pcm0: | pcm0: + <- nid=3D2 [audio output] [src: pcm] pcm0:=20 pcm0: Record: pcm0:=20 pcm0: nid=3D4 [audio input] pcm0: | pcm0: + <- nid=3D8 [pin: SPDIF-in (White Jack)] [src: dig1] pcm0:=20 pcm0: +-------------------------+ pcm0: | DUMPING Volume Controls | pcm0: +-------------------------+ pcm0:=20 pcm0: Master Volume (OSS: vol) pcm0: | pcm0: +- ctl 2 (nid 11 out): -46/0dB (32 steps) + mute pcm0:=20 pcm0: PCM Volume (OSS: pcm) pcm0: | pcm0: +- ctl 2 (nid 11 out): -46/0dB (32 steps) + mute pcm0:=20 pcm0: Speaker/Beep Volume (OSS: speaker) pcm0: | pcm0: +- ctl 5 (nid 20 out): -18/0dB (4 steps) + mute pcm0:=20 pcm0: Mixer "vol": pcm0: Mixer "pcm": pcm0: Mixer "speaker": pcm0: clone manager: deadline=3D750ms flags=3D0x8000001e pcm0: sndbuf_setmap a3c0000, 4000; 0xe415a000 -> a3c0000 pcm0: sndbuf_setmap 1ce0000, 4000; 0xe416a000 -> 1ce0000 pcm1: at cad 0 nid 1 on hdac0 pcm1: +--------------------------------------+ pcm1: | DUMPING PCM Playback/Record Channels | pcm1: +--------------------------------------+ pcm1:=20 pcm1: Record: pcm1:=20 pcm1: Stream cap: 0x00000001 pcm1: PCM pcm1: PCM cap: 0x000e07e0 pcm1: 16 20 24 bits, 44 48 88 96 176 192 KHz pcm1: ADC: 3 pcm1:=20 pcm1: +-------------------------------+ pcm1: | DUMPING Playback/Record Paths | pcm1: +-------------------------------+ pcm1:=20 pcm1: Record: pcm1:=20 pcm1: nid=3D3 [audio input] pcm1: | pcm1: + <- nid=3D10 [audio selector] [src: line, mic, cd] pcm1: | pcm1: + <- nid=3D12 [audio selector] [src: line, mic, cd] pcm1: | pcm1: + <- nid=3D16 [pin: Mic (Pink Jack)] [src: mic] pcm1: + <- nid=3D15 [pin: Line-in (Blue Jack)] [src: li= ne] pcm1: + <- nid=3D18 [pin: CD (Fixed)] [src: cd] pcm1:=20 pcm1: +-------------------------+ pcm1: | DUMPING Volume Controls | pcm1: +-------------------------+ pcm1:=20 pcm1: Recording Level (OSS: rec) pcm1: | pcm1: +- ctl 1 (nid 10 out): 0/22dB (16 steps) + mute pcm1: +- ctl 3 (nid 12 out): 0/40dB (5 steps) pcm1:=20 pcm1: Mixer "rec": pcm1: clone manager: deadline=3D750ms flags=3D0x8000001e pcm1: sndbuf_setmap a3e0000, 4000; 0xe417a000 -> a3e0000 hdac0: Dumping AFG cad=3D0 nid=3D1 pins: hdac0: nid 8 0x01c5e030 as 3 seq 0 SPDIF-in Jack jack 5 loc 1 co= lor White misc 0 hdac0: Caps: IN EAPD Sense: 0x00000000 hdac0: nid 9 0x01451012 as 1 seq 2 SPDIF-out Jack jack 5 loc 1 co= lor Black misc 0 hdac0: Caps: OUT =20 hdac0: nid 13 0x0221401f as 1 seq 15 Headphones Jack jack 1 loc 2 c= olor Green misc 0 hdac0: Caps: IN OUT HP Sense: 0x7fffffff delay 100000us hdac0: nid 14 0x01014010 as 1 seq 0 Line-out Jack jack 1 loc 1 c= olor Green misc 0 hdac0: Caps: IN OUT HP Sense: 0x7fffffff delay 100000us hdac0: nid 15 0x01813021 as 2 seq 1 Line-in Jack jack 1 loc 1 c= olor Blue misc 0 hdac0: Caps: IN OUT Sense: 0x7fffffff delay 100000us hdac0: nid 16 0x02a19020 as 2 seq 0 Mic Jack jack 1 loc 2 c= olor Pink misc 0 hdac0: Caps: IN OUT VREF Sense: 0x80002710 delay 10us hdac0: nid 17 0x50170013 as 1 seq 3 Speaker None jack 7 loc 16 c= olor Unknown misc 0 [DISABLED] hdac0: Caps: OUT =20 hdac0: nid 18 0x90330022 as 2 seq 2 CD Fixed jack 3 loc 16 c= olor Unknown misc 0 hdac0: Caps: IN =20 hdac0: NumGPIO=3D4 NumGPO=3D0 NumGPI=3D0 GPIWake=3D1 GPIUnsol=3D1 hdac0: GPIO: data=3D0x00000000 enable=3D0x00000000 direction=3D0x00000000 hdac0: wake=3D0x00000000 unsol=3D0x00000000 sticky=3D0x00000000 hdac0: hdac_command_send_internal: TIMEOUT numcmd=3D1, sent=3D1, received= =3D0 --yrj/dFKFPuw6o+aM-- --oLBj+sq0vYjzfsbl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) iQEVAwUBS/V2fgF6NzoJDUEkAQLmOAf+J7JcywGyjBhgx8UblJrasq4x0bLZDeIJ sRhyysSP7GkAw/SsDjcrKi/3Pbgnl/UkE90p4kH3KPTrKRu22ebLJrjr7ERGXtYs q3AQhyRCnfNoOyA+xuc1bdhcmDfikPj8lOI6Tu6XsE4GuqHjVlDCKK3yzsRwpBA7 0ufCHOMu8cprWU80I9Yv2v/lHb58jrYyv1zFCDmPGToNNp1jAiRthObvPxQ76h8I WCIZrUAO0+DhwDCHggPs2eyzVJlYiz1q5HTtRiEvtKjDazOh7h0RnjC/z3poMmbF VN9QG/UbiFFXqjF6aO6XzdrQgrB3pbvUYNLrESbIY9LLfSZWs59sdQ== =xv9h -----END PGP SIGNATURE----- --oLBj+sq0vYjzfsbl-- From owner-freebsd-multimedia@FreeBSD.ORG Thu May 20 19:01:43 2010 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 7E675106566B for ; Thu, 20 May 2010 19:01:43 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id 396848FC13 for ; Thu, 20 May 2010 19:01:42 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([unknown] [80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L2Q00AHBFITLZ70@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Thu, 20 May 2010 21:01:41 +0200 (CEST) Received: from kg-v2.kg4.no ([unknown] [80.203.92.186]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with SMTP id <0L2Q00H5XFIS8S10@ignis-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Thu, 20 May 2010 21:01:41 +0200 (CEST) Date: Thu, 20 May 2010 21:01:40 +0200 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20100520210140.308b4dbc.torfinn.ingolfsen@broadpark.no> In-reply-to: <201005140906.56328.shoesoft@gmx.net> References: <20100513233437.GR27722@danbala.tuwien.ac.at> <201005140906.56328.shoesoft@gmx.net> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: Re: multimedia/pvr250 port doesn't compile on FreeBSD 8 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: Thu, 20 May 2010 19:01:43 -0000 Hello, On Fri, 14 May 2010 09:06:56 +0200 Stefan Ehmann wrote: > I stumbled across this problem some time ago in pvrxxx. I guess the fix should > also work for pvr250: > > http://lists.freebsd.org/pipermail/freebsd-current/2008-September/088697.html > > It's probably not the cleanest solution, but pvrxxx works here on 8.0. Reading through the thread, I am left with one question: Where should I add this line: DRIVER_MODULE(iicbb, cxm_iic, iicbb_driver, iicbb_devclass, 0, 0); I tried adding it to cxm.c (below the other DRIVER_MODULE line) but that didn't help. and /usr/src/sys/dev/iicbus/iicbb.c already contains that line. Anyone care to enlighten me? -- Regards, Torfinn Ingolfsen From owner-freebsd-multimedia@FreeBSD.ORG Thu May 20 19:38:23 2010 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 0CF081065674 for ; Thu, 20 May 2010 19:38:23 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id BACEB8FC0C for ; Thu, 20 May 2010 19:38:22 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([unknown] [80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L2Q00AH4H6XLZD0@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Thu, 20 May 2010 21:37:45 +0200 (CEST) Received: from kg-v2.kg4.no ([unknown] [80.203.92.186]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with SMTP id <0L2Q00HOLH6XOR10@ignis-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Thu, 20 May 2010 21:37:45 +0200 (CEST) Date: Thu, 20 May 2010 21:37:45 +0200 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20100520213745.0d47523d.torfinn.ingolfsen@broadpark.no> In-reply-to: <20100520210140.308b4dbc.torfinn.ingolfsen@broadpark.no> References: <20100513233437.GR27722@danbala.tuwien.ac.at> <201005140906.56328.shoesoft@gmx.net> <20100520210140.308b4dbc.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: Re: multimedia/pvr250 port doesn't compile on FreeBSD 8 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: Thu, 20 May 2010 19:38:23 -0000 On Thu, 20 May 2010 21:01:40 +0200 Torfinn Ingolfsen wrote: > Hello, > > On Fri, 14 May 2010 09:06:56 +0200 > Stefan Ehmann wrote: > > > I stumbled across this problem some time ago in pvrxxx. I guess the fix should > > also work for pvr250: > > > > http://lists.freebsd.org/pipermail/freebsd-current/2008-September/088697.html > > > > It's probably not the cleanest solution, but pvrxxx works here on 8.0. > > Reading through the thread, I am left with one question: > Where should I add this line: > DRIVER_MODULE(iicbb, cxm_iic, iicbb_driver, iicbb_devclass, 0, 0); > > I tried adding it to cxm.c (below the other DRIVER_MODULE line) but that didn't help. > and /usr/src/sys/dev/iicbus/iicbb.c already contains that line. > > Anyone care to enlighten me? To make it clear: I am trying to get pvrxxx to compile under FreeBSD 8.0-stable. -- Torfinn Ingolfsen From owner-freebsd-multimedia@FreeBSD.ORG Thu May 20 19:45:39 2010 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 9E09E1065674 for ; Thu, 20 May 2010 19:45:39 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id C29EE8FC1D for ; Thu, 20 May 2010 19:45:38 +0000 (UTC) Received: (qmail invoked by alias); 20 May 2010 19:45:33 -0000 Received: from 85-127-250-198.dynamic.xdsl-line.inode.at (EHLO walrus.pepperland) [85.127.250.198] by mail.gmx.net (mp069) with SMTP; 20 May 2010 21:45:33 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX1/NgH9MoDrNLJVV/RpvqmeGoNvJH1Cg9aq0GW4ya1 y+ruQVhCs5vuO4 From: Stefan Ehmann To: freebsd-multimedia@freebsd.org Date: Thu, 20 May 2010 21:45:31 +0200 User-Agent: KMail/1.13.3 (FreeBSD/8.0-RELEASE; KDE/4.4.3; i386; ; ) References: <20100513233437.GR27722@danbala.tuwien.ac.at> <201005140906.56328.shoesoft@gmx.net> <20100520210140.308b4dbc.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20100520210140.308b4dbc.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005202145.31750.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: Subject: Re: multimedia/pvr250 port doesn't compile on FreeBSD 8 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: Thu, 20 May 2010 19:45:39 -0000 On Thursday 20 May 2010 21:01:40 Torfinn Ingolfsen wrote: > Hello, > > On Fri, 14 May 2010 09:06:56 +0200 > > Stefan Ehmann wrote: > > I stumbled across this problem some time ago in pvrxxx. I guess the fix > > should also work for pvr250: > > > > http://lists.freebsd.org/pipermail/freebsd-current/2008-September/088697. > > html > > > > It's probably not the cleanest solution, but pvrxxx works here on 8.0. > > Reading through the thread, I am left with one question: > Where should I add this line: > DRIVER_MODULE(iicbb, cxm_iic, iicbb_driver, iicbb_devclass, 0, 0); > > I tried adding it to cxm.c (below the other DRIVER_MODULE line) but that > didn't help. and /usr/src/sys/dev/iicbus/iicbb.c already contains that > line. I put it in cxm_i2c.c for pvrxxx. From owner-freebsd-multimedia@FreeBSD.ORG Thu May 20 19:52:42 2010 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 39F1A1065674 for ; Thu, 20 May 2010 19:52:42 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id E71C38FC13 for ; Thu, 20 May 2010 19:52:41 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([unknown] [80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L2Q00B89HVOUZ20@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Thu, 20 May 2010 21:52:36 +0200 (CEST) Received: from kg-v2.kg4.no ([unknown] [80.203.92.186]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with SMTP id <0L2Q00HHTHVN8S80@ignis-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Thu, 20 May 2010 21:52:36 +0200 (CEST) Date: Thu, 20 May 2010 21:52:35 +0200 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20100520215235.9960d8be.torfinn.ingolfsen@broadpark.no> In-reply-to: <201005202145.31750.shoesoft@gmx.net> References: <20100513233437.GR27722@danbala.tuwien.ac.at> <201005140906.56328.shoesoft@gmx.net> <20100520210140.308b4dbc.torfinn.ingolfsen@broadpark.no> <201005202145.31750.shoesoft@gmx.net> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: Re: multimedia/pvr250 port doesn't compile on FreeBSD 8 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: Thu, 20 May 2010 19:52:42 -0000 On Thu, 20 May 2010 21:45:31 +0200 Stefan Ehmann wrote: > On Thursday 20 May 2010 21:01:40 Torfinn Ingolfsen wrote: > > Hello, > > > > On Fri, 14 May 2010 09:06:56 +0200 > > > > Stefan Ehmann wrote: > > > I stumbled across this problem some time ago in pvrxxx. I guess the fix > > > should also work for pvr250: > > > > > > http://lists.freebsd.org/pipermail/freebsd-current/2008-September/088697. > > > html > > > > > > It's probably not the cleanest solution, but pvrxxx works here on 8.0. > > > > Reading through the thread, I am left with one question: > > Where should I add this line: > > DRIVER_MODULE(iicbb, cxm_iic, iicbb_driver, iicbb_devclass, 0, 0); > > > > I tried adding it to cxm.c (below the other DRIVER_MODULE line) but that > > didn't help. and /usr/src/sys/dev/iicbus/iicbb.c already contains that > > line. > > I put it in cxm_i2c.c for pvrxxx. Hmm, cxm_i2c.c already contains that line. root@kg-fil# grep DRIVER ./work/dev/cxm/cxm_i2c.c DRIVER_MODULE(cxm_iic, cxm, cxm_iic_driver, cxm_iic_devclass, 0, 0); root@kg-fil# uname -a FreeBSD kg-fil.kg4.no 8.0-STABLE FreeBSD 8.0-STABLE #3: Thu Dec 31 00:34:23 CET 2009 root@kg-fil.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 Do I also need to "hack" minor? -- Torfinn From owner-freebsd-multimedia@FreeBSD.ORG Thu May 20 19:56:47 2010 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 78CF21065672 for ; Thu, 20 May 2010 19:56:47 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id 355C18FC08 for ; Thu, 20 May 2010 19:56:47 +0000 (UTC) MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Received: from ignis-smin.broadpark.no ([unknown] [80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L2Q00BYGI2MUZ20@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Thu, 20 May 2010 21:56:46 +0200 (CEST) Received: from kg-v2.kg4.no ([unknown] [80.203.92.186]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with SMTP id <0L2Q00HVQI2L4M80@ignis-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Thu, 20 May 2010 21:56:46 +0200 (CEST) Date: Thu, 20 May 2010 21:56:45 +0200 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20100520215645.0f506ba7.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Content-transfer-encoding: quoted-printable Cc: Subject: usleep's pvrxxx port and FreeBSD 8.0-stable 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: Thu, 20 May 2010 19:56:47 -0000 I am trying to get usleep's pvrxxx port to compil=F8e under FReeBSD 8.0-sta= ble. root@kg-fil# uname -a FreeBSD kg-fil.kg4.no 8.0-STABLE FreeBSD 8.0-STABLE #3: Thu Dec 31 00:34:23= CET 2009 root@kg-fil.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 But it fails, see below. root@kg-fil# pwd /usr/ports/multimedia/pvrxxx root@kg-fil# make clean =3D=3D=3D> Cleaning for pvrxxx-09042008 root@kg-fil# make =3D=3D=3D> Vulnerability check disabled, database not found =3D=3D=3D> Extracting for pvrxxx-09042008 =3D> MD5 Checksum OK for cxm-20051030.shar.gz. =3D> SHA256 Checksum OK for cxm-20051030.shar.gz. =3D> MD5 Checksum OK for pvr250-1.2.tar.gz. =3D> SHA256 Checksum OK for pvr250-1.2.tar.gz. /bin/mkdir -p /usr/ports/multimedia/pvrxxx/work cd /usr/ports/multimedia/pvrxxx/work; cat /usr/ports/distfiles/cxm-2005103= 0.shar.gz | gunzip | /bin/sh; /usr/bin/gzip -nf -9 -dc /usr/ports/distfile= s//pvr250-1.2.tar.gz | /usr/bin/tar -xf - --no-same-owner --no-same-permiss= ions; cd modules/cxm/cxm; /usr/bin/gzip -nf -9 -dc /usr/ports/distfiles//= pvrxxx_gpl-09042008.tgz | /usr/bin/tar -xf - --no-same-owner --no-same-perm= issions; c - dev/cxm x - dev/cxm/Patch.iicbb-fbsd4 x - dev/cxm/Patch.iicbb-fbsd5 x - dev/cxm/cxm.c x - dev/cxm/cxm.h x - dev/cxm/cxm_audio.c x - dev/cxm/cxm_eeprom.c x - dev/cxm/cxm_i2c.c x - dev/cxm/cxm_ir.c x - dev/cxm/cxm_tuner.c x - dev/cxm/cxm_video.c x - dev/cxm/cxm_extract_fw.c c - modules/cxm x - modules/cxm/Makefile c - modules/cxm/cxm x - modules/cxm/cxm/Makefile c - modules/cxm/cxm_iic x - modules/cxm/cxm_iic/Makefile =3D=3D=3D> Patching for pvrxxx-09042008 =3D=3D=3D> Applying FreeBSD patches for pvrxxx-09042008 /usr/bin/sed -i.bak -e 's/tuner0/cxm0/' /usr/ports/multimedia/pvrxxx/work/= pvr250-1.2/setchannel.c =3D=3D=3D> Configuring for pvrxxx-09042008 cd /usr/ports/multimedia/pvrxxx/work/modules/cxm; cd cxm_cx25840fw; tar xz= f /usr/ports/distfiles//firmware.tar.gz v4l-cx25840.fw; cd ../cxm_decfw; t= ar xzf /usr/ports/distfiles//firmware.tar.gz v4l-cx2341x-dec.fw; cd ../cxm= _encfw; tar xzf /usr/ports/distfiles//firmware.tar.gz v4l-cx2341x-enc.fw =3D=3D=3D> Building for pvrxxx-09042008 cd /usr/ports/multimedia/pvrxxx/work/modules/cxm; make =3D=3D=3D> cxm (all) Warning: Object directory not changed from original /usr/ports/multimedia/p= vrxxx/work/modules/cxm/cxm @ -> /usr/src/sys machine -> /usr/src/sys/amd64/include :> opt_cxm.h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/dev/iicbus/iicbb_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc = -I../../.. -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param inline-u= nit-growth=3D100 --param large-function-growth=3D1000 -fno-common -fno-omi= t-frame-pointer -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -m= no-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwin= d-tables -ffreestanding -fstack-protector -std=3Diso9899:1999 -fstack-prote= ctor -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissin= g-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sig= n -fformat-extensions -c /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/= ../../../dev/cxm/cxm.c /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: I= n function 'cxm_open': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:24= 84: error: invalid operands to binary & /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: I= n function 'cxm_close': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:25= 17: error: invalid operands to binary & /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: I= n function 'cxm_read': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:25= 65: error: invalid operands to binary & /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: I= n function 'cxm_ioctl': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:26= 79: error: invalid operands to binary & /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: I= n function 'cxm_poll': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:32= 66: error: invalid operands to binary & *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm. *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm. *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx. root@kg-fil#=20 How do I fix it? --=20 Torfinn From owner-freebsd-multimedia@FreeBSD.ORG Fri May 21 07:35:19 2010 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 9CBE0106566C for ; Fri, 21 May 2010 07:35:19 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id DE9068FC20 for ; Fri, 21 May 2010 07:35:18 +0000 (UTC) Received: (qmail invoked by alias); 21 May 2010 07:35:17 -0000 Received: from 85-127-250-198.dynamic.xdsl-line.inode.at (EHLO walrus.pepperland) [85.127.250.198] by mail.gmx.net (mp069) with SMTP; 21 May 2010 09:35:17 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX19jlN982HZj4H0iAFVGdAU24O6buNwBtrYDaPfPfQ SvvVr4dyB5BOBP From: Stefan Ehmann To: freebsd-multimedia@freebsd.org Date: Fri, 21 May 2010 09:35:16 +0200 User-Agent: KMail/1.13.3 (FreeBSD/8.0-RELEASE; KDE/4.4.3; i386; ; ) References: <20100513233437.GR27722@danbala.tuwien.ac.at> <201005202145.31750.shoesoft@gmx.net> <20100520215235.9960d8be.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20100520215235.9960d8be.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005210935.16291.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: Subject: Re: multimedia/pvr250 port doesn't compile on FreeBSD 8 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, 21 May 2010 07:35:19 -0000 On Thursday 20 May 2010 21:52:35 Torfinn Ingolfsen wrote: ... > > > Reading through the thread, I am left with one question: > > > Where should I add this line: > > > DRIVER_MODULE(iicbb, cxm_iic, iicbb_driver, iicbb_devclass, 0, 0); > > > > > > I tried adding it to cxm.c (below the other DRIVER_MODULE line) but > > > that didn't help. and /usr/src/sys/dev/iicbus/iicbb.c already contains > > > that line. > > > > I put it in cxm_i2c.c for pvrxxx. > > Hmm, cxm_i2c.c already contains that line. > root@kg-fil# grep DRIVER ./work/dev/cxm/cxm_i2c.c > DRIVER_MODULE(cxm_iic, cxm, cxm_iic_driver, cxm_iic_devclass, 0, 0); > root@kg-fil# uname -a > FreeBSD kg-fil.kg4.no 8.0-STABLE FreeBSD 8.0-STABLE #3: Thu Dec 31 00:34:23 > CET 2009 root@kg-fil.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 > > Do I also need to "hack" minor? These lines are not the same. You need them both: --- pvrxxx.orig/dev/cxm/cxm_i2c.c 2009-12-05 13:31:54.000000000 +0100 +++ pvrxxx/work/dev/cxm/cxm_i2c.c 2009-12-01 08:52:29.000000000 +0100 @@ -131,6 +131,7 @@ #endif MODULE_VERSION(cxm_iic, 1); DRIVER_MODULE(cxm_iic, cxm, cxm_iic_driver, cxm_iic_devclass, 0, 0); +DRIVER_MODULE(iicbb, cxm_iic, iicbb_driver, iicbb_devclass, 0, 0); /* From owner-freebsd-multimedia@FreeBSD.ORG Fri May 21 07:38:18 2010 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 C2E2B106566C for ; Fri, 21 May 2010 07:38:18 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 119F98FC19 for ; Fri, 21 May 2010 07:38:17 +0000 (UTC) Received: (qmail invoked by alias); 21 May 2010 07:38:16 -0000 Received: from 85-127-250-198.dynamic.xdsl-line.inode.at (EHLO walrus.pepperland) [85.127.250.198] by mail.gmx.net (mp070) with SMTP; 21 May 2010 09:38:16 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX19OXF5XZ2lOuCxAHhu0Eu4xPQ0Ny2XuBNdxPeinU/ AxiCD4OUSoZXHV From: Stefan Ehmann To: freebsd-multimedia@freebsd.org Date: Fri, 21 May 2010 09:38:16 +0200 User-Agent: KMail/1.13.3 (FreeBSD/8.0-RELEASE; KDE/4.4.3; i386; ; ) References: <20100513233437.GR27722@danbala.tuwien.ac.at> <201005202145.31750.shoesoft@gmx.net> <20100520215235.9960d8be.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20100520215235.9960d8be.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005210938.16173.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Subject: Re: multimedia/pvr250 port doesn't compile on FreeBSD 8 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, 21 May 2010 07:38:18 -0000 On Thursday 20 May 2010 21:52:35 Torfinn Ingolfsen wrote: ... > Hmm, cxm_i2c.c already contains that line. I don't know if it's relevant to your specific problem. But note that I'm not using ports version, but http://usleepless.110mb.com/pvrxxx_port.tgz From owner-freebsd-multimedia@FreeBSD.ORG Fri May 21 08:38:27 2010 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 031F9106567A for ; Fri, 21 May 2010 08:38:27 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id B13B28FC1B for ; Fri, 21 May 2010 08:38:26 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([unknown] [80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L2R000R3HBZ2C40@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Fri, 21 May 2010 10:38:23 +0200 (CEST) Received: from kg-v2.kg4.no ([unknown] [80.203.92.186]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with SMTP id <0L2R004S6HBZMH20@ignis-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Fri, 21 May 2010 10:38:23 +0200 (CEST) Date: Fri, 21 May 2010 10:38:23 +0200 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20100521103823.752c07b1.torfinn.ingolfsen@broadpark.no> In-reply-to: <201005210935.16291.shoesoft@gmx.net> References: <20100513233437.GR27722@danbala.tuwien.ac.at> <201005202145.31750.shoesoft@gmx.net> <20100520215235.9960d8be.torfinn.ingolfsen@broadpark.no> <201005210935.16291.shoesoft@gmx.net> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: Re: multimedia/pvr250 port doesn't compile on FreeBSD 8 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, 21 May 2010 08:38:27 -0000 On Fri, 21 May 2010 09:35:16 +0200 Stefan Ehmann wrote: > On Thursday 20 May 2010 21:52:35 Torfinn Ingolfsen wrote: > > > > Hmm, cxm_i2c.c already contains that line. > > root@kg-fil# grep DRIVER ./work/dev/cxm/cxm_i2c.c > > DRIVER_MODULE(cxm_iic, cxm, cxm_iic_driver, cxm_iic_devclass, 0, 0); > > root@kg-fil# uname -a > > FreeBSD kg-fil.kg4.no 8.0-STABLE FreeBSD 8.0-STABLE #3: Thu Dec 31 00:34:23 > > CET 2009 root@kg-fil.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 > > > > Do I also need to "hack" minor? > > These lines are not the same. You need them both: > > --- pvrxxx.orig/dev/cxm/cxm_i2c.c 2009-12-05 13:31:54.000000000 +0100 > +++ pvrxxx/work/dev/cxm/cxm_i2c.c 2009-12-01 08:52:29.000000000 +0100 > @@ -131,6 +131,7 @@ > #endif > MODULE_VERSION(cxm_iic, 1); > DRIVER_MODULE(cxm_iic, cxm, cxm_iic_driver, cxm_iic_devclass, 0, 0); > +DRIVER_MODULE(iicbb, cxm_iic, iicbb_driver, iicbb_devclass, 0, 0); Doh! That's what I get for trying to work with this so late. Sorry about that. Anyway, now I have fixed it: root@kg-fil# grep DRIVER work/dev/cxm/cxm_i2c.c DRIVER_MODULE(cxm_iic, cxm, cxm_iic_driver, cxm_iic_devclass, 0, 0); DRIVER_MODULE(iicbb, cxm_iic, iicbb_driver, iicbb_devclass, 0, 0); But still it fails: root@kg-fil# make ===> Configuring for pvrxxx-09042008 cd /usr/ports/multimedia/pvrxxx/work/modules/cxm; cd cxm_cx25840fw; tar xzf /usr/ports/distfiles//firmware.tar.gz v4l-cx25840.fw; cd ../cxm_decfw; tar xzf /usr/ports/distfiles//firmware.tar.gz v4l-cx2341x-dec.fw; cd ../cxm_encfw; tar xzf /usr/ports/distfiles//firmware.tar.gz v4l-cx2341x-enc.fw ===> Building for pvrxxx-09042008 cd /usr/ports/multimedia/pvrxxx/work/modules/cxm; make ===> cxm (all) Warning: Object directory not changed from original /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm @ -> /usr/src/sys machine -> /usr/src/sys/amd64/include :> opt_cxm.h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/dev/iicbus/iicbb_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I../../.. -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: In function 'cxm_open': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:2484: error: invalid operands to binary & /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: In function 'cxm_close': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:2517: error: invalid operands to binary & /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: In function 'cxm_read': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:2565: error: invalid operands to binary & /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: In function 'cxm_ioctl': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:2679: error: invalid operands to binary & /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: In function 'cxm_poll': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:3266: error: invalid operands to binary & *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm. *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm. *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx. Any hints? -- Torfinn From owner-freebsd-multimedia@FreeBSD.ORG Fri May 21 08:40:34 2010 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 093241065670 for ; Fri, 21 May 2010 08:40:34 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id B81BD8FC0A for ; Fri, 21 May 2010 08:40:33 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([unknown] [80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L2R000CPHEY2C50@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Fri, 21 May 2010 10:40:10 +0200 (CEST) Received: from kg-v2.kg4.no ([unknown] [80.203.92.186]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with SMTP id <0L2R003VTHEYVSA0@ignis-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Fri, 21 May 2010 10:40:10 +0200 (CEST) Date: Fri, 21 May 2010 10:40:10 +0200 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20100521104010.b863610e.torfinn.ingolfsen@broadpark.no> In-reply-to: <201005210938.16173.shoesoft@gmx.net> References: <20100513233437.GR27722@danbala.tuwien.ac.at> <201005202145.31750.shoesoft@gmx.net> <20100520215235.9960d8be.torfinn.ingolfsen@broadpark.no> <201005210938.16173.shoesoft@gmx.net> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: Re: multimedia/pvr250 port doesn't compile on FreeBSD 8 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, 21 May 2010 08:40:34 -0000 On Fri, 21 May 2010 09:38:16 +0200 Stefan Ehmann wrote: > On Thursday 20 May 2010 21:52:35 Torfinn Ingolfsen wrote: > ... > > Hmm, cxm_i2c.c already contains that line. > > I don't know if it's relevant to your specific problem. But note that I'm not > using ports version, but http://usleepless.110mb.com/pvrxxx_port.tgz Yes, I am using the same version: root@kg-fil# make ===> Configuring for pvrxxx-09042008 [...] ===> Building for pvrxxx-09042008 -- Torfinn From owner-freebsd-multimedia@FreeBSD.ORG Fri May 21 08:43:55 2010 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 D364D1065678 for ; Fri, 21 May 2010 08:43:55 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id 8CFF78FC14 for ; Fri, 21 May 2010 08:43:55 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([unknown] [80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L2R000F4HL62C60@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Fri, 21 May 2010 10:43:54 +0200 (CEST) Received: from kg-v2.kg4.no ([unknown] [80.203.92.186]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with SMTP id <0L2R003IIHL6VSB0@ignis-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Fri, 21 May 2010 10:43:54 +0200 (CEST) Date: Fri, 21 May 2010 10:43:53 +0200 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20100521104353.189096a8.torfinn.ingolfsen@broadpark.no> In-reply-to: <20100521103823.752c07b1.torfinn.ingolfsen@broadpark.no> References: <20100513233437.GR27722@danbala.tuwien.ac.at> <201005202145.31750.shoesoft@gmx.net> <20100520215235.9960d8be.torfinn.ingolfsen@broadpark.no> <201005210935.16291.shoesoft@gmx.net> <20100521103823.752c07b1.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: Re: multimedia/pvr250 port doesn't compile on FreeBSD 8 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, 21 May 2010 08:43:55 -0000 FWIW, I started a new thread about pvrxxx here: http://lists.freebsd.org/pipermail/freebsd-multimedia/2010-May/011042.html -- Torfinn From owner-freebsd-multimedia@FreeBSD.ORG Fri May 21 08:51:47 2010 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 DA4911065673 for ; Fri, 21 May 2010 08:51:47 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id 960D18FC0C for ; Fri, 21 May 2010 08:51:47 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([unknown] [80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L2R000WLHYA2C80@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Fri, 21 May 2010 10:51:46 +0200 (CEST) Received: from kg-v2.kg4.no ([unknown] [80.203.92.186]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with SMTP id <0L2R0041MHY93AA0@ignis-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Fri, 21 May 2010 10:51:46 +0200 (CEST) Date: Fri, 21 May 2010 10:51:45 +0200 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20100521105145.56bcd718.torfinn.ingolfsen@broadpark.no> In-reply-to: <20100520215645.0f506ba7.torfinn.ingolfsen@broadpark.no> References: <20100520215645.0f506ba7.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: Re: usleep's pvrxxx port and FreeBSD 8.0-stable 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, 21 May 2010 08:51:47 -0000 More info: This is the port fetched from: http://usleepless.110mb.com/pvrxxx_port.tgz I have now upgraded to FreeBSD 8.1-prerelease: root@kg-fil# uname -a FreeBSD kg-fil.kg4.no 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #4: Fri May 21 00:20:01 CEST 2010 root@kg-fil.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 root@kg-fil# pwd /usr/ports/multimedia/pvrxxx I do 'make patch' I edit work/dev/cxm/cxm_i2c.c, adding the line: DRIVER_MODULE(iicbb, cxm_iic, iicbb_driver, iicbb_devclass, 0, 0); Which gives this diff: root@kg-fil# diff -u work/dev/cxm/cxm_i2c.c.orig work/dev/cxm/cxm_i2c.c --- work/dev/cxm/cxm_i2c.c.orig 2010-05-21 10:46:30.000000000 +0200 +++ work/dev/cxm/cxm_i2c.c 2010-05-21 10:48:25.000000000 +0200 @@ -131,6 +131,7 @@ #endif MODULE_VERSION(cxm_iic, 1); DRIVER_MODULE(cxm_iic, cxm, cxm_iic_driver, cxm_iic_devclass, 0, 0); +DRIVER_MODULE(iicbb, cxm_iic, iicbb_driver, iicbb_devclass, 0, 0); /* @@ -375,6 +376,7 @@ */ (void)CSR_READ_4(sc, CXM_REG_I2C_SETSCL); + } @@ -396,6 +398,7 @@ */ (void)CSR_READ_4(sc, CXM_REG_I2C_SETSDA); + } @@ -408,6 +411,6 @@ cxm_iic_setsda(dev, data); /* Wait for 10 usec */ - DELAY(10); + DELAY(5); } #endif Then I do 'make': root@kg-fil# make ===> Configuring for pvrxxx-09042008 cd /usr/ports/multimedia/pvrxxx/work/modules/cxm; cd cxm_cx25840fw; tar xzf /usr/ports/distfiles//firmware.tar.gz v4l-cx25840.fw; cd ../cxm_decfw; tar xzf /usr/ports/distfiles//firmware.tar.gz v4l-cx2341x-dec.fw; cd ../cxm_encfw; tar xzf /usr/ports/distfiles//firmware.tar.gz v4l-cx2341x-enc.fw ===> Building for pvrxxx-09042008 cd /usr/ports/multimedia/pvrxxx/work/modules/cxm; make ===> cxm (all) Warning: Object directory not changed from original /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm @ -> /usr/src/sys machine -> /usr/src/sys/amd64/include :> opt_cxm.h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/dev/iicbus/iicbb_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I../../.. -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: In function 'cxm_open': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:2484: error: invalid operands to binary & /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: In function 'cxm_close': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:2517: error: invalid operands to binary & /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: In function 'cxm_read': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:2565: error: invalid operands to binary & /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: In function 'cxm_ioctl': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:2679: error: invalid operands to binary & /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: In function 'cxm_poll': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:3266: error: invalid operands to binary & *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm. *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm. *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx. Any hints? -- Torfinn From owner-freebsd-multimedia@FreeBSD.ORG Fri May 21 14:54:10 2010 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 03F251065679 for ; Fri, 21 May 2010 14:54:10 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id B21A28FC15 for ; Fri, 21 May 2010 14:54:09 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([unknown] [80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L2R0069AYQ85G00@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Fri, 21 May 2010 16:54:08 +0200 (CEST) Received: from kg-v2.kg4.no ([unknown] [80.203.92.186]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with SMTP id <0L2R00IBZYQ7D3D0@ignis-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Fri, 21 May 2010 16:54:08 +0200 (CEST) Date: Fri, 21 May 2010 16:54:07 +0200 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20100521165407.5a7da822.torfinn.ingolfsen@broadpark.no> In-reply-to: <20100521105145.56bcd718.torfinn.ingolfsen@broadpark.no> References: <20100520215645.0f506ba7.torfinn.ingolfsen@broadpark.no> <20100521105145.56bcd718.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: Re: usleep's pvrxxx port and FreeBSD 8.0-stable 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, 21 May 2010 14:54:10 -0000 Ok, I added this to cxm.h: #undef minor #define minor(d) ((d) ? (d)->si_drv0 : -1) And now I get another failure: cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I../../.. -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c cx25840-firmware.c cc1: warnings being treated as errors cx25840-firmware.c: In function 'cx25840_loadfw_hp': cx25840-firmware.c:146: warning: cast from pointer to integer of different size *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm. *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm. *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx. Hmm, this isn't easy. -- Torfinn From owner-freebsd-multimedia@FreeBSD.ORG Fri May 21 18:42:49 2010 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 A15F7106564A for ; Fri, 21 May 2010 18:42:49 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id E25058FC1B for ; Fri, 21 May 2010 18:42:45 +0000 (UTC) Received: (qmail invoked by alias); 21 May 2010 18:42:43 -0000 Received: from 85-127-250-198.dynamic.xdsl-line.inode.at (EHLO walrus.pepperland) [85.127.250.198] by mail.gmx.net (mp032) with SMTP; 21 May 2010 20:42:43 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX19ocd8snthotV+TbNY9i9Q3oZr08LMwxa/fzfsp4s DfVTHbGQgupxC3 From: Stefan Ehmann To: freebsd-multimedia@freebsd.org Date: Fri, 21 May 2010 20:42:42 +0200 User-Agent: KMail/1.13.3 (FreeBSD/8.0-RELEASE; KDE/4.4.3; i386; ; ) References: <20100520215645.0f506ba7.torfinn.ingolfsen@broadpark.no> <20100521105145.56bcd718.torfinn.ingolfsen@broadpark.no> <20100521165407.5a7da822.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20100521165407.5a7da822.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005212042.42604.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: Subject: Re: usleep's pvrxxx port and FreeBSD 8.0-stable 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, 21 May 2010 18:42:49 -0000 On Friday 21 May 2010 16:54:07 Torfinn Ingolfsen wrote: > Ok, I added this to cxm.h: > #undef minor > #define minor(d) ((d) ? (d)->si_drv0 : -1) > > And now I get another failure: > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc > -I../../.. -I. -I@ -I@/contrib/altq -finline-limit=8000 --param > inline-unit-growth=100 --param large-function-growth=1000 -fno-common > -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 > -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector > -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c > cx25840-firmware.c cc1: warnings being treated as errors > cx25840-firmware.c: In function 'cx25840_loadfw_hp': > cx25840-firmware.c:146: warning: cast from pointer to integer of different > size *** Error code 1 Okay, another thing I forgot. Just disable -Werror: $ make WERROR= I hope that's all :) From owner-freebsd-multimedia@FreeBSD.ORG Fri May 21 20:39:39 2010 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 E52891065672 for ; Fri, 21 May 2010 20:39:39 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id A62858FC17 for ; Fri, 21 May 2010 20:39:39 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 7B6BC1E000F5; Fri, 21 May 2010 22:39:38 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.3/8.14.3) with ESMTP id o4LKbVvc041367 for ; Fri, 21 May 2010 22:37:31 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.3/8.14.3/Submit) id o4LKbVQU041366 for freebsd-multimedia@FreeBSD.org; Fri, 21 May 2010 22:37:31 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Fri, 21 May 2010 22:37:30 +0200 To: freebsd-multimedia@FreeBSD.org Message-ID: <20100521203730.GA41149@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: vdr keymap (and patch) for multimedia/xine 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, 21 May 2010 20:39:40 -0000 Hi! I looked at the xine vdr keyboard control problem again and now found the reason I couldn't get it to work at first - the xine port needs a patch: (that I also just sent the maintainer; I omitted the PORTREVISION bump that of course is also needed then.) Index: Makefile =================================================================== RCS file: /home/pcvs/ports/multimedia/xine/Makefile,v retrieving revision 1.93 diff -u -p -r1.93 Makefile --- Makefile 24 Apr 2010 09:38:44 -0000 1.93 +++ Makefile 21 May 2010 13:33:32 -0000 @@ -43,6 +43,8 @@ DOCSDIR= ${PREFIX}/share/doc/xine-ui .include +CONFIGURE_ARGS+= --enable-vdr-keys + .if ${ARCH} == "i386" .if !defined(WITHOUT_WIN32_CODECS) RUN_DEPENDS= ${CODEC_DETECTION_FILE}:${CODEC_PORT} I put my current ~/.xine/keymap here: http://people.freebsd.org/~nox/dvb/xine/keymap And just so I mention it: this of course is also useful if your vdr box runs Linux and you only want to _watch_ on a FreeBSD box. :) (i.e. via the network.) Cheers, Juergen From owner-freebsd-multimedia@FreeBSD.ORG Sat May 22 11:04:45 2010 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 5519C106566C for ; Sat, 22 May 2010 11:04:45 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id 0D4628FC1A for ; Sat, 22 May 2010 11:04:44 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([unknown] [80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L2T00MMFIRV04A0@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Sat, 22 May 2010 13:04:43 +0200 (CEST) Received: from kg-v2.kg4.no ([unknown] [80.203.92.186]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with SMTP id <0L2T00CBHIRU9X30@ignis-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Sat, 22 May 2010 13:04:43 +0200 (CEST) Date: Sat, 22 May 2010 13:04:42 +0200 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20100522130442.7dd0c114.torfinn.ingolfsen@broadpark.no> In-reply-to: <201005212042.42604.shoesoft@gmx.net> References: <20100520215645.0f506ba7.torfinn.ingolfsen@broadpark.no> <20100521105145.56bcd718.torfinn.ingolfsen@broadpark.no> <20100521165407.5a7da822.torfinn.ingolfsen@broadpark.no> <201005212042.42604.shoesoft@gmx.net> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: Re: usleep's pvrxxx port and FreeBSD 8.0-stable 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: Sat, 22 May 2010 11:04:45 -0000 On Fri, 21 May 2010 20:42:42 +0200 Stefan Ehmann wrote: > Okay, another thing I forgot. Just disable -Werror: > $ make WERROR= That made the compile go allright, at least. I haven't tested it yet, but it looks promising. Here is the output from dmesg: cxm0: mem 0xe0000000-0xe3ffffff irq 18 at device 8.0 on pci2 cxm_iic0: on cxm0 iicbb0: on cxm_iic0 iicbus0: on iicbb0 master-only <2>tveeprom: Second (radio) tuner idx 101 <2>tveeprom: ivtv version <2>tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 2990584 <2>tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56) <2>tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17) <2>tveeprom: audio processor = CX25843 (type = 25) <2>tveeprom: decoder processor = CX25843 (type = 1e) tuner type: 56 cxm0: Eeprom PAL tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by cxm tuner: switching to v4l2 before tuner_command! tuner: tv freq set to 55.25 tuner: tv 0x05 0xe3 0xce 0x01 <2>cxm 0-0000: Video signal: not present <2>cxm 0-0000: Detected format: NTSC-M <2>cxm 0-0000: Detected audio mode: forced mode <2>cxm 0-0000: Detected audio standard: forced audio standard <2>cxm 0-0000: Audio muted: yes <2>cxm 0-0000: Audio microcontroller: running <2>cxm 0-0000: Configured audio standard: A2-BG <2>cxm 0-0000: Configured audio mode: undefined <2>cxm 0-0000: Specified standard: PAL-BDGHI <2>cxm 0-0000: Specified input: Tuner <2>cxm 0-0000: Specified audio input: Tuner <2>cxm 0-0000: Specified audioclock freq: 48 kHz <2>cxm 0-0000: Preferred audio mode: stereo <2>cxm 0-0000: Selected 65 MHz format: autodetect <2>cxm 0-0000: Selected 45 MHz format: chroma cxm0: [ITHREAD] cxm0: encoder firmware version 0x2060039 cxm1: mem 0xe4000000-0xe7ffffff irq 19 at device 9.0 on pci2 cxm_iic1: on cxm1 iicbb1: on cxm_iic1 iicbus1: on iicbb1 master-only <2>tveeprom: Second (radio) tuner idx 101 <2>tveeprom: ivtv version <2>tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 2990584 <2>tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56) <2>tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17) <2>tveeprom: audio processor = CX25843 (type = 25) <2>tveeprom: decoder processor = CX25843 (type = 1e) tuner type: 56 cxm1: Eeprom PAL tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by cxm tuner: switching to v4l2 before tuner_command! tuner: tv freq set to 55.25 tuner: tv 0x05 0xe3 0xce 0x01 <2>cxm 0-0000: Video signal: not present <2>cxm 0-0000: Detected format: NTSC-M <2>cxm 0-0000: Detected audio mode: forced mode <2>cxm 0-0000: Detected audio standard: forced audio standard <2>cxm 0-0000: Audio muted: yes <2>cxm 0-0000: Audio microcontroller: running <2>cxm 0-0000: Configured audio standard: A2-BG <2>cxm 0-0000: Configured audio mode: undefined <2>cxm 0-0000: Specified standard: PAL-BDGHI <2>cxm 0-0000: Specified input: Tuner <2>cxm 0-0000: Specified audio input: Tuner <2>cxm 0-0000: Specified audioclock freq: 48 kHz <2>cxm 0-0000: Preferred audio mode: stereo <2>cxm 0-0000: Selected 65 MHz format: autodetect <2>cxm 0-0000: Selected 45 MHz format: chroma cxm1: [ITHREAD] cxm1: encoder firmware version 0x2060039 (this is a PVR-500) root@kg-fil# uname -a FreeBSD kg-fil.kg4.no 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #4: Fri May 21 00:20:01 CEST 2010 root@kg-fil.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 -- Torfinn From owner-freebsd-multimedia@FreeBSD.ORG Sat May 22 12:59:00 2010 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 B55E0106564A for ; Sat, 22 May 2010 12:59:00 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id 5A9F68FC14 for ; Sat, 22 May 2010 12:59:00 +0000 (UTC) MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_wgu3NhInTZE0ZJ7fn1bXJg)" Received: from ignis-smin.broadpark.no ([unknown] [80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L2T0016LO2A4F70@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Sat, 22 May 2010 14:58:58 +0200 (CEST) Received: from kg-v2.kg4.no ([unknown] [80.203.92.186]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with SMTP id <0L2T00D62O2AMG40@ignis-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Sat, 22 May 2010 14:58:58 +0200 (CEST) Date: Sat, 22 May 2010 14:58:58 +0200 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20100522145858.fe653d29.torfinn.ingolfsen@broadpark.no> In-reply-to: <20100522130442.7dd0c114.torfinn.ingolfsen@broadpark.no> References: <20100520215645.0f506ba7.torfinn.ingolfsen@broadpark.no> <20100521105145.56bcd718.torfinn.ingolfsen@broadpark.no> <20100521165407.5a7da822.torfinn.ingolfsen@broadpark.no> <201005212042.42604.shoesoft@gmx.net> <20100522130442.7dd0c114.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: Re: usleep's pvrxxx port and FreeBSD 8.0-stable 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: Sat, 22 May 2010 12:59:00 -0000 This is a multi-part message in MIME format. --Boundary_(ID_wgu3NhInTZE0ZJ7fn1bXJg) Content-type: text/plain; CHARSET=US-ASCII Content-transfer-encoding: 7BIT Update: Ok, I have tested the port with mplayer, and it works (at least for video, for some reason my quick test didn't have any audio. Might be a problem with mplayer). attached is a patch for the port at http://usleepless.110mb.com/pvrxxx_port.tgz This patch includes the necessary fixes to make the port compile under FreeBSD 8.x (thanks to Stefan Ehmann). You still need to do 'make WERROR=', and that should probably also be corrected, but I don't know how to do that. After that it is make install as usual. -- Torfinn --Boundary_(ID_wgu3NhInTZE0ZJ7fn1bXJg) Content-type: text/x-diff; name=pvrxxx-09042008-patch.diff Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=pvrxxx-09042008-patch.diff ===> Generating patch ===> Viewing diff with more diff -ruN --exclude=CVS /usr/ports/multimedia/pvrxxx-09042008/files/patch-dev /usr/ports/multimedia/pvrxxx/files/patch-dev --- /usr/ports/multimedia/pvrxxx-09042008/files/patch-dev 2008-04-11 16:52:18.000000000 +0200 +++ /usr/ports/multimedia/pvrxxx/files/patch-dev 2010-05-22 14:27:16.000000000 +0200 @@ -1362,9 +1362,9 @@ return 0; Only in dev/cxm: cxm.c.orig diff -ur ../work.orig/dev/cxm/cxm.h dev/cxm/cxm.h ---- ../work.orig/dev/cxm/cxm.h 2008-04-11 16:52:17.000000000 +0200 -+++ dev/cxm/cxm.h 2008-04-09 20:45:33.000000000 +0200 -@@ -33,10 +33,23 @@ +--- dev/cxm/cxm.h.orig ++++ dev/cxm/cxm.h +@@ -33,10 +33,26 @@ * Header file for the Conexant MPEG-2 Codec driver. */ @@ -1385,10 +1385,13 @@ +#include +#endif + ++#undef minor ++#define minor(d) ((d) ? (d)->si_drv0 : -1) ++ #define bswap32(X) ntohl(X) #define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array)) -@@ -64,7 +77,7 @@ +@@ -64,7 +80,7 @@ enum cxm_byte_order byte_order; }; @@ -1397,7 +1400,7 @@ struct cxm_buffer_pool { bus_dma_tag_t dmat; -@@ -183,7 +196,8 @@ +@@ -183,7 +199,8 @@ * that the size of each piece must be a multiple of * 256 and less than 64k. */ @@ -1407,7 +1410,7 @@ struct cxm_sg_entry { u_int32_t src; -@@ -211,9 +225,10 @@ +@@ -211,9 +228,10 @@ cxm_pal_60hz_source_format, cxm_secam_50hz_source_format }; @@ -1419,7 +1422,7 @@ /* * Conexant iTVC15 / iTVC16 info structure, one per card installed. -@@ -221,6 +236,7 @@ +@@ -221,6 +239,7 @@ struct cxm_softc { enum cxm_type type; char name[10]; /* Device name and unit number */ @@ -1427,7 +1430,7 @@ struct resource *mem_res; /* Resource descriptor for registers */ bus_space_tag_t btag; /* Bus space access functions */ -@@ -243,6 +259,8 @@ +@@ -243,6 +262,8 @@ unsigned int dec_mbx; unsigned int enc_mbx; @@ -1436,7 +1439,7 @@ device_t cxm_iic; device_t iicbus; -@@ -254,7 +272,7 @@ +@@ -254,7 +275,7 @@ char msp_name[10]; @@ -1445,7 +1448,7 @@ enum cxm_source source; -@@ -266,6 +284,16 @@ +@@ -266,6 +287,16 @@ int encoding; int encoding_dma; int encoding_eos; @@ -1462,7 +1465,7 @@ }; /* -@@ -434,7 +462,7 @@ +@@ -434,7 +465,7 @@ #define CXM_FW_CAPTURE_STREAM_PCM_AUDIO 0x00000002 #define CXM_FW_CAPTURE_STREAM_VBI 0x00000004 @@ -1471,7 +1474,7 @@ #define CXM_FW_STREAM_TYPE_MPEG1 0x00000002 #define CXM_FW_STREAM_TYPE_MPEG2_PROGRAM 0x00000000 #define CXM_FW_STREAM_TYPE_SVCD 0x0000000c -@@ -463,6 +491,7 @@ +@@ -463,6 +494,7 @@ */ int cxm_eeprom_init( struct cxm_softc *sc ); int cxm_eeprom_tuner_type( struct cxm_softc *sc ); @@ -1479,7 +1482,7 @@ /* * Infrared remote -@@ -521,8 +550,11 @@ +@@ -521,8 +553,11 @@ #define CXM_TUNER_LG_TAPE_H001F 18 #define CXM_TUNER_MICROTUNE_4049_FM5 19 #define CXM_TUNER_TCL_2002N_6A 20 @@ -1492,7 +1495,7 @@ #define CXM_TUNER_AFC_MASK 0x07 -@@ -656,3 +688,7 @@ +@@ -656,3 +691,7 @@ int cxm_saa7115_set_hue( struct cxm_softc *sc, unsigned char hue ); int cxm_saa7115_is_locked( struct cxm_softc *sc ); int cxm_saa7115_wait_for_lock( struct cxm_softc *sc ); @@ -1698,9 +1701,17 @@ exit (0); } diff -ur ../work.orig/dev/cxm/cxm_i2c.c dev/cxm/cxm_i2c.c ---- ../work.orig/dev/cxm/cxm_i2c.c 2008-04-11 16:52:17.000000000 +0200 -+++ dev/cxm/cxm_i2c.c 2006-08-23 21:13:52.000000000 +0200 -@@ -375,6 +375,7 @@ +--- dev/cxm/cxm_i2c.c.orig ++++ dev/cxm/cxm_i2c.c +@@ -131,6 +131,7 @@ + #endif + MODULE_VERSION(cxm_iic, 1); + DRIVER_MODULE(cxm_iic, cxm, cxm_iic_driver, cxm_iic_devclass, 0, 0); ++DRIVER_MODULE(iicbb, cxm_iic, iicbb_driver, iicbb_devclass, 0, 0); + + + /* +@@ -375,6 +376,7 @@ */ (void)CSR_READ_4(sc, CXM_REG_I2C_SETSCL); @@ -1708,7 +1719,7 @@ } -@@ -396,6 +397,7 @@ +@@ -396,6 +398,7 @@ */ (void)CSR_READ_4(sc, CXM_REG_I2C_SETSDA); @@ -1716,7 +1727,7 @@ } -@@ -408,6 +410,6 @@ +@@ -408,6 +411,6 @@ cxm_iic_setsda(dev, data); /* Wait for 10 usec */ ===> Done --Boundary_(ID_wgu3NhInTZE0ZJ7fn1bXJg)-- From owner-freebsd-multimedia@FreeBSD.ORG Sat May 22 15:06:13 2010 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 E6BCA1065672 for ; Sat, 22 May 2010 15:06:13 +0000 (UTC) (envelope-from ag@ncolin.muc.de) Received: from ncolin.muc.de (ncolin.muc.de [193.149.48.11]) by mx1.freebsd.org (Postfix) with ESMTP id 5A1138FC14 for ; Sat, 22 May 2010 15:06:12 +0000 (UTC) Received: (qmail 23419 invoked by uid 1012); 22 May 2010 14:39:31 -0000 Message-ID: <20100522143931.23418.qmail@ncolin.muc.de> From: ag@ncolin.muc.de To: freebsd-multimedia@freebsd.org In-Reply-To: <20100522145858.fe653d29.torfinn.ingolfsen@broadpark.no> References: <20100520215645.0f506ba7.torfinn.ingolfsen@broadpark.no> <20100521105145.56bcd718.torfinn.ingolfsen@broadpark.no> <20100521165407.5a7da822.torfinn.ingolfsen@broadpark.no> <201005212042.42604.shoesoft@gmx.net> <20100522130442.7dd0c114.torfinn.ingolfsen@broadpark.no> <20100522145858.fe653d29.torfinn.ingolfsen@broadpark.no> Date: Sat, 22 May 2010 16:39:31 +0200 Subject: Re: usleep's pvrxxx port and FreeBSD 8.0-stable 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: Sat, 22 May 2010 15:06:14 -0000 > Update: > Ok, I have tested the port with mplayer, and it works (at least for > video, for some reason my quick test didn't have any audio. Might be a > problem with mplayer). > > > attached is a patch for the port at > http://usleepless.110mb.com/pvrxxx_port.tgz This patch includes the > necessary fixes to make the port compile under FreeBSD 8.x (thanks to > Stefan Ehmann). > > You still need to do 'make WERROR=', and that should probably also be > corrected, but I don't know how to do that. After that it is make > install as usual. > -- > Torfinn Hi, I've fixed compilation on both 8.* and amd64 a while ago; I've filed a PR for this now: http://www.freebsd.org/cgi/query-pr.cgi?pr=146830 Perhaps you could double-check whether this works for you as well (kernel modules are better compiled with WERROR ;-)): Just replace /usr/ports/multimedia/pvrxxx with the contents of http://www.muc.de/~ag/pvrxxx-20080409-port.tgz Greets, Armin -- Armin Gruner ____ mailto:ag@muc.de ``Nur wer sich aendert, bleibt \ / http://www.muc.de/~ag/ sich treu'' - Wolf Biermann \/ PGP Key: 0x72DBE671 or finger -l ag@muc.de