[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-misc
Subject:    Re: why no audio* at yds* ?
From:       sme <sean.escriva () gmail ! com>
Date:       2004-12-31 10:43:58
Message-ID: dbd1fd190412310243701b4952 () mail ! gmail ! com
[Download RAW message or body]

On Thu, 30 Dec 2004 12:14:06 +0000, Miod Vallat <miod@online.fr> wrote:
> > | running the latest snapshot on a Sony VAIO xg18, I seem to have no
> > | audio* device configured. It has worked fine in the past, so i'm just
> > | curious what has changed?
> > |
> > | any input helps, thanks
> >
> > I've had the exact same issue with a new (old) Toshiba 8100 I
> > recently got. This appears to be caused by the move to a filesystem
> > firmware loader for this driver. I've tried an older kernel
> > (3.6-RELEASE) on my otherwise -CURRENT system (unsupported, i know)
> > which gave me audio at yds. This was the snapshot I downloaded on
> > 20041224 from my local mirror.
> 
> The following diff should help.
> 
> Miod
> 
> Index: yds.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/yds.c,v
> retrieving revision 1.24
> diff -u -p -r1.24 yds.c
> --- yds.c       2004/12/20 12:29:36     1.24
> +++ yds.c       2004/12/30 12:10:09
> @@ -1904,5 +1904,5 @@ detected:
> 
>         DPRINTF(("out of yds_init()\n"));
> 
> -       return ac97_id2;
> +       return 0;
>  }
> 

new dmesg after running new GENERIC kernel with this small patch applied:

OpenBSD 3.6-current (GENERIC) #0: Thu Dec 30 17:14:58 PST 2004
    root@ignoti.quasisystems.com:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 645 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXS
R,SSE
real mem  = 167288832 (163368K)
avail mem = 145981440 (142560K)
using 2067 buffers containing 8466432 bytes (8268K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(69) BIOS, date 01/27/00, BIOS32 rev. 0 @ 0xfd880
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 0%
apm0: AC on, battery charge critical, charging, estimated 0:00 hours
pcibios0 at bios0: rev 2.1 @ 0xfd880/0x780
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf40/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #4 is the last bus
WARNING: can't reserve area for I/O APIC.
bios0: ROM list: 0xc0000/0xc000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Neomagic MagicMedia 256XL+" rev 0x10
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wi
red to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <IBM-DARA-218000>
wd0: 16-sector PIO, LBA, 17301MB, 35433216 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, DVD-ROM SD-C2202, 1021> SCSI0 5/cdrom re
movable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power Mgmt" rev 0x03 at pci0 dev 7 function 3 not configured
"Sony CXD3222 FireWire" rev 0x02 at pci0 dev 8 function 0 not configured
yds0 at pci0 dev 9 function 0 "Yamaha 744" rev 0x02: irq 9
"Rockwell RS56/SP-PCI11P1 Modem" rev 0x01 at pci0 dev 10 function 0 not configur
ed
cbb0 at pci0 dev 12 function 0 "Ricoh 5C478 CardBus" rev 0x80: irq 9
cbb1 at pci0 dev 12 function 1 "Ricoh 5C478 CardBus" rev 0x80: irq 9
cbb2 at pci0 dev 16 function 0 "Ricoh 5C475 CardBus" rev 0x80: irq 9
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
midi0 at pcppi0: <PC speaker>
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
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20
pcmcia1 at cardslot1
cardslot2 at cbb2 slot 2 flags 0
cardbus2 at cardslot2: bus 4 device 0 cacheline 0x0, lattimer 0x20
pcmcia2 at cardslot2
biomask ef6d netmask ef6d ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
xl0 at cardbus1 dev 0 function 0 "3Com Corporation, 3CCFE575CT, LAN Cardbus Card
": 3Com 3c575C-TX Ethernet: irq 9, address 00:00:86:51:7e:fa
tqphy0 at xl0 phy 0: 78Q2120 10/100 PHY, rev. 11
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

still no audio0, but thanks for looking at it.

    eliab@ignoti$ dmesg | grep audio
    eliab@ignoti$ 

-sme
-- 
C480 DD5E A925 5DFE 1652  7701 F6FB DC8D 89DB 298C

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic