* bttv-driver: help required with new card
@ 2002-08-21 7:59 M G Berberich
2002-08-21 8:39 ` Gerd Knorr
0 siblings, 1 reply; 2+ messages in thread
From: M G Berberich @ 2002-08-21 7:59 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1200 bytes --]
Hello,
I have a framegrabber to work with linux (2.4.18). It's a BT878
device and I have a lot of questions :(
a) It does not use the muxsel-bits in BT848_IFORM but some bits in
BT848_GPIO_DATA to select video-input---so seems to be a quite
unusual device.
Should I make switch(btv->type) statments in bt848_muxsel?
b) several registers have to be initialised to other values then
usual, to make the card work.
At the moment I'm doing this in bt848_muxsel, but I would like to
move to a place where it is not executed every time I switch input
Is init_bt848 the right place?
(The framegrabber should generate sync-signals and provide them to
the cameras allowing to switch between cameras in 40ms, so
initializing the chips every time would not work)
c) It does not identify with PCI_SUBSYSTEM_ID/PCI_SUBSYSTEM_VENDOR_ID
(gives 0xffff). Any other way to autodetect it?
d) Who is the bttv-maintainer?!
MfG
bmg
--
"Des is völlig wurscht, was heut beschlos- | M G Berberich
sen wird: I bin sowieso dagegn!" | berberic@fmi.uni-passau.de
(SPD-Stadtrat Kurt Schindler; Regensburg) | www.fmi.uni-passau.de/~berberic
[-- Attachment #2: Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: bttv-driver: help required with new card
2002-08-21 7:59 bttv-driver: help required with new card M G Berberich
@ 2002-08-21 8:39 ` Gerd Knorr
0 siblings, 0 replies; 2+ messages in thread
From: Gerd Knorr @ 2002-08-21 8:39 UTC (permalink / raw)
To: linux-kernel
> I have a framegrabber to work with linux (2.4.18). It's a BT878
> device and I have a lot of questions :(
>
> a) It does not use the muxsel-bits in BT848_IFORM but some bits in
> BT848_GPIO_DATA to select video-input---so seems to be a quite
> unusual device.
>
> Should I make switch(btv->type) statments in bt848_muxsel?
No. Pick the latest driver and use the muxsel_hook.
> b) several registers have to be initialised to other values then
> usual, to make the card work.
>
> At the moment I'm doing this in bt848_muxsel, but I would like to
> move to a place where it is not executed every time I switch input
> Is init_bt848 the right place?
No. Have you noticed the bttv-cards.c file? There is plenty of
card-specific initialization code. bttv_init_card2() likely is the
proper place.
> c) It does not identify with PCI_SUBSYSTEM_ID/PCI_SUBSYSTEM_VENDOR_ID
> (gives 0xffff). Any other way to autodetect it?
Sorry, no. Use the card=foo insmod option and flame the vendor of the
card.
> d) Who is the bttv-maintainer?!
/me.
How about reading documentation? Documentation/video4linux/bttv/ for
example?
Gerd
--
You can't please everybody. And usually if you _try_ to please
everybody, the end result is one big mess.
-- Linus Torvalds, 2002-04-20
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-08-21 9:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-21 7:59 bttv-driver: help required with new card M G Berberich
2002-08-21 8:39 ` Gerd Knorr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox