Re: Avermedia 507 TV
On Thu, 2008-04-17 at 00:15 +0200, Danny Pansters wrote: On Tuesday 15 April 2008 04:36:26 Da Rock wrote: On Tue, 2008-04-15 at 01:30 +0200, Danny Pansters wrote: On Monday 14 April 2008 12:25:14 Victor M. Blood wrote: On 14.04.2008, Da Rock wrote: On Mon, 2008-04-14 at 11:02 +0400, Victor M. Blood wrote: Hi, All. Anyone run tuner on phillips chip 7133/7135 on freebsd, I try to use saa driver, devices saa0, sau0, cii0 is present in /dev/ , kbtv runs, but freeze on begin chanel tunin... How to test tuner and drivers works or not. I haven't had success yet- but I have an E506AR. Where did you get the drivers from? I couldn't get access myself. saa_driver included in kbtv distrib, and can be found in inet, driver homepage is broken. I-m install it from port kbtv, the nessasary bsd-patche within distrib tarball I suspect your tuner (terratec?) is not amongst the supported ones. Both are Avermedia actually as posted, and yes they're only marginally supported. So far only the analogue works (possibly). Avermedia is not a type or brand of tuner. They're a HW company that assemble certain cards/sticks from parts such as tuners, decoders etc. That saa driver- I thought there was a problem with the site, but I had Saa driver is still available from purpe.com, but only from a direct download link (there's no page anymore): http://download.purpe.com/files/saa-REL_14.tgz no idea it could be downloaded with kbtv. I thought it was only compiled with support for the driver, not the driver itself. kbtv1 includes it also, for convenience, and because its needed for the saa backend anyway (well, some header). The saa driver only covers video and audio (I only use shunted audio with kbtv, not real audio capture). Tuner support is all userspace (directly via iic device). The generic tuner support that comes with the driver (as example sort of) seems to indicate that this is for a class of tuners that has three fixed bands and must be set to switch between it (as in Philips reference design). TDA and MKn init require some extra iic babble. Modern silicon tuners work differently and have quite different registers that need to be set for tuning. You'll have to excuse me presumption here (I'll normally read all messages before adding to a thread), but you sound like a very good source of info here. May I ask you if you can supply some references to what you're posting here? I'd like to investigate this much further... Also, I thought I read somewhere that firmware is used in most tuners. Plus I found the linux drivers use firmware to make this work. Just a thought. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Avermedia 507 TV
On Thursday 17 April 2008 13:31:50 Da Rock wrote: snip You'll have to excuse me presumption here (I'll normally read all messages before adding to a thread), but you sound like a very good source of info here. May I ask you if you can supply some references to what you're posting here? I'd like to investigate this much further... Principal source I used for the current tuner support with saa: FQ1200MK3 application note from Philips (google). The bandswitch commands for the different types come from the original saa example code (which I found didn't work properly for mk3 tuners until I added more initialization). Also, in the kbtv2 tarball, in drivers/saa/saa.h there are quite extensive comments. There are plenty (semi-)technical datasheets you can find online, but documents such as application notes seem to be hard to get by. There are two things, with tuners and any other hardware chip or component really: one is you need to understand how they work and what certain words/lingo mean (an electrical circuit schema can in principle be enough), two is there will always be a certain specific way (registers) to pass and retrieve and possibly convert the data you send/receive from the programmable parts of the circuity, even if two tuner types essentially use the exact same physics. Contrary to popular belief, the problem with HW support in OSS is the latter more often than the former I think. That's not to say that the first isn't a hurdle. ATM I find myself studying PLLs more closely with the expectation that eventually I can understand a specific configuration more easily and possibly guess to some extend how HW registers are organized. I'd like to reorganize the tuner support that's now in the saa backend so that this becomes one type/class while adding other types, such as the newer silicon tuners (microtune, xceive, fujitsu). I have some pdfs I could send you but there's no one definitive guide to a very broad area like this. And I wouldn't say that I have a broad enough view here to act as a trusty guide frankly. If you're mostly interested in (digital) video I can recommend Video demystified by Keith Jack. Pretty hard core but stuffed with all sorts of useful info. Also, I thought I read somewhere that firmware is used in most tuners. Plus I found the linux drivers use firmware to make this work. Just a thought. Well firmware can and is used for more than tuner support, also for example for a/v decoding (not to be confused with mpeg encoding) with the cxm driver, i.e. hauppauge PVR-150, i.e. pvrxxx). Tuning is just one thing that could be in a firmware. There's a firmware kernel module, used with cxm, that can load firmware. Essentially firmware is a blob that runs in your kernel. So, if not needed, I prefer to avoid it, especially with saa, because the a/v stuff is all OSS and BSD licensed and it works alright. There's another thing which may be confused with firmware, and that's eeprom. Tuners tend to have an eeprom that can be read to identify itself (eeproms don't execute code), and while they may be useful for identifying tuners they're also often busted or produce nonsense or disinformation. If you don't need to depend on an eeprom, I'd say avoid it. All IMHO of course -- I'm just self-taught here. I once wanted to just make a nice tv viewer for bktr. Then I got an avermedia card for 20 euro... then stole a webcam (lately it has been stolen back though, but it lasted long enough to support it in kbtv), and honestly bought a pvr150 card :) And then there's this eyeTV hybrid stick and I haven't even started on getting that to work. It looks at me ... support me, support me. Creepy little thing. HTH, Dan [ I don't mind discussing more specific things, except for creepy little things that whisper support me, but off list then please ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Avermedia 507 TV
On Tuesday 15 April 2008 04:36:26 Da Rock wrote: On Tue, 2008-04-15 at 01:30 +0200, Danny Pansters wrote: On Monday 14 April 2008 12:25:14 Victor M. Blood wrote: On 14.04.2008, Da Rock wrote: On Mon, 2008-04-14 at 11:02 +0400, Victor M. Blood wrote: Hi, All. Anyone run tuner on phillips chip 7133/7135 on freebsd, I try to use saa driver, devices saa0, sau0, cii0 is present in /dev/ , kbtv runs, but freeze on begin chanel tunin... How to test tuner and drivers works or not. I haven't had success yet- but I have an E506AR. Where did you get the drivers from? I couldn't get access myself. saa_driver included in kbtv distrib, and can be found in inet, driver homepage is broken. I-m install it from port kbtv, the nessasary bsd-patche within distrib tarball I suspect your tuner (terratec?) is not amongst the supported ones. Both are Avermedia actually as posted, and yes they're only marginally supported. So far only the analogue works (possibly). Avermedia is not a type or brand of tuner. They're a HW company that assemble certain cards/sticks from parts such as tuners, decoders etc. That saa driver- I thought there was a problem with the site, but I had Saa driver is still available from purpe.com, but only from a direct download link (there's no page anymore): http://download.purpe.com/files/saa-REL_14.tgz no idea it could be downloaded with kbtv. I thought it was only compiled with support for the driver, not the driver itself. kbtv1 includes it also, for convenience, and because its needed for the saa backend anyway (well, some header). The saa driver only covers video and audio (I only use shunted audio with kbtv, not real audio capture). Tuner support is all userspace (directly via iic device). The generic tuner support that comes with the driver (as example sort of) seems to indicate that this is for a class of tuners that has three fixed bands and must be set to switch between it (as in Philips reference design). TDA and MKn init require some extra iic babble. Modern silicon tuners work differently and have quite different registers that need to be set for tuning. HTH, Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Avermedia 507 TV
On Tuesday 15 April 2008 08:41:45 Victor M. Blood wrote: On 15.04.2008, Da Rock wrote: On Tue, 2008-04-15 at 01:30 +0200, Danny Pansters wrote: On Monday 14 April 2008 12:25:14 Victor M. Blood wrote: On 14.04.2008, Da Rock wrote: On Mon, 2008-04-14 at 11:02 +0400, Victor M. Blood wrote: Hi, All. Anyone run tuner on phillips chip 7133/7135 on freebsd, I try to use saa driver, devices saa0, sau0, cii0 is present in /dev/ , kbtv runs, but freeze on begin chanel tunin... How to test tuner and drivers works or not. I haven't had success yet- but I have an E506AR. Where did you get the drivers from? I couldn't get access myself. saa_driver included in kbtv distrib, and can be found in inet, driver homepage is broken. I-m install it from port kbtv, the nessasary bsd-patche within distrib tarball I suspect your tuner (terratec?) is not amongst the supported ones. Both are Avermedia actually as posted, and yes they're only marginally supported. So far only the analogue works (possibly). That saa driver- I thought there was a problem with the site, but I had no idea it could be downloaded with kbtv. I thought it was only compiled with support for the driver, not the driver itself. =from kbtv README If you set the WITH_SAA variable to True the saa.ko kernel module will be built and installed, as well as the tvv X-based viewer (gets embedded into kbtv) and a saa Python module that allows for tuning and such, exactly like the bt848 module provides for Brooktree based hardware. Note that some parts, not needed for kbtv, are not built and not installed by kbtv. = This is from an ancient version of kbtv. Tvv is not being used as viewer for a long time, instead a SDL based viewer, similar to the bktr viewer is used, and together with the tuning and some other stuff it makes up the saa backend Hope that explains things a bit, Dan ls kbtv-1.0/saa/patches patch-Makefile patch-support::tuner_ctrl.h ls kbtv-1.0/saa/saa kmod ROMS support tvv LICENSE Makefile Makevars README saa-driver that loading is here http://download.purpe.com/files/saa-REL_14.tgz or http://download.purpe.com/files/ bsd patches from /usr/ports/multimedia/kbtv/work/*/saa/patches kbtv: http://freebsd.ricin.com/kbtv/ http://sourceforge.net/projects/kbtv http://freebsd.ricin.com/ports/distfiles/kbtv-1.2.5.tbz kbtv-1.2.5 cetrainly uses its own backend, not tvv. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Avermedia 507 TV
On Tuesday 15 April 2008 08:43:05 Victor M. Blood wrote: On 15.04.2008, Da Rock wrote: How I can test my tuner? I'm newbee to bsd and can't understan why tuner do not works, than driver loaded without errors Tuner support is not provided by the saa driver. The kbtv backend has support for some tuners, but not all possible tuners. Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Avermedia 507 TV
On 15.04.2008, Da Rock wrote: On Tue, 2008-04-15 at 01:30 +0200, Danny Pansters wrote: On Monday 14 April 2008 12:25:14 Victor M. Blood wrote: On 14.04.2008, Da Rock wrote: On Mon, 2008-04-14 at 11:02 +0400, Victor M. Blood wrote: Hi, All. Anyone run tuner on phillips chip 7133/7135 on freebsd, I try to use saa driver, devices saa0, sau0, cii0 is present in /dev/ , kbtv runs, but freeze on begin chanel tunin... How to test tuner and drivers works or not. I haven't had success yet- but I have an E506AR. Where did you get the drivers from? I couldn't get access myself. saa_driver included in kbtv distrib, and can be found in inet, driver homepage is broken. I-m install it from port kbtv, the nessasary bsd-patche within distrib tarball I suspect your tuner (terratec?) is not amongst the supported ones. Both are Avermedia actually as posted, and yes they're only marginally supported. So far only the analogue works (possibly). That saa driver- I thought there was a problem with the site, but I had no idea it could be downloaded with kbtv. I thought it was only compiled with support for the driver, not the driver itself. =from kbtv README If you set the WITH_SAA variable to True the saa.ko kernel module will be built and installed, as well as the tvv X-based viewer (gets embedded into kbtv) and a saa Python module that allows for tuning and such, exactly like the bt848 module provides for Brooktree based hardware. Note that some parts, not needed for kbtv, are not built and not installed by kbtv. = ls kbtv-1.0/saa/patches patch-Makefile patch-support::tuner_ctrl.h ls kbtv-1.0/saa/saa kmod ROMS support tvv LICENSE Makefile Makevars README saa-driver that loading is here http://download.purpe.com/files/saa-REL_14.tgz or http://download.purpe.com/files/ bsd patches from /usr/ports/multimedia/kbtv/work/*/saa/patches kbtv: http://freebsd.ricin.com/kbtv/ http://sourceforge.net/projects/kbtv http://freebsd.ricin.com/ports/distfiles/kbtv-1.2.5.tbz -- With all regards, Victor M. Blood. mailto: [EMAIL PROTECTED] FTN: 2:5024/[EMAIL PROTECTED], ICQ#3567656 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Avermedia 507 TV
On 15.04.2008, Da Rock wrote: How I can test my tuner? I'm newbee to bsd and can't understan why tuner do not works, than driver loaded without errors -- With all regards, Victor M. Blood. mailto: [EMAIL PROTECTED] FTN: 2:5024/[EMAIL PROTECTED], ICQ#3567656 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Avermedia 507 TV
On Tue, 2008-04-15 at 10:43 +0400, Victor M. Blood wrote: On 15.04.2008, Da Rock wrote: How I can test my tuner? I'm newbee to bsd and can't understan why tuner do not works, than driver loaded without errors Sorry for the diversion. Try sysctl -a and grep for saa- if that fails, check manually. I'm no guru, I'm afraid. Someone else may have a better way to do this, but this should head you along the right direction. Post your results, plus dmesg (just type dmesg - any user should be fine). We'll go from there. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Avermedia 507 TV
On Mon, 2008-04-14 at 11:02 +0400, Victor M. Blood wrote: Hi, All. Anyone run tuner on phillips chip 7133/7135 on freebsd, I try to use saa driver, devices saa0, sau0, cii0 is present in /dev/ , kbtv runs, but freeze on begin chanel tunin... How to test tuner and drivers works or not. I haven't had success yet- but I have an E506AR. Where did you get the drivers from? I couldn't get access myself. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Avermedia 507 TV
On 14.04.2008, Da Rock wrote: On Mon, 2008-04-14 at 11:02 +0400, Victor M. Blood wrote: Hi, All. Anyone run tuner on phillips chip 7133/7135 on freebsd, I try to use saa driver, devices saa0, sau0, cii0 is present in /dev/ , kbtv runs, but freeze on begin chanel tunin... How to test tuner and drivers works or not. I haven't had success yet- but I have an E506AR. Where did you get the drivers from? I couldn't get access myself. saa_driver included in kbtv distrib, and can be found in inet, driver homepage is broken. I-m install it from port kbtv, the nessasary bsd-patche within distrib tarball -- With all regards, Victor M. Blood. mailto: [EMAIL PROTECTED] FTN: 2:5024/[EMAIL PROTECTED], ICQ#3567656 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Avermedia 507 TV
On Monday 14 April 2008 12:25:14 Victor M. Blood wrote: On 14.04.2008, Da Rock wrote: On Mon, 2008-04-14 at 11:02 +0400, Victor M. Blood wrote: Hi, All. Anyone run tuner on phillips chip 7133/7135 on freebsd, I try to use saa driver, devices saa0, sau0, cii0 is present in /dev/ , kbtv runs, but freeze on begin chanel tunin... How to test tuner and drivers works or not. I haven't had success yet- but I have an E506AR. Where did you get the drivers from? I couldn't get access myself. saa_driver included in kbtv distrib, and can be found in inet, driver homepage is broken. I-m install it from port kbtv, the nessasary bsd-patche within distrib tarball I suspect your tuner (terratec?) is not amongst the supported ones. Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Avermedia 507 TV
On Tue, 2008-04-15 at 01:30 +0200, Danny Pansters wrote: On Monday 14 April 2008 12:25:14 Victor M. Blood wrote: On 14.04.2008, Da Rock wrote: On Mon, 2008-04-14 at 11:02 +0400, Victor M. Blood wrote: Hi, All. Anyone run tuner on phillips chip 7133/7135 on freebsd, I try to use saa driver, devices saa0, sau0, cii0 is present in /dev/ , kbtv runs, but freeze on begin chanel tunin... How to test tuner and drivers works or not. I haven't had success yet- but I have an E506AR. Where did you get the drivers from? I couldn't get access myself. saa_driver included in kbtv distrib, and can be found in inet, driver homepage is broken. I-m install it from port kbtv, the nessasary bsd-patche within distrib tarball I suspect your tuner (terratec?) is not amongst the supported ones. Both are Avermedia actually as posted, and yes they're only marginally supported. So far only the analogue works (possibly). That saa driver- I thought there was a problem with the site, but I had no idea it could be downloaded with kbtv. I thought it was only compiled with support for the driver, not the driver itself. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]