From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 2 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 3D778106566C for ; Sat, 2 Jan 2010 07:38:18 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id E89168FC0A for ; Sat, 2 Jan 2010 07:38:17 +0000 (UTC) Received: by qyk6 with SMTP id 6so5881163qyk.3 for ; Fri, 01 Jan 2010 23:38:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uGCHa9cLY2Iw9CJrjQ8GXMdcFbJCWHoUHNtHxU1x5pQ=; b=T3caD+vIylyDKUQG0yPP6jvRvDHb/JlykhVS+YgWDbMqqLb8GEUZT+7Wf0LiLezRCF lHzrwCp+SHc/6B0xmqKv/Gnhe8UJdI5eXfU6B2CnVKVIey5kAYIKxf7o4JbrNmkQnJr/ eSZXArqJkKhPdgdRIq92kqWcXm1cdk+arCErk= 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=RFjxMhqMQ+4wchmdyfhj2p7fCm6GQlvAiw3weS24S3eOkPezsob42sYx/rxneTVBWE xm2AhbnxmgA2x8xjgUT6LCl8b4vzIHAiky6v1Kr6JHouUwHHqcWVOEmDcXyOJm7INIPC wjH1d8T1fNI738F9yALT0d0zxJORVezHOf1WE= MIME-Version: 1.0 Received: by 10.229.118.6 with SMTP id t6mr665838qcq.39.1262417891173; Fri, 01 Jan 2010 23:38:11 -0800 (PST) In-Reply-To: <20100102001753.090c89ad.torfinn.ingolfsen@broadpark.no> References: <20100102001753.090c89ad.torfinn.ingolfsen@broadpark.no> Date: Sat, 2 Jan 2010 15:38:11 +0800 Message-ID: <53a1e0711001012338v4ba68961o4a1d26a40abce396@mail.gmail.com> From: Henry Hu To: Torfinn Ingolfsen Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org Subject: Re: usleep's pvrxxx port and /boot/loader.conf - panic 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, 02 Jan 2010 07:38:18 -0000 On Sat, Jan 2, 2010 at 7:17 AM, Torfinn Ingolfsen wrote: > It looks like usleep's pvrxxx port (the 09042008 version) works quite > nicely with my Hauppauge PVR-500 under FreeBSD 7.2-stable: > tingo@kg-fil$ uname -a > FreeBSD kg-fil.kg4.no 7.2-STABLE FreeBSD 7.2-STABLE #0: Fri Jan =A01 20:5= 0:58 CET 2010 =A0 =A0 root@kg-fil.kg4.no:/usr/obj/usr/src/sys/GENERIC =A0am= d64 > > from /var/log/messages: > Jan =A01 23:57:38 kg-fil kernel: cxm0: mem 0= xe0000000-0xe3ffffff irq 18 at device 8.0 on pci2 > Jan =A01 23:57:38 kg-fil kernel: cxm_iic0: on cxm0 > Jan =A01 23:57:38 kg-fil kernel: iicbb0: on cxm_= iic0 > Jan =A01 23:57:38 kg-fil kernel: iicbus0: on iicbb0 mas= ter-only > Jan =A01 23:57:38 kg-fil kernel: iicbus0: at addr 0 > Jan =A01 23:57:38 kg-fil kernel: iicbus0: at addr 0 > Jan =A01 23:57:38 kg-fil kernel: <2>tveeprom: Second (radio) tuner idx 10= 1 > Jan =A01 23:57:38 kg-fil kernel: <2>tveeprom: ivtv version > Jan =A01 23:57:38 kg-fil kernel: <2>tveeprom: Hauppauge: model =3D 23559,= rev =3D D591, serial# =3D 2990584 > Jan =A01 23:57:38 kg-fil kernel: <2>tveeprom: tuner =3D Philips FQ1216AME= MK4 (idx =3D 91, type =3D 56) > Jan =A01 23:57:38 kg-fil kernel: <2>tveeprom: tuner fmt =3D PAL(B/G) PAL(= I) SECAM(L/L') PAL(D/K) (eeprom =3D 0x74, v4l2 =3D 0x00400e17) > Jan =A01 23:57:38 kg-fil kernel: <2>tveeprom: audio processor =3D CX25843= (type =3D 25) > Jan =A01 23:57:38 kg-fil kernel: <2>tveeprom: decoder processor =3D CX258= 43 (type =3D 1e) > Jan =A01 23:57:38 kg-fil kernel: tuner type: 56 > Jan =A01 23:57:38 kg-fil kernel: cxm0: Eeprom PAL > Jan =A01 23:57:38 kg-fil kernel: tuner: type set to 56 (Philips PAL/SECAM= multi (FQ1216AME MK4)) by cxm > Jan =A01 23:57:38 kg-fil kernel: tuner: switching to v4l2 > Jan =A01 23:57:38 kg-fil kernel: before tuner_command! > Jan =A01 23:57:38 kg-fil kernel: tuner: tv freq set to 55.25 > Jan =A01 23:57:38 kg-fil kernel: tuner: tv 0x05 0xe3 0xce 0x01 > Jan =A01 23:57:48 kg-fil kernel: <2>cxm 0-0000: Video signal: =A0 =A0 =A0= =A0 =A0 =A0 =A0not present > Jan =A01 23:57:48 kg-fil kernel: <2>cxm 0-0000: Detected format: =A0 =A0 = =A0 =A0 =A0 NTSC-M > Jan =A01 23:57:48 kg-fil kernel: <2>cxm 0-0000: Detected audio mode: =A0 = =A0 =A0 forced mode > Jan =A01 23:57:48 kg-fil kernel: <2>cxm 0-0000: Detected audio standard: = =A0 forced audio standard > Jan =A01 23:57:48 kg-fil kernel: <2>cxm 0-0000: Audio muted: =A0 =A0 =A0 = =A0 =A0 =A0 =A0 yes > Jan =A01 23:57:48 kg-fil kernel: <2>cxm 0-0000: Audio microcontroller: = =A0 =A0 running > Jan =A01 23:57:48 kg-fil kernel: <2>cxm 0-0000: Configured audio standard= : A2-BG > Jan =A01 23:57:48 kg-fil kernel: <2>cxm 0-0000: Configured audio mode: = =A0 =A0 undefined > Jan =A01 23:57:48 kg-fil kernel: <2>cxm 0-0000: Specified standard: =A0 = =A0 =A0 =A0PAL-BDGHI > Jan =A01 23:57:48 kg-fil kernel: <2>cxm 0-0000: Specified input: =A0 =A0 = =A0 =A0 =A0 Tuner > Jan =A01 23:57:48 kg-fil kernel: <2>cxm 0-0000: Specified audio input: = =A0 =A0 Tuner > Jan =A01 23:57:48 kg-fil kernel: <2>cxm 0-0000: Specified audioclock freq= : 48 kHz > Jan =A01 23:57:48 kg-fil kernel: <2>cxm 0-0000: Preferred audio mode: =A0= =A0 =A0stereo > Jan =A01 23:57:48 kg-fil kernel: <2>cxm 0-0000: Selected 65 MHz format: = =A0 =A0autodetect > Jan =A01 23:57:48 kg-fil kernel: <2>cxm 0-0000: Selected 45 MHz format: = =A0 =A0chroma > Jan =A01 23:57:48 kg-fil kernel: cxm0: [ITHREAD] > Jan =A01 23:57:50 kg-fil kernel: cxm0: encoder firmware version 0x2060039 > Jan =A01 23:57:50 kg-fil kernel: cxm1: mem 0= xe4000000-0xe7ffffff irq 19 at device 9.0 on pci2 > Jan =A01 23:57:50 kg-fil kernel: cxm_iic1: on cxm1 > Jan =A01 23:57:50 kg-fil kernel: iicbb1: on cxm_= iic1 > Jan =A01 23:57:50 kg-fil kernel: iicbus1: on iicbb1 mas= ter-only > Jan =A01 23:57:50 kg-fil kernel: iicbus1: at addr 0 > Jan =A01 23:57:50 kg-fil kernel: iicbus1: at addr 0 > Jan =A01 23:57:50 kg-fil kernel: <2>tveeprom: Second (radio) tuner idx 10= 1 > Jan =A01 23:57:50 kg-fil kernel: <2>tveeprom: ivtv version > Jan =A01 23:57:50 kg-fil kernel: <2>tveeprom: Hauppauge: model =3D 23559,= rev =3D D591, serial# =3D 2990584 > Jan =A01 23:57:50 kg-fil kernel: <2>tveeprom: tuner =3D Philips FQ1216AME= MK4 (idx =3D 91, type =3D 56) > Jan =A01 23:57:50 kg-fil kernel: <2>tveeprom: tuner fmt =3D PAL(B/G) PAL(= I) SECAM(L/L') PAL(D/K) (eeprom =3D 0x74, v4l2 =3D 0x00400e17) > Jan =A01 23:57:50 kg-fil kernel: <2>tveeprom: audio processor =3D CX25843= (type =3D 25) > Jan =A01 23:57:50 kg-fil kernel: <2>tveeprom: decoder processor =3D CX258= 43 (type =3D 1e) > Jan =A01 23:57:50 kg-fil kernel: tuner type: 56 > Jan =A01 23:57:50 kg-fil kernel: cxm1: Eeprom PAL > Jan =A01 23:57:50 kg-fil kernel: tuner: type set to 56 (Philips PAL/SECAM= multi (FQ1216AME MK4)) by cxm > Jan =A01 23:57:50 kg-fil kernel: tuner: switching to v4l2 > Jan =A01 23:57:50 kg-fil kernel: before tuner_command! > Jan =A01 23:57:50 kg-fil kernel: tuner: tv freq set to 55.25 > Jan =A01 23:57:50 kg-fil kernel: tuner: tv 0x05 0xe3 0xce 0x01 > Jan =A01 23:58:03 kg-fil kernel: <2>cxm 0-0000: Video signal: =A0 =A0 =A0= =A0 =A0 =A0 =A0not present > Jan =A01 23:58:03 kg-fil kernel: <2>cxm 0-0000: Detected format: =A0 =A0 = =A0 =A0 =A0 NTSC-M > Jan =A01 23:58:03 kg-fil kernel: <2>cxm 0-0000: Detected audio mode: =A0 = =A0 =A0 forced mode > Jan =A01 23:58:03 kg-fil kernel: <2>cxm 0-0000: Detected audio standard: = =A0 forced audio standard > Jan =A01 23:58:03 kg-fil kernel: <2>cxm 0-0000: Audio muted: =A0 =A0 =A0 = =A0 =A0 =A0 =A0 yes > Jan =A01 23:58:03 kg-fil kernel: <2>cxm 0-0000: Audio microcontroller: = =A0 =A0 running > Jan =A01 23:58:03 kg-fil kernel: <2>cxm 0-0000: Configured audio standard= : A2-BG > Jan =A01 23:58:03 kg-fil kernel: <2>cxm 0-0000: Configured audio mode: = =A0 =A0 undefined > Jan =A01 23:58:03 kg-fil kernel: <2>cxm 0-0000: Specified standard: =A0 = =A0 =A0 =A0PAL-BDGHI > Jan =A01 23:58:03 kg-fil kernel: <2>cxm 0-0000: Specified input: =A0 =A0 = =A0 =A0 =A0 Tuner > Jan =A01 23:58:03 kg-fil kernel: <2>cxm 0-0000: Specified audio input: = =A0 =A0 Tuner > Jan =A01 23:58:03 kg-fil kernel: <2>cxm 0-0000: Specified audioclock freq= : 48 kHz > Jan =A01 23:58:03 kg-fil kernel: <2>cxm 0-0000: Preferred audio mode: =A0= =A0 =A0stereo > Jan =A01 23:58:03 kg-fil kernel: <2>cxm 0-0000: Selected 65 MHz format: = =A0 =A0autodetect > Jan =A01 23:58:03 kg-fil kernel: <2>cxm 0-0000: Selected 45 MHz format: = =A0 =A0chroma > Jan =A01 23:58:03 kg-fil kernel: cxm1: [ITHREAD] > Jan =A01 23:58:03 kg-fil kernel: cxm1: encoder firmware version 0x2060039 > > (Note: I haven't actually tested it with mplayer etc yet, that is why I s= ay that it "looks" like it works. > But it will work). > But ther is one slight problem: if I try to load the cxm_iic and cxm modu= les in /boot/loader.conf, > the machine panics during boot. > If I load the modules manually after boot, everything is fine. > > Is there some other place that I can load these modules autmatically, aft= er the machine has booted? > A startup script or something like it? You may try /etc/rc.local > -- > Regards, > Torfinn Ingolfsen > > _______________________________________________ > 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" > Cheers, Henry