Jacob Meuser wrote: > On Tue, Dec 06, 2005 at 08:53:00AM +0100, Ramiro Aceves wrote: > >>Hello. > > > yo! > > >>The system does not recognize my TV CARD tuner type out of the box, and >>xawtv does not work. As I did not know if it was possible to configure >>TV CARD with config(8), I tried to compile a kernel, so I started to > > > it isn't poaaible to use config(8) to configure a bktr(4) device, but > that would be nice. actually, it would be nicer not to have to do any > manual configuration at all ...
Oh yes, of course, it would be great. I am new to OpenBSD, I have used OpenBSD for 5 months or so. I was looking for some kind of configuration in config(8), but I soon understood that it could not be done without recompiling the kernel. :-( <snip> > > I would like to see a dmesg from GENERIC. is this really an Askey? > it looks like this should be detected by bktr by the PCI vendor ID. I attach the GENERIC and GENERIC.REMIGIO dmesg`s at the end of this email. The real problem was that it autodetected the wrong tuner. > > >>Should I fill a bug report? > > > adding CARD_ in front of all the names will mess up the nice > formatting ;) > > but, yes, this should be clarified. > > and btw, BKTR_SYSTEM_DEFAULT=BROOKTREE_PAL is the default. > Nice to now that PAL is the default. I used that sentence just to be sure. I am happy to help with any tests you need. Ramiro. ********************* GENERIC *************************************** OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) processor ("AuthenticAMD" 686-class, 256KB L2 cache) 1.20 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real mem = 536387584 (523816K) avail mem = 482533376 (471224K) using 4278 buffers containing 26923008 bytes (26292K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(9c) BIOS, date 11/30/01, BIOS32 rev. 0 @ 0xfb1f0 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf0000/0xb670 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdc00/160 (8 entries) pcibios0: PCI Exclusive IRQs: 5 9 10 11 pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0xa800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA VT8363 Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "VIA VT8363 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "Nvidia Vanta" rev 0x15 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 7 function 0 "VIA VT82C686 ISA" rev 0x40 pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <ST3160021A> wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd1 at pciide0 channel 0 drive 1: <ST340810A> wd1: 16-sector PIO, LBA, 38166MB, 78165360 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-ROM GDR8161B, 0102> SCSI0 5/cdrom removable atapiscsi1 at pciide0 channel 1 drive 1 scsibus1 at atapiscsi1: 2 targets cd1 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVDRAM GSA-4160B, A302> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x1a: irq 9 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 7 function 3 "VIA VT83C572 USB" rev 0x1a: irq 9 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered viaenv0 at pci0 dev 7 function 4 "VIA VT82C686 SMBus" rev 0x40 eap0 at pci0 dev 10 function 0 "Ensoniq CT5880" rev 0x02: irq 5 ac97: codec id 0x83847609 (SigmaTel STAC9721/23) ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D audio0 at eap0 midi0 at eap0: <AudioPCI MIDI UART> rl0 at pci0 dev 11 function 0 "Realtek 8139" rev 0x10: irq 11 address 00:02:44:59:f1:70 rlphy0 at rl0 phy 0: RTL internal phy bktr0 at pci0 dev 14 function 0 "Brooktree BT878" rev 0x11: irq 5 bktr0: Askey/Dynalink Magic TView, Temic NTSC tuner. "Brooktree BT878 Audio" rev 0x11 at pci0 dev 14 function 1 not configured isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi1 at pcppi0: <PC speaker> spkr0 at pcppi0 sysbeep0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask e765 netmask ef65 ttymask ffe7 pctr: user-level cycle counter enabled mtrr: Pentium Pro MTRR support uhub2 at uhub0 port 2 uhub2: ALCOR Generic USB Hub, rev 1.10/3.12, addr 2 uhub2: 4 ports with 4 removable, self powered umass0 at uhub2 port 2 configuration 1 interface 0 umass0: vendor 0x0457 USB Mass Storage Device, rev 2.00/1.00, addr 3 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets sd0 at scsibus2 targ 1 lun 0: <USB 2.0, Flash Disk, 0.00> SCSI2 0/direct removable sd0: 250MB, 250 cyl, 64 head, 32 sec, 512 bytes/sec, 512000 sec total dkcsum: wd0 matches BIOS drive 0x80 wd1: no disk label dkcsum: wd1 matches BIOS drive 0x81 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 ***************************************************************** ******************* GENERIC.REMIGIO *************************** OpenBSD 3.8 (GENERIC.REMIGIO) #0: Mon Dec 5 19:46:08 CET 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.REMIGIO cpu0: AMD Athlon(tm) processor ("AuthenticAMD" 686-class, 256KB L2 cache) 1.20 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real mem = 536387584 (523816K) avail mem = 482537472 (471228K) using 4278 buffers containing 26923008 bytes (26292K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(9c) BIOS, date 11/30/01, BIOS32 rev. 0 @ 0xfb1f0 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf0000/0xb670 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdc00/160 (8 entries) pcibios0: PCI Exclusive IRQs: 5 9 10 11 pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0xa800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA VT8363 Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "VIA VT8363 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "Nvidia Vanta" rev 0x15 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 7 function 0 "VIA VT82C686 ISA" rev 0x40 pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <ST3160021A> wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd1 at pciide0 channel 0 drive 1: <ST340810A> wd1: 16-sector PIO, LBA, 38166MB, 78165360 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-ROM GDR8161B, 0102> SCSI0 5/cdrom removable atapiscsi1 at pciide0 channel 1 drive 1 scsibus1 at atapiscsi1: 2 targets cd1 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVDRAM GSA-4160B, A302> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x1a: irq 9 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 7 function 3 "VIA VT83C572 USB" rev 0x1a: irq 9 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered viaenv0 at pci0 dev 7 function 4 "VIA VT82C686 SMBus" rev 0x40 eap0 at pci0 dev 10 function 0 "Ensoniq CT5880" rev 0x02: irq 5 eap0: eap1371_read_codec timeout 2 ac97: codec id 0x83847609 (SigmaTel STAC9721/23) ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D audio0 at eap0 midi0 at eap0: <AudioPCI MIDI UART> rl0 at pci0 dev 11 function 0 "Realtek 8139" rev 0x10: irq 11 address 00:02:44:59:f1:70 rlphy0 at rl0 phy 0: RTL internal phy bktr0 at pci0 dev 14 function 0 "Brooktree BT878" rev 0x11: irq 5 bktr0: Askey/Dynalink Magic TView, Philips FR1216 PAL FM tuner. radio0 at bktr0 "Brooktree BT878 Audio" rev 0x11 at pci0 dev 14 function 1 not configured isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi1 at pcppi0: <PC speaker> spkr0 at pcppi0 sysbeep0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask e765 netmask ef65 ttymask ffe7 pctr: user-level cycle counter enabled mtrr: Pentium Pro MTRR support uhub2 at uhub0 port 2 uhub2: ALCOR Generic USB Hub, rev 1.10/3.12, addr 2 uhub2: 4 ports with 4 removable, self powered umass0 at uhub2 port 2 configuration 1 interface 0 umass0: vendor 0x0457 USB Mass Storage Device, rev 2.00/1.00, addr 3 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets sd0 at scsibus2 targ 1 lun 0: <USB 2.0, Flash Disk, 0.00> SCSI2 0/direct removable sd0: 250MB, 250 cyl, 64 head, 32 sec, 512 bytes/sec, 512000 sec total dkcsum: wd0 matches BIOS drive 0x80 wd1: no disk label dkcsum: wd1 matches BIOS drive 0x81 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 ***********************************************************