Re: usbdevs

2003-08-31 Thread Hendrik Hasenbein
Alan Batie wrote:
OK, I got a D-Link USB 2 pci card, and now the devices get seen at
boot up, though it still thinks it's uhci instead of ohci; I don't know
what's what, but thought uhci was 1.1 and ohci was 2.0:
No, UHCI and OHCI are both USB 1.1. USB 2.0 host controllers are calles 
EHCI. EHCI can double as UHCI or OHCI for campatibility.

OHCI = Open Host Controller Interface (USB 1.x)
UHCI = Universal Host Controller Interface (USB 1.x)
EHCI = Enhanced Host Controller Interface (USB 2.0)
Hendrik

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: usbdevs

2003-08-30 Thread Alan Batie
On Thu, Aug 28, 2003 at 07:36:26PM -0700, Technical Director wrote:
> Do you get ugen# announcements for generic usb devices on boot up? 

OK, I got a D-Link USB 2 pci card, and now the devices get seen at
boot up, though it still thinks it's uhci instead of ohci; I don't know
what's what, but thought uhci was 1.1 and ohci was 2.0:

uhci0:  port 0xe400-0xe41f irq 12 at device 1.2 
on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xe000-0xe01f irq 12 at device 9.0 on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2: NEC Corporation USB2.0 Hub Controller, class 9/0, rev 2.00/1.00, addr 2
uhub2: 4 ports with 4 removable, self powered
umass0: DMI USB 2.0 Storage Adaptor, rev 2.00/11.10, addr 3
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 4, iclass 3/1
ums0: 3 buttons and Z dir.
ugen0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A), rev 1.10/2.02, 
addr 5
uhci2:  irq 0 at device 9.1 on pci0
uhci2: Could not map ports
device_probe_and_attach: uhci2 attach returned 6
pci0:  at 9.2 irq 11

Hmmm, it even found the hard disk:

da0 at umass-sim0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-0 device 
da0: 650KB/s transfers
da0: 29325MB (60058656 512 byte sectors: 64H 32S/T 29325C)

But usbdevs still reports:

usbdevs -v
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), Intel(0x), rev 1.00
 port 1 powered
 port 2 powered

It *looks* like it's only looking at the onboard controller, and not
the add on...

Ah Hah!  cd /dev; sh ./MAKEDEV usb1

Now:

usbdevs -v
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), Intel(0x), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
 port 1 powered
 port 2 addr 2: self powered, config 1, USB2.0 Hub Controller(0x0058), NEC 
Corporation(0x0409), rev 1.00
  port 1 addr 3: self powered, config 2, USB 2.0 Storage Adaptor(0xb001), DMI(0x0c0b), 
rev 11.10
  port 2 addr 4: low speed, power 98 mA, config 1, USB-PS/2 Optical Mouse(0xc00e), 
Logitech(0x046d), rev 11.10
  port 3 addr 5: power 500 mA, config 1, PL2303 Serial adapter (ATEN/IOGEAR 
UC232A)(0x2303), Prolific Technology(0x067b), rev 2.02
  port 4 powered

I did check, and it didn't see the hard disk before, so both the new
controller, and adding the /dev node were needed for usbdevs.  The mouse
daemon came up on its own with the new controller, so things are looking
good...  Now to figure out how to get the disk and serial port devices going...

-- 
Alan Batie   __alan.batie.orgMe
alan at batie.org\/www.qrd.org The Triangle
PGPFP DE 3C 29 17 C0 49 7A\  / www.pgpi.com   The Weird Numbers
27 40 A5 3C 37 4A DA 52 B9 \/  spamassassin.taint.org  NO SPAM!

To announce that there must be no criticism of the President, or that we
are to stand by the President, right or wrong, is not only unpatriotic
and servile, but is morally treasonable to the American public.
-Theodore Roosevelt, 26th US President (1858-1919)


pgp0.pgp
Description: PGP signature


Re: usbdevs

2003-08-29 Thread Alan Batie
On Thu, Aug 28, 2003 at 07:36:26PM -0700, Technical Director wrote:
> Do you get ugen# announcements for generic usb devices on boot up? 

I guess there is one buried in there; hmmm.  That looks like the serial
port adapter.  It looks like it's telling me there's a USB controller
on board.  It's a P6-200, so that would really surprise me, but it could
be late enough that Intel was putting the USB controllers in, but the
board doesn't use them.  The plug in card uses VIA chips and has 4 ports
(actually 5, with an internal port, but that might just be a duplicate
of one of the external ports), but it looks like they're split across
"uhci1" and "uhci2".  The fact that it could not map the ports on uhci2
is probably the key to the problem?  It's all speculation on my part...

