Thanks for the pointer! I totally missed those lines.
I was only seeing the

iic1: addr 0x48 ...
and
iic1: addr 0x49 ...

lines. Last time we spoke those lines disappeared when asbtm0 and wbenv0
appeared.

Also, I get different output on those iic1 if asbtm0 and/or wbenv0 is
found or not. Strange.

Setting the delay to 500 and both of the devices are found.

/Markus

Pierre Riteau wrote:
On Jan 7, 2008 9:13 AM, Markus Bergkvist <[EMAIL PROTECTED]> wrote:
Markus Bergkvist wrote:
Pierre Riteau wrote:
I noticed that increasing the delay in sys/dev/pci/nviic.c from 100
to 500 fixes this problem but I haven't took the time to file a bug
report yet.
Seems to work here too.

Just increasing the delay doesn't work here any longer on a recent
-current, have tested increasing it to 5000 even. Anyone else
experiencing this?
dmesg below.


/Markus


OpenBSD 4.2-current (GENERIC) #2: Sun Jan  6 18:06:15 CET 2008
     [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 2400+ ("AuthenticAMD" 686-class, 256KB L2 cache)
2 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 1073250304 (1023MB)
avail mem = 1029881856 (982MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/14/04, BIOS32 rev. 0 @ 0xfb470,
SMBIOS rev. 2.2 @ 0xf0000 (43 entries)
bios0: vendor Phoenix Technologies, LTD version "ASUS A7N8X Deluxe ACPI
BIOS Rev 1008" date 09/14/2004
bios0: ASUSTeK Computer INC. A7N8X
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf84
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/208 (11 entries)
pcibios0: PCI Exclusive IRQs: 5 11 12
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0xd000 0xd0000/0x4000! 0xd4000/0x1800 0xd6000/0x800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "NVIDIA nForce2 PCI" rev 0xa2
agp at pchb0 not configured
"NVIDIA nForce2" rev 0xa2 at pci0 dev 0 function 1 not configured
"NVIDIA nForce2" rev 0xa2 at pci0 dev 0 function 2 not configured
"NVIDIA nForce2" rev 0xa2 at pci0 dev 0 function 3 not configured
"NVIDIA nForce2" rev 0xa2 at pci0 dev 0 function 4 not configured
"NVIDIA nForce2" rev 0xa2 at pci0 dev 0 function 5 not configured
pcib0 at pci0 dev 1 function 0 "NVIDIA nForce2 ISA" rev 0xa3
nviic0 at pci0 dev 1 function 1 "NVIDIA nForce2 SMBus" rev 0xa2
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2700CL2.5
spdmem1 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC2700CL2.5
spdmem2 at iic0 addr 0x52: 512MB DDR SDRAM non-parity PC2700CL2.5
iic1 at nviic0
asbtm0 at iic1 addr 0x2d
wbenv0 at iic1 addr 0x2e: W83L785TS-L
lm1 at iic1 addr 0x2f: W83791D
iic1: addr 0x48 00=7f 01=00 02=4b 04=7f 05=08 06=4b 08=7f 09=08 0a=4b
0b=50 0c=7f 0e=4b 0f=50 10=7f 12=4b 13=50 14=7f 16=4b 17=50 18=7f 1a=4b
1b=50 1c=7f 1e=4b 1f=50 20=7f 22=4b 23=50 24=7f 26=4b 27=50 28=7f 2a=4b
2b=50 2c=7f 2e=4b 2f=50 30=7f 32=4b 33=50 34=7f 36=4b 37=50 38=7f 3a=4b
3b=50 3c=7f 3e=4b 3f=50 40=7f 42=4b 43=50 44=7f 46=4b 47=50 4a=4b 4b=50
4d=08 4e=4b 4f=50 50=7f 52=4b 53=50 54=7f 56=4b 57=50 58=7f 5a=4b 5b=50
5c=7f 5e=4b 5f=50 60=7f 62=4b 63=50 64=7f 66=4b 67=50 68=7f 6a=4b 6b=50
6c=7f 6e=4b 6f=50 70=7f 72=4b 73=50 74=7f 76=4b 77=50 78=7f 7a=4b 7b=50
7c=7f 7e=4b 7f=50 80=7f 82=4b 83=50 84=7f 86=4b 87=50 88=7f 8a=4b 8b=50
8c=7f 8e=4b 8f=50 90=7f 92=4b 93=50 94=7f 96=4b 97=50 98=7f 9a=4b 9b=50
9c=7f 9e=4b 9f=50 a0=7f a2=4b a3=50 a4=7f a6=4b a7=50 a8=7f aa=4b ab=50
ac=7f ae=4b af=50 b0=7f b2=4b b3=50 b4=7f b6=4b b7=50 b8=7f ba=4b bb=50
bc=7f be=4b bf=50 c0=7f c2=4b c3=50 c4=7f c6=4b c7=50 ca=4b cc=7f cd=08
ce=4b cf=50 d0=7f d2=4b d3=50 d4=7f d6=4b d7=50 d8=7f da=4b db=50 dc=7f
de=4b df=50 e0=7f e2=4b e3=50 e4=7f e6=4b e7=50 e8=7f ea=4b eb=50 ec=7f
ee=4b ef=50 f0=7f f2=4b f3=50 f4=7f f6=4b f7=50 f8=7f fa=4b fb=50 fc=7f
fe=4b ff=50 words 00=ffff 01=08ff 02=4b00 03=5000 04=7f00 05=08ff
06=4b00 07=5000 08=7f00 09=08ff 0a=4b00 0b=5000 0c=7f00 0d=08ff 0e=4b00
0f=5000
iic1: addr 0x49 02=4b 03=50 06=4b 08=33 0a=4b 0d=00 0e=4b 0f=50 11=00
12=4b 15=00 16=4b 17=50 1a=4b 1b=50 1e=4b 1f=50 22=4b 24=33 26=4b 28=33
2a=4b 2c=33 2e=4b 31=00 32=4b 33=50 36=4b 37=50 39=00 3a=4b 3c=33 3e=4b
41=00 42=4b 43=50 46=4b 47=50 48=33 4b=50 4d=00 4e=4b 4f=50 50=33 53=50
54=33 57=50 58=33 5b=50 5d=00 5e=4b 5f=50 62=4b 63=50 67=50 68=33 6b=50
6d=00 6e=4b 6f=50 72=4b 74=33 76=4b 79=00 7a=4b 7b=50 7e=4b 7f=50 82=4b
84=33 86=4b 88=33 8a=4b 8d=00 8e=4b 8f=50 92=4b 94=33 96=4b 99=00 9a=4b
9b=50 9e=4b a0=33 a2=4b a4=33 a6=4b a9=00 aa=4b ab=50 ae=4b af=50 b2=4b
b4=33 b5=00 b6=4b ba=4b bb=50 be=4b c0=33 c2=4b c4=33 c6=4b c9=00 ca=4b
cb=50 ce=4b cf=50 d2=4b d3=50 d6=4b d8=33 da=4b dc=33 de=4b e0=33 e1=00
e2=4b e6=4b e7=50 ea=4b eb=50 ee=4b ef=50 f2=4b f4=33 f6=4b f8=33 fa=4b
fc=33 fe=4b words 00=ffff 01=00ff 02=4b00 03=5000 04=3300 05=00ff
06=4b00 07=5000 08=3300 09=00ff 0a=4b00 0b=5000 0c=3300 0d=00ff 0e=4b00
0f=5000
ohci0 at pci0 dev 2 function 0 "NVIDIA nForce2 USB" rev 0xa3: irq 12,
version 1.0, legacy support
ohci1 at pci0 dev 2 function 1 "NVIDIA nForce2 USB" rev 0xa3: irq 12,
version 1.0, legacy support
ehci0 at pci0 dev 2 function 2 "NVIDIA nForce2 USB" rev 0xa3: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1
nfe0 at pci0 dev 4 function 0 "NVIDIA nForce2 LAN" rev 0xa1: irq 11,
address 00:e0:18:f7:72:4f
rlphy0 at nfe0 phy 1: RTL8201L 10/100 PHY, rev. 1
"NVIDIA nForce2 Audio" rev 0xa2 at pci0 dev 5 function 0 not configured
auich0 at pci0 dev 6 function 0 "NVIDIA nForce2 AC97" rev 0xa1: irq 11,
nForce2 AC97
ac97: codec id 0x414c4720 (Avance Logic ALC650)
ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auich0
ppb0 at pci0 dev 8 function 0 "NVIDIA nForce2 PCI-PCI" rev 0xa3
pci1 at ppb0 bus 1
"ESS ES2898 Modem" rev 0x03 at pci1 dev 10 function 0 not configured
pciide0 at pci0 dev 9 function 0 "NVIDIA nForce2 IDE" rev 0xa2: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <IC35L120AVV207-1>
wd0: 16-sector PIO, LBA48, 117800MB, 241254720 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LITE-ON, LTR-48246S, SS0A> SCSI0 5/cdrom
removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
atapiscsi1 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: <LITE-ON, DVDRW SOHW-1693S, KS02> SCSI0
5/cdrom removable
cd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
ppb1 at pci0 dev 12 function 0 "NVIDIA nForce2 PCI-PCI" rev 0xa3
pci2 at ppb1 bus 2
xl0 at pci2 dev 1 function 0 "3Com 3c9201 100Base-TX" rev 0x40: irq 12,
address 00:26:54:09:fc:39
acphy0 at xl0 phy 2: AC101L 10/100 PHY, rev. 1
ppb2 at pci0 dev 30 function 0 "NVIDIA nForce2 AGP" rev 0xa2
pci3 at ppb2 bus 3
vga1 at pci3 dev 0 function 0 "ATI Radeon 9500 Pro" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
vendor "ATI", unknown product 0x4e65 (class display subclass
miscellaneous, rev 0x00) at pci3 dev 0 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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; 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
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
biomask ff65 netmask ff65 ttymask ffe7
mtrr: Pentium Pro MTRR support
uhub3 at uhub2 port 2 "Texas Instruments TUSB2046 hub" rev 1.10/1.25 addr 2
uhidev0 at uhub3 port 1 configuration 1 interface 0 "Logitech HID
compliant keyboard" rev 1.10/1.80 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub3 port 1 configuration 1 interface 1 "Logitech HID
compliant keyboard" rev 1.10/1.80 addr 3
uhidev1: iclass 3/0, 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
uhidev2 at uhub3 port 2 configuration 1 interface 0 "Logitech USB
RECEIVER" rev 1.10/25.10 addr 4
uhidev2: iclass 3/1
ums0 at uhidev2: 16 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhidev3 at uhub3 port 3 configuration 1 interface 0 "Justcom Technology
USB KVM Switch" rev 1.10/1.00 addr 5
uhidev3: no report descriptor
uhidev4 at uhub3 port 3 configuration 1 interface 1 "Justcom Technology
USB KVM Switch" rev 1.10/1.00 addr 5
uhidev4: iclass 3/1
ums1 at uhidev4: 3 buttons and Z dir.
wsmouse1 at ums1 mux 0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
auich0: measured ac97 link rate at 47995 Hz, will use 48000 Hz




Well, in your dmesg you have the asbtm0 and wbenv0 devices.
Maybe you were lucky this time?

Reply via email to