Re: PCI TV card with bktr kernel device

2011-08-25 Thread Bernt Hansson

2011-08-25 09:44, Polytropon skrev:

On Wed, 24 Aug 2011 10:59:46 +0200, Bernt Hansson wrote:

The only thing I have is bktr_load="YES" in /boot/loader.conf.


I've seen that the modules have been successfully built, so I
did assume that _everything_ still works. But modules seem to
be quite different from what is required to get things working
directly inside the kernel, such as the "Giant" locking mechanism
which doesn't seem to be supported anymore (according to the
compiler error messages).

The only thing I'm not sure is:

How am I supposed to change former kernel options such as

options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL


I have never used that setting and where I live it's PAL/*


in order to define how the card works, as I need PAL support
and not NTSC. Is there a mechanism to change this for the
module? Or per loader tunable, or a sysctl?


This is from my dmesg:

pci3:  on pcib3
pci3:  at device 6.0 (no driver attached)
bktr0:  mem 0xfdcff000-0xfdcf irq 21 at device 7.0 on 
pci3

bktr0: [GIANT-LOCKED]
bktr0: [ITHREAD]
bktr0: Leadtek Winfast TV 2000, Philips FR1236 NTSC FM tuner.
pci3:  at device 7.1 (no driver attached)


sysctl -a | grep hw.bt848
hw.bt848.slow_msp_audio: -1
hw.bt848.format: -1
hw.bt848.reverse_mute: -1
hw.bt848.tuner: -1
hw.bt848.card: -1

Never changed those settings because I don't know what they mean.


Or maybe I don't even need that setting, as it is the default?
Just like A4 is the default paper size? :-)


Not impossible. When I start mplayer it understand PAL.


Running 8.2-STABLE #0 AMD64


Also 8.2-STABLE here, but i386 after nVidia problems with AMD64. :-)




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PCI TV card with bktr kernel device

2011-08-25 Thread Polytropon
On Wed, 24 Aug 2011 10:59:46 +0200, Bernt Hansson wrote:
> The only thing I have is bktr_load="YES" in /boot/loader.conf.

I've seen that the modules have been successfully built, so I
did assume that _everything_ still works. But modules seem to
be quite different from what is required to get things working
directly inside the kernel, such as the "Giant" locking mechanism
which doesn't seem to be supported anymore (according to the
compiler error messages).

The only thing I'm not sure is:

How am I supposed to change former kernel options such as

options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL

in order to define how the card works, as I need PAL support
and not NTSC. Is there a mechanism to change this for the
module? Or per loader tunable, or a sysctl?

Or maybe I don't even need that setting, as it is the default?
Just like A4 is the default paper size? :-)



> Running 8.2-STABLE #0 AMD64

Also 8.2-STABLE here, but i386 after nVidia problems with AMD64. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PCI TV card with bktr kernel device

2011-08-24 Thread Bernt Hansson

2011-08-24 09:54, Polytropon skrev:

In the past years, I could use a very simple PCI TV card
with FreeBSD. It's a Haupauge WinTV supported by the
bktr driver (BT878) that I've always included in my
system kernel.


I have a winfast tv2000


I have copied this from my previous configuration:

# TV
device  bktr
options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL
options BKTR_USE_PLL
options BKTR_GPIO_ACCESS
options BKTR_USE_FREEBSD_SMBUS


I don't have any of that.


I also paid attention to include this which I think
was a requirement:

# System management bus
device  smbus
device  iicbus
device  iicsmb
device  iicbb
device  iic


None of it.

The only thing I have is bktr_load="YES" in /boot/loader.conf.

Running 8.2-STABLE #0 AMD64
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


PCI TV card with bktr kernel device

2011-08-24 Thread Polytropon
In the past years, I could use a very simple PCI TV card
with FreeBSD. It's a Haupauge WinTV supported by the
bktr driver (BT878) that I've always included in my
system kernel.

I have copied this from my previous configuration:

# TV
device  bktr
options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL
options BKTR_USE_PLL
options BKTR_GPIO_ACCESS
options BKTR_USE_FREEBSD_SMBUS

I also paid attention to include this which I think
was a requirement:

# System management bus
device  smbus
device  iicbus
device  iicsmb
device  iicbb
device  iic

Sadly, the kernel of 8.2-STABLE doesn't successfully
compile with those settings, Those are the errors
reported when building the kernel:

===> bktr (obj)
===> bktr/bktr (obj)

[...]

===> bktr (depend)
===> bktr/bktr (depend)

[...]

