Problems with uow on sparc64

2007-05-31 Thread Dagobert Kellner
Hello,

I am trying to get run usb onewire on my ulstra sparc5 using openbsd 4.1.

When I insert the usb-Fob it seem to work, I get the Log message:

   uow0 at uhub0 port 2
   uow0: Dallas Semiconductor USB-FOB/iBUTTON, rev 1.00/0.02, addr 2
   onewire0 at uow0

But after that I only get the messages:

   uow0: read failed, len 128: TIMEOUT
   uow0: cmd timeout, type 0x01, cmd 0x0043, param 0x
 
Is there someone who has experince with this problem?

Here my dmesg:

Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2007 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.1-stable (GENERIC) #0: Sat May 19 01:54:27 CEST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC
total memory = 402653184
avail memory = 356696064
using 2457 buffers containing 20127744 bytes of memory
bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0/[EMAIL 
PROTECTED],0 
mainbus0 (root): Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 333MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 1.3) @ 333 MHz, version 0 FPU
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 
b/l)
psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign 7c0
psycho0: bus range 0-2, PCI bus 0
psycho0: dvma map c000-dfff, iotdb 1d4e000-1dce000   
pci0 at psycho0
ppb0 at pci0 dev 1 function 1 Sun Simba PCI-PCI rev 0x13
pci1 at ppb0 bus 1
ebus0 at pci1 dev 1 function 0 Sun PCIO EBus2 rev 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 
72c000-72c003, 72f000-72f003
power0 at ebus0 addr 724000-724003 ipl 37
SUNW,pll at ebus0 addr 504000-504002 not configured
sab0 at ebus0 addr 40-40007f ipl 43: rev 3.2
sabtty0 at sab0 port 0
sabtty1 at sab0 port 1
comkbd0 at ebus0 addr 3083f8-3083ff ipl 41: layout 37
wskbd0 at comkbd0: console keyboard
com0 at ebus0 addr 3062f8-3062ff ipl 42: mouse: ns16550a, 16 byte fifo
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 70-7f ipl 34: polled
fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 72-720003 ipl 39 not 
configured
clock1 at ebus0 addr 0-1fff: mk48t59
flashprom at ebus0 addr 0-f not configured
audioce0 at ebus0 addr 20-2000ff, 702000-70200f, 704000-70400f, 
722000-722003 ipl 35 ipl 3
6: nvaddrs 0
audio0 at audioce0
hme0 at pci1 dev 1 function 1 Sun HME rev 0x01: ivec 0x7e1, address 
08:00:20:a6:c9:ec
nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
vgafb0 at pci1 dev 2 function 0 ATI Mach64 GP rev 0x5c
wsdisplay0 at vgafb0: console (std, sun emulation), using wskbd0
pciide0 at pci1 dev 3 function 0 CMD Technology PCI0646 rev 0x03: DMA, 
channel 0 configured
to native-PCI, channel 1 configured to nati
ve-PCI
pciide0: using ivec 0x7e0 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: Maxtor 54098U8
wd0: 16-sector PIO, LBA, 39082MB, 80041248 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
wd1 at pciide0 channel 1 drive 0: SAMSUNG SP0802N
wd1: 16-sector PIO, LBA48, 76351MB, 156368016 sectors
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: LG, CD-ROM CRD-8322B, 1.02 SCSI0 5/cdrom 
removable
wd1(pciide0:1:0): using PIO mode 4, DMA mode 2
cd0(pciide0:1:1): using PIO mode 4, DMA mode 2
ppb1 at pci0 dev 1 function 0 Sun Simba PCI-PCI rev 0x13
pci2 at ppb1 bus 2
xl0 at pci2 dev 1 function 0 3Com 3c905C 100Base-TX rev 0x78: ivec 0x7d0xl0: 
reset didn't co
mplete
, address 00:0a:5e:1e:78:81
exphy0 at xl0 phy 24: 3Com internal media interface
xl0: reset didn't complete
ohci0 at pci2 dev 2 function 0 NEC USB rev 0x43: ivec 0x7d4, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci2 dev 2 function 1 NEC USB rev 0x43: ivec 0x7d5, version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci2 dev 2 function 2 NEC USB rev 0x04: ivec 0x7d6
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: NEC EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 5 ports with 5 removable, self powered
siop0 at pci2 dev 3 function 0 Symbios Logic 53c875 rev 0x26: ivec 0x7d8, 
using 4K of on-boa
rd RAM
scsibus1 at siop0: 16 targets
pcons at mainbus0 not configured
No counter-timer -- using %tick at 333MHz as system clock.
uow0 at uhub0 port 2
uow0: Dallas Semiconductor USB-FOB/iBUTTON, rev 1.00/0.02, addr 2
onewire0 at uow0
root on wd1a
rootdev=0xc10 rrootdev=0x1a10 rawdev=0x1a12




Thanks,

Dagobert Kellner



Re: Problems with uow on sparc64

2007-05-31 Thread Nickolay A. Burkov
Yeah, I have exactly the same problem on x86 running 4.1.
I can't provide dmesg now (i do not have such hardware at work).

On Thu, May 31, 2007 at 01:28:26PM +0200, Dagobert Kellner wrote:
 Hello,
 
 I am trying to get run usb onewire on my ulstra sparc5 using openbsd 4.1.
 
 When I insert the usb-Fob it seem to work, I get the Log message:
 
uow0 at uhub0 port 2
uow0: Dallas Semiconductor USB-FOB/iBUTTON, rev 1.00/0.02, addr 2
onewire0 at uow0
 
 But after that I only get the messages:
 
uow0: read failed, len 128: TIMEOUT
uow0: cmd timeout, type 0x01, cmd 0x0043, param 0x
  
 Is there someone who has experince with this problem?
 
 Here my dmesg:
 
 Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California.  All rights reserved.
 Copyright (c) 1995-2007 OpenBSD. All rights reserved.  http://www.OpenBSD.org
 
 OpenBSD 4.1-stable (GENERIC) #0: Sat May 19 01:54:27 CEST 2007
 [EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC
 total memory = 402653184
 avail memory = 356696064
 using 2457 buffers containing 20127744 bytes of memory
 bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0/[EMAIL 
 PROTECTED],0 
 mainbus0 (root): Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 333MHz)
 cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 1.3) @ 333 MHz, version 0 FPU
 cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 2048K external 
 (64 b/l)
 psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign 7c0
 psycho0: bus range 0-2, PCI bus 0
 psycho0: dvma map c000-dfff, iotdb 1d4e000-1dce000   
 pci0 at psycho0
 ppb0 at pci0 dev 1 function 1 Sun Simba PCI-PCI rev 0x13
 pci1 at ppb0 bus 1
 ebus0 at pci1 dev 1 function 0 Sun PCIO EBus2 rev 0x01
 auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 
 72c000-72c003, 72f000-72f003
 power0 at ebus0 addr 724000-724003 ipl 37
 SUNW,pll at ebus0 addr 504000-504002 not configured
 sab0 at ebus0 addr 40-40007f ipl 43: rev 3.2
 sabtty0 at sab0 port 0
 sabtty1 at sab0 port 1
 comkbd0 at ebus0 addr 3083f8-3083ff ipl 41: layout 37
 wskbd0 at comkbd0: console keyboard
 com0 at ebus0 addr 3062f8-3062ff ipl 42: mouse: ns16550a, 16 byte fifo
 lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 70-7f ipl 34: polled
 fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 72-720003 ipl 39 
 not configured
 clock1 at ebus0 addr 0-1fff: mk48t59
 flashprom at ebus0 addr 0-f not configured
 audioce0 at ebus0 addr 20-2000ff, 702000-70200f, 704000-70400f, 
 722000-722003 ipl 35 ipl 3
 6: nvaddrs 0
 audio0 at audioce0
 hme0 at pci1 dev 1 function 1 Sun HME rev 0x01: ivec 0x7e1, address 
 08:00:20:a6:c9:ec
 nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
 vgafb0 at pci1 dev 2 function 0 ATI Mach64 GP rev 0x5c
 wsdisplay0 at vgafb0: console (std, sun emulation), using wskbd0
 pciide0 at pci1 dev 3 function 0 CMD Technology PCI0646 rev 0x03: DMA, 
 channel 0 configured
 to native-PCI, channel 1 configured to nati
 ve-PCI
 pciide0: using ivec 0x7e0 for native-PCI interrupt
 wd0 at pciide0 channel 0 drive 0: Maxtor 54098U8
 wd0: 16-sector PIO, LBA, 39082MB, 80041248 sectors
 wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
 wd1 at pciide0 channel 1 drive 0: SAMSUNG SP0802N
 wd1: 16-sector PIO, LBA48, 76351MB, 156368016 sectors
 atapiscsi0 at pciide0 channel 1 drive 1
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: LG, CD-ROM CRD-8322B, 1.02 SCSI0 5/cdrom 
 removable
 wd1(pciide0:1:0): using PIO mode 4, DMA mode 2
 cd0(pciide0:1:1): using PIO mode 4, DMA mode 2
 ppb1 at pci0 dev 1 function 0 Sun Simba PCI-PCI rev 0x13
 pci2 at ppb1 bus 2
 xl0 at pci2 dev 1 function 0 3Com 3c905C 100Base-TX rev 0x78: ivec 
 0x7d0xl0: reset didn't co
 mplete
 , address 00:0a:5e:1e:78:81
 exphy0 at xl0 phy 24: 3Com internal media interface
 xl0: reset didn't complete
 ohci0 at pci2 dev 2 function 0 NEC USB rev 0x43: ivec 0x7d4, version 1.0
 usb0 at ohci0: USB revision 1.0
 uhub0 at usb0
 uhub0: NEC OHCI root hub, rev 1.00/1.00, addr 1
 uhub0: 3 ports with 3 removable, self powered
 ohci1 at pci2 dev 2 function 1 NEC USB rev 0x43: ivec 0x7d5, version 1.0
 usb1 at ohci1: USB revision 1.0
 uhub1 at usb1
 uhub1: NEC OHCI root hub, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 ehci0 at pci2 dev 2 function 2 NEC USB rev 0x04: ivec 0x7d6
 usb2 at ehci0: USB revision 2.0
 uhub2 at usb2
 uhub2: NEC EHCI root hub, rev 2.00/1.00, addr 1
 uhub2: 5 ports with 5 removable, self powered
 siop0 at pci2 dev 3 function 0 Symbios Logic 53c875 rev 0x26: ivec 0x7d8, 
 using 4K of on-boa
 rd RAM
 scsibus1 at siop0: 16 targets
 pcons at mainbus0 not configured
 No counter-timer -- using %tick at 333MHz as system clock.
 uow0 at uhub0 port 2
 uow0: Dallas Semiconductor USB-FOB/iBUTTON, rev 1.00/0.02, addr 2
 onewire0 at uow0
 root on wd1a
 rootdev=0xc10 rrootdev=0x1a10 rawdev=0x1a12
 
 
 
 
 Thanks,
 
 Dagobert Kellner
 

-- 
I do not fear computers.  I fear the