Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2002 16:41:37 -0400
From:      Brian Reichert <reichert@numachi.com>
To:        hackers@freebsd.org
Subject:   USB mouse probes, but I get uhci_timeout
Message-ID:  <20020622164137.A253@numachi.com>

next in thread | raw e-mail | index | archive | help
Under FreeBSD-RELEASE, I'm messing with a USB mouse.  I've compiled
into the kernel the lot of USB devices, and the USB debug options.

(More specifcally, the device is a Twiddler2, which acts as a
keyboard and a mouse, and a keyboard/mouse -> USB converter the
vendor sold me.)

I get as far as:

  ...
  uhci0: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 9 at
  device 7.2
  on pci 0
  uhci_run: setting run=0
  uhci_run: done cmd=0x0 sts=0x20
  uhci_run: setting run=1
  uhci_run: done cmd=0x81 sts=0x0
  usb0: <VIA 83C572 USB controller> on uhci0
  usb0: USB revision 1.0
  uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  uhub0: 2 ports with 2 removable, self powered
  ukbd0: MT606 MT606-1 PS/2 KB & MOUSE TO USB ADAPTOR, rev 1.00/0.01, addr
  2, iclass 3/1
  ukbd:set_leds: state=0xc043fa80 leds=0
  kbd1 at ukbd0
  ums0: MT606 MT606-1 PS/2 KB & MOUSE TO USB ADAPTOR, rev 1.00/0.01,
  addr 2, iclass 3/1
  ums0: 3 buttons and Z dir.
  ums_attach: sc=0xc236e800
  ums_attach: X   8/8
  ums_attach: Y   16/8
  ums_attach: Z   24/8
  ums_attach: B1  0/1
  ums_attach: B2  1/1
  ums_attach: B3  2/1
  ums_attach: size=4, id=0
  ...
  uhci_timeout: ii=0xc2050120

The uhci0 on irq 9 worries me, as it's shared by other things:

  % dmesg | grep 'irq 9'
  IOAPIC #0 intpin 16 -> irq 9
  pci1: <NVidia Riva TNT graphics accelerator> at 0.0 irq 9
  uhci0: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 9 at
  device 7.2 on pci0

This is with the motherboard set to utililze PnP.  If I disable
_that_, the diff between dmesg's is:

  % diff dmesg.pnpos.*
  14c14
  < IOAPIC #0 intpin 16 -> irq 9
  ---
  > IOAPIC #0 intpin 16 -> irq 5
  15a16
  > IOAPIC #0 intpin 19 -> irq 9
  32c33
  < pci1: <NVidia Riva TNT graphics accelerator> at 0.0 irq 9
  ---
  > pci1: <NVidia Riva TNT graphics accelerator> at 0.0 irq 5

uhci0 doesn't move, I still get timeouts, and now my video card
causes my sound card to time out. :/

I know the Twiddler2/USB combo works, per se, in that I can get it
to work on a Vaio with Win98.  I haven't further explored said combo
on the same laptop under FreeBSD; I'll try that next.

But, in the meantime, can someone shed some light on why I'm seeing
the uhci_timeout message, and what steps I can take to getting this
all to work?

-- 
Brian 'you Bastard' Reichert		<reichert@numachi.com>
37 Crystal Ave. #303			Daytime number: (603) 434-6842
Derry NH 03038-1713 USA			Intel architecture: the left-hand path

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020622164137.A253>