From owner-freebsd-multimedia@FreeBSD.ORG Sun Nov 20 07:16:02 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7947916A41F for ; Sun, 20 Nov 2005 07:16:02 +0000 (GMT) (envelope-from dgreid@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8BA543D46 for ; Sun, 20 Nov 2005 07:16:01 +0000 (GMT) (envelope-from dgreid@gmail.com) Received: by wproxy.gmail.com with SMTP id i5so625935wra for ; Sat, 19 Nov 2005 23:16:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=BsIbqE8vKkCq8rwnxMfTQY6E3t8kFFM3iV11/q5oZ3wSJrJyOiUUASg6CgvpyIoXPBFvD/qHVnjv+obuu618I44MCyfIGy8F+DAg6EErdnTOLgITiOYGoXhslY9op56MzP9Z2O94bPwGWSei0TCoNimXfwLgue1ImLt1HMJDqxU= Received: by 10.54.133.19 with SMTP id g19mr492990wrd; Sat, 19 Nov 2005 23:15:34 -0800 (PST) Received: by 10.54.118.1 with HTTP; Sat, 19 Nov 2005 23:16:00 -0800 (PST) Message-ID: Date: Sun, 20 Nov 2005 07:16:00 +0000 From: Dylan Reid To: freebsd-multimedia@freebsd.org In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: PVR250 MCE with cxm driver under 6.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: Sun, 20 Nov 2005 07:16:02 -0000 I have MythTV 0.18 running on FreeBSD 6.0(amd64). I had to merge some additional changes to the ones below to integrate the v4l2 support into the cxm driver to get myth to work. I also had to make a few minor changes to get myth to build properly. Dylan additional cxm patch: diff -u ../dev/cxm/cxm.c ./cxm.c --- ../dev/cxm/cxm.c Sun Nov 20 06:35:12 2005 +++ ./cxm.c Sun Nov 20 06:00:32 2005 @@ -80,6 +80,7 @@ #endif #include +#include #include @@ -333,7 +334,6 @@ 48000 }; - static const struct cxm_codec_profile *codec_profiles[] =3D { &vcd_ntsc_profile, @@ -848,7 +848,7 @@ fps =3D cxm_saa7115_detected_fps(sc); if (fps < 0) - return -1; + /* return -1; */ fps =3D 30; if (sc->profile->fps !=3D fps) { @@ -1762,8 +1762,10 @@ */ if (cxm_ir_init(sc) < 0) { device_printf(dev, "could not initialize IR remote\n"); +#ifndef PVR250_MCE error =3D ENXIO; goto fail; +#endif } sc->dec_mbx =3D -1; @@ -2192,8 +2194,9 @@ return ENXIO; } - if (sc->is_opened) - return EBUSY; + if (sc->is_opened) + /* allow it to be open'ed more than once. */ + return /* EBUSY */ 0; sc->is_opened =3D 1; sc->mpeg =3D 1; @@ -2334,6 +2337,81 @@ return 0; } +#define NUM_INPUTS 10 +struct v4l2_input tmk_inputs[NUM_INPUTS] =3D { + { + .index =3D 0, + .name =3D "Composite 0", + .type =3D V4L2_INPUT_TYPE_CAMERA, + .audioset =3D 1, + .tuner =3D 0, + .status =3D 0, + },{ + .index =3D 1, + .name =3D "Composite 1", + .type =3D V4L2_INPUT_TYPE_CAMERA, + .audioset =3D 1, + .tuner =3D 0, + .status =3D 0, + },{ + .index =3D 2, + .name =3D "Composite 2", + .type =3D V4L2_INPUT_TYPE_CAMERA, + .audioset =3D 1, + .tuner =3D 0, + .status =3D 0, + },{ + .index =3D 3, + .name =3D "Composite 3", + .type =3D V4L2_INPUT_TYPE_CAMERA, + .audioset =3D 1, + .tuner =3D 0, + .status =3D 0, + },{ + .index =3D 4, + .name =3D "Tuner 0", + .type =3D V4L2_INPUT_TYPE_TUNER, + .audioset =3D 0, + .tuner =3D 0, + .status =3D 0, + },{ + .index =3D 5, + .name =3D "Composite 4", + .type =3D V4L2_INPUT_TYPE_CAMERA, + .audioset =3D 1, + .tuner =3D 0, + .status =3D 0, + },{ + .index =3D 6, + .name =3D "S-Video 0", + .type =3D V4L2_INPUT_TYPE_CAMERA, + .audioset =3D 1, + .tuner =3D 0, + .status =3D 0, + },{ + .index =3D 7, + .name =3D "S-Video 1", + .type =3D V4L2_INPUT_TYPE_CAMERA, + .audioset =3D 1, + .tuner =3D 0, + .status =3D 0, + },{ + .index =3D 8, + .name =3D "S-Video 2", + .type =3D V4L2_INPUT_TYPE_CAMERA, + .audioset =3D 1, + .tuner =3D 0, + .status =3D 0, + },{ + .index =3D 9, + .name =3D "S-Video 3", + .type =3D V4L2_INPUT_TYPE_CAMERA, + .audioset =3D 1, + .tuner =3D 0, + .status =3D 0, + } +}; + /* * @@ -2369,6 +2447,391 @@ } switch (cmd) { + + /* Video 4 Linux like ioctl's... */ + case VIDIOC_QUERYCAP: + { + struct v4l2_capability *vcap =3D (struct v4l2_capability *)arg; + memset (vcap, 0, sizeof (*vcap)); + + /* driver name */ + strcpy(vcap->driver,"CXM"); + + /* card type */ + strcpy(vcap->card,"Hauppauge PVR-250"); + + /* bus info... */ + strcpy(vcap->bus_info, "PCI:0"); + + /* version */ + vcap->version =3D 0; + + /* capabilities */ + vcap->capabilities =3D (V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_TUNER| + V4L2_CAP_AUDIO|V4L2_CAP_READWRITE); + + break; + } + case VIDIOC_G_FMT: + { + struct v4l2_format *vfmt =3D (struct v4l2_format *)arg; + memset (vfmt, 0, sizeof (*vfmt)); + + vfmt->type =3D V4L2_BUF_TYPE_VIDEO_CAPTURE; + vfmt->fmt.pix.field =3D V4L2_FIELD_INTERLACED; + vfmt->fmt.pix.sizeimage =3D (128*1024); + vfmt->fmt.pix.width =3D sc->profile->width; + vfmt->fmt.pix.height =3D sc->profile->height; + + break; + } + case VIDIOC_S_FMT: + { + struct v4l2_format *vfmt =3D (struct v4l2_format *)arg; + + if (sc->encoding) + return EBUSY; + + if ((vfmt->fmt.pix.width % CXM_MACROBLOCK_WIDTH) + || (vfmt->fmt.pix.height % CXM_MACROBLOCK_HEIGHT)) + return EINVAL; + + /* + * Setting the width and height has the side effect of + * chosing between the VCD, SVCD, and DVD profiles. + */ + + for (i =3D 0; i < NUM_ELEMENTS(codec_profiles); i++) + if (codec_profiles[i]->width =3D=3D vfmt->fmt.pix.width + && codec_profiles[i]->height =3D=3D vfmt->fmt.pix.height) + break; + + if (i >=3D NUM_ELEMENTS(codec_profiles)) + { + /* need more codec profiles... just ignore for now */ + break; + /* return EINVAL; */ + } else { + sc->profile =3D codec_profiles[i]; + } + break; + } + case VIDIOC_S_STD: + /* should try to set this to something else than NTSC */ + break; + case VIDIOC_ENUMINPUT: + { + struct v4l2_input *vin =3D (struct v4l2_input *)arg; + + if ((vin->index < 0) || (vin->index >=3D NUM_INPUTS)) + return(-EINVAL); + + memcpy(vin, &tmk_inputs[vin->index], sizeof(struct v4l2_input)); + vin->std =3D V4L2_STD_NTSC; + vin->status =3D 0; + + break; + } + case VIDIOC_S_CTRL: + { + struct v4l2_control *vctrl =3D (struct v4l2_control *)arg; + + switch (vctrl->id) { + case V4L2_CID_BRIGHTNESS: + { + + if (vctrl->value < 0 || vctrl->value > 255) { + return(-EINVAL); + } + + if (cxm_saa7115_set_brightness(sc, vctrl->value) < 0) + return ENXIO; + + break; + } + case V4L2_CID_HUE: + { + if (vctrl->value < -128 || vctrl->value > 127) { + return(-EINVAL); + } + + if (cxm_saa7115_set_hue(sc, vctrl->value) < 0) + return ENXIO; + + break; + } + case V4L2_CID_SATURATION: + { + if (vctrl->value < 0 || vctrl->value > 127) { + return(-EINVAL); + } + + if (cxm_saa7115_set_chroma_saturation(sc, + vctrl->value) < 0) + return ENXIO; + + break; + } + case V4L2_CID_CONTRAST: + { + if (vctrl->value < 0 || vctrl->value > 127) { + return(-EINVAL); + } + + if (cxm_saa7115_set_contrast(sc, vctrl->value) < 0) + return ENXIO; + + break; + } + case V4L2_CID_AUDIO_VOLUME: + { + if (vctrl->value > 65535 || vctrl->value < 0) { + return(-EINVAL); + } + + break; + } + case V4L2_CID_AUDIO_MUTE: + { + if (vctrl->value) { + if (cxm_msp_mute(sc) < 0) return ENXIO; + } else { + if (cxm_msp_unmute(sc) < 0) return ENXIO; + } + + break; + } + default: + return(-EINVAL); + } + + + break; + } + case VIDIOC_QUERYCTRL: + { + struct v4l2_queryctrl *qctrl =3D (struct v4l2_queryctrl *)arg; + + qctrl->flags =3D V4L2_CTRL_FLAG_DISABLED; + + switch (qctrl->id) { + case V4L2_CID_BRIGHTNESS: + { + qctrl->type =3D V4L2_CTRL_TYPE_INTEGER; + strncpy(qctrl->name, "Brightness", 32); + qctrl->minimum =3D 0; + qctrl->maximum =3D 255; + qctrl->step =3D 0; + qctrl->default_value =3D 128; + qctrl->flags =3D 0; + qctrl->reserved[0] =3D 0; + qctrl->reserved[1] =3D 0; + break; + } + case V4L2_CID_HUE: + { + qctrl->type =3D V4L2_CTRL_TYPE_INTEGER; + strncpy(qctrl->name, "Hue", 32); + qctrl->minimum =3D -128; + qctrl->maximum =3D 127; + qctrl->step =3D 0; + qctrl->default_value =3D 0; + qctrl->flags =3D 0; + qctrl->reserved[0] =3D 0; + qctrl->reserved[1] =3D 0; + break; + } + case V4L2_CID_SATURATION: + { + qctrl->type =3D V4L2_CTRL_TYPE_INTEGER; + strncpy(qctrl->name, "Saturation", 32); + qctrl->minimum =3D 0; + qctrl->maximum =3D 127; + qctrl->step =3D 0; + qctrl->default_value =3D 64; + qctrl->flags =3D 0; + qctrl->reserved[0] =3D 0; + qctrl->reserved[1] =3D 0; + break; + } + case V4L2_CID_CONTRAST: + { + qctrl->type =3D V4L2_CTRL_TYPE_INTEGER; + strncpy(qctrl->name, "Contrast", 32); + qctrl->minimum =3D 0; + qctrl->maximum =3D 127; + qctrl->step =3D 0; + qctrl->default_value =3D 64; + qctrl->flags =3D 0; + qctrl->reserved[0] =3D 0; + qctrl->reserved[1] =3D 0; + break; + } + case V4L2_CID_AUDIO_VOLUME: + { + qctrl->type =3D V4L2_CTRL_TYPE_INTEGER; + strncpy(qctrl->name, "Volume", 32); + qctrl->minimum =3D 0; + qctrl->maximum =3D 65535; + qctrl->step =3D 0; + qctrl->default_value =3D 65535; + qctrl->flags =3D 0; + qctrl->reserved[0] =3D 0; + qctrl->reserved[1] =3D 0; + break; + } + case V4L2_CID_AUDIO_MUTE: + { + qctrl->type =3D V4L2_CTRL_TYPE_INTEGER; + strncpy(qctrl->name, "Mute", 32); + qctrl->minimum =3D 0; + qctrl->maximum =3D 1; + qctrl->step =3D 0; + qctrl->default_value =3D 1; + qctrl->flags =3D 0; + qctrl->reserved[0] =3D 0; + qctrl->reserved[1] =3D 0; + break; + } + default: + { + if (qctrl->id < V4L2_CID_BASE || + qctrl->id > V4L2_CID_LASTP1) + return EINVAL; + break; + } + } /* switch(qctrl->id) */ + + break; + } + case VIDIOC_S_INPUT: + { + int inp =3D *(int *)arg; + + source =3D cxm_unknown_source; + printf("set input to %d\n", inp); + switch (inp) { + default: + case 4: // tuner on 250 mce + source =3D cxm_tuner_source; + break; + + case 5: // composite on 250 mce + source =3D cxm_line_in_source_composite; + break; + } + + if (sc->encoding) { + + /* + * Switching between audio + video and audio only + * subtypes isn't supported while encoding. + */ + + if (source !=3D sc->source + && (source =3D=3D cxm_fm_source + || sc->source =3D=3D cxm_fm_source)) + return EBUSY; + } + + if (cxm_pause_encoder(sc) < 0) + return ENXIO; + + if (cxm_saa7115_select_source(sc, source) < 0) + return ENXIO; + if (cxm_msp_select_source(sc, source) < 0) + return ENXIO; + + sc->source =3D source; + + result =3D cxm_encoder_wait_for_lock(sc); + if (result < 0) + return ENXIO; + else if (result =3D=3D 0) + return EINVAL; + + if (cxm_unpause_encoder(sc) < 0) + return ENXIO; + break; + } + case VIDIOC_S_FREQUENCY: + { + struct v4l2_frequency *vf=3D(struct v4l2_frequency *)arg; + + /* Convert from Mhz * 16 to kHz */ + unsigned long freq =3D (vf->frequency * 1000) / 16; + int result; + + if (sc->source =3D=3D cxm_tuner_source) + if (cxm_pause_encoder(sc) < 0) + return ENXIO; + + if (cxm_tuner_select_frequency(sc, cxm_tuner_tv_freq_type, + freq) < 0) + return ENXIO; + + /* + * Explicitly wait for the tuner lock so we + * can indicate if there's a station present. + */ + if (cxm_tuner_wait_for_lock(sc) < 0) { + sc->tuner_signal =3D 0; + /* return EINVAL; */ + } + + result =3D cxm_encoder_wait_for_lock(sc); + if (result < 0) { + return ENXIO; + } else if (result =3D=3D 0) { + sc->tuner_signal =3D 0; + /* return EINVAL; */ + } else { + sc->tuner_signal =3D 65535; /* best possible signal */ + } + + if (sc->source =3D=3D cxm_tuner_source) + if (cxm_unpause_encoder(sc) < 0) + return ENXIO; + break; + } + case VIDIOC_G_TUNER: + { + struct v4l2_tuner *vt=3D(struct v4l2_tuner *)arg; + + vt->signal =3D sc->tuner_signal; + break; + } + case IVTV_IOC_G_CODEC: + { + struct ivtv_ioctl_codec *codec=3D(struct ivtv_ioctl_codec *)arg; + const struct cxm_codec_profile *cpp =3D sc->profile; + + codec->aspect =3D cpp->aspect; + codec->audio_bitmask =3D cpp->audio_sample_rate; + codec->bframes =3D cpp->gop.bframes; + codec->bitrate_mode =3D cpp->bitrate.mode; + codec->bitrate =3D cpp->bitrate.average; + codec->bitrate_peak =3D cpp->bitrate.peak; + codec->dnr_spatial =3D cpp->dnr.spatial; + codec->dnr_temporal =3D cpp->dnr.temporal; + codec->dnr_type =3D cpp->dnr.type; + codec->framerate =3D cpp->fps =3D=3D 30 ? 0 : 1; + codec->framespergop =3D cpp->gop.frames; + codec->gop_closure =3D cpp->gop.closure; + codec->pulldown =3D cpp->pulldown; + codec->stream_type =3D cpp->stream_type; + + break; + } + case IVTV_IOC_S_CODEC: + { + /* struct ivtv_ioctl_codec *codec=3D(struct ivtv_ioctl_codec *)arg; */ + + /* FIXME - need to figure out how to set this stuff */ + break; + } + + /* Brooktree ioctl's ... */ case BT848_GAUDIO: switch (cxm_msp_selected_source(sc)) { case cxm_tuner_source: @@ -2939,6 +3402,7 @@ break; default: + printf("unknown ioctl\n"); return ENOTTY; } diff -u ../dev/cxm/cxm.h ./cxm.h --- ../dev/cxm/cxm.h Sun Nov 20 06:35:12 2005 +++ ./cxm.h Mon Nov 14 06:35:35 2005 @@ -41,6 +41,8 @@ #define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array)) +#define PVR250_MCE // define for media center edition + /* * For simplicity several large buffers allocate during * driver attachment which normally occurs early on @@ -64,13 +66,13 @@ enum cxm_byte_order byte_order; }; -#define CXM_SG_BUFFERS 50 +#define CXM_SG_BUFFERS 100 struct cxm_buffer_pool { bus_dma_tag_t dmat; size_t offset; unsigned int read; - volatile unsigned int write; + unsigned int write; struct cxm_buffer bufs[CXM_SG_BUFFERS]; }; @@ -251,6 +253,7 @@ const struct cxm_tuner_channels *tuner_channels; int tuner_afc; unsigned long tuner_freq; + int tuner_signal; char msp_name[10]; Only in .: cxm_dec_fw.c Only in .: cxm_enc_fw.c Only in .: cxm_extract_fw Only in .: cxm_v4l.h diff -u ../dev/cxm/cxm_video.c ./cxm_video.c --- ../dev/cxm/cxm_video.c Sun Nov 20 06:35:12 2005 +++ ./cxm_video.c Mon Nov 14 06:09:33 2005 @@ -147,6 +147,21 @@ } }; +#ifdef PVR250_MCE +static struct cxm_saa7115_command +saa7115_select_line_in_composite =3D { + 3, + { + /* Amp plus anti-alias filter, CVBS from AI24 */ + { 0x02, 1, { 0xc5 } }, + /* Adaptive luminance comb filter */ + { 0x09, 1, { 0x40 } }, + + /* Enable AD2, audio clock, scaler, decoder */ + { 0x88, 1, { 0xb0 } } + } +}; +#else static struct cxm_saa7115_command saa7115_select_line_in_composite =3D { 3, @@ -160,6 +175,7 @@ { 0x88, 1, { 0x70 } } } }; +#endif static struct cxm_saa7115_command saa7115_select_line_in_svideo =3D { Here are the MythTv 0.18 changes: --- origmyth/mythtv-0.18.1/libs/libmythtv/videodev_myth.h Fri Jun 4 01:17:2= 3 2004 +++ mythtv-0.18.1/libs/libmythtv/videodev_myth.h Wed Nov 16 06:20:14 2005 @@ -3,7 +3,7 @@ #ifdef __FreeBSD__ #include -typedef unsigned long __u32; +typedef unsigned int __u32; typedef unsigned short __u16; typedef int __s32; typedef unsigned char __u8; --- origmyth/mythtv-0.18.1/libs/libmyth/DisplayResX.cpp Thu Apr 7 15:33:49 2005 +++ mythtv-0.18.1/libs/libmyth/DisplayResX.cpp Thu Nov 17 01:33:22 2005 @@ -2,19 +2,19 @@ #include #include -namespace X11 -{ +//namespace X11 +//{ #include #include #include #include -} +//} #include #include "DisplayResX.h" -using namespace X11; +//using namespace X11; static XRRScreenConfiguration *GetScreenConfig(Display*& display);--- origmyth/mythtv-0.18.1/configure Thu May 5 07:15:43 2005 +++ mythtv-0.18.1/configure Sat Nov 19 04:04:39 2005 @@ -359,6 +359,6 @@ extralibs=3D"$extralibs -lsocket -lnsl" ;; FreeBSD) -v4l=3D"no" +v4l=3D"yes" joystick_menu=3D"no" dv1394=3D"no" make=3D"gmake" On 11/9/05, Dylan Reid wrote: > > I have been trying to set up mythtv on FreeBSD 6.0 with an amd64 system. > First thing was to get the capture card to work. I first applied patches = for > ports/85433 and ports/87518. This got me compiling. In order to get the > module to load, I had to ignore the missing IR receiver. > > Next I wanted to use composite input, so I had to change which mode the > saa7115 was configured to when the composite input was selected. I could = not > find a good way to determine dynamically if the card is an MCE or not. I = did > not look into this too hard however. So i just went with the easiest > possible change. I did notice the Linux ivtv driver does not know the > difference. > > Below are the patches I made in case anyone else wants to use the cxm > driver with a 250 MCE. > > -Dylan > > --- cxm.c.orig Wed Nov 9 04:42:14 2005 > +++ cxm.c Wed Nov 9 04:51:56 2005 > @@ -1762,8 +1762,10 @@ > */ > if (cxm_ir_init(sc) < 0) { > device_printf(dev, "could not initialize IR remote\n"); > +#ifndef PVR250_MCE > error =3D ENXIO; > goto fail; > +#endif > } > > sc->dec_mbx =3D -1; > --- cxm.h.orig Wed Nov 9 04:59:32 2005 > +++ cxm.h Wed Nov 9 05:00:13 2005 > @@ -41,6 +41,8 @@ > > #define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array)) > > +#define PVR250_MCE // define for media center edition > + > /* > * For simplicity several large buffers allocate during > * driver attachment which normally occurs early on > --- cxm_video.c.orig Wed Nov 9 04:44:24 2005 > +++ cxm_video.c Wed Nov 9 05:21:44 2005 > @@ -147,6 +147,21 @@ > } > }; > > +#ifdef PVR250_MCE > +static struct cxm_saa7115_command > +saa7115_select_line_in_composite =3D { > + 3, > + { > + /* Amp plus anti-alias filter, CVBS from AI24 */ > + { 0x02, 1, { 0xc5 } }, > + /* Adaptive luminance comb filter */ > + { 0x09, 1, { 0x40 } }, > + > + /* Enable AD2, audio clock, scaler, decoder */ > + { 0x88, 1, { 0xb0 } } > + } > +}; > +#else > static struct cxm_saa7115_command > saa7115_select_line_in_composite =3D { > 3, > @@ -160,6 +175,7 @@ > { 0x88, 1, { 0x70 } } > } > }; > +#endif > > static struct cxm_saa7115_command > saa7115_select_line_in_svideo =3D { > > From owner-freebsd-multimedia@FreeBSD.ORG Sun Nov 20 10:49:22 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1E4B16A41F for ; Sun, 20 Nov 2005 10:49:21 +0000 (GMT) (envelope-from chris@haakonia.hitnet.rwth-aachen.de) Received: from ms-dienst.rz.rwth-aachen.de (ms-1.rz.RWTH-Aachen.DE [134.130.3.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2FBF43D46 for ; Sun, 20 Nov 2005 10:49:20 +0000 (GMT) (envelope-from chris@haakonia.hitnet.rwth-aachen.de) Received: from r220-1 (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0IQ9001ZM227OQ@ms-dienst.rz.rwth-aachen.de> for freebsd-multimedia@freebsd.org; Sun, 20 Nov 2005 11:49:19 +0100 (MET) Received: from relay.rwth-aachen.de ([134.130.3.1]) by r220-1 (MailMonitor for SMTP v1.2.2 ) ; Sun, 20 Nov 2005 11:49:18 +0100 (MET) Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by relay.rwth-aachen.de (8.13.3/8.13.3/1) with ESMTP id jAKAnInN005767; Sun, 20 Nov 2005 11:49:18 +0100 (MET) Received: from lorien.hitnet.rwth-aachen.de ([137.226.181.92] helo=haakonia.hitnet.rwth-aachen.de) by bigboss.hitnet.rwth-aachen.de with esmtp (Exim 3.35 #1 (Debian)) id 1Edml4-0008MJ-00; Sun, 20 Nov 2005 11:49:18 +0100 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id 30F472844A; Sun, 20 Nov 2005 11:49:18 +0100 (CET) Date: Sun, 20 Nov 2005 11:49:18 +0100 From: Christian Brueffer In-reply-to: <20051117100248.GA10445@rndsoft.co.kr> To: Pyun YongHyeon Message-id: <20051120104917.GA1456@unixpages.org> MIME-version: 1.0 Content-type: multipart/signed; boundary=azLHFNyN32YCQGCU; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.5.9i X-Operating-System: FreeBSD 6.0-STABLE X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D References: <21be38170511160253w1919fa1w71bad77f52cec2b0@mail.gmail.com> <20051117025426.GC8586@rndsoft.co.kr> <21be38170511162349s4db0c178r4533fe369a33b9b@mail.gmail.com> <20051117080938.GA9967@rndsoft.co.kr> <21be38170511170136u7c2f80a7tfcfd4aa12cedb29d@mail.gmail.com> <20051117100248.GA10445@rndsoft.co.kr> Cc: freebsd-multimedia@freebsd.org, Andrew Bliznak Subject: Re: CURRENT Intel ICH5 (82801EB) errors 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, 20 Nov 2005 10:49:22 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 17, 2005 at 07:02:48PM +0900, Pyun YongHyeon wrote: > On Thu, Nov 17, 2005 at 12:36:25PM +0300, Andrew Bliznak wrote: > > On 11/17/05, Pyun YongHyeon wrote: > > > On Thu, Nov 17, 2005 at 10:49:20AM +0300, Andrew Bliznak wrote: > > > > On 11/17/05, Pyun YongHyeon wrote: > > > > > On Wed, Nov 16, 2005 at 01:53:25PM +0300, Andrew Bliznak wrote: > > > > > > Just for information > > > > > > > > > > > > FreeBSD beef.xxxxxx.com 7.0-CURRENT FreeBSD 7.0-CURRENT #0: = Tue Nov 15 > > > > > > 13:03:12 EET 2005 > > > > > > andrew@pyvo.xxxxxx.com:/usr/home/andrew/C/obj/usr/home/andre= w/C/src/sys/GENERIC > > > > > > i386 > > > > > > > > > > > > from dmesg: > > > > > > --- > > > > > > Nov 15 17:02:31 beef kernel: pcm0: po= rt > > > > > > 0xd000-0xd0ff,0xe100-0xe13f mem > > > > > > 0xf8201000-0xf82011ff,0xf8202000-0xf82020ff irq 17 at device= 31.5 on > > > > > > pci0 > > > > > > Nov 15 17:02:31 beef kernel: pcm0: unable to initialize the = card > > > > > > Nov 15 17:02:31 beef kernel: device_attach: pcm0 attach retu= rned 6 > > > > > > > > > > How about attached patch? > > > > > > > > No luck, rebuild module and reload > > > > --- > > > > Nov 17 09:37:50 beef kernel: pcm0: port > > > > 0xd000-0xd0ff,0xe100-0xe13f mem > > > > 0xf8201000-0xf82011ff,0xf8202000-0xf82020ff irq 17 at device 31.5= on > > > > pci0 > > > > Nov 17 09:37:50 beef kernel: pcm0: primary codec not ready!pcm0: > > > > unable to initialize the card > > > > Nov 17 09:37:50 beef kernel: device_attach: pcm0 attach returned 6 > > > > --- > > > > > > > > Will try late with reboot, thanks anyway. > > > > > > > > > > Hmm, then try this one. It just ignores PCR bit. > >=20 > > Rebuild, reload. This time much better, and I hear sound from speakers > > ( debug.bootverbose 0->1) > > --- >=20 > Great. > In order to commit this change to tree I need more feedbacks from > ICH[4-7] users as the patch changes fundamental operation procedures. > (i.e. ignoring PCR bit while accessing codec.) > It's also possible to introduce a new tunable to ignore PCR bit > but I'd like to avoid adding additional one as possible as I can. >=20 No ill effects here (ICH4). - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFDgFStbHYXjKDtmC0RAkDKAKDTcu8DAchaQVwQSJMEEGcGrIFLHgCg+8p/ JCNkig7HKOu0COA4BWP9il0= =5RQA -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU-- From owner-freebsd-multimedia@FreeBSD.ORG Sun Nov 20 12:01:59 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D215F16A41F for ; Sun, 20 Nov 2005 12:01:59 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F72943D45 for ; Sun, 20 Nov 2005 12:01:59 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IQ9001P15LRRS30@osl1smout1.broadpark.no> for freebsd-multimedia@freebsd.org; Sun, 20 Nov 2005 13:05:51 +0100 (CET) Received: from kg-work.kg4.no ([80.203.92.30]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0IQ900CXV5K1SH10@osl1sminn1.broadpark.no> for freebsd-multimedia@freebsd.org; Sun, 20 Nov 2005 13:04:49 +0100 (CET) Date: Sun, 20 Nov 2005 12:30:35 +0100 From: Torfinn Ingolfsen 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 In-reply-to: To: freebsd-multimedia@freebsd.org Message-id: <20051120123035.360871f0.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: Subject: Re: PVR250 MCE with cxm driver under 6.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: Sun, 20 Nov 2005 12:01:59 -0000 On Wed, 09 Nov 2005 05:27:03 +0000 Dylan Reid wrote: > I have been trying to set up mythtv on FreeBSD 6.0 with an amd64 > system. First thing was to get the capture card to work. I first I have a PVR-500, so for the time being, my MythTV box is running on KnoppMyth (aka Debian). -- Regards, Torfinn Ingolfsen, Norway From owner-freebsd-multimedia@FreeBSD.ORG Sun Nov 20 12:15:59 2005 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3D6D16A41F; Sun, 20 Nov 2005 12:15:58 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6778943D45; Sun, 20 Nov 2005 12:15:57 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5DCEA.dip.t-dialin.net [84.165.220.234]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id jAKBpI6v001734; Sun, 20 Nov 2005 12:51:20 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id jAKCFnbs026380; Sun, 20 Nov 2005 13:15:50 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sun, 20 Nov 2005 13:15:49 +0100 From: Alexander Leidinger To: "Don L. Belcher" Message-ID: <20051120131549.44bab04f@Magellan.Leidinger.net> In-Reply-To: <200511190739.jAJ7dnJe073083@www.freebsd.org> References: <200511190739.jAJ7dnJe073083@www.freebsd.org> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.6; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-gnats-submit@freebsd.org, multimedia@freebsd.org Subject: Re: usb/89269: usb headset does not work with uaudio module 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, 20 Nov 2005 12:15:59 -0000 On Sat, 19 Nov 2005 07:39:49 GMT "Don L. Belcher" wrote: > if usb audio device is at the max or min sample rate an error is returned > in this case the max sample rate is 48000 for device. The code > checks for max sample < 48000 but should be <= 48000 to work. Can you please try -current instead of 6.0-RC1? We've changed some parts in uaudio. Bye, Alexander. -- Where do you think you're going today? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 From owner-freebsd-multimedia@FreeBSD.ORG Sun Nov 20 14:26:34 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D133116A41F for ; Sun, 20 Nov 2005 14:26:34 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (I9d91.i.pppool.de [85.73.157.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A68C43D6E for ; Sun, 20 Nov 2005 14:26:04 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (barda [192.168.20.1]) by barda.agala.net (Postfix) with ESMTP id 3379C119CDD for ; Sun, 20 Nov 2005 15:26:07 +0100 (CET) Received: from abakus.agala.net (abakus.agala.net [192.168.223.2]) by mail.agala.net (Postfix) with ESMTP id 413A5119CBB for ; Sun, 20 Nov 2005 15:26:06 +0100 (CET) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-multimedia@freebsd.org Date: Sun, 20 Nov 2005 15:25:42 +0100 User-Agent: KMail/1.8.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511201525.43944.frank@barda.agala.net> X-Scanned-By: emfilter 1.0 @ 192.168.20.1 X-DSPAM-Result: Innocent X-DSPAM-Processed: Sun Nov 20 15:26:08 2005 X-DSPAM-Confidence: 1.0000 X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 262,43808780378051014415584 X-DSPAM-Factors: 27, Subject*Re+PVR250, 0.40000, Organization*naga+doron, 0.40000, Message-Id*agala+net, 0.40000, From*Frank, 0.40000, Content-Type*text+plain, 0.40000, Content-Disposition*inline, 0.40000, In-Reply-To*gmail+com, 0.40000, References*com, 0.40000, References*com, 0.40000, Content-Type*charset+iso, 0.40000, Subject*under, 0.40000, References*gmail, 0.40000, References*gmail, 0.40000, To*multimedia+freebsd, 0.40000 Subject: Re: PVR250 MCE with cxm driver under 6.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: Sun, 20 Nov 2005 14:26:34 -0000 Hi, am Sonntag, 20. November 2005 08:16 schrieb Dylan Reid: > I have MythTV 0.18 running on FreeBSD 6.0(amd64). I had to merge some > additional changes to the ones below to integrate the v4l2 support into the > cxm driver to get myth to work. I also had to make a few minor changes to > get myth to build properly. That sounds like the first step of video4bsd. :-) -- Frank From owner-freebsd-multimedia@FreeBSD.ORG Sun Nov 20 17:33:56 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8BF016A41F for ; Sun, 20 Nov 2005 17:33:56 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (I9d91.i.pppool.de [85.73.157.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFDA343D45 for ; Sun, 20 Nov 2005 17:33:50 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (barda [192.168.20.1]) by barda.agala.net (Postfix) with ESMTP id 86C74119CC2 for ; Sun, 20 Nov 2005 18:33:52 +0100 (CET) Received: from abakus.agala.net (abakus.agala.net [192.168.223.2]) by mail.agala.net (Postfix) with ESMTP id AA053119CBB for ; Sun, 20 Nov 2005 18:33:51 +0100 (CET) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-multimedia@freebsd.org Date: Sun, 20 Nov 2005 18:33:29 +0100 User-Agent: KMail/1.8.2 References: <200511172331.09307.frank@barda.agala.net> <200511200026.43570.danny@ricin.com> In-Reply-To: <200511200026.43570.danny@ricin.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511201833.31435.frank@barda.agala.net> X-Scanned-By: emfilter 1.0 @ 192.168.20.1 X-DSPAM-Result: Innocent X-DSPAM-Processed: Sun Nov 20 18:33:54 2005 X-DSPAM-Confidence: 1.0000 X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 262,4380b382432681906215480 X-DSPAM-Factors: 27, > Organization*naga+doron, 0.40000, > > Message-Id*agala+net, 0.40000, > From*Frank, 0.40000, > Content-Type*text+plain, 0.40000, > > > Content-Disposition*inline, 0.40000, > Subject: Re: Which TV cards do send the audio data via PCI? 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, 20 Nov 2005 17:33:56 -0000 Hi, am Sonntag, 20. November 2005 01:26 schrieb Danny Pansters: > On Thursday 17 November 2005 22:31, Frank J. Beckmann wrote: > > Hi, > > > > I'm thinking about bying a TV card. It must support PAL and and should > > handle stereo sound. There seam to be different ways how the audio data > > gets into the PC. Most cards use a cable to the sound card. But that > > blocks the only line in input. Now I read that some cards send the audio > > data via > > No. If you have a cable inside your box that goes from tv card audio outlet > -> audio card line inlet it'll be line1, not line. So you can still use the > line channel for extarnal audio that you want to get into your soundcard as > the line-in. But not all tv cards have this. Few cards have an outlet and the inlet of the audio card is blocked by the cdrom. > > the PCI bus to the bktr driver. That sound much more elegant. But which > > No. There are (many) cards with a sound processor of their own, but as far > as I know on FreeBSD they don't get their own mixer (as on Linux) but > rather become the video mixer channel (or something). Do you have examples which cards that are? I guess it is really time for vidoe4bsd. Thank you. -- Frank From owner-freebsd-multimedia@FreeBSD.ORG Sun Nov 20 17:40:57 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B99016A41F for ; Sun, 20 Nov 2005 17:40:57 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (I9d91.i.pppool.de [85.73.157.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7C6F43D45 for ; Sun, 20 Nov 2005 17:40:50 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (barda [192.168.20.1]) by barda.agala.net (Postfix) with ESMTP id E3BD7119CE2 for ; Sun, 20 Nov 2005 18:40:50 +0100 (CET) Received: from abakus.agala.net (abakus.agala.net [192.168.223.2]) by mail.agala.net (Postfix) with ESMTP id 9C9AA119CBB for ; Sun, 20 Nov 2005 18:40:50 +0100 (CET) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-multimedia@freebsd.org Date: Sun, 20 Nov 2005 18:40:30 +0100 User-Agent: KMail/1.8.2 References: <20051117232316.53554.qmail@web30310.mail.mud.yahoo.com> <200511181637.42158.frank@barda.agala.net> <20051119021457.GB26115@puff.jakemsr.gom> In-Reply-To: <20051119021457.GB26115@puff.jakemsr.gom> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511201840.31441.frank@barda.agala.net> X-Scanned-By: emfilter 1.0 @ 192.168.20.1 X-DSPAM-Result: Innocent X-DSPAM-Processed: Sun Nov 20 18:40:52 2005 X-DSPAM-Confidence: 0.9996 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 262,4380b524433661182376714 X-DSPAM-Factors: 27, To*multimedia, 0.00020, > > Subject*Which, 0.00020, Disposition-Notification-To*Beckmann+frank, 0.00020, To*freebsd+org, 0.00020, From*Frank+Beckmann, 0.00020, Received*freebsd.org, 0.00020, Disposition-Notification-To*barda, 0.00020, Disposition-Notification-To*frank, 0.00020, > From*frank+barda, 0.00020, Disposition-Notification-To*Frank, 0.00020, Content-Type*iso, 0.00020, Disposition-Notification-To*Frank+Beckmann, 0.00020, To*freebsd, 0.00020, To*freebsd, 0.00020, Subject*data, 0.00020, Subject*send+the, 0.00020 Subject: Re: Which TV cards do send the audio data via PCI? 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, 20 Nov 2005 17:40:57 -0000 Hi, am Samstag, 19. November 2005 03:14 schrieb Jacob Meuser: > On Fri, Nov 18, 2005 at 04:37:40PM +0100, Frank J. Beckmann wrote: > > Is there really no bt8x8 card that sends the audio data via PCI? > > no. what do you really gain by that anyway? it's not like the > bt8x8 cards/bktr driver are so finely tuned that the minimal "delay" > or "interference" of running a wire to the soundcard is going to be > noticeable. You need an audio card for each tv card the way it is handled now. :-( > plus, NetBSD and OpenBSD use a different audio > architecture than FreeBSD, but bktr is pretty much the same across > the three. there are some OS dependent bits, but adding a real > audio interface would add a whole lot more. Many parts of the BSDs differ but that should be no reason for not making things better. -- Frank From owner-freebsd-multimedia@FreeBSD.ORG Sun Nov 20 17:42:15 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A932116A41F for ; Sun, 20 Nov 2005 17:42:15 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (I9d91.i.pppool.de [85.73.157.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id E577443D55 for ; Sun, 20 Nov 2005 17:41:54 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (barda [192.168.20.1]) by barda.agala.net (Postfix) with ESMTP id BDB61119CC2 for ; Sun, 20 Nov 2005 18:41:50 +0100 (CET) Received: from abakus.agala.net (abakus.agala.net [192.168.223.2]) by mail.agala.net (Postfix) with ESMTP id 752F8119CBB for ; Sun, 20 Nov 2005 18:41:50 +0100 (CET) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-multimedia@freebsd.org Date: Sun, 20 Nov 2005 18:41:30 +0100 User-Agent: KMail/1.8.2 References: <20051118155157.61649.qmail@web30309.mail.mud.yahoo.com> <200511181719.10413.frank@barda.agala.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200511201841.31868.frank@barda.agala.net> X-Scanned-By: emfilter 1.0 @ 192.168.20.1 X-DSPAM-Result: Innocent X-DSPAM-Processed: Sun Nov 20 18:41:51 2005 X-DSPAM-Confidence: 0.9996 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 262,4380b55f435224765514607 X-DSPAM-Factors: 27, To*multimedia, 0.00020, Date*Sun+Nov, 0.00020, Subject*Which, 0.00020, Disposition-Notification-To*Beckmann+frank, 0.00020, References*mud+yahoo, 0.00020, In-Reply-To*mail, 0.00020, To*freebsd+org, 0.00020, References*qmail, 0.00020, From*Frank+Beckmann, 0.00020, Received*freebsd.org, 0.00020, Disposition-Notification-To*barda, 0.00020, Disposition-Notification-To*frank, 0.00020, From*frank+barda, 0.00020, Disposition-Notification-To*Frank, 0.00020, Content-Type*iso, 0.00020, Disposition-Notification-To*Frank+Beckmann, 0.00020, To*freebsd, 0.00020, To*freebsd, 0.00020, Subject*data, 0.00020, Subject*send+the, 0.00020, Date*Nov, 0.00020, Organization*agala, 0.00020, Disposition-Notification-To*agala, 0.00020, In-Reply-To*com, 0.00020 Subject: Re: Which TV cards do send the audio data via PCI? 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, 20 Nov 2005 17:42:15 -0000 Hi, am Samstag, 19. November 2005 02:24 schrieb Dylan Reid: > if you apply the patches for ports/85433 then the driver will compile and > work under 6.0. Thank you, I found them in the pr database. =2D-=20 Tsch=FCss =46rank From owner-freebsd-multimedia@FreeBSD.ORG Mon Nov 21 00:21:34 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2FB316A41F for ; Mon, 21 Nov 2005 00:21:34 +0000 (GMT) (envelope-from sironside@interfone.net) Received: from epistula.interfone.net (host-84-9-255-18.bulldogdsl.com [84.9.255.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AC4A43D45 for ; Mon, 21 Nov 2005 00:21:33 +0000 (GMT) (envelope-from sironside@interfone.net) Received: from [10.69.4.56] ([10.69.4.56]) by epistula.interfone.net (8.13.1/8.13.1) with ESMTP id jAL0ahhk095544; Mon, 21 Nov 2005 00:36:43 GMT (envelope-from sironside@interfone.net) Message-ID: <43811263.2030100@interfone.net> Date: Mon, 21 Nov 2005 00:18:43 +0000 From: Simon Ironside User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Torfinn Ingolfsen References: <20051120123035.360871f0.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20051120123035.360871f0.torfinn.ingolfsen@broadpark.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: PVR250 MCE with cxm driver under 6.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, 21 Nov 2005 00:21:34 -0000 Torfinn Ingolfsen wrote: > I have a PVR-500, so for the time being, my MythTV box is running on > KnoppMyth (aka Debian). Have you tried the PVR-500 with the cxm driver? Simon From owner-freebsd-multimedia@FreeBSD.ORG Mon Nov 21 00:42:07 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8DE916A41F for ; Mon, 21 Nov 2005 00:42:07 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: from mail231.csoft.net (resin.csoft.net [63.111.22.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 25A9843D46 for ; Mon, 21 Nov 2005 00:42:06 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: (qmail 2035 invoked from network); 21 Nov 2005 00:42:17 -0000 Received: from unknown (HELO puff.jakemsr.gom) (63.111.27.87) by mail231.csoft.net with SMTP; 21 Nov 2005 00:42:17 -0000 Received: (from jakemsr@jakemsr.com) by puff.jakemsr.gom (mini_sendmail/1.3.5 16nov2003); Sun, 20 Nov 2005 16:42:03 PST (sender jakemsr@puff.jakemsr.gom) Date: Sun, 20 Nov 2005 16:42:03 -0800 From: Jacob Meuser To: freebsd-multimedia@freebsd.org Message-ID: <20051121004203.GB19362@puff.jakemsr.gom> Mail-Followup-To: freebsd-multimedia@freebsd.org References: <20051117232316.53554.qmail@web30310.mail.mud.yahoo.com> <200511181637.42158.frank@barda.agala.net> <20051119021457.GB26115@puff.jakemsr.gom> <200511201840.31441.frank@barda.agala.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200511201840.31441.frank@barda.agala.net> User-Agent: Mutt/1.4.2i Subject: Re: Which TV cards do send the audio data via PCI? 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, 21 Nov 2005 00:42:07 -0000 On Sun, Nov 20, 2005 at 06:40:30PM +0100, Frank J. Beckmann wrote: > Hi, > > am Samstag, 19. November 2005 03:14 schrieb Jacob Meuser: > > On Fri, Nov 18, 2005 at 04:37:40PM +0100, Frank J. Beckmann wrote: > > > Is there really no bt8x8 card that sends the audio data via PCI? > > > > no. what do you really gain by that anyway? it's not like the > > bt8x8 cards/bktr driver are so finely tuned that the minimal "delay" > > or "interference" of running a wire to the soundcard is going to be > > noticeable. > > You need an audio card for each tv card the way it is handled now. :-( many audio cards have more than one input. pretty sure most (all?) people with a TV card will already have a sound card anyway. and is it even possible to use more than one bktr card in a machine? > > plus, NetBSD and OpenBSD use a different audio > > architecture than FreeBSD, but bktr is pretty much the same across > > the three. there are some OS dependent bits, but adding a real > > audio interface would add a whole lot more. > > Many parts of the BSDs differ but that should be no reason for not making > things better. bktr has been in the FreeBSD tree for more than 8 years. in that time, apparently no one has thought it worth the effort. I still think it's a very marginal "better" with a lot of complicated processes involved. -- From owner-freebsd-multimedia@FreeBSD.ORG Mon Nov 21 00:46:52 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B3D316A41F for ; Mon, 21 Nov 2005 00:46:52 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: from mail231.csoft.net (resin.csoft.net [63.111.22.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 95ACF43D45 for ; Mon, 21 Nov 2005 00:46:51 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: (qmail 18099 invoked from network); 21 Nov 2005 00:46:59 -0000 Received: from unknown (HELO puff.jakemsr.gom) (63.111.27.87) by mail231.csoft.net with SMTP; 21 Nov 2005 00:46:59 -0000 Received: (from jakemsr@jakemsr.com) by puff.jakemsr.gom (mini_sendmail/1.3.5 16nov2003); Sun, 20 Nov 2005 16:46:44 PST (sender jakemsr@puff.jakemsr.gom) Date: Sun, 20 Nov 2005 16:46:44 -0800 From: Jacob Meuser To: freebsd-multimedia@freebsd.org Message-ID: <20051121004644.GC19362@puff.jakemsr.gom> Mail-Followup-To: freebsd-multimedia@freebsd.org References: <200511172331.09307.frank@barda.agala.net> <200511200026.43570.danny@ricin.com> <200511201833.31435.frank@barda.agala.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200511201833.31435.frank@barda.agala.net> User-Agent: Mutt/1.4.2i Subject: Re: Which TV cards do send the audio data via PCI? 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, 21 Nov 2005 00:46:52 -0000 On Sun, Nov 20, 2005 at 06:33:29PM +0100, Frank J. Beckmann wrote: > Hi, > > am Sonntag, 20. November 2005 01:26 schrieb Danny Pansters: > > On Thursday 17 November 2005 22:31, Frank J. Beckmann wrote: > > > Hi, > > > > > > I'm thinking about bying a TV card. It must support PAL and and should > > > handle stereo sound. There seam to be different ways how the audio data > > > gets into the PC. Most cards use a cable to the sound card. But that > > > blocks the only line in input. Now I read that some cards send the audio > > > data via > > > > No. If you have a cable inside your box that goes from tv card audio outlet > > -> audio card line inlet it'll be line1, not line. So you can still use the > > line channel for extarnal audio that you want to get into your soundcard as > > the line-in. But not all tv cards have this. > > Few cards have an outlet and the inlet of the audio card is blocked by the > cdrom. IMO, more users would be served by having CD audio DMA'd than by having bktr audio DMA'd. -- From owner-freebsd-multimedia@FreeBSD.ORG Mon Nov 21 03:40:24 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 900D916A41F for ; Mon, 21 Nov 2005 03:40:24 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4081E43D46 for ; Mon, 21 Nov 2005 03:40:03 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so585669nzo for ; Sun, 20 Nov 2005 19:40:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=RlZlMUUOsdi3DBYeX0KqcdvBZAp8LFApqx1l80EeaLH3LUs1eWns5flLhANxv7zNAHuocJ7TDTL71BwO48uckzp8gDIrnh+hzzJJERWQNgNFkHN+U/4N5UkfkoggZI1T666VELO/U6yeGDdqH/qF7yIDfNvsJWMWB+g9HzhYM/g= Received: by 10.36.133.15 with SMTP id g15mr2641654nzd; Sun, 20 Nov 2005 19:40:02 -0800 (PST) Received: from michelle.rndsoft.co.kr ( [211.32.202.217]) by mx.gmail.com with ESMTP id 7sm107386nzn.2005.11.20.19.39.59; Sun, 20 Nov 2005 19:40:02 -0800 (PST) Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id jAL3bgLl001808 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Nov 2005 12:37:42 +0900 (KST) (envelope-from yongari@gmail.com) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id jAL3bcTN001807; Mon, 21 Nov 2005 12:37:38 +0900 (KST) (envelope-from yongari@gmail.com) Date: Mon, 21 Nov 2005 12:37:38 +0900 From: Pyun YongHyeon To: Christian Brueffer Message-ID: <20051121033738.GC916@rndsoft.co.kr> References: <21be38170511160253w1919fa1w71bad77f52cec2b0@mail.gmail.com> <20051117025426.GC8586@rndsoft.co.kr> <21be38170511162349s4db0c178r4533fe369a33b9b@mail.gmail.com> <20051117080938.GA9967@rndsoft.co.kr> <21be38170511170136u7c2f80a7tfcfd4aa12cedb29d@mail.gmail.com> <20051117100248.GA10445@rndsoft.co.kr> <20051120104917.GA1456@unixpages.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051120104917.GA1456@unixpages.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-multimedia@freebsd.org, Andrew Bliznak Subject: Re: CURRENT Intel ICH5 (82801EB) errors X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2005 03:40:24 -0000 On Sun, Nov 20, 2005 at 11:49:18AM +0100, Christian Brueffer wrote: > On Thu, Nov 17, 2005 at 07:02:48PM +0900, Pyun YongHyeon wrote: > > On Thu, Nov 17, 2005 at 12:36:25PM +0300, Andrew Bliznak wrote: > > > On 11/17/05, Pyun YongHyeon wrote: > > > > On Thu, Nov 17, 2005 at 10:49:20AM +0300, Andrew Bliznak wrote: > > > > > On 11/17/05, Pyun YongHyeon wrote: > > > > > > On Wed, Nov 16, 2005 at 01:53:25PM +0300, Andrew Bliznak wrote: > > > > > > > Just for information > > > > > > > > > > > > > > FreeBSD beef.xxxxxx.com 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Nov 15 > > > > > > > 13:03:12 EET 2005 > > > > > > > andrew@pyvo.xxxxxx.com:/usr/home/andrew/C/obj/usr/home/andrew/C/src/sys/GENERIC > > > > > > > i386 > > > > > > > > > > > > > > from dmesg: > > > > > > > --- > > > > > > > Nov 15 17:02:31 beef kernel: pcm0: port > > > > > > > 0xd000-0xd0ff,0xe100-0xe13f mem > > > > > > > 0xf8201000-0xf82011ff,0xf8202000-0xf82020ff irq 17 at device 31.5 on > > > > > > > pci0 > > > > > > > Nov 15 17:02:31 beef kernel: pcm0: unable to initialize the card > > > > > > > Nov 15 17:02:31 beef kernel: device_attach: pcm0 attach returned 6 > > > > > > > > > > > > How about attached patch? > > > > > > > > > > No luck, rebuild module and reload > > > > > --- > > > > > Nov 17 09:37:50 beef kernel: pcm0: port > > > > > 0xd000-0xd0ff,0xe100-0xe13f mem > > > > > 0xf8201000-0xf82011ff,0xf8202000-0xf82020ff irq 17 at device 31.5 on > > > > > pci0 > > > > > Nov 17 09:37:50 beef kernel: pcm0: primary codec not ready!pcm0: > > > > > unable to initialize the card > > > > > Nov 17 09:37:50 beef kernel: device_attach: pcm0 attach returned 6 > > > > > --- > > > > > > > > > > Will try late with reboot, thanks anyway. > > > > > > > > > > > > > Hmm, then try this one. It just ignores PCR bit. > > > > > > Rebuild, reload. This time much better, and I hear sound from speakers > > > ( debug.bootverbose 0->1) > > > --- > > > > Great. > > In order to commit this change to tree I need more feedbacks from > > ICH[4-7] users as the patch changes fundamental operation procedures. > > (i.e. ignoring PCR bit while accessing codec.) > > It's also possible to introduce a new tunable to ignore PCR bit > > but I'd like to avoid adding additional one as possible as I can. > > > > No ill effects here (ICH4). > Thank you. I've committed the patch to HEAD(ich.c, rev 1.56). -- Regards, Pyun YongHyeon From owner-freebsd-multimedia@FreeBSD.ORG Mon Nov 21 03:58:43 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D4A016A41F for ; Mon, 21 Nov 2005 03:58:43 +0000 (GMT) (envelope-from dgreid@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2900043D45 for ; Mon, 21 Nov 2005 03:58:42 +0000 (GMT) (envelope-from dgreid@gmail.com) Received: by wproxy.gmail.com with SMTP id i5so730225wra for ; Sun, 20 Nov 2005 19:58:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=bSkNOXmAK/c1TOhIqpyKQFQnyLVqLQdXi1j9G/gXfXdGfu73yPw8fEwMKynRc7FfOVVq9iRcJhUAZzgyHn8bYfNup8PuS6diuWt5U9nzpm3U/U8Ewbwm4XFw+HEy9gxaAH2vd/BwgG56IrDwob1cGWiy/Vp/at8CMeiJbZKJh2g= Received: by 10.54.131.10 with SMTP id e10mr870316wrd; Sun, 20 Nov 2005 19:58:42 -0800 (PST) Received: by 10.54.118.1 with HTTP; Sun, 20 Nov 2005 19:58:42 -0800 (PST) Message-ID: Date: Sun, 20 Nov 2005 22:58:42 -0500 From: Dylan Reid To: freebsd-multimedia@freebsd.org In-Reply-To: <43811263.2030100@interfone.net> MIME-Version: 1.0 References: <20051120123035.360871f0.torfinn.ingolfsen@broadpark.no> <43811263.2030100@interfone.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: PVR250 MCE with cxm driver under 6.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, 21 Nov 2005 03:58:43 -0000 I have not, but it certainly will not work out of the box, it will not work with a 150 either. These should not be hard to add support for, they have enough in common with a 250, that there should only be minor tweaking to ge= t them to work. Dylan On 11/20/05, Simon Ironside wrote: > > Torfinn Ingolfsen wrote: > > > I have a PVR-500, so for the time being, my MythTV box is running on > > KnoppMyth (aka Debian). > > Have you tried the PVR-500 with the cxm driver? > > Simon > _______________________________________________ > 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 Mon Nov 21 06:44:07 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A691A16A41F for ; Mon, 21 Nov 2005 06:44:07 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3406443D45 for ; Mon, 21 Nov 2005 06:44:07 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IQA0054GLK15E60@osl1smout1.broadpark.no> for freebsd-multimedia@freebsd.org; Mon, 21 Nov 2005 07:48:01 +0100 (CET) Received: from kg-work.kg4.no ([80.203.92.30]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0IQA00FEGLI9XJ80@osl1sminn1.broadpark.no> for freebsd-multimedia@freebsd.org; Mon, 21 Nov 2005 07:46:57 +0100 (CET) Date: Mon, 21 Nov 2005 07:44:05 +0100 From: Torfinn Ingolfsen 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 In-reply-to: <43811263.2030100@interfone.net> To: freebsd-multimedia@freebsd.org Message-id: <20051121074405.6e357b42.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20051120123035.360871f0.torfinn.ingolfsen@broadpark.no> <43811263.2030100@interfone.net> Subject: Re: PVR250 MCE with cxm driver under 6.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, 21 Nov 2005 06:44:07 -0000 On Mon, 21 Nov 2005 00:18:43 +0000 Simon Ironside wrote: > Torfinn Ingolfsen wrote: > > > I have a PVR-500, so for the time being, my MythTV box is running > > on KnoppMyth (aka Debian). > > Have you tried the PVR-500 with the cxm driver? No. According to the Linux driver people for these cards, there are some real differences between the -260 and the -500. Haven't had time to look into it. -- Regards, Torfinn Ingolfsen, Norway From owner-freebsd-multimedia@FreeBSD.ORG Mon Nov 21 11:02:46 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9E6016A422 for ; Mon, 21 Nov 2005 11:02:46 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D86D43D6B for ; Mon, 21 Nov 2005 11:02:37 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jALB2bKu090117 for ; Mon, 21 Nov 2005 11:02:37 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jALB2aim090111 for freebsd-multimedia@freebsd.org; Mon, 21 Nov 2005 11:02:36 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 21 Nov 2005 11:02:36 GMT Message-Id: <200511211102.jALB2aim090111@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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, 21 Nov 2005 11:02:46 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2002/02/26] kern/35351 multimedia [sound] emu10k1: no posibility to record f [2002/07/02] kern/40122 multimedia [sound] Device pcm stopps booting Kernel f [2002/08/29] kern/42173 multimedia [sound] Sony VAIO FXA 53 (or FXA 679 in M f [2003/10/02] kern/57487 multimedia [sound] [patch] Sound stops working on my o [2004/02/22] kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestr f [2004/10/08] kern/72439 multimedia [sound] Sound not functioning for VIA_823 f [2004/11/16] kern/73987 multimedia [sound] Nforce2 MB sound problem o [2004/12/31] kern/75687 multimedia [sound] [patch] No sound on PC which is i o [2005/04/14] kern/79905 multimedia [sound] sis7018 sound module problem o [2005/04/14] kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: f [2005/04/17] kern/80041 multimedia [sound] snd_via8233 does not support VIA8 o [2005/05/17] kern/81146 multimedia [sound] Sound isn't working AT ALL for Si o [2005/06/08] kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work o [2005/09/30] kern/86747 multimedia [sound] snd_ich and snd_driver .ko's stro o [2005/10/13] kern/87371 multimedia [sound] [panic] Force unload snd_es137x c 15 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/07/30] kern/20297 multimedia [sound] [patch] Joystick is not enabled w f [2001/02/26] kern/25386 multimedia [sound] Incorrect mixer registers (line & f [2001/04/09] kern/26454 multimedia [sound] mixer volume settings on Maestro- f [2001/07/18] kern/29067 multimedia [sound] Yamaha OPL3Sa2 pcm/pnp stops play f [2001/07/30] kern/29312 multimedia [sound] Using mixer on pcm misbehaves wit f [2001/10/27] kern/31521 multimedia [sound] pcm0 plays too fast on Intel 8280 o [2002/04/30] kern/37600 multimedia [sound] [partial patch] t4dwave drive doe f [2002/05/02] kern/37657 multimedia [sound] /dev/dsp and /dev/audio skip the o [2002/07/03] kern/40132 multimedia [sound] [patch] enabling the joystick int f [2002/07/23] kern/40927 multimedia [sound] Acer Labs M5451 dies with pcm:pla f [2002/08/17] kern/41743 multimedia [sound] No sound from SiS630s controller f [2002/09/08] kern/42564 multimedia [sound] record bug with emu10k1 driver f [2002/09/10] kern/42638 multimedia [sound] CS4326/4327 (MSS) buggy output pl f [2003/01/20] kern/47243 multimedia [sound] Onboard CMedia CMI8738 playback n f [2003/01/22] kern/47352 multimedia [sound] pcm/ac'97, dsp device busy o [2003/02/16] kern/48338 multimedia [sound] pcm audio driver hogs /dev/dsp?.? o [2003/04/18] kern/51145 multimedia [sound] Audio Slows during Heavy I/O o [2003/06/17] kern/53417 multimedia [sound] Bad Recordings on AC97 onboard au o [2003/07/03] kern/54049 multimedia [sound] Sound driver reports device busy o [2003/07/03] kern/54078 multimedia [sound] Sound Plays ~10% Slow [4.8] o [2003/12/26] kern/60599 multimedia [sound] [partial patch] No sound for ATI o [2003/12/29] kern/60677 multimedia [sound] [patch] No reaction of volume con o [2003/12/30] kern/60737 multimedia [sound] Sound card Turtle Beach Santa Cru o [2003/12/31] kern/60761 multimedia [sound] pcm performance on emu10k1 driver o [2004/02/15] kern/62862 multimedia [sound] [patch] fix pcm vchans related cr o [2004/03/10] kern/64040 multimedia [sound] crackling sound on 5.2.1-RELEASE o [2004/05/09] kern/66422 multimedia [sound] [patch] no sound on modern Sony V o [2004/05/14] kern/66642 multimedia [sound] pcm0: play: 0: play interrupt tim o [2004/06/19] kern/68122 multimedia [sound] Device busy (/dev/dsp)- insane, n o [2004/06/30] kern/68515 multimedia [sound] sound card noise (ES1938, 5.0) o [2004/07/04] kern/68665 multimedia [sound] pcm doesn't detect Realtek ac97 o a [2004/07/19] kern/69283 multimedia [sound] Via 8233 driver records at half s s [2004/08/23] kern/70852 multimedia [sound] via82xx PCM driver does not enabl o [2004/09/30] kern/72218 multimedia [sound] audio recording broken with emu10 o [2004/10/01] kern/72221 multimedia [sound] emu10k1 stereo channels are rever o [2004/10/19] kern/72887 multimedia [sound] emu10k1: sound lag o [2004/10/22] kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound near o [2004/10/25] kern/73098 multimedia [sound] Scan rate of sound card shifts wh o [2004/11/21] i386/74191 multimedia [sound] Notebook PC2001 Compliant AC97 au o [2004/12/20] kern/75316 multimedia [sound] [patch] Enable to select a record o [2005/01/06] kern/75894 multimedia [sound] AD1981 not probing (shuttle ST62K o [2005/01/08] kern/75969 multimedia [sound] [patch] Support for Sigmatel STAC o [2005/01/31] kern/76918 multimedia [sound] ATI AD1981 AC'97 Audio Controller o [2005/04/01] kern/79427 multimedia [sound] No sound on Compaq Armada 100S la o [2005/04/03] kern/79498 multimedia [sound] sndfile-play (and many other play o [2005/04/08] kern/79678 multimedia [sound] sound works except recording from o [2005/04/20] kern/80147 multimedia [snd_sb16] [patch] panic with the vibra16 o [2005/04/20] kern/80149 multimedia problems with an soundblaster-8 (original o [2005/04/20] kern/80151 multimedia [sound] [patch] Missing ESS ES1688 PCI-ID o [2005/04/20] kern/80152 multimedia [sound] [patch] SIMPLEX flag is not set p o [2005/04/22] kern/80234 multimedia [sound] [patch] add entry for Analog Devi o [2005/04/29] kern/80465 multimedia [sound] pcm0:record:0: record interrupt t o [2005/05/05] kern/80632 multimedia pcm driver missing support for CMI8738 au o [2005/05/09] kern/80824 multimedia [sound] kldunload can't unload sound.ko o [2005/05/14] kern/81013 multimedia [sound] [patch] Intel ICH3 sound chip rev o [2005/05/17] kern/81170 multimedia [sound] /dev/mixer misbehavior with enson o [2005/05/28] kern/81599 multimedia [sound] Via VT1612A Audio not working wel o [2005/07/29] kern/84311 multimedia [sound] 82801FB/FR/FW/FRW Intel High Defi o [2005/08/02] kern/84471 multimedia [sound] [patch] no sound ICH4 (Analog Dev o [2005/08/03] kern/84507 multimedia [sound] fm801: Not every card supports va o [2005/09/11] kern/85964 multimedia [sound] Can't play 24 bit audio (Audigy 2 o [2005/09/24] kern/86536 multimedia [sound] /dev/mixer has no devices (still) o [2005/09/25] kern/86557 multimedia [sound] Sound Card Volume isn't adjustabl o [2005/10/21] kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: re o [2005/11/08] kern/88687 multimedia [snd_ich] snd_ich locks up machine o [2005/11/11] kern/88820 multimedia [sound] Erratic recognition of VIA 8285 s o [2005/11/15] kern/89046 multimedia [sound] [patch] pchan-related sound corru o [2005/11/18] kern/89224 multimedia [sound] [panic] kernel panic after kldunl 68 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Mon Nov 21 13:25:49 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00F4916A420 for ; Mon, 21 Nov 2005 13:25:49 +0000 (GMT) (envelope-from zazubrik@mail.ru) Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9037B43D46 for ; Mon, 21 Nov 2005 13:25:48 +0000 (GMT) (envelope-from zazubrik@mail.ru) Received: from [195.149.104.100] (port=60534 helo=[10.13.66.29]) by mx1.mail.ru with esmtp id 1EeBg2-000Lt3-00; Mon, 21 Nov 2005 16:25:46 +0300 In-Reply-To: <20051119.022305.343188611.kazuhito@ph.noda.tus.ac.jp> References: <20051119.022305.343188611.kazuhito@ph.noda.tus.ac.jp> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5F806055-9A04-4A91-9FA5-F41C4F7B9C91@mail.ru> Content-Transfer-Encoding: 7bit From: Artem Ignatiev Date: Mon, 21 Nov 2005 16:25:42 +0300 To: Kazuhito HONDA X-Mailer: Apple Mail (2.746.2) Cc: freebsd-multimedia@freebsd.org Subject: Re: uaudio question 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, 21 Nov 2005 13:25:49 -0000 On 18.11.2005, at 20:23, Kazuhito HONDA wrote: > Hello, > > Please look at these mails: > > A part of http://docs.freebsd.org/cgi/getmsg.cgi?fetch=10831+0 > +archive/2005/freebsd-multimedia/20050501.freebsd-multimedia after > `3.'. > That worked, but buffer seems to be 2 secs long... > AND > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=42785+0+archive/2005/ > freebsd-multimedia/20050904.freebsd-multimedia Hadn't try those yet. > Conclusion is that you should delete a part of uaudio.c, and > you had better use Selasky's patches for some USB chips (ohci?). No, it's UHCI here. From owner-freebsd-multimedia@FreeBSD.ORG Mon Nov 21 14:22:32 2005 Return-Path: X-Original-To: freebsd-multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23C5B16A41F for ; Mon, 21 Nov 2005 14:22:32 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92EA843D77 for ; Mon, 21 Nov 2005 14:22:31 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 69D7C6CC29 for ; Mon, 21 Nov 2005 22:25:44 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (TOMOYO.MYBSD.ORG.MY [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25302-05 for ; Mon, 21 Nov 2005 22:25:43 +0800 (MYT) Received: from osaka (osaka.MyBSD.org.my [IPv6:2001:328:2002:aa2:2c0:9fff:fed2:b55]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id D6EFE6CC23 for ; Mon, 21 Nov 2005 22:25:42 +0800 (MYT) Date: Mon, 21 Nov 2005 22:22:13 +0800 From: Ariff Abdullah To: freebsd-multimedia@FreeBSD.org Message-Id: <20051121222213.29d7733a.ariff@FreeBSD.org> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Mon__21_Nov_2005_22_22_14_+0800_pRG4T0xCoO/8OZJ." X-Virus-Scanned: by Amavisd AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: Subject: HEADS UP: Incoming support ATI IXP 150/200/250/300/400 AC97 - snd_atiixp 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, 21 Nov 2005 14:22:32 -0000 --Signature=_Mon__21_Nov_2005_22_22_14_+0800_pRG4T0xCoO/8OZJ. Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Allright. Grab your Acer Ferrari 4000+ or Compaq m2000z or toaster or whatever with "used to" unsupported ATI IXP audio soundchip, format the drive, install FreeBSD 5 or 6 or -current, and get your long lost patch from: http://people.freebsd.org/~ariff/ Whats new: ATI IXP 150/200/250/300/400 AC97 pcm driver - snd_atiixp Features: 16bit playback / recording Native 32bit playback (sysctl hw.snd.pcm.vchans=3D0 ; mplayer -af resample=3D48000:0:0,format=3Ds32le ..) Whats not (or more polite, _TODO_): SPDIF Support for more than 2 channels Suspend / Resume Native 32bit recording seems broken, but hey, 16bit ought to =20 be enough for anybody :) -- Ariff Abdullah FreeBSD --Signature=_Mon__21_Nov_2005_22_22_14_+0800_pRG4T0xCoO/8OZJ. Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDgdgelr+deMUwTNoRAlG3AKCYc8aIfR/aPTCJugbzd+4IoZbaIwCfQYiA /2hErE/lz2QaNtcWVXp/bAQ= =PE5M -----END PGP SIGNATURE----- --Signature=_Mon__21_Nov_2005_22_22_14_+0800_pRG4T0xCoO/8OZJ.-- From owner-freebsd-multimedia@FreeBSD.ORG Mon Nov 21 15:30:24 2005 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C090316A420 for ; Mon, 21 Nov 2005 15:30:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DD8F43D49 for ; Mon, 21 Nov 2005 15:30:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jALFUOh7035357 for ; Mon, 21 Nov 2005 15:30:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jALFUOFL035354; Mon, 21 Nov 2005 15:30:24 GMT (envelope-from gnats) Date: Mon, 21 Nov 2005 15:30:24 GMT Message-Id: <200511211530.jALFUOFL035354@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: Marian Cerny Cc: Subject: Re: kern/87782: [sound] snd_t4dwave and pcm0:record:0: record interrupt timeout, channel dead X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marian Cerny List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2005 15:30:24 -0000 The following reply was made to PR kern/87782; it has been noted by GNATS. From: Marian Cerny To: bug-followup@FreeBSD.org, freebsd@fadesa.es Cc: Subject: Re: kern/87782: [sound] snd_t4dwave and pcm0:record:0: record interrupt timeout, channel dead Date: Mon, 21 Nov 2005 16:29:00 +0100 I have the same problem on FreeBSD 5.4-RELEASE-p1. # dmesg | grep pcm pcm0: port 0x8400-0x84ff mem 0xf0011000-0xf0011fff irq 5 at device 8.0 on pci0 pcm0: pcm0:record:0: record interrupt timeout, channel dead -- Marian Cerny From owner-freebsd-multimedia@FreeBSD.ORG Tue Nov 22 15:45:06 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12AB816A430 for ; Tue, 22 Nov 2005 15:45:06 +0000 (GMT) (envelope-from ath@niksun.com) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6532543D8D for ; Tue, 22 Nov 2005 15:44:11 +0000 (GMT) (envelope-from ath@niksun.com) Received: from stiegl.mj.niksun.com (stiegl.mj.niksun.com [10.70.0.231]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id jAMFsEr1087839; Tue, 22 Nov 2005 10:54:14 -0500 (EST) (envelope-from ath@stiegl.mj.niksun.com) Received: by stiegl.mj.niksun.com (Postfix, from userid 1002) id 7020A5845; Tue, 22 Nov 2005 10:44:02 -0500 (EST) To: Torfinn Ingolfsen References: <20051024135913.69403.qmail@web30313.mail.mud.yahoo.com> <435D2100.2090706@ninth-art.de> <200510242208.41038.molnarcs@gmail.com> <435D68E0.9070009@ninth-art.de> <20051025011451.GE3566@marvin.riggiland.au> <20051025095511.5bb4f9a2.torfinn.ingolfsen@broadpark.no> From: Andrew Heybey In-Reply-To: <20051025095511.5bb4f9a2.torfinn.ingolfsen@broadpark.no> (Torfinn Ingolfsen's message of "Tue, 25 Oct 2005 09:55:11 +0200") User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, berkeley-unix) Date: Tue, 22 Nov 2005 10:44:02 -0500 Message-ID: <854q64n0vx.fsf_-_@stiegl.mj.niksun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV devel-20050919/1183/Tue Nov 22 04:19:57 2005 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: freebsd-multimedia@freebsd.org Subject: Re: Mythtv on FreeBSD (was: digital TV cards) 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, 22 Nov 2005 15:45:06 -0000 Torfinn Ingolfsen writes: > On Tue, 25 Oct 2005 03:14:51 +0200 > Thomas Gutzler wrote: > >> I want to use it with freevo (or does mythtv work yet?) for watching > > Well, sort of. There is a port: http://mythtv.son.org/ > but further development seems to have stalled. The challenge is > getting more cards supported. > Personally, I would like to split a port of MythTV in > two parts: one for MythTV Frontend, and one for MythTV backend. A little late to be replying, but I am way behind on FreeBSD email. FWIW, I am running MythTV 0.18.1 (backend only) on FreeBSD 6.0 using a PVR250. It works quite well as a backend. I compiled and installed the sources more-or-less out of the box. Had to make a few changes to the configure script to get it to compile correctly. The changes were to allow an explicit "--enable-v4l" option (otherwise v4l is automaticaly turned off under FreeBSD) and to *not* require --enable-memalign-hack (which made it crash). The memalign stuff is required for MMX and/or SSE, but I know that FreeBSD's malloc returns 16-byte-aligned chunks of memory, so it is okay to omit it entirely. The diff is small so here it is: Index: configure =================================================================== --- configure (revision 7902) +++ configure (working copy) @@ -123,6 +123,7 @@ echo " --disable-audio-jack disable JACK audio support" #echo " --disable-audio-beos disable BeOS audio support [default=no]" #echo " --disable-v4l disable video4linux grabbing [default=no]" +#echo " --enable-v4l enable video4linux grabbing [default=yes]" #echo " --disable-dv1394 disable DV1394 grabbing [default=no]" #echo " --disable-network disable network support [default=no]" #echo " --disable-zlib disable zlib [default=no]" @@ -534,6 +535,8 @@ ;; --disable-v4l) v4l="no" ;; + --enable-v4l) v4l="yes" + ;; --disable-audio-oss) audio_oss="no" ;; --disable-audio-alsa) audio_alsa="no" @@ -1263,7 +1266,7 @@ if test "$_memalign" = "no" -a "$mmx" = "yes" -a "$memalignhack" != "yes"; then echo "error, no memalign() but sse enabled, either disable it or use --enable-memalign-hack" - exit 1 +# exit 1 fi cat > $TMPC << EOF I ran configure with the following options: ./configure --arch=pentium3 --disable-firewire --disable-lirc --disable-xrandr --enable-v4l --enable-proc-opt --enable-ivtv The hard part was getting the cxm driver to work. I had to merge in the changes from mythtv.son.org to make it understand the V4L ioctls and also find a patch in the FreeBSD PR database to make cxm work at all under 6.0. My frontend is still Linux. Mythfrontend does run on FreeBSD (at least well enough to change settings) but the box in question is a headless box so I don't care about trying to watch anything on it. andrew From owner-freebsd-multimedia@FreeBSD.ORG Tue Nov 22 15:53:35 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F082F16A41F for ; Tue, 22 Nov 2005 15:53:34 +0000 (GMT) (envelope-from a.n.s.i@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 349B043E2F for ; Tue, 22 Nov 2005 15:50:41 +0000 (GMT) (envelope-from a.n.s.i@gmx.net) Received: (qmail invoked by alias); 22 Nov 2005 15:50:18 -0000 Received: from p5087891C.dip0.t-ipconnect.de (EHLO [192.168.0.3]) [80.135.137.28] by mail.gmx.net (mp008) with SMTP; 22 Nov 2005 16:50:18 +0100 X-Authenticated: #30170983 Message-ID: <43834C47.8070905@gmx.net> Date: Tue, 22 Nov 2005 16:50:15 +0000 From: Evgeny Solovyov User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051110) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Leidinger References: <20051115.033104.343191587.kazuhito@ph.noda.tus.ac.jp> <20051114220333.223b7327@Magellan.Leidinger.net> In-Reply-To: <20051114220333.223b7327@Magellan.Leidinger.net> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-multimedia@freebsd.org Subject: Re: external sound card under FreeBSD 5.4 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, 22 Nov 2005 15:53:35 -0000 > Notes: > - I have a Creative USB device myself and it works just fine (in > -current). Hi! Which one have you? I applied a patch from http://people.freebsd.org/~ariff/ (Thank you Ariff) and hier is what i have: # uname -a FreeBSD tit007m 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Nov 22 12:10:13 UTC 2005 root@tit007m:/usr/obj/usr/src/sys/MOBILE04 i386 # dmesg | grep pcm pcm0: on uaudio0 # dmesg|grep uaudio uaudio0: Creative Technology Ltd SB Audigy 2 NX, rev 1.10/1.00, addr 2 uaudio0: ignored audio interface with 2 endpoints uaudio0: ignored audio interface with 2 endpoints uaudio0: ignored audio interface with 2 endpoints uaudio0: ignored audio interface with 2 endpoints uaudio0: ignored audio interface with 2 endpoints uaudio0: ignored audio interface with 2 endpoints uaudio0: ignored audio interface with 2 endpoints uaudio0: ignored audio interface with 2 endpoints uaudio0: ignored audio interface with 2 endpoints uaudio0: ignored audio interface with 2 endpoints uaudio0: ignored audio interface with 2 endpoints uaudio0: ignored audio interface with 2 endpoints uaudio0: ignored audio interface with 2 endpoints uaudio0: ignored audio interface with 2 endpoints uaudio0: ignored audio interface with 2 endpoints uaudio0: audio rev 1.00 pcm0: on uaudio0 # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at ? kld snd_uaudio (0p/1r/0v channels default) mode 1:(input) 2ch, 16/16bit, pcm, 32000Hz mode 2:(input) 2ch, 24/24bit, pcm, 32000Hz mode 3:(input) 2ch, 16/16bit, pcm, 44100Hz mode 4:(input) 2ch, 24/24bit, pcm, 44100Hz mode 5:(input) 2ch, 16/16bit, pcm, 48000Hz mode 6:(input) 2ch, 24/24bit, pcm, 48000Hz mode 7:(input) 2ch, 16/16bit, pcm, 96000Hz mode 8:(input) 2ch, 24/24bit, pcm, 96000Hz # sysctl hw.snd hw.snd.report_soft_formats: 1 hw.snd.targetirqrate: 32 hw.snd.feeder_rate_buffersize: 8192 hw.snd.feeder_rate_scaling: 5 hw.snd.feeder_rate_ratemax: 1102500 hw.snd.feeder_rate_ratemin: 4000 hw.snd.verbose: 1 hw.snd.slave_enabled: 1 hw.snd.maxautovchans: 0 hw.snd.unit: 0 hw.snd.pcm0.buffersize: 16384 # usbdevs -v .. Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: full speed, self powered, config 1, SB Audigy 2 NX(0x3020), Creative Technology Ltd(0x041e), rev 1.00 port 2 powered .. # kldstat Id Refs Address Size Name 1 14 0xc0400000 52e9a8 kernel 2 1 0xc092f000 4228 vesa.ko 3 2 0xc0934000 196c8 linux.ko 4 1 0xc0953000 3be080 nvidia.ko 5 1 0xc0d12000 98d8 snd_uaudio.ko 6 2 0xc0d1c000 23790 sound.ko 7 1 0xc0d40000 590d0 acpi.ko And no sound. :) Have i a chance? Best regards Evgeny From owner-freebsd-multimedia@FreeBSD.ORG Tue Nov 22 16:43:56 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 824B616A447 for ; Tue, 22 Nov 2005 16:43:56 +0000 (GMT) (envelope-from clemens@ladisch.de) Received: from mailgate2.uni-halle.de (mailgate2.urz.uni-halle.de [141.48.3.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89AE643D76 for ; Tue, 22 Nov 2005 16:43:47 +0000 (GMT) (envelope-from clemens@ladisch.de) Received: from mserv1.urz.uni-halle.de ([141.48.3.145] helo=mserv1) by mailgate2.uni-halle.de with esmtp (Exim 4.54) id 1EebFB-0002uC-Ko for ; Tue, 22 Nov 2005 17:43:45 +0100 Received: from conversion-daemon.mail.uni-halle.de by mail.uni-halle.de (iPlanet Messaging Server 5.2 HotFix 2.02 (built Oct 21 2004)) id <0IQD00B017GPF9@mail.uni-halle.de> (original mail from clemens@ladisch.de) for freebsd-multimedia@freebsd.org; Tue, 22 Nov 2005 17:43:45 +0100 (MET) Received: from localhost (mserv2 [141.48.3.146]) by mail.uni-halle.de (iPlanet Messaging Server 5.2 HotFix 2.02 (built Oct 21 2004)) with ESMTP id <0IQD00BDA7S075@mail.uni-halle.de> for freebsd-multimedia@freebsd.org; Tue, 22 Nov 2005 17:43:12 +0100 (MET) Received: from schk206.dmc-one.com (schk206.dmc-one.com [213.238.46.206]) by webmail.uni-halle.de (IMP) with HTTP for ; Tue, 22 Nov 2005 17:43:12 +0100 Date: Tue, 22 Nov 2005 17:43:12 +0100 From: Clemens Ladisch In-reply-to: <43834C47.8070905@gmx.net> X-Originating-IP: 213.238.46.206 To: freebsd-multimedia@freebsd.org Message-id: <1132677792.43834aa0b4da9@webmail.uni-halle.de> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT User-Agent: Internet Messaging Program (IMP) 3.2.8 References: <20051115.033104.343191587.kazuhito@ph.noda.tus.ac.jp> <20051114220333.223b7327@Magellan.Leidinger.net> <43834C47.8070905@gmx.net> X-Scan-Signature: 2a27d44df434fd149cba31a76cdfa34b Subject: Re: external sound card under FreeBSD 5.4 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, 22 Nov 2005 16:43:56 -0000 Evgeny Solovyov wrote: > and hier is what i have: > > # dmesg|grep uaudio > uaudio0: Creative Technology Ltd SB Audigy 2 NX, rev 1.10/1.00, addr 2 > uaudio0: ignored audio interface with 2 endpoints > ... It seems asynchronous output endpoints aren't (yet?) supported. > port 1 addr 2: full speed, self powered, config 1, SB Audigy 2 > NX(0x3020), Creative Technology Ltd(0x041e), rev 1.00 This device can be switched into high speed mode by sending it a vendor-specific request with: bRequest 0x29 bRequestType 0x43 wValue 0x0001 wIndex 0x07d0 wLength 0 But those endpoints will be asynchronous, too. Regards, Clemens From owner-freebsd-multimedia@FreeBSD.ORG Tue Nov 22 19:42:38 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93FAB16A41F; Tue, 22 Nov 2005 19:42:38 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id D607143D55; Tue, 22 Nov 2005 19:42:37 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5FBDA.dip.t-dialin.net [84.165.251.218]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id jAMJHVIk025629; Tue, 22 Nov 2005 20:17:31 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id jAMJgTGN037747; Tue, 22 Nov 2005 20:42:30 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Tue, 22 Nov 2005 20:42:29 +0100 From: Alexander Leidinger To: Evgeny Solovyov Message-ID: <20051122204229.5470caf9@Magellan.Leidinger.net> In-Reply-To: <43834C47.8070905@gmx.net> References: <20051115.033104.343191587.kazuhito@ph.noda.tus.ac.jp> <20051114220333.223b7327@Magellan.Leidinger.net> <43834C47.8070905@gmx.net> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.7; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@freebsd.org, ariff@freebsd.org Subject: Re: external sound card under FreeBSD 5.4 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, 22 Nov 2005 19:42:38 -0000 On Tue, 22 Nov 2005 16:50:15 +0000 Evgeny Solovyov wrote: > > Notes: > > - I have a Creative USB device myself and it works just fine (in > > -current). > > Hi! > > Which one have you? > > I applied a patch from http://people.freebsd.org/~ariff/ (Thank you Ariff) I don't think Ariff added the USB parts yet... Maybe you can just take the uaudio files from -current and use them on 6.0 after applying Ariff's patch. But be careful, I haven't tested this, and I don't remember if there's an incompatible change between -current and 6.0. > and hier is what i have: > uaudio0: Creative Technology Ltd SB Audigy 2 NX, rev 1.10/1.00, addr 2 It's a "Creative Technology SB Live! 24-bit External". Bye, Alexander. -- It is easier to fix Unix than to live with NT. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 From owner-freebsd-multimedia@FreeBSD.ORG Tue Nov 22 22:40:29 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF34316A420 for ; Tue, 22 Nov 2005 22:40:29 +0000 (GMT) (envelope-from ptay1685@bigpond.net.au) Received: from omta01ps.mx.bigpond.com (omta01ps.mx.bigpond.com [144.140.82.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB22943D53 for ; Tue, 22 Nov 2005 22:40:28 +0000 (GMT) (envelope-from ptay1685@bigpond.net.au) Received: from barny ([60.225.38.203]) by omta01ps.mx.bigpond.com with SMTP id <20051122224026.SEAI19070.omta01ps.mx.bigpond.com@barny> for ; Tue, 22 Nov 2005 22:40:26 +0000 Message-ID: <000a01c5efb5$bb891750$9600a8c0@barny> From: "PhilT" To: Date: Wed, 23 Nov 2005 09:40:26 +1100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Mailman-Approved-At: Wed, 23 Nov 2005 04:31:42 +0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: anyone doing digital TV? 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, 22 Nov 2005 22:40:29 -0000 Is there as yet anyone working on developing a FreeBSD multimedia = equivalent to that provided by Linux software such as V4L2 (Video for = Linux 2), DVB, etc? In other words is there any hope in the near future = of being able to watch/record Digital TV on a FreeBSD box? Thanks. ptay1685@bigpond.net.au From owner-freebsd-multimedia@FreeBSD.ORG Wed Nov 23 05:44:26 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D676A16A41F for ; Wed, 23 Nov 2005 05:44:26 +0000 (GMT) (envelope-from giggel@riggiland.dyndns.org) Received: from riggiland.dyndns.org (ppp-62-245-163-117.mnet-online.de [62.245.163.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id D817643D5A for ; Wed, 23 Nov 2005 05:44:24 +0000 (GMT) (envelope-from giggel@riggiland.dyndns.org) Received: from marvin.riggiland.au (localhost [127.0.0.1]) by riggiland.dyndns.org (8.13.4/8.13.4) with ESMTP id jAN5iDLV042815; Wed, 23 Nov 2005 06:44:14 +0100 (CET) (envelope-from giggel@marvin.riggiland.au) Received: (from giggel@localhost) by marvin.riggiland.au (8.13.4/8.13.4/Submit) id jAN5iD7v042814; Wed, 23 Nov 2005 06:44:13 +0100 (CET) (envelope-from giggel) Date: Wed, 23 Nov 2005 06:44:12 +0100 From: Thomas Gutzler To: PhilT Message-ID: <20051123054412.GA17936@marvin.riggiland.au> References: <000a01c5efb5$bb891750$9600a8c0@barny> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <000a01c5efb5$bb891750$9600a8c0@barny> X-PGP-Key: http://mugiri.de/Thomas_Gutzler_pgp.asc User-Agent: Mutt/1.5.11 Cc: freebsd-multimedia@freebsd.org Subject: Re: anyone doing digital TV? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thomas Gutzler List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2005 05:44:26 -0000 Am Wed, 23.Nov.2005 um 9:40:26 +1100 schraubte PhilT: > Is there as yet anyone working on developing a FreeBSD multimedia equivalent to that provided by Linux software such as V4L2 (Video for Linux 2), DVB, etc? In other words is there any hope in the near future of being able to watch/record Digital TV on a FreeBSD box? I just bought a DVICO DVB-T card which is a terrestric one. Plugged it in, installed gentoo and it works. Knowing that I plugged my old FreeBSD 5.4 drive and found that there isn't really a chance to get it running without hacking some more drivers which I can't do (haven't done, yet). I would probably be able to help a little bit. Cheers, Tom -- "Life, loathe it or ignore it, you can't like it." -- Marvin, "Hitchhiker's Guide to the Galaxy" From owner-freebsd-multimedia@FreeBSD.ORG Wed Nov 23 06:21:56 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4561D16A41F for ; Wed, 23 Nov 2005 06:21:56 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0CD343D53 for ; Wed, 23 Nov 2005 06:21:55 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id jAN6LqFB017578; Tue, 22 Nov 2005 22:21:52 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id jAN6LpvT017577; Tue, 22 Nov 2005 22:21:51 -0800 (PST) (envelope-from jmg) Date: Tue, 22 Nov 2005 22:21:51 -0800 From: John-Mark Gurney To: PhilT Message-ID: <20051123062151.GD885@funkthat.com> Mail-Followup-To: PhilT , freebsd-multimedia@freebsd.org References: <000a01c5efb5$bb891750$9600a8c0@barny> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000a01c5efb5$bb891750$9600a8c0@barny> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-multimedia@freebsd.org Subject: Re: anyone doing digital TV? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2005 06:21:56 -0000 PhilT wrote this message on Wed, Nov 23, 2005 at 09:40 +1100: > Is there as yet anyone working on developing a FreeBSD multimedia equivalent to that provided by Linux software such as V4L2 (Video for Linux 2), DVB, etc? In other words is there any hope in the near future of being able to watch/record Digital TV on a FreeBSD box? I plan on writing a driver for the DVICO Fusion5 Lite (ATSC) card once I can get some additional information out of them... I'm not sure how much of a frame work I'll get going though... It would be nice to resurrect my VideoBSD project, but we'll see once I start writing code... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-multimedia@FreeBSD.ORG Wed Nov 23 16:05:19 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC84316A420 for ; Wed, 23 Nov 2005 16:05:19 +0000 (GMT) (envelope-from root@parse.com) Received: from amd64.ott.parse.com (ottawa-hs-206-191-28-202.s-ip.magma.ca [206.191.28.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7638743D64 for ; Wed, 23 Nov 2005 16:05:12 +0000 (GMT) (envelope-from root@parse.com) Received: from amd64.ott.parse.com (localhost.parse.com [127.0.0.1]) by amd64.ott.parse.com (8.13.1/8.13.1) with ESMTP id jANG51fx035477 for ; Wed, 23 Nov 2005 11:05:01 -0500 (EST) (envelope-from root@parse.com) Received: (from root@localhost) by amd64.ott.parse.com (8.13.1/8.13.1/Submit) id jANG51Qe035475 for freebsd-multimedia@freebsd.org; Wed, 23 Nov 2005 11:05:01 -0500 (EST) (envelope-from root) From: Robert Krten Message-Id: <200511231605.jANG51Qe035475@amd64.ott.parse.com> To: freebsd-multimedia@freebsd.org Date: Wed, 23 Nov 2005 11:05:01 -0500 (EST) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: bktr on amd64fbsd5.3 vs i386fbsd5.3; fxtv too... 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, 23 Nov 2005 16:05:20 -0000 Hi folks, I've managed to get my WinTV Go Plus card working on i386fbsd5.3 bktr by hacking the tuner source (unsupported tuner type 0x79) but strangely, the same fixes don't seem to produce video on the amd64 version. The amd64 dmesg shows that the bktr driver boots up the same way as it does under i386, detecting the tuner, and generally being happy. But applications, like fxtv, or the /usr/share demos for the meteor card, only bring up a black screen. Here's the amd64 dmesg: bktr0: mem 0xede00000-0xede00fff irq 17 at device 12.0 on pci0 bktr0: [GIANT-LOCKED] bktr0: Hauppauge Model 29440 @ % bktr0: Hauppauge WinCast/TV, Philips TDA6503 NTSC tuner. Two questions: 1) any tips on what might be the problem with a "naive" port of bktr/fxtv from i386 to amd64? 2) why are things like fxtv marked in the Makefile as "only working on ...", said list not including amd64? Thanks in advance! Cheers, -RK -- Robert Krten, PARSE Software Devices +1 613 599 8316. Realtime Systems Architecture, Consulting, Books and Training at www.parse.com Looking for Digital Equipment Corp. PDP-1 through PDP-15 minicomputers! From owner-freebsd-multimedia@FreeBSD.ORG Thu Nov 24 15:26:34 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A60D916A428 for ; Thu, 24 Nov 2005 15:26:34 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from phws.ph.noda.tus.ac.jp (phws.ph.noda.tus.ac.jp [133.31.102.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id F391943DA1 for ; Thu, 24 Nov 2005 15:26:18 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from localhost (unknown [133.31.111.131]) by phws.ph.noda.tus.ac.jp (Postfix) with ESMTP id 0B5336E40CC; Fri, 25 Nov 2005 00:26:17 +0900 (JST) Date: Fri, 25 Nov 2005 00:26:16 +0900 (JST) Message-Id: <20051125.002616.343189370.kazuhito@ph.noda.tus.ac.jp> To: a.n.s.i@gmx.net From: Kazuhito HONDA In-Reply-To: <43834C47.8070905@gmx.net> References: <20051115.033104.343191587.kazuhito@ph.noda.tus.ac.jp> <20051114220333.223b7327@Magellan.Leidinger.net> <43834C47.8070905@gmx.net> X-Mailer: Mew version 4.2 on XEmacs 21.4.17 (Jumbo Shrimp) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, Alexander@Leidinger.net Subject: Re: external sound card under FreeBSD 5.4 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, 24 Nov 2005 15:26:34 -0000 Hello, From: Evgeny Solovyov Subject: Re: external sound card under FreeBSD 5.4 Date: Tue, 22 Nov 2005 16:50:15 +0000 > # dmesg|grep uaudio > uaudio0: Creative Technology Ltd SB Audigy 2 NX, rev 1.10/1.00, addr 2 > uaudio0: ignored audio interface with 2 endpoints This message was made at line 2164 in uaudio.c. If UAUDIO_MULTIPLE_ENDPOINTS (at line 107 in uaudio.c) are defined, another event will be caused. Perhaps, it may solve your problem. Sincerely yours, Kazuhito HONDA From owner-freebsd-multimedia@FreeBSD.ORG Thu Nov 24 18:46:54 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 928B416A420 for ; Thu, 24 Nov 2005 18:46:54 +0000 (GMT) (envelope-from n.j.bouman@student.utwente.nl) Received: from linuxupdserver.utsp.utwente.nl (linuxupdserver.utsp.utwente.nl [130.89.1.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88D5243D78 for ; Thu, 24 Nov 2005 18:46:24 +0000 (GMT) (envelope-from n.j.bouman@student.utwente.nl) Received: from [130.89.195.46] (snepfeu.kabel.utwente.nl [130.89.195.46]) by linuxupdserver.utsp.utwente.nl (8.11.7/HKD) with ESMTP id jAOIkGI31243 for ; Thu, 24 Nov 2005 19:46:16 +0100 Message-ID: <43860A73.2050004@student.utwente.nl> Date: Thu, 24 Nov 2005 19:46:11 +0100 From: Niek Bouman User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-MailScanner-From: n.j.bouman@student.utwente.nl Subject: saa7134 TV tuner on FreeBSD 6.0 RELEASE 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, 24 Nov 2005 18:46:54 -0000 Has anyone got a TV card based on Philips' SAA7134 chipset working under FreeBSD 6? Mine worked under FBSD 5.4 using the driver from http://www.purpe.com/download/ It is mentioned on the website that the driver is intended to be used on a FreeBSD 5.x system, but I tried it anyway on 6.0 and it did not work. Somebody an idea which change in the freebsd system could cause the driver not to work anymore? Or is 6.0 so much different from 5.0 that it's not simply one thing that causes it? Thanks in advance for possible reactions, Niek From owner-freebsd-multimedia@FreeBSD.ORG Thu Nov 24 23:10:29 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCDBD16A45C for ; Thu, 24 Nov 2005 23:10:29 +0000 (GMT) (envelope-from sklauder@trimind.de) Received: from rhiannon.shopkeeper.de (rhiannon.shopkeeper.de [217.65.28.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB27F45D8D for ; Thu, 24 Nov 2005 21:54:50 +0000 (GMT) (envelope-from sklauder@trimind.de) Received: from avalon.dobu.local (p54B87B97.dip.t-dialin.net [84.184.123.151]) (authenticated bits=0) by rhiannon.shopkeeper.de (8.13.4/8.13.4) with ESMTP id jAOLsl99089974 for ; Thu, 24 Nov 2005 22:54:48 +0100 (CET) (envelope-from sklauder@trimind.de) Received: from avalon.dobu.local (localhost [127.0.0.1]) by avalon.dobu.local (8.13.4/8.12.11) with ESMTP id jAOLslHa000850 for ; Thu, 24 Nov 2005 22:54:47 +0100 (CET) (envelope-from sklauder@avalon.dobu.local) Received: (from sklauder@localhost) by avalon.dobu.local (8.13.4/8.13.3/Submit) id jAOLslVs000849 for freebsd-multimedia@freebsd.org; Thu, 24 Nov 2005 22:54:47 +0100 (CET) (envelope-from sklauder) Date: Thu, 24 Nov 2005 22:54:47 +0100 From: Sascha Klauder To: freebsd-multimedia@freebsd.org Message-ID: <20051124215447.GA790@trimind.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new at trimind.de Subject: Sound card recommendations? 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, 24 Nov 2005 23:10:30 -0000 Hi! I need to retire my somewhat ancient VIA KT133A-based main- board. I'm using a SB AWE64 Gold card right now, but since modern boards no longer have ISA slots, I'll need a PCI card. Can anyone give recommendations (for a FreeBSD-supported card, of course)? I don't need fancy features (digital output/96kHz recording/Dolby-whatever), the only must-haves are bass and treble mixer controls. I've got an SB Live! as well, and it just sounds crappy in comparison to the AWE, even with 4Front drivers. Line-out with RCA-jacks (instead of 3.5mm miniplugs) would be nice, too. Cheers, -sascha From owner-freebsd-multimedia@FreeBSD.ORG Fri Nov 25 00:29:50 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BCAE16A420 for ; Fri, 25 Nov 2005 00:29:50 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9378E43D96 for ; Fri, 25 Nov 2005 00:29:40 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from clk01a ([66.130.198.54]) by VL-MO-MR004.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0IQH00KFVIPF7IP0@VL-MO-MR004.ip.videotron.ca> for freebsd-multimedia@freebsd.org; Thu, 24 Nov 2005 19:29:39 -0500 (EST) Date: Thu, 24 Nov 2005 19:29:28 -0500 From: Nicolas Blais To: freebsd-multimedia@freebsd.org Message-id: <200511241929.39061.nb_root@videotron.ca> MIME-version: 1.0 Content-type: multipart/signed; boundary=nextPart1398903.UuaAjGIEzY; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7bit User-Agent: KMail/1.8.3 Subject: Transcode with bktr+oss problem 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, 25 Nov 2005 00:29:50 -0000 --nextPart1398903.UuaAjGIEzY Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, With the recent upgrade to transcode-1.0.1_1 with oss support, I tried to=20 record a tv show like so: transcode -i /dev/bktr0 -x bktr=3Dnorm=3Dntsc:vsource=3Dtuner:asource=3Dtun= er,null -g=20 640x480 -y ffmpeg -F mpeg4 -o out =20 It correctly records the video but no sound (yet I can hear it). =20 (asource=3Dexternal/internal tested too). So I also tried this: transcode -i /dev/bktr0 -x bktr=3Dnorm=3Dntsc:vsource=3Dtuner:asource=3Dtun= er,oss -g=20 640x480 -y ffmpeg -F mpeg4 -o out =20 which will correctly load the import_oss.so module but exit(1) on me. transcode v1.0.1 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg SNDCTL_DSP_SETFMT: Inappropriate ioctl for device [transcode] auto-probing source /dev/bktr0 (failed) [transcode] V: import format | unknown (V=3Dbktr|A=3Doss) [transcode] V: import frame | 640x480 1.33:1 [transcode] V: bits/pixel | 0.234 [transcode] V: decoding fps,frc | 25.000,0 [transcode] V: Y'CbCr | YV12/I420 [transcode] A: import format | 0x2000 AC3 [48000,16,2] [transcode] A: export format | 0x55 MPEG layer-3 [48000,16,2] 128 kb= ps [transcode] V: encoding fps,frc | 25.000,3 [transcode] A: bytes per frame | 7680 (7680.000000) [transcode] A: adjustment | 0@1000 [transcode] V: IA32/AMD64 accel | sse3 (sse3 sse2 sse 3dnowext 3dnow mmxext= =20 mmx asm C) tc_memcpy: using sse for memcpy [transcode] V: video buffer | 10 @ 640x480 [import_oss.so] v0.0.1 (2005-05-12) (audio) pcm [import_bktr.so] v0.0.2 (2004-10-02) (video) bktr [export_ffmpeg.so] v0.3.13 (2004-08-03) (video) FFmpeg0.4.9-pre1b4718 |=20 (audio) MPEG/AC3/PCM SNDCTL_DSP_SETFMT: Inappropriate ioctl for device audio import module error: OPEN failed [transcode] critical: failed to open input source My bktr's sound-out is connected to my sound card's Line In (as with most=20 WinTVs like mine). What is the correct way to record both video/sound at the same time? Thanks, Nicolas. =2D-=20 =46reeBSD 7.0-CURRENT #1: Sat Nov 19 12:36:29 EST 2005 =20 root@clk01a:/usr/obj/usr/src/sys/CLK01A=20 PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc --nextPart1398903.UuaAjGIEzY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDhlrz4wTBlvcsbJURAkV2AJ90c1hV4t1b4amSRT+vgulGr2/bggCff/4H oEU/S8i2rOCnkT60qvHudk0= =fIta -----END PGP SIGNATURE----- --nextPart1398903.UuaAjGIEzY-- From owner-freebsd-multimedia@FreeBSD.ORG Fri Nov 25 05:10:28 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E05216A41F for ; Fri, 25 Nov 2005 05:10:28 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from phws.ph.noda.tus.ac.jp (phws.ph.noda.tus.ac.jp [133.31.102.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0924743D66 for ; Fri, 25 Nov 2005 05:10:27 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from localhost (unknown [133.31.111.131]) by phws.ph.noda.tus.ac.jp (Postfix) with ESMTP id 246D56E40CB; Fri, 25 Nov 2005 14:10:26 +0900 (JST) Date: Fri, 25 Nov 2005 14:10:25 +0900 (JST) Message-Id: <20051125.141025.945472619.kazuhito@ph.noda.tus.ac.jp> To: zazubrik@mail.ru From: Kazuhito HONDA In-Reply-To: <5F806055-9A04-4A91-9FA5-F41C4F7B9C91@mail.ru> References: <20051119.022305.343188611.kazuhito@ph.noda.tus.ac.jp> <5F806055-9A04-4A91-9FA5-F41C4F7B9C91@mail.ru> X-Mailer: Mew version 3.3 on XEmacs 21.5-b22 (cucumber) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: uaudio question 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, 25 Nov 2005 05:10:28 -0000 From: Artem Ignatiev Subject: Re: uaudio question Date: Mon, 21 Nov 2005 16:25:42 +0300 > > On 18.11.2005, at 20:23, Kazuhito HONDA wrote: > > > Please look at these mails: > > > > A part of http://docs.freebsd.org/cgi/getmsg.cgi?fetch=10831+0 > > +archive/2005/freebsd-multimedia/20050501.freebsd-multimedia after > > `3.'. > > > > That worked, but buffer seems to be 2 secs long... Excuse me, but I don't understand your circumstances. Whose buffer is that? And would you please read 3'. in that mail, too. You must delete one line of uaudio.c for complete full-duplex. Sincerely yours, Kazuhito HONDA From owner-freebsd-multimedia@FreeBSD.ORG Fri Nov 25 12:16:09 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05BB416A41F for ; Fri, 25 Nov 2005 12:16:09 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id A962343D53 for ; Fri, 25 Nov 2005 12:16:06 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E7DF.dip.t-dialin.net [84.165.231.223]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id jAPBoIma056218; Fri, 25 Nov 2005 12:50:26 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id jAPCFmHa018724; Fri, 25 Nov 2005 13:15:48 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 25 Nov 2005 13:15:48 +0100 Message-ID: <20051125131548.sx9hpr45dvoc0gss@netchild.homeip.net> X-Priority: 3 (Normal) Date: Fri, 25 Nov 2005 13:15:48 +0100 From: Alexander Leidinger To: Sascha Klauder References: <20051124215447.GA790@trimind.de> In-Reply-To: <20051124215447.GA790@trimind.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@freebsd.org Subject: Re: Sound card recommendations? 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, 25 Nov 2005 12:16:09 -0000 Sascha Klauder wrote: > treble mixer controls. I've got an SB Live! as well, and it > just sounds crappy in comparison to the AWE, even with 4Front > drivers. Which FreeBSD version did you used to test? If anything below a recent -current: with or without Ariff's patches (http://people.freebsd.org/~ariff/)? If with the patches: did you played with with the new pci latency_timer sysctl (it may help to get a very good sound output)? Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 All your people must learn before you can reach for the stars. -- Kirk, "The Gamesters of Triskelion", stardate 3259.2 From owner-freebsd-multimedia@FreeBSD.ORG Fri Nov 25 12:18:57 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 398A316A423 for ; Fri, 25 Nov 2005 12:18:57 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE36043D68 for ; Fri, 25 Nov 2005 12:18:46 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E7DF.dip.t-dialin.net [84.165.231.223]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id jAPBr2sd056226; Fri, 25 Nov 2005 12:53:09 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id jAPCIWkf019213; Fri, 25 Nov 2005 13:18:32 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 25 Nov 2005 13:18:31 +0100 Message-ID: <20051125131831.enpwpeysggcgkc04@netchild.homeip.net> X-Priority: 3 (Normal) Date: Fri, 25 Nov 2005 13:18:31 +0100 From: Alexander Leidinger To: Nicolas Blais References: <200511241929.39061.nb_root@videotron.ca> In-Reply-To: <200511241929.39061.nb_root@videotron.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@freebsd.org Subject: Re: Transcode with bktr+oss problem 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, 25 Nov 2005 12:18:57 -0000 Nicolas Blais wrote: > Hi, > > With the recent upgrade to transcode-1.0.1_1 with oss support, I tried to > record a tv show like so: > > transcode -i /dev/bktr0 -x bktr=norm=ntsc:vsource=tuner:asource=tuner,null -g > 640x480 -y ffmpeg -F mpeg4 -o out > > It correctly records the video but no sound (yet I can hear it). > (asource=external/internal tested too). > > So I also tried this: > > transcode -i /dev/bktr0 -x bktr=norm=ntsc:vsource=tuner:asource=tuner,oss -g > 640x480 -y ffmpeg -F mpeg4 -o out > > which will correctly load the import_oss.so module but exit(1) on me. > > transcode v1.0.1 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg > SNDCTL_DSP_SETFMT: Inappropriate ioctl for device > [transcode] auto-probing source /dev/bktr0 (failed) I don't have a bktr card, but it looks to me as transcode tries to open the vide input as an audio device. This seems to be wrong if I understand the handling of bktr correctly. > My bktr's sound-out is connected to my sound card's Line In (as with most > WinTVs like mine). I assume you have to specify your soundcard instead of the tuner in "asource". Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 I'm not available for comment.. From owner-freebsd-multimedia@FreeBSD.ORG Fri Nov 25 14:53:39 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 087ED16A41F for ; Fri, 25 Nov 2005 14:53:39 +0000 (GMT) (envelope-from zazubrik@mail.ru) Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1F5D43D75 for ; Fri, 25 Nov 2005 14:53:35 +0000 (GMT) (envelope-from zazubrik@mail.ru) Received: from [195.149.104.100] (port=53561 helo=[10.13.66.8]) by mx1.mail.ru with esmtp id 1Efex5-000PpS-00; Fri, 25 Nov 2005 17:53:27 +0300 In-Reply-To: <20051125.141025.945472619.kazuhito@ph.noda.tus.ac.jp> References: <20051119.022305.343188611.kazuhito@ph.noda.tus.ac.jp> <5F806055-9A04-4A91-9FA5-F41C4F7B9C91@mail.ru> <20051125.141025.945472619.kazuhito@ph.noda.tus.ac.jp> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Artem Ignatiev Date: Fri, 25 Nov 2005 17:53:23 +0300 To: Kazuhito HONDA X-Mailer: Apple Mail (2.746.2) Cc: freebsd-multimedia@freebsd.org Subject: Re: uaudio question 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, 25 Nov 2005 14:53:39 -0000 On 25.11.2005, at 8:10, Kazuhito HONDA wrote: > From: Artem Ignatiev > Subject: Re: uaudio question > Date: Mon, 21 Nov 2005 16:25:42 +0300 > >> >> On 18.11.2005, at 20:23, Kazuhito HONDA wrote: >> >>> Please look at these mails: >>> >>> A part of http://docs.freebsd.org/cgi/getmsg.cgi?fetch=10831+0 >>> +archive/2005/freebsd-multimedia/20050501.freebsd-multimedia after >>> `3.'. >>> >> >> That worked, but buffer seems to be 2 secs long... > > Excuse me, but I don't understand your circumstances. > Whose buffer is that? Dunno. ;-) just doing while(1) { read(dev_dsp_fd, buf, BUFSZ); write(dev_dsp_fd, buf, BUFSZ); } gives 2 (sometimes 3, depends on BUFSZ, I've used values 4000, 8000, 16000) second lag, than it begins to plays sounds that were recorded 2 secs (or 3) ago. > And would you please read 3'. in that mail, too. > You must delete one line of uaudio.c for complete full-duplex. Yes, it's just what I've done (actually, I #ifdef 0-ed condition and return) From owner-freebsd-multimedia@FreeBSD.ORG Fri Nov 25 15:34:07 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CCB116A420 for ; Fri, 25 Nov 2005 15:34:07 +0000 (GMT) (envelope-from sklauder@trimind.de) Received: from rhiannon.shopkeeper.de (rhiannon.shopkeeper.de [217.65.28.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04E4243D6E for ; Fri, 25 Nov 2005 15:33:58 +0000 (GMT) (envelope-from sklauder@trimind.de) Received: from avalon.dobu.local (p54B86B43.dip.t-dialin.net [84.184.107.67]) (authenticated bits=0) by rhiannon.shopkeeper.de (8.13.4/8.13.4) with ESMTP id jAPFXtId059199; Fri, 25 Nov 2005 16:33:56 +0100 (CET) (envelope-from sklauder@trimind.de) Received: from avalon.dobu.local (localhost [127.0.0.1]) by avalon.dobu.local (8.13.4/8.12.11) with ESMTP id jAPFXmK6006927; Fri, 25 Nov 2005 16:33:48 +0100 (CET) (envelope-from sklauder@avalon.dobu.local) Received: (from sklauder@localhost) by avalon.dobu.local (8.13.4/8.13.3/Submit) id jAPFXmBC006926; Fri, 25 Nov 2005 16:33:48 +0100 (CET) (envelope-from sklauder) Date: Fri, 25 Nov 2005 16:33:48 +0100 From: Sascha Klauder To: Alexander Leidinger Message-ID: <20051125153348.GA6748@trimind.de> References: <20051124215447.GA790@trimind.de> <20051125131548.sx9hpr45dvoc0gss@netchild.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20051125131548.sx9hpr45dvoc0gss@netchild.homeip.net> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new at trimind.de Cc: freebsd-multimedia@freebsd.org Subject: Re: Sound card recommendations? 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, 25 Nov 2005 15:34:07 -0000 On Fri, Nov 25, 2005 at 01:15:48PM +0100, Alexander Leidinger wrote: > Sascha Klauder wrote: > >treble mixer controls. I've got an SB Live! as well, and it > >just sounds crappy in comparison to the AWE, even with 4Front > >drivers. > Which FreeBSD version did you used to test? If anything below a recent I'm running a recent 6.0-STABLE with PREEMPTION and hw.snd.pcm0.buffersize set to 16384. > (http://people.freebsd.org/~ariff/)? If with the patches: did you played > with with the new pci latency_timer sysctl (it may help to get a very good > sound output)? I'm well aware of Ariff's quite excellent patchset, but I was not refering to the problem with crackling noise and stuttering output on SB Live cards. Without lapsing into an audiophile discussion, the Live card sounds just »flat« in comparison to the AWE64 with properly adjusted bass and treble mixers. Cheers, -sascha From owner-freebsd-multimedia@FreeBSD.ORG Fri Nov 25 15:53:28 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D231116A41F for ; Fri, 25 Nov 2005 15:53:28 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F92343D67 for ; Fri, 25 Nov 2005 15:53:26 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 38B456CC23; Fri, 25 Nov 2005 23:56:58 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (TOMOYO.MYBSD.ORG.MY [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 69870-08; Fri, 25 Nov 2005 23:56:56 +0800 (MYT) Received: from osaka (osaka.MyBSD.org.my [IPv6:2001:328:2002:aa2:2c0:9fff:fed2:b55]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 7296B6CC22; Fri, 25 Nov 2005 23:56:56 +0800 (MYT) Date: Fri, 25 Nov 2005 23:53:18 +0800 From: Ariff Abdullah To: Sascha Klauder Message-Id: <20051125235318.06250835.skywizard@MyBSD.org.my> In-Reply-To: <20051125153348.GA6748@trimind.de> References: <20051124215447.GA790@trimind.de> <20051125131548.sx9hpr45dvoc0gss@netchild.homeip.net> <20051125153348.GA6748@trimind.de> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by Amavisd AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org Subject: Re: Sound card recommendations? 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, 25 Nov 2005 15:53:28 -0000 On Fri, 25 Nov 2005 16:33:48 +0100 Sascha Klauder wrote: > On Fri, Nov 25, 2005 at 01:15:48PM +0100, Alexander Leidinger wrote: > > Sascha Klauder wrote: > > >treble mixer controls. I've got an SB Live! as well, and it > > >just sounds crappy in comparison to the AWE, even with 4Front > > >drivers. > > Which FreeBSD version did you used to test? If anything below a > > recent >=20 > I'm running a recent 6.0-STABLE with PREEMPTION and=20 > hw.snd.pcm0.buffersize set to 16384. >=20 > > (http://people.freebsd.org/~ariff/)? If with the patches: did you > > played with with the new pci latency_timer sysctl (it may help to > > get a very good sound output)? >=20 > I'm well aware of Ariff's quite excellent patchset, but > I was not refering to the problem with crackling noise and > stuttering output on SB Live cards. =20 >=20 > Without lapsing into an audiophile discussion, the Live > card sounds just =BBflat=AB in comparison to the AWE64 with > properly adjusted bass and treble mixers. >=20 This is a known deficiency of sblive especially among audiophiles. Its internal sample rate converter (convertor?) and the behaviour of sampling everything out as 48k are pretty much unsatisfactory. Now, if you're talking about crackling or stuttering sound, you should give those patchsets a try. If you think something had to be done about the pci latency timer, you can use pciconf(8) to adjust/increase its value or perhaps using this wrapper: http://people.freebsd.org/~ariff/utils/pcilattimer .. since pci latency_timer is available only for snd_es137x. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Fri Nov 25 19:32:48 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FBC316A41F for ; Fri, 25 Nov 2005 19:32:48 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from t-mta3.odn.ne.jp (mfep3.odn.ne.jp [143.90.131.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B26843D5C for ; Fri, 25 Nov 2005 19:32:46 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from localhost ([211.121.97.79]) by t-mta3.odn.ne.jp with ESMTP id <20051125193245182.SINH.496069.t-mta3.odn.ne.jp@mta3.odn.ne.jp>; Sat, 26 Nov 2005 04:32:45 +0900 Date: Sat, 26 Nov 2005 04:32:44 +0900 (JST) Message-Id: <20051126.043244.343190160.kazuhito@ph.noda.tus.ac.jp> To: zazubrik@mail.ru From: Kazuhito HONDA In-Reply-To: References: <5F806055-9A04-4A91-9FA5-F41C4F7B9C91@mail.ru> <20051125.141025.945472619.kazuhito@ph.noda.tus.ac.jp> X-Mailer: Mew version 3.3 on XEmacs 21.4.17 (Jumbo Shrimp) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: uaudio question 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, 25 Nov 2005 19:32:48 -0000 From: Artem Ignatiev Subject: Re: uaudio question Date: Fri, 25 Nov 2005 17:53:23 +0300 > Dunno. ;-) > just doing > while(1) { read(dev_dsp_fd, buf, BUFSZ); write(dev_dsp_fd, buf, > BUFSZ); } > gives 2 (sometimes 3, depends on BUFSZ, I've used values 4000, 8000, > 16000) second lag, than it begins to plays sounds that were recorded > 2 secs (or 3) ago. I see. But I don't know what cause your problem. I haven't found any codes which may cause it in uaudio*.[hc]. However, I can't say any explicit demonstration. It might comes from low-level USB system of FreeBSD, perhaps. I made a mistake that full-duplex didn't work. But it eased me that it worked even though it had the problem. Sincerely yours, Kazuhito HONDA From owner-freebsd-multimedia@FreeBSD.ORG Sat Nov 26 00:20:07 2005 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16E5C16A420 for ; Sat, 26 Nov 2005 00:20:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A819D43D5F for ; Sat, 26 Nov 2005 00:20:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAQ0K60p064544 for ; Sat, 26 Nov 2005 00:20:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAQ0K6tZ064543; Sat, 26 Nov 2005 00:20:06 GMT (envelope-from gnats) Date: Sat, 26 Nov 2005 00:20:06 GMT Message-Id: <200511260020.jAQ0K6tZ064543@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: Juha-Matti Tilli Cc: Subject: Re: kern/72221: [sound] emu10k1 stereo channels are reversed (5.3-beta6) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Juha-Matti Tilli List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2005 00:20:07 -0000 The following reply was made to PR kern/72221; it has been noted by GNATS. From: Juha-Matti Tilli To: bug-followup@FreeBSD.org, mkb@mukappabeta.de Cc: Subject: Re: kern/72221: [sound] emu10k1 stereo channels are reversed (5.3-beta6) Date: Sat, 26 Nov 2005 02:13:03 +0200 I have also the problem on 6.0-RELEASE. I think I have found the change which reversed the channels. Revision 1.44 of emu10k1.c, which added Audigy support, has the line emu_wrptr(sc, v->vnum, FXRT, 0xd01c0000); replaced with the following lines: if (sc->audigy) { emu_wrptr(sc, v->vnum, A_FXRT1, v->fxrt1); emu_wrptr(sc, v->vnum, A_FXRT2, v->fxrt2); emu_wrptr(sc, v->vnum, A_SENDAMOUNTS, 0); } else emu_wrptr(sc, v->vnum, FXRT, v->fxrt1 << 16); where v->fxrt1 << 16 == 0xd10c0000 Here's a patch to correct the order of the channels: --- emu10k1.c.orig Tue Mar 1 10:58:05 2005 +++ emu10k1.c Sat Nov 26 02:00:56 2005 @@ -494,12 +494,12 @@ m->buf = tmp_addr; m->slave = s; if (sc->audigy) { - m->fxrt1 = FXBUS_MIDI_CHORUS | FXBUS_PCM_LEFT << 8 | - FXBUS_PCM_RIGHT << 16 | FXBUS_MIDI_REVERB << 24; + m->fxrt1 = FXBUS_MIDI_CHORUS | FXBUS_PCM_RIGHT << 8 | + FXBUS_PCM_LEFT << 16 | FXBUS_MIDI_REVERB << 24; m->fxrt2 = 0x3f3f3f3f; /* No effects on second route */ } else { - m->fxrt1 = FXBUS_MIDI_CHORUS | FXBUS_PCM_LEFT << 4 | - FXBUS_PCM_RIGHT << 8 | FXBUS_MIDI_REVERB << 12; + m->fxrt1 = FXBUS_MIDI_CHORUS | FXBUS_PCM_RIGHT << 4 | + FXBUS_PCM_LEFT << 8 | FXBUS_MIDI_REVERB << 12; m->fxrt2 = 0; } I don't have Audigy, so I'm not sure if the problem affects Audigy cards too. The order of the channels can't be tested by just altering mixer settings. Here's a small program to test if the channels are reversed on your sound card: #include #include #include int main(int argc, char **argv) { int fd = open("/dev/dsp", O_WRONLY), format = AFMT_S16_LE; int channels = 2, rate = 22050, i; /* 450 Hz sine wave on left channel, right channel silent */ unsigned char samples[] = {0, 0, 0, 0, 94, 16, 0, 0, 120, 32, 0, 0, 9, 48, 0, 0, 208, 62, 0, 0, 143, 76, 0, 0, 12, 89, 0, 0, 19, 100, 0, 0, 117, 109, 0, 0, 11, 117, 0, 0, 182, 122, 0, 0, 92, 126, 0, 0, 239, 127, 0, 0, 105, 127, 0, 0, 202, 124, 0, 0, 32, 120, 0, 0, 124, 113, 0, 0, 251, 104, 0, 0, 193, 94, 0, 0, 249, 82, 0, 0, 212, 69, 0, 0, 138, 55, 0, 0, 85, 40, 0, 0, 120, 24, 0, 0, 51, 8, 0, 0, 205, 247, 0, 0, 136, 231, 0, 0, 171, 215, 0, 0, 118, 200, 0, 0, 44, 186, 0, 0, 7, 173, 0, 0, 63, 161, 0, 0, 5, 151, 0, 0, 132, 142, 0, 0, 224, 135, 0, 0, 54, 131, 0, 0, 151, 128, 0, 0, 17, 128, 0, 0, 164, 129, 0, 0, 74, 133, 0, 0, 245, 138, 0, 0, 139, 146, 0, 0, 237, 155, 0, 0, 244, 166, 0, 0, 113, 179, 0, 0, 48, 193, 0, 0, 247, 207, 0, 0, 136, 223, 0, 0, 162, 239, 0, 0}; ioctl(fd, SNDCTL_DSP_SETFMT,&format); ioctl(fd, SNDCTL_DSP_CHANNELS,&channels); ioctl(fd, SNDCTL_DSP_SPEED,&rate); for(i=0;i<500;i++) write(fd, &samples, sizeof(samples)); write(fd, &samples, 2); /* swap channels */ for(i=0;i<500;i++) write(fd, &samples, sizeof(samples)); return 0; } You should hear a sound on the left channel followed by a sound on the right channel. If you hear a sound on the right channel first, the channels are reversed. -- Juha-Matti Tilli, email: juhis@nallukka.net From owner-freebsd-multimedia@FreeBSD.ORG Sat Nov 26 03:50:04 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96BF516A41F for ; Sat, 26 Nov 2005 03:50:04 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id A154943D66 for ; Sat, 26 Nov 2005 03:49:58 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so506101nzo for ; Fri, 25 Nov 2005 19:49:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=twn+bDvqItPJHwmb3S5yiojvxkl8FW/WDdLESn8Um+2VzuYK/1F/yzLfSbw6b58qCV+yOFW2JsTrBOzyipuR+WmIpyPdIaU79ivfzXmzgZN1YK2TeFc5mkiQS3wNEXI2Rc2rpnOW7P00UfW+hNLHnbM0UNj55+IworhqWJhh+A0= Received: by 10.37.15.18 with SMTP id s18mr1614511nzi; Fri, 25 Nov 2005 19:49:57 -0800 (PST) Received: from michelle.rndsoft.co.kr ( [211.32.202.217]) by mx.gmail.com with ESMTP id 8sm3727961nzn.2005.11.25.19.49.55; Fri, 25 Nov 2005 19:49:56 -0800 (PST) Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id jAQ3o4s0022831 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 26 Nov 2005 12:50:04 +0900 (KST) (envelope-from yongari@gmail.com) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id jAQ3nwi5022826; Sat, 26 Nov 2005 12:49:58 +0900 (KST) (envelope-from yongari@gmail.com) Date: Sat, 26 Nov 2005 12:49:58 +0900 From: Pyun YongHyeon To: Ariff Abdullah Message-ID: <20051126034958.GB22479@rndsoft.co.kr> References: <20051124215447.GA790@trimind.de> <20051125131548.sx9hpr45dvoc0gss@netchild.homeip.net> <20051125153348.GA6748@trimind.de> <20051125235318.06250835.skywizard@MyBSD.org.my> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051125235318.06250835.skywizard@MyBSD.org.my> User-Agent: Mutt/1.4.2.1i Cc: freebsd-multimedia@freebsd.org Subject: Re: Sound card recommendations? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2005 03:50:04 -0000 On Fri, Nov 25, 2005 at 11:53:18PM +0800, Ariff Abdullah wrote: > On Fri, 25 Nov 2005 16:33:48 +0100 > Sascha Klauder wrote: > > On Fri, Nov 25, 2005 at 01:15:48PM +0100, Alexander Leidinger wrote: > > > Sascha Klauder wrote: > > > >treble mixer controls. I've got an SB Live! as well, and it > > > >just sounds crappy in comparison to the AWE, even with 4Front > > > >drivers. > > > Which FreeBSD version did you used to test? If anything below a > > > recent > > > > I'm running a recent 6.0-STABLE with PREEMPTION and > > hw.snd.pcm0.buffersize set to 16384. > > > > > (http://people.freebsd.org/~ariff/)? If with the patches: did you > > > played with with the new pci latency_timer sysctl (it may help to > > > get a very good sound output)? > > > > I'm well aware of Ariff's quite excellent patchset, but > > I was not refering to the problem with crackling noise and > > stuttering output on SB Live cards. > > In the days of FreeBSD 2.2.x, I also used AWE64 with sound font. It was well made card and I'm satisfied with its quality of sound. Now I had to use SB Live due to lack of ISA slots and I lost bass/treble/MIDI support and suffered from stuttering issues. :-( Since I noticed some audio cards does not show stuttering issue(even with Giant lock and without PREEMTION option), I guess the real issue is in driver itself. ATM it seems that increasing pcm buffersize is the only way to remedy the issue. As you know, it has side effect of lagging audio playback and DMA memory extravagance. I'm really like to make emu10k1(4) to use its hardware MMU. This would be the prerequisite condition to support sound font. However due to lack of documentation, it's not easy to add this capability, I think. > > Without lapsing into an audiophile discussion, the Live > > card sounds just ?flat? in comparison to the AWE64 with > > properly adjusted bass and treble mixers. > > > This is a known deficiency of sblive especially among audiophiles. Its > internal sample rate converter (convertor?) and the behaviour of > sampling everything out as 48k are pretty much unsatisfactory. > > Now, if you're talking about crackling or stuttering sound, you should > give those patchsets a try. If you think something had to be done > about the pci latency timer, you can use pciconf(8) to adjust/increase > its value or perhaps using this wrapper: > http://people.freebsd.org/~ariff/utils/pcilattimer > .. since pci latency_timer is available only for snd_es137x. > Probably not, as maestro(4) also provides R/W access to PCI latency timer in PCI configuration space. I guess all sane PCI interface hardwares provides R/W access to the register. It seems that cheap PCI audio hardware are exception. -- Regards, Pyun YongHyeon From owner-freebsd-multimedia@FreeBSD.ORG Sat Nov 26 04:20:33 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 142C016A41F for ; Sat, 26 Nov 2005 04:20:33 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D71143D5A for ; Sat, 26 Nov 2005 04:20:29 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 1C8696CC23; Sat, 26 Nov 2005 12:24:03 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (TOMOYO.MYBSD.ORG.MY [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 77495-10; Sat, 26 Nov 2005 12:24:01 +0800 (MYT) Received: from osaka (osaka.MyBSD.org.my [IPv6:2001:328:2002:aa2:2c0:9fff:fed2:b55]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 3D1766CC22; Sat, 26 Nov 2005 12:24:00 +0800 (MYT) Date: Sat, 26 Nov 2005 12:20:20 +0800 From: Ariff Abdullah To: pyunyh@gmail.com Message-Id: <20051126122020.5b15de14.skywizard@MyBSD.org.my> In-Reply-To: <20051126034958.GB22479@rndsoft.co.kr> References: <20051124215447.GA790@trimind.de> <20051125131548.sx9hpr45dvoc0gss@netchild.homeip.net> <20051125153348.GA6748@trimind.de> <20051125235318.06250835.skywizard@MyBSD.org.my> <20051126034958.GB22479@rndsoft.co.kr> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Amavisd AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org Subject: Re: Sound card recommendations? 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, 26 Nov 2005 04:20:33 -0000 On Sat, 26 Nov 2005 12:49:58 +0900 Pyun YongHyeon wrote: > > In the days of FreeBSD 2.2.x, I also used AWE64 with sound font. It > was well made card and I'm satisfied with its quality of sound. Now > I had to use SB Live due to lack of ISA slots and I lost > bass/treble/MIDI support and suffered from stuttering issues. :-( > > Since I noticed some audio cards does not show stuttering issue(even > with Giant lock and without PREEMTION option), I guess the real > issue is in driver itself. ATM it seems that increasing pcm > buffersize is the only way to remedy the issue. As you know, it has > side effect of lagging audio playback and DMA memory extravagance. > I'm really like to make emu10k1(4) to use its hardware MMU. This > would be the prerequisite condition to support sound font. However > due to lack of documentation, it's not easy to add this capability, > I think. > Another technique to eliminate stuttering issue without increasing buffersize is to increase DMA block count, at the cost of increasing interrupt rate. Unfortunately, most driver does not adhere with this property changes an assume static block allocation early during device attach and DMA segment allocation. This can be changed in future. > > > Without lapsing into an audiophile discussion, the Live > > > card sounds just ?flat? in comparison to the AWE64 with > > > properly adjusted bass and treble mixers. > > > > > This is a known deficiency of sblive especially among > > audiophiles. Its internal sample rate converter (convertor?) and > > the behaviour of sampling everything out as 48k are pretty much > > unsatisfactory. > > > > Now, if you're talking about crackling or stuttering sound, you > > should give those patchsets a try. If you think something had to > > be done about the pci latency timer, you can use pciconf(8) to > > adjust/increase its value or perhaps using this wrapper: > > http://people.freebsd.org/~ariff/utils/pcilattimer > > .. since pci latency_timer is available only for snd_es137x. > > > > Probably not, as maestro(4) also provides R/W access to PCI latency > timer in PCI configuration space. I guess all sane PCI interface > hardwares provides R/W access to the register. It seems that cheap > PCI audio hardware are exception. > I was talking about sysctl hw.snd.pcm."latency_timer", which is currently specific only for snd_es137x. Few motherboards indeed have option to tune general PCI latency timer settings, or if not, use pciconf(8). -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Sat Nov 26 05:32:09 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6972B16A41F for ; Sat, 26 Nov 2005 05:32:09 +0000 (GMT) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (c-67-168-241-176.hsd1.or.comcast.net [67.168.241.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEB0043D5C for ; Sat, 26 Nov 2005 05:32:08 +0000 (GMT) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by schitzo.solgatos.com (8.11.6/8.11.6) with UUCP id jAQ5WHj29135 for freebsd-multimedia@freebsd.org; Fri, 25 Nov 2005 21:32:17 -0800 Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id FAA25636; Sat, 26 Nov 2005 05:32:03 GMT Message-Id: <200511260532.FAA25636@sopwith.solgatos.com> To: freebsd-multimedia@freebsd.org Date: Fri, 25 Nov 2005 21:32:03 +0000 From: Dieter Subject: NTSC video from VGA port? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@sopwith.solgatos.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2005 05:32:09 -0000 Stumbled across an interesting adapter: http://www.trianglecables.com/1footvgadbma.html Given the photo and the price, I assume this is just a cable without any electronics such as a scan converter. Is there some way to program a video chip to put out NTSC video instead of the usual RGBHV? If not, what would one use this fine adapter for? From owner-freebsd-multimedia@FreeBSD.ORG Sat Nov 26 05:51:45 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C463716A41F for ; Sat, 26 Nov 2005 05:51:45 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: from mail231.csoft.net (resin.csoft.net [63.111.22.86]) by mx1.FreeBSD.org (Postfix) with SMTP id DCB0043D45 for ; Sat, 26 Nov 2005 05:51:41 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: (qmail 24808 invoked from network); 26 Nov 2005 05:52:10 -0000 Received: from unknown (HELO puff.jakemsr.gom) (63.111.27.87) by mail231.csoft.net with SMTP; 26 Nov 2005 05:52:10 -0000 Received: (from jakemsr@jakemsr.com) by puff.jakemsr.gom (mini_sendmail/1.3.5 16nov2003); Fri, 25 Nov 2005 21:51:40 PST (sender jakemsr@puff.jakemsr.gom) Date: Fri, 25 Nov 2005 21:51:40 -0800 From: Jacob Meuser To: freebsd-multimedia@freebsd.org Message-ID: <20051126055139.GA27863@puff.jakemsr.gom> Mail-Followup-To: freebsd-multimedia@freebsd.org References: <200511241929.39061.nb_root@videotron.ca> <20051125131831.enpwpeysggcgkc04@netchild.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051125131831.enpwpeysggcgkc04@netchild.homeip.net> User-Agent: Mutt/1.4.2i Subject: Re: Transcode with bktr+oss problem 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, 26 Nov 2005 05:51:45 -0000 On Fri, Nov 25, 2005 at 01:18:31PM +0100, Alexander Leidinger wrote: > Nicolas Blais wrote: > > >Hi, > > > >With the recent upgrade to transcode-1.0.1_1 with oss support, I tried to > >record a tv show like so: > > > >transcode -i /dev/bktr0 -x bktr=norm=ntsc:vsource=tuner:asource=tuner,null ^^ ^^^^ > >-g > >640x480 -y ffmpeg -F mpeg4 -o out > > > >It correctly records the video but no sound (yet I can hear it). > >(asource=external/internal tested too). yes, because you are telling transcode to ignore audio input. > >So I also tried this: > > > >transcode -i /dev/bktr0 -x bktr=norm=ntsc:vsource=tuner:asource=tuner,oss > >-g > >640x480 -y ffmpeg -F mpeg4 -o out > > > >which will correctly load the import_oss.so module but exit(1) on me. > > > >transcode v1.0.1 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg > >SNDCTL_DSP_SETFMT: Inappropriate ioctl for device > >[transcode] auto-probing source /dev/bktr0 (failed) > > I don't have a bktr card, but it looks to me as transcode tries to open the > vide input as an audio device. This seems to be wrong if I understand the > handling of bktr correctly. yes, that's what it does, because the only input defined is /dev/bktr0. you have to use the -p switch to specify an alternate audio input file. > >My bktr's sound-out is connected to my sound card's Line In (as with most > >WinTVs like mine). > > I assume you have to specify your soundcard instead of the tuner in > "asource". no, this is right, assuming the OP wants to record both video and audio from the tuner. -- From owner-freebsd-multimedia@FreeBSD.ORG Sat Nov 26 11:38:11 2005 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E774D16A41F for ; Sat, 26 Nov 2005 11:38:11 +0000 (GMT) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [83.136.81.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 181B543D45 for ; Sat, 26 Nov 2005 11:38:10 +0000 (GMT) (envelope-from lehmann@ans-netz.de) Received: (qmail 11152 invoked by uid 89); 26 Nov 2005 11:37:30 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (83.136.81.185) by avocado.salatschuessel.net with SMTP; 26 Nov 2005 11:37:30 -0000 Date: Sat, 26 Nov 2005 12:38:08 +0100 From: Oliver Lehmann To: multimedia@freebsd.org Message-Id: <20051126123808.3c9e1f1d.lehmann@ans-netz.de> X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.7; amd64-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Scrollmouse 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, 26 Nov 2005 11:38:12 -0000 Hi, I purchased a Logitech Cordless Desktop S510 but the Scrollwheel does not work in xorg. I added the same options I used 2001 with XFree86 on an other system with a "normal" scrollmouse: Section "InputDevice" # Identifier and driver Identifier "Mouse1" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psm0" Option "Resolution" "100" Option "ChordMiddle" Option "Buttons" "5" Option "ZAxisMapping" "4 5" EndSection But It just doesn't work. The Scrollwheel also has a left/right function but the receiver generates standard left-arrow/right-arrow keycode out of them and sent them to the keyboard-port. (checked with xev) When I use the scrollwheel in xev I don't get anything printed out. Xorg.0.log: (**) Option "Protocol" "auto" (**) Mouse1: Device: "/dev/psm0" (**) Mouse1: Protocol: "auto" (**) Option "CorePointer" (**) Mouse1: Core Pointer (**) Option "Device" "/dev/psm0" (**) Option "Buttons" "5" (==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50 (**) Option "ChordMiddle" (**) Mouse1: ChordMiddle (**) Option "ZAxisMapping" "4 5" (**) Mouse1: ZAxisMapping: buttons 4 and 5 (**) Mouse1: Buttons: 5 (**) Option "Resolution" "100" (**) Mouse1: Resolution: 100 [...] (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE) (II) Mouse1: SetupAuto: hw.iftype is 3, hw.model is 0 (II) Mouse1: SetupAuto: protocol is SysMouse (I also tried forcing Emulate3Buttons to "no") Any ideas how to get the scrollwheel working? -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ From owner-freebsd-multimedia@FreeBSD.ORG Sat Nov 26 15:17:40 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 253CC16A41F for ; Sat, 26 Nov 2005 15:17:40 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 112DB43DA2 for ; Sat, 26 Nov 2005 15:17:23 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from clk01a ([66.130.198.54]) by VL-MO-MR001.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0IQK004IBIGWUFF0@VL-MO-MR001.ip.videotron.ca> for freebsd-multimedia@freebsd.org; Sat, 26 Nov 2005 10:17:20 -0500 (EST) Date: Sat, 26 Nov 2005 10:17:19 -0500 From: Nicolas Blais In-reply-to: <20051126055139.GA27863@puff.jakemsr.gom> To: freebsd-multimedia@freebsd.org Message-id: <200511261017.19823.nb_root@videotron.ca> MIME-version: 1.0 Content-type: multipart/signed; boundary=nextPart1236316.ITAT2QeDsR; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7bit References: <200511241929.39061.nb_root@videotron.ca> <20051125131831.enpwpeysggcgkc04@netchild.homeip.net> <20051126055139.GA27863@puff.jakemsr.gom> User-Agent: KMail/1.8.3 Cc: Subject: Re: Transcode with bktr+oss problem 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, 26 Nov 2005 15:17:40 -0000 --nextPart1236316.ITAT2QeDsR Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > yes, that's what it does, because the only input defined is /dev/bktr0. > > you have to use the -p switch to specify an alternate audio input file. > > > >My bktr's sound-out is connected to my sound card's Line In (as with > > > most WinTVs like mine). > > > > I assume you have to specify your soundcard instead of the tuner in > > "asource". > > no, this is right, assuming the OP wants to record both video and > audio from the tuner. I did try forcing a read from my soundcard by using -p /dev/dsp0 but it=20 records nothing too. If I specify a unique channel, say /dev/dsp0.1, it sa= ys=20 device busy. Nicolas. =2D-=20 =46reeBSD 7.0-CURRENT #1: Sat Nov 19 12:36:29 EST 2005 =20 root@clk01a:/usr/obj/usr/src/sys/CLK01A=20 PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc --nextPart1236316.ITAT2QeDsR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDiHx/4wTBlvcsbJURAon1AKCtltA0w0tFLIORfdxrw+6KXxPC4wCfdNbR +Mm+HWbpjAoOFV/pCBmwuPg= =QoFN -----END PGP SIGNATURE----- --nextPart1236316.ITAT2QeDsR--