Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 1998 09:01:27 -0400
From:      Randall Hopper <rhh@ct.picker.com>
To:        gmarco@giovannelli.it, Amancio Hasty <hasty@rah.star-gate.com>
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: fxtv and audio ... (Avermedia)
Message-ID:  <19980615090127.A11442@ct.picker.com>
In-Reply-To: <35851926.D326277F@scotty.masternet.it>; from Gianmarco Giovannelli on Mon, Jun 15, 1998 at 02:52:54PM %2B0200
References:  <199806141552.RAA07122@sos.freebsd.dk> <3584CAB7.24C065C9@scotty.masternet.it> <19980615082449.A10791@ct.picker.com> <35851926.D326277F@scotty.masternet.it>

next in thread | previous in thread | raw e-mail | index | archive | help
(Amancio, new sign output embedded in Gianmarco's msg below).

Ok, I see.

Well, only other thing I could offer is to try exactly Soren's patch.  The
difference with what you are running now is the removal of PFC8582_WADDR as
the EEPROM type (for testing, just change PFC8582_WADDR to 0 in your IMS
device entry).  

Probably won't make a diff, but it's all I can offer with my bktr driver
experience.  You're deep in Amancio's court now. :-)

Soren's actual patch (new device record):
+        /* CARD_AVER_MEDIA */
+        { "AVer Media TV/FM",                   /* the 'name' */
+           NULL,                                /* the tuner */
+           0,                                   /* dbx is optional */
+           0,
+           0,                                   /* EEProm type */
+           0,                                   /* EEProm size */
+           { 0x0c, 0x00, 0x0b, 0x0b, 1 } },     /* audio MUX values */

Randall