uhci0:  port 0xe400-0xe41f irq 12 at device 1.2 
on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xe000-0xe01f irq 12 at device 9.0 on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ugen0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A), rev 1.10/2.02, 
addr 2
uhci2:  irq 0 at device 9.1 on pci0
uhci2: Could not map ports
device_probe_and_attach: uhci2 attach returned 6
pci0:  at 9.2 irq 11

-- 
Alan Batie   __alan.batie.orgMe
alan at batie.org\/www.qrd.org The Triangle
PGPFP DE 3C 29 17 C0 49 7A\  / www.pgpi.com   The Weird Numbers
27 40 A5 3C 37 4A DA 52 B9 \/  spamassassin.taint.org  NO SPAM!

To announce that there must be no criticism of the President, or that we
are to stand by the President, right or wrong, is not only unpatriotic
and servile, but is morally treasonable to the American public.
-Theodore Roosevelt, 26th US President (1858-1919)


pgp0.pgp
Description: PGP signature


Re: usbdevs

2003-08-29 Thread Technical Director

Alan,

Do you get ugen# announcements for generic usb devices on boot up? 

eg:

ugen0: Some Device, rev #, addr #

R.

On Thu, 28 Aug 2003, Alan Batie wrote:

> I've just installed FreeBSD 4.8 Release from the cd's.  There's a 4 port
> USB card plugged in, with a Logitech USB mouse, a USB Serial port and
> a Belkin USB/IDE case with a Maxtor 30G IDE drive in it.  This is what
> usbdevs reports:
> 
> #  usbdevs -v
> Controller /dev/usb0:
> addr 1: self powered, config 1, UHCI root hub(0x), Intel(0x), rev 1.00
>  port 1 powered
>  port 2 powered
> 
> Even if the things don't configure (and there's damn little in the default
> config file), this should still tell me what's out there...  Clearly
> something's not right...
> 
> -- 
> Alan Batie   __alan.batie.orgMe
> alan at batie.org\/www.qrd.org The Triangle
> PGPFP DE 3C 29 17 C0 49 7A\  / www.pgpi.com   The Weird Numbers
> 27 40 A5 3C 37 4A DA 52 B9 \/  spamassassin.taint.org  NO SPAM!
> 
> To announce that there must be no criticism of the President, or that we
> are to stand by the President, right or wrong, is not only unpatriotic
> and servile, but is morally treasonable to the American public.
> -Theodore Roosevelt, 26th US President (1858-1919)
> 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: usbdevs

2003-08-29 Thread Chuck Swiger
Alan Batie wrote:
[ ... ]
It is optical, I don't recall any "force feedback".  Never heard of that
in a mouse.  It was only $20.  Nope, don't see anything about force
feedback.
It's called the Logitech iFeel MouseMan; it's about $10 more than the normal 
optical mouse.

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: usbdevs

2003-08-28 Thread Alan Batie
On Fri, Aug 29, 2003 at 12:37:01AM +0200, Hendrik Hasenbein wrote:
> Is the mouse a logitech optical mouse with forcefeedback? I got one to 
> get able to distinguish my mouses by colour, but it caused a lot of 
> trouble on the UHCI onboard controller. As soon as I put it on a OHCI it 
> worked fine.

It is optical, I don't recall any "force feedback".  Never heard of that
in a mouse.  It was only $20.  Nope, don't see anything about force
feedback.

I will try an OHCI controller; need to get one anyhow to really use the
disk drive, I just wanted to see if I could get it to work first.

-- 
Alan Batie   __alan.batie.orgMe
alan at batie.org\/www.qrd.org The Triangle
PGPFP DE 3C 29 17 C0 49 7A\  / www.pgpi.com   The Weird Numbers
27 40 A5 3C 37 4A DA 52 B9 \/  spamassassin.taint.org  NO SPAM!

To announce that there must be no criticism of the President, or that we
are to stand by the President, right or wrong, is not only unpatriotic
and servile, but is morally treasonable to the American public.
-Theodore Roosevelt, 26th US President (1858-1919)


pgp0.pgp
Description: PGP signature


Re: usbdevs

2003-08-28 Thread Hendrik Hasenbein
Alan Batie wrote:
I've just installed FreeBSD 4.8 Release from the cd's.  There's a 4 port
USB card plugged in, with a Logitech USB mouse, a USB Serial port and
a Belkin USB/IDE case with a Maxtor 30G IDE drive in it.
Is the mouse a logitech optical mouse with forcefeedback? I got one to 
get able to distinguish my mouses by colour, but it caused a lot of 
trouble on the UHCI onboard controller. As soon as I put it on a OHCI it 
worked fine.

Hendrik

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"