Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 1998 11:50:02 -0800 (PST)
From:      Keith Sklower <sklower@CS.Berkeley.EDU>
To:        hasty@rah.star-gate.com, sklower@CS.Berkeley.EDU
Cc:        multimedia@FreeBSD.ORG, tom@hooked.net
Subject:   Re: fxtv + bt848 under bsdi 3.0
Message-ID:  <199801271950.LAA03747@vangogh.CS.Berkeley.EDU>

next in thread | raw e-mail | index | archive | help
    From hasty@rah.star-gate.com Mon Jan 26 10:03:26 1998

    Hi Keith,

    Whats the major and minor device for the bt848 device on BSDI?

	    Tnks,
	    Amancio

    > Hello, I was wondering if you could be of some help.
    > I've incorperated the bt848 drivers into my bsdi 3.1 kernel tree
    > and have partial success.
    > From dmesg I see :
    > bktr0 at pci0 irq 11 maddr 0xe2002000-0xe2002fffbrooktree0: PCI bus latency is 32.
    > bktr0: buffer size 3555328, addr 0x3000000
    > bktr: GPIO is 0x00fffffb
    > Hauppauge WinCast/TV, Temic PAL tuner, dbx stereo.

    > And after installing the latest version of xfree86 and
    > the various needed libs I was able to compile fxtv.

    > Unfortunatly I it complains that /dev/bktr0 isn't configgured.
    > Any ideas? 

The way major device numbers are assigned under BSDI is by
editing /sys/i386/conf/ioconf.c.i386, editing the 
array struct devsw *devsw and essentially putting a pointer
to "btkr".  So, the major device on my system may not be
the same as the one on yours . . .

Here was the tail end of my array looks like:
        %DEVSW(tun),            /* 45 = Tunnel Network Interface */
        NULL,                   /* 46 = (unused) */
        NULL,                   /* 47 = (unused) */
        %DEVSW(meteor),         /* 48 = Matrox Meteor Video capture */
        %DEVSW(bktr),           /* 49 = Brooktree video capture */ 
        %DEVSW(apm),            /* 50 = APM Interface module */ 
        %DEVSW(cs),             /* 51 = PCMCIA CS Interface module */
        %DEVSW(fvc),            /* 52 = Focus Video Capture */
        %DEVSW(mc),             /* 53 = PCMCIA SRAM Drive */  
};



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