Gianmarco Giovannelli:
 |Randall Hopper wrote:
 |> Now you've confused me.  Did the audio mux patch do anything for you or
 |> not?
 |
 |Sorry if I let you confused, here is a summary :
 |
 |
 |The patch I applied only let my card being recognized better than
 |before, but audio is not working the same ...
 |
 |Before the patch by Mr.Soren if I add in the kernel only the line :
 |
 |device          bktr0 
 |
 |My card wasn't recognized well (it was considered NTSC), infact the
 |dmesg output is:
 |
 |Jun 13 09:23:11 gmarco bktr0: <BrookTree 848> rev 0x12 int a irq 15 on
 |pci0.11.0
 |Jun 13 09:23:11 gmarco /kernel: IMS TV Turbo, Philips FR1236 NTSC FM
 |tuner.               
 |
 |So I tried to snoop in the file brooktree848.c and with your helps too I
 |was able to get the card well found modifing the kernel in this way :
 |
 |device          bktr0
 |options        OVERRIDE_TUNER=2
 |options        OVERRIDE_CARD=5
 |options        BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL          
 |
 |With the patch by Mr.Soren I was able to delete all the 3 lines of
 |options from the kernel leaving only :
 |
 |device          bktr0
 |
 |to let the card being recognized as :
 |
 |bktr0: <BrookTree 848> rev 0x12 int a irq 15 on pci0.11.0
 |IMS TV Turbo, Temic PAL tuner.
 |
 |So a far better situation of the starting one ...
 |The tuner should be right infact I read over it :
 |
 |Front End 4002 FH5
 |Temic 3x7 756
 |9708
 |
 |The audio still not work, but the video is ok 
 |
 |> You say here your audio isn't working (?)  It wasn't working before at all
 |> you said.  Now you said it doesn't work the same (?)
 |
 |The audio never works with fxtv, but is working quite well in any other
 |programs, like mpg123 ...
 |
 |> Also, I'm used to seeing two dmas and an IRQ in the soundcard dmesg
 |> output.  Where are they?  Have you jumped through the prerequisite PnP
 |> hoops, etc.?  
 |
 |In the kernel I have :
 |
 |[...]
 |options         USERCONFIG              #boot -c editor
 |options         USERCONFIG_BOOT         #imply -c and parse info area
 |options         VISUAL_USERCONFIG       #visual boot -c editor
 |[...]
 |controller      snd0
 |device          sb0     at isa? port 0x220 irq 5 drq 1 vector sbintr
 |device          sbxvi0  at isa? drq 5
 |device          sbmidi0 at isa? port 0x330
 |device          opl0    at isa? port 0x388
 |device          awe0    at isa? port 0x620
 |device          joy0    at isa? port "IO_GAME"
 |
 |and then I use a kernel.config file like this :
 |
 |gmarco:/home/gmarco> less /kernel.config
 |USERCONFIG
 |pnp 1 0 os enable port0 0x220 irq0 5 drq0 1 drq1 5 port1 0x330 port2
 |0x388
 |pnp 1 1 os enable port0 0x208
 |pnp 1 2 os enable port0 0x620 port1 0xa20 port2 0xe20
 |quit                                                            
 |
 |
 |> Also, I'm assuming the output of your video board is plugged
 |> into the line-input impedence input of your soundcard?
 |
 |Yes sure, but also it doesn't work even if I plug a couple of speakers
 |directly in the  audio output. 
 |So it isn't a problem directly related to the sound board... IMHO ...
 |
 |(under window$ it works..., sadly but true...)
 |
 |
 |Let me know if you need more input ...
 |
 |In the meantime here the output of the "new" sign :
 |gmarco:/home/gmarco> sign
 |
 |signature contents, 0x01 thru 0xff:
 |
 | 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00
 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 | 78 ea 07 20 0c 32 00 00 00 00 00 00 00 00 00 00
 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 |
 |
 |i2c device found @
 | 0xc2
 |
 |and :
 |
 |gmarco:/home/gmarco> fxtv -debug startup
 |Fxtv v0.47
 |
 |DETECTED CAPTURE CARD(S) [DRIVER PROBES]:
 |    bktr0: <BrookTree 848> rev 0x12 int a irq 15 on pci0.11.0
 |    IMS TV Turbo, Temic PAL tuner.
 |
 |SYSCTL MIB VALUES:
 |    kern.version: FreeBSD 3.0-CURRENT #1: Sun Jun 14 12:27:37 CEST 1998
 |        gmarco@gmarco.eclipse.org:/usr/src/sys/compile/GMARCO
 |
 |    hw.bt848.card: -1
 |    hw.bt848.tuner: -1
 |    hw.bt848.reverse_mute: -1
 |
 |TUNER SIGNATURE (0x01 - 0xff):
 |    00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00
 |
 |TUNER I2C DEVICES FOUND AT:
 |    0xc2
 |ioctl(BT848_REEPROM) failed: Input/output error
 |
 |CAPTURE CARD EEPROM CONTENTS:
 |   Read 0 EEPROM bytes
 |
 |Supported RGB Capture Pixel Formats:
 |   bpp  Bpp  RGB Masks                     Swap
 |   ---  ---  ----------------------------  ----
 |    15   2   00007c00, 000003e0, 0000001f  NB
 |    16   2   0000f800, 000007e0, 0000001f  NB
 |    24   3   00ff0000, 0000ff00, 000000ff   B
 |    24   4   00ff0000, 0000ff00, 000000ff  NBWb
 |
 |Supported YUV Capture Pixel Formats:
 |   YUVSize  HSamp  VSamp  Pack    CompOrder  T->B  L->R  YTrans
 |   -------  -----  -----  ------  ---------  ----  ----  ------
 |    8,8,8   1,2,2  1,1,1  PLANAR  YUV         Y     Y      N
 |    8,8,8   1,2,2  1,1,1  PACKED  YUYV        Y     Y      N
 |    8,8,8   1,2,2  1,2,2  PLANAR  YUV         Y     Y      N
 |
 |
 |XSERVER: 'Xi Graphics, Inc.' v4100,  Protocol Verson 11.0
 |         Screen Res = 1024x768, DefDepth = 24; NumScreens = 1
 |         Bitmap Unit/BitOrder/Pad = 32/LSBFirst/32, Image ByteOrder =
 |LSBFirst
 |
 |Xlib:  extension "XFree86-DGA" missing on display ":0.0".
 |XF86DGA{QueryVersion,QueryDirectVideo}() failed
 |
 |Rating Available Visuals:
 |   Rating  Class        bpp  Bpp  R,G,B Masks                   Swap 
 |DirectVid
 |   ------  -----------  ---  ---  ----------------------------  ---- 
 |---------
 |     4     TrueColor     24  4,4  00ff0000, 0000ff00, 000000ff   --     
 |No
 |     0     DirectColor   24  4,4  00ff0000, 0000ff00, 000000ff   --     
 |No
 |     4     TrueColor     24  4,4  00ff0000, 0000ff00, 000000ff   --     
 |No
 |Default Visual is 24-bpp TrueColor
 |
 |Xlib:  extension "XFree86-VidModeExtension" missing on display ":0.0".
 |XF86VidModeQueryVersion() failed
 |No matching font(s) registered with X Server:
 |  -adobe-utopia-bold-r-*-*-0-0-*-*-*-0-iso8859-1
 |Falling back on '10x20' font.
 |No matching font(s) registered with X Server:
 |  -adobe-utopia-bold-r-*-*-0-0-*-*-*-0-iso8859-1
 |Falling back on '10x20' font.
 |No matching font(s) registered with X Server:
 |  -adobe-utopia-bold-r-*-*-0-0-*-*-*-0-iso8859-1
 |Falling back on '10x20' font.
 |No matching font(s) registered with X Server:
 |  -adobe-utopia-bold-r-*-*-0-0-*-*-*-0-iso8859-1
 |Falling back on '10x20' font.
 |No matching font(s) registered with X Server:
 |  -adobe-utopia-bold-r-*-*-0-0-*-*-*-0-iso8859-1
 |Falling back on '10x20' font.
 |Direct Video not supported by visual...using XImages  
 |
 |
 |Thanks again for your patience and help...
 |
 |-- 
 |
 |Regards...
 |
 |Gianmarco
 |"Unix expert since yesterday"
 |
 |http://www.giovannelli.it


Randall

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



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