Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 2010 15:38:11 +0800
From:      Henry Hu <henry.hu.sh@gmail.com>
To:        Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: usleep's pvrxxx port and /boot/loader.conf - panic
Message-ID:  <53a1e0711001012338v4ba68961o4a1d26a40abce396@mail.gmail.com>
In-Reply-To: <20100102001753.090c89ad.torfinn.ingolfsen@broadpark.no>
References:  <20100102001753.090c89ad.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 2, 2010 at 7:17 AM, Torfinn Ingolfsen
<torfinn.ingolfsen@broadpark.no> 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: <Conexant iTVC16 MPEG Coder> mem 0=
xe0000000-0xe3ffffff irq 18 at device 8.0 on pci2
> Jan =A01 23:57:38 kg-fil kernel: cxm_iic0: <Conexant iTVC15 / iTVC16 I2C =
controller> on cxm0
> Jan =A01 23:57:38 kg-fil kernel: iicbb0: <I2C bit-banging driver> on cxm_=
iic0
> Jan =A01 23:57:38 kg-fil kernel: iicbus0: <Philips I2C bus> on iicbb0 mas=
ter-only
> Jan =A01 23:57:38 kg-fil kernel: iicbus0: <unknown card> at addr 0
> Jan =A01 23:57:38 kg-fil kernel: iicbus0: <unknown card> 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: <Conexant iTVC16 MPEG Coder> mem 0=
xe4000000-0xe7ffffff irq 19 at device 9.0 on pci2
> Jan =A01 23:57:50 kg-fil kernel: cxm_iic1: <Conexant iTVC15 / iTVC16 I2C =
controller> on cxm1
> Jan =A01 23:57:50 kg-fil kernel: iicbb1: <I2C bit-banging driver> on cxm_=
iic1
> Jan =A01 23:57:50 kg-fil kernel: iicbus1: <Philips I2C bus> on iicbb1 mas=
ter-only
> Jan =A01 23:57:50 kg-fil kernel: iicbus1: <unknown card> at addr 0
> Jan =A01 23:57:50 kg-fil kernel: iicbus1: <unknown card> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53a1e0711001012338v4ba68961o4a1d26a40abce396>