USB?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

USB?

Christian Weisgerber
I've added a no-name USB PCI card to my -current AS800.  The card
is recognized:

uhci0 at pci0 dev 12 function 0 "VIA VT83C572 USB" rev 0x61: dec_1000a irq 3
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 12 function 1 "VIA VT83C572 USB" rev 0x61: dec_1000a irq 4
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
ehci0 at pci0 dev 12 function 2 "VIA VT6202 USB" rev 0x63: dec_1000a irq 19
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered

Unfortunately, any USB devices I connect don't show up at all.  No
kernel message, zilch.  It appears they don't even receive any
power.

Does USB on alpha work for anybody?

--
Christian "naddy" Weisgerber                          [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: USB?

Martin Reindl-3
[hidden email] (Christian Weisgerber) wrote:

> I've added a no-name USB PCI card to my -current AS800.  The card
> is recognized:
>
> uhci0 at pci0 dev 12 function 0 "VIA VT83C572 USB" rev 0x61: dec_1000a irq 3
> 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 12 function 1 "VIA VT83C572 USB" rev 0x61: dec_1000a irq 4
> 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
> ehci0 at pci0 dev 12 function 2 "VIA VT6202 USB" rev 0x63: dec_1000a irq 19
> usb2 at ehci0: USB revision 2.0
> uhub2 at usb2
> uhub2: VIA EHCI root hub, rev 2.00/1.00, addr 1
> uhub2: 4 ports with 4 removable, self powered
>
> Unfortunately, any USB devices I connect don't show up at all.  No
> kernel message, zilch.  It appears they don't even receive any
> power.
>
> Does USB on alpha work for anybody?

Strange, works for me. At least USB 1.1 devices. What does verbose boot
say or a kernel with USB_DEBUG?

uhci0 at pci1 dev 9 function 0 "VIA VT83C572 USB" rev 0x50: dec 550 irq 16
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 pci1 dev 9 function 1 "VIA VT83C572 USB" rev 0x50: dec 550 irq 17
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
[...]
umass0 at uhub0 port 1 configuration 1 interface 0
umass0: vendor 0x0457 USB Mass Storage Device, rev 2.00/1.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
sd1 at scsibus1 targ 1 lun 0: <TinyDisk, 2006-08-04, 0.00> SCSI2 0/direct removable
sd1: 1000MB, 1000 cyl, 64 head, 32 sec, 512 bytes/sec, 2048000 sec total

Reply | Threaded
Open this post in threaded view
|

Re: USB?

Michael Knudsen-3
In reply to this post by Christian Weisgerber
Quoting Christian Weisgerber ([hidden email]):
[..]
> Unfortunately, any USB devices I connect don't show up at all.  No
> kernel message, zilch.  It appears they don't even receive any
> power.
>
> Does USB on alpha work for anybody?

Among other things, I used my iPod Nano and my GPS antenna (uplcom) with
my XP1000.  I had some issues a while back, but I think they were due to
some MI usb breakage.

--
The shortest unit of time in the multiverse is the New York Second,
defined as the period of time between the traffic lights turning green
and the cab behind you honking.
-- (Terry Pratchett, Lords and Ladies)

Reply | Threaded
Open this post in threaded view
|

Re: USB?

Christian Weisgerber
In reply to this post by Martin Reindl-3
Martin Reindl:

> Strange, works for me. At least USB 1.1 devices. What does verbose boot
> say or a kernel with USB_DEBUG?

Verbose boot doesn't really say more:

...
>>> uhci probe won
uhci0 at pci0 dev 12 function 0 "VIA VT83C572 USB" rev 0x61: dec_1000a irq 3
>>> probing for usb*
>>> usb probe returned 1
>>> usb probe won
usb0 at uhci0: USB revision 1.0
>>> probing for uhub*
>>> uhub probe returned 10
>>> uhub probe won
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
...
>>> uhci probe won
uhci1 at pci0 dev 12 function 1 "VIA VT83C572 USB" rev 0x61: dec_1000a irq 4
>>> probing for usb*
>>> usb probe returned 1
>>> usb probe won
usb1 at uhci1: USB revision 1.0
>>> probing for uhub*
>>> uhub probe returned 10
>>> uhub probe won
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
...
>>> ehci probe won
ehci0 at pci0 dev 12 function 2 "VIA VT6202 USB" rev 0x63: dec_1000a irq 19
>>> probing for usb*
>>> usb probe returned 1
>>> usb probe won
usb2 at ehci0: USB revision 2.0
>>> probing for uhub*
>>> uhub probe returned 10
>>> uhub probe won
uhub2 at usb2
uhub2: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
...

That basically looks like on i386.  Except on i386, if USB devices
are connected or you plug them in, additional probes happen.  On
my alpha nothing happens.  (Pristine GENERIC.)

--
Christian "naddy" Weisgerber                          [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: USB!

Janjaap van Velthooven
In reply to this post by Christian Weisgerber
On Thu, Nov 23, 2006 at 08:52:51PM +0000, Christian Weisgerber wrote:

> I've added a no-name USB PCI card to my -current AS800.  The card
> is recognized:
>
> uhci0 at pci0 dev 12 function 0 "VIA VT83C572 USB" rev 0x61: dec_1000a irq 3
> 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 12 function 1 "VIA VT83C572 USB" rev 0x61: dec_1000a irq 4
> 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
> ehci0 at pci0 dev 12 function 2 "VIA VT6202 USB" rev 0x63: dec_1000a irq 19
> usb2 at ehci0: USB revision 2.0
> uhub2 at usb2
> uhub2: VIA EHCI root hub, rev 2.00/1.00, addr 1
> uhub2: 4 ports with 4 removable, self powered
>
> Unfortunately, any USB devices I connect don't show up at all.  No
> kernel message, zilch.  It appears they don't even receive any
> power.
>
> Does USB on alpha work for anybody?

I have no problem with a similar card:
(and I should check this mailbox more often)

[ using 548024 bytes of bsd ELF symbol table ]
consinit: not using prom console
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2006 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.0-current (GENERIC) #1: Tue Nov 21 00:00:51 CET 2006
    janjaap@alf:/mnt/forest/trees/src/sys/arch/alpha/compile/GENERIC
Digital AlphaPC 164SX 533 MHz
8192 byte page size, 1 processor.
total memory = 268435456 (262144K)
(1966080 reserved for PROM, 266469376 used by OpenBSD)
avail memory = 226074624 (220776K)
using 3252 buffers containing 26640384 bytes (26016K) of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), PCA56-2 (unknown minor type 2)
cpu0: Architecture extensions: 1<BWX>
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (Pyxis), pass 1
cia0: extended capabilities: 1<BWEN>
cia0: using BWX for PCI config and bus access
pci0 at cia0 bus 0
uhci0 at pci0 dev 5 function 0 "VIA VT83C572 USB" rev 0x61: eb164 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 5 function 1 "VIA VT83C572 USB" rev 0x61: eb164 irq 13
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
ehci0 at pci0 dev 5 function 2 "VIA VT6202 USB" rev 0x63: eb164 irq 17
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
siop0 at pci0 dev 6 function 0 "Symbios Logic 53c875" rev 0x26: eb164 irq 11, using 4K of on-board RAM
scsibus0 at siop0: 16 targets
em0 at pci0 dev 7 function 0 "Intel PRO/1000MT (82541GI)" rev 0x00: eb164 irq 10, address 00:0e:0c:51:3d:a0
sio0 at pci0 dev 8 function 0 "Contaq Microsystems CY82C693U ISA" rev 0x00
pciide0 at pci0 dev 8 function 1 "Contaq Microsystems CY82C693U ISA" rev 0x00: DMA, channel 0 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 6Y160P0>
wd0: 16-sector PIO, LBA48, 156334MB, 320173056 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide1 at pci0 dev 8 function 2 "Contaq Microsystems CY82C693U ISA" rev 0x00: no DMA, channel 0 wired to compatibility
atapiscsi0 at pciide1 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <LITEON, CD-ROM LTN301, MM11> SCSI0 5/cdrom removable
cd0(pciide1:0:0): using PIO mode 4
ohci0 at pci0 dev 8 function 3 "Contaq Microsystems CY82C693U ISA" rev 0x00: couldn't map interrupt
vga0 at pci0 dev 9 function 0 "Matrox MGA G200 PCI" rev 0x01
wsdisplay0 at vga0 mux 1
wsdisplay0: screen 0-5 added (80x25, vt100 emulation)
isa0 at sio0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
wskbd0: connecting to wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x3bc/4 irq 7
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
mcclock0 at isa0 port 0x70/2: mc146818 or compatible
stray isa irq 3
root on wd0a swap on wd0b
uhub3 at uhub1 port 2
uhub3: ALCOR Generic USB Hub, rev 1.10/3.12, addr 2
uhub3: 4 ports with 4 removable, self powered
rootdev=0x0 rrootdev=0x2400 rawdev=0x2402
stray isa irq 3
wsdisplay0: screen 8 added (80x25, vt100 emulation)
wsdisplay0: screen 9 added (80x25, vt100 emulation)
wsdisplay0: screen 4 deleted
wsdisplay0: screen 5 deleted
wsdisplay0: screen 4 added (80x40, vt100 emulation)
wsdisplay0: screen 5 added (80x40, vt100 emulation)
wsdisplay0: screen 6 added (80x40, vt100 emulation)
wsdisplay0: screen 7 added (80x40, vt100 emulation)
wsdisplay0: screen 10 added (80x50, vt100 emulation)
wsdisplay0: screen 11 added (80x50, vt100 emulation)
umass0 at uhub3 port 4 configuration 1 interface 0
umass0: Generic Mass Storage Device, rev 2.00/1.13, addr 3
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets
sd0 at scsibus2 targ 1 lun 0: <Multi, Flash Reader, 1.00> SCSI0 0/direct removable
sd0: 483MB, 483 cyl, 64 head, 32 sec, 512 bytes/sec, 990976 sec total
umass0: at uhub3 port 4 (addr 3) disconnected
sd0 detached
scsibus2 detached
umass0 detached
ugen0 at uhub3 port 1
ugen0: HTC Generic Serial, rev 2.00/0.90, addr 3