cc -c -O2 -pipe -fno-strict-aliasing -march=prescott -std=c99  -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq 
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000  -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 
-ffreestanding -fstack-protector -Werror  /usr/src/sys/dev/bktr/bktr_i2c.c
cc1: warnings being treated as errors
/usr/src/sys/dev/bktr/bktr_i2c.c: In function 'bti2c_smb_callback':
/usr/src/sys/dev/bktr/bktr_i2c.c:131: warning: implicit declaration of function 
'mtx_lock'
/usr/src/sys/dev/bktr/bktr_i2c.c:131: warning: nested extern declaration of 
'mtx_lock'
/usr/src/sys/dev/bktr/bktr_i2c.c:131: error: 'Giant' undeclared (first use in 
this function)
/usr/src/sys/dev/bktr/bktr_i2c.c:131: error: (Each undeclared identifier is 
reported only once
/usr/src/sys/dev/bktr/bktr_i2c.c:131: error: for each function it appears in.)
/usr/src/sys/dev/bktr/bktr_i2c.c:136: warning: implicit declaration of function 
'mtx_unlock'
/usr/src/sys/dev/bktr/bktr_i2c.c:136: warning: nested extern declaration of 
'mtx_unlock'
/usr/src/sys/dev/bktr/bktr_i2c.c: In function 'bti2c_iic_callback':
/usr/src/sys/dev/bktr/bktr_i2c.c:168: error: 'Giant' undeclared (first use in 
this function)
/usr/src/sys/dev/bktr/bktr_i2c.c: In function 'bti2c_iic_reset':
/usr/src/sys/dev/bktr/bktr_i2c.c:195: error: 'Giant' undeclared (first use in 
this function)
/usr/src/sys/dev/bktr/bktr_i2c.c: In function 'bti2c_iic_setsda':
/usr/src/sys/dev/bktr/bktr_i2c.c:208: error: 'Giant' undeclared (first use in 
this function)
/usr/src/sys/dev/bktr/bktr_i2c.c: In function 'bti2c_iic_setscl':
/usr/src/sys/dev/bktr/bktr_i2c.c:225: error: 'Giant' undeclared (first use in 
this function)
/usr/src/sys/dev/bktr/bktr_i2c.c: In function 'bti2c_iic_getsda':
/usr/src/sys/dev/bktr/bktr_i2c.c:243: error: 'Giant' undeclared (first use in 
this function)
/usr/src/sys/dev/bktr/bktr_i2c.c: In function 'bti2c_write':
/usr/src/sys/dev/bktr/bktr_i2c.c:260: error: 'Giant' undeclared (first use in 
this function)
/usr/src/sys/dev/bktr/bktr_i2c.c: In function 'bti2c_smb_readb':
/usr/src/sys/dev/bktr/bktr_i2c.c:330: error: 'Giant' undeclared (first use in 
this function)
*** Error code 1

There were no problems on 5.x and 7.x with this kind
of configuration. Is this also a functionality that is
not present anymore, or am I missing some change that
has to be made on current 8.x systems?



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Tv-card for freebsd

2010-07-24 Thread Juergen Lock
In article  you 
write:
>On 7/14/10, Bernt Hansson  wrote:
>> Hello list!
>>
>> I'm in the process of buying a tv-card for dvb-t transmissions.
>>
>> Any tips on cards that have a driver for freebsd?
>>
>> Thank you.
>
>
>For a built-in tuner card itself, no recommendations.
>
>For an alternative solution, look at silicondust.com for the HDHomeRun
>boxes.  I've had one for a long time and it is a beautiful device.
>Simply stated, a dual (or more) digital tuner to ethernet bridge.
>
>[...]

Another option may be an usb tuner with webcamd on FreeBSD 8.1;
webcamd is a pretty cool hack by the author of FreeBSD 8's new
usb stack that essentially runs Linux usb v4l/dvb/atsc drivers on
FreeBSD in userspace and is now in ports:

http://www.freshports.org/multimedia/webcamd

I've put together some (hopefully) useful info here:

http://people.freebsd.org/~nox/dvb/

and there I'm also maintaining experimental ports for vdr which
most Linux users I know prefer over mythtv which is already
committed to ports.  But `simpler' apps like mplayer, kaffeine,
vlc, etc can of course also be used if you build the respective
ports with the V4L knobs enabled in their `make config'.  (and
DVBPSI too in case of vlc.)

 HTH,
Juergen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Tv-card for freebsd

2010-07-14 Thread Tim Judd
On 7/14/10, Bernt Hansson  wrote:
> Hello list!
>
> I'm in the process of buying a tv-card for dvb-t transmissions.
>
> Any tips on cards that have a driver for freebsd?
>
> Thank you.


For a built-in tuner card itself, no recommendations.

For an alternative solution, look at silicondust.com for the HDHomeRun
boxes.  I've had one for a long time and it is a beautiful device.
Simply stated, a dual (or more) digital tuner to ethernet bridge.

