On 8/3/06, Diana Eichert <[EMAIL PROTECTED]> wrote:
I'm getting the following error when I try to access my bktr(4) card.$ sudo radioctl -f /dev/bktr0 -a radioctl: RIOCGINFO: Inappropriate ioctl for device I was trying to set the tuner to cable/NTSC/channel#. OpenBSD 4.0-beta (GENERIC) #1036: Tue Aug 1 01:59:50 MDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
<snip>
bktr0 at pci1 dev 14 function 0 "Brooktree BT878" rev 0x02: irq 10 bktr0: Askey/Dynalink Magic TView, Temic NTSC tuner. "Brooktree BT878 Audio" rev 0x02 at pci1 dev 14 function 1 not configured
The RIOCGINFO ioctl(2) is reserved for /dev/radioN(4) devices.. I didn't see it in your dmesg, but I seem to recall my ancient 848 enumerating radio0 at bktr0 for NTSC tuning purposes, barring memory problems (of the brain sort). I believe there are also some kernel config options to force manual enumeration of the device rather than relying on built-in autodetection code. I never had to worry about them, but you might give that a go if you're in the kernel-config neighbourhood.