The consumer versions run only on DHCP, and they've recently announced
one that can accept tuner cards (for decoding a cable TV or satellite
broadcast, for example).


I haven't read the mechanics behind it, but it kinda looks like it's
tuned and channel data is sent to any ethernet-ready device by use of
ethernet frames.  You change settings by sending commands to the box.
There are frequent firmware updates but nothing that has yet applied
to me to fix a broken issue.



Enjoy!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Tv-card for freebsd

2010-07-14 Thread Bernt Hansson

Hello list!

I'm in the process of buying a tv-card for dvb-t transmissions.

Any tips on cards that have a driver for freebsd?

Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Driver for bt848akpf based tv-card (was: Re: help)

2007-02-24 Thread luqueman
Dear Sir ,
plz helps me 
 
tc card drivers BT848KPF

THANKS
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: TV card on freebsd

2006-11-17 Thread Boris Samorodov
On Tue, 14 Nov 2006 22:07:58 -0500 Tsu-Fan Cheng wrote:

> Hi,
>   this is a follow-up to what I posted before, about choosing a TV card to
> use on freebsd6.2. Okay, so the card I got "A VerMedia M-500" ...DOES NOT
> work!! Indeed!!! It uses Philip chip. shoot

Oh, Philips... But it may work with multimedia/kbtv. You may try to
load Win* (it initializes the card) and then reboot (not powerdown!)
to FreeBSD.

> but I have windows xp installed on another HD, after downloading the driver
> and all, that seemed to work well, except my cable signal is weak, i only
> get like 13 channels :-(

> get ready to bid

> (anybody wants a TV capture card that works on windows?? call me!!)


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


TV card on freebsd

2006-11-14 Thread Tsu-Fan Cheng

Hi,
  this is a follow-up to what I posted before, about choosing a TV card to
use on freebsd6.2. Okay, so the card I got "A VerMedia M-500" ...DOES NOT
work!! Indeed!!! It uses Philip chip. shoot

but I have windows xp installed on another HD, after downloading the driver
and all, that seemed to work well, except my cable signal is weak, i only
get like 13 channels :-(

get ready to bid

(anybody wants a TV capture card that works on windows?? call me!!)

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Conexant Fusion 878A - based TV card

2006-05-04 Thread lalev
I've lost it's box and there are no other inscriptions on the card,
except for a big "PixelView" sticker overlapping the sticker with
the model of the tuner itself. I believe that the exact model
is PlayTV 2, but I'm not absolutely sure on this.

The chip is inscribed Conexant Fusion 878A and the sticker of the tuner
is TNF-9935-B/DFF.

The only 2 visible chips on the card are labeled 0451CIRUS
(I couldn't lookup this) and 74HC405D (multiplexor of some kind).


scanpci output:

pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x109e device 0x036e
 Brooktree Corporation Bt878 Video Capture

pci bus 0x0002 cardnum 0x00 function 0x01: vendor 0x109e device 0x0878
 Brooktree Corporation Bt878 Audio Capture


bktr driver initialization

May  4 12:54:03 fence kernel: bktr0: [GIANT-LOCKED]
May  4 12:54:03 fence kernel: bktr0: Card has no configuration EEPROM.
Cannot determine card make.
May  4 12:54:03 fence kernel: bktr0: MT2032: Companycode=3c3c Part=3c
Revision=3c
May  4 12:54:03 fence kernel: bktr0: MT2032 not found or unknown type
May  4 12:54:03 fence kernel: bktr0: Pinnacle/Miro TV, Temic PAL I tuner.


The xawtv and fxtv both reported error initializing bktr.

Being a complete layman,
I'm almost sure the next section will make someone laugh, but anyway
I hope it may contain some useful information.

I've determined that the function
locate_eeprom_address in bktr_card.c
fails to detect the eeprom address on the I2C bus.

After hardcoding the address A0 for the I2C EEPROM address, which I
think is consistent with an example in the documentation of the chip
(See http://www.conexant.com/servlets/DownloadServlet/100600B.pdf?FileId=443,
3.5. Serial I2C EEPROM Interface

I ve got the following output at the initialization time:

bktr0:  mem 0xf400-0xf4000fff irq 18 at device 0.0 on
pci2
bktr0: [GIANT-LOCKED]
bktr0: Warning - card vendor 0x (model 0x6403) unknown.
bktr0: MT2032: Companycode=3c3c Part=3c Revision=3c
bktr0: MT2032 not found or unknown type
bktr0: Pinnacle/Miro TV, Temic PAL I tuner.

So, If anyone give me a hint what's next I'll be thankful :-))

Btw, is it possible that there is no eeprom at all ?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Driver for bt848akpf based tv-card (was: Re: help)

2005-12-06 Thread RUCHIRA RANASINGHE
dear Sir/ Madam
   
Regurading Driver for Bt848AKPF
   
I brought a video decorder last june 2005. but 
recently i lost my video decorder driver Cd  . After i formating my machine im 
not able to work with VDecorder because without devise driver. im kindly 
request from you sir if can plese help me.  
   
  Xtreme - 
  Bt
  Bt848AKPF
  VIDEO DECORDER
  BF8520.4 9814
   
  your faithfully
  D.T.Ranaweera.
   


-
 Yahoo! DSL Something to write home about. Just $16.99/mo. or less
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: TV-Card: Hauppauge WINTV PVR USB2

2005-01-30 Thread Lane
On Sunday 30 January 2005 17:14, Joachim Dagerot wrote:
> I have the device mentioned in the subject. I also have a nice working
> freeBSD 5.1 server without any graphics whatsoever. It's running different
> internet communications and also works as a file server. I have never done
> anything actively to support USB on it.
>
> My question is now: How difficult would it be, i even possible, to get my
> TV card set up so it can record television shows?
>
> Any links, suggestions and help is appreciated.
>
> //Joche
>
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
Check out http://www.mythtv.org.  They have a complete PVR system designed 
around the Hauppage 250 model for PCI, but USB may also be supported.

You'd have to patch their system to work on FreeBSD, but I've got an 
unofficial port available, if you'd like.

lane
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


TV-Card: Hauppauge WINTV PVR USB2

2005-01-30 Thread Joachim Dagerot

I have the device mentioned in the subject. I also have a nice working freeBSD 
5.1 server without any graphics whatsoever. It's running different internet 
communications and also works as a file server. I have never done anything 
actively to support USB on it.

My question is now: How difficult would it be, i even possible, to get my TV 
card set up so it can record television shows?

Any links, suggestions and help is appreciated.

//Joche



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


TV Card problem

2005-01-11 Thread Emon


Hello everyon

I am newbie using FreeBDS 5.3; and I am just starting to learn
about TV Cards supported by FreeBSD. Unfortunately my pci TV
Card (PINNACLE PCTV Stereo) does not have Brooktree/Conexant
Chip. Intead it uses something like

SAA7134HL
CC4492
Tt03461

At least that's what I found written on the Chip. So... does
this mean that I am DOOMED There is no Light at the end of
the tunnel unless I change my TV Card!! 

Thanks
Jadukor
-
Free POP3 Email from www.Gawab.com 
Sign up NOW and get your account @gawab.com!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: TV card

2004-02-16 Thread Danny Pansters
On Monday 16 February 2004 16:15, Edd Barrett wrote:
> Can anyone suggest a decent tv card that will work under freebsd in the uk?

Anything with a Brooktree card should work, see bktr(4), e.g. WinTV, Miro, and 
some others. I think also USB devices with a bktr chip work but I don't have 
one myself. Brooktree 848 and 878 are sure to work, newer chipsets might.

If you're going to use sound through the TV card, it will most likely be 
msp34xx (top of my head might be misspelled). I only use it with a camcorder 
and cable signal, with sounds plugged into my soundcard but you should be 
able to use sound from a TV/Coax signal.


HTH,

Dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: TV card

2004-02-16 Thread Benjamin Walkenhorst
On Mon, 16 Feb 2004 15:15:15 -
"Edd Barrett" <[EMAIL PROTECTED]> wrote:

> Can anyone suggest a decent tv card that will work under freebsd in
> the uk?

I don't know if this has got anything to do with where you live, but I
(living in Germany) have been using a Brooktree 878-based card
(Hauppauge WinTV Go!), which so far has worked flawlessly under Windows
98/ME/2k, Linux 2.2 - 2.6, FreeBSD 5. It also worked with NetBSD 1.6 and
BeOS 5 PE, but the OS'es did not support overlay mode, so the
TV-application consumed lots of CPU-cycles.

Brooktree cards are supported via the bktr(4) driver. I suggest, if in
doubt, go for Hauppauge, but unless you want to *a lot more* than just
watching TV, I don't think it matters that much, as long as the chipset
is made by Brooktree.

Kind regards,

Benjamin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


TV card

2004-02-16 Thread Edd Barrett
Can anyone suggest a decent tv card that will work under freebsd in the uk?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Driver for bt848akpf based tv-card (was: Re: help)

2003-12-12 Thread Simon Barner
> need drivers for bt848akpf video highway xtreem tv card by aims, ntcs/pal-m 
> cna u help? thanks tom

If your card is supported, it might be as easy as loading the bktr driver
module (of cource, you can also compile it into your kernel).

kldload bktr

For more information on the bktr driver, read its man page: man 4 bktr



signature.asc
Description: Digital signature