From owner-freebsd-current Wed Aug 7 20: 4:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DA8C37B400 for ; Wed, 7 Aug 2002 20:04:27 -0700 (PDT) Received: from mailbox-14.st1.spray.net (mailbox-14.st1.spray.net [212.78.202.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6611D43E4A for ; Wed, 7 Aug 2002 20:04:26 -0700 (PDT) (envelope-from jordi_yc@lycos.es) Received: from harry2.bcn.dyndns.org (207-172-89-64.c3-0.bth-ubr7.lnh-bth.md.cable.rcn.com [207.172.89.64]) by mailbox-14.st1.spray.net (8.8.8/8.8.8) with ESMTP id FAA08773 for ; Thu, 8 Aug 2002 05:04:23 +0200 (DST) Posted-Date: Thu, 8 Aug 2002 05:04:23 +0200 (DST) Content-Type: text/plain; charset="us-ascii" From: Jordi YC To: current@FreeBSD.ORG Subject: Help with USB Date: Wed, 7 Aug 2002 23:04:09 -0400 User-Agent: KMail/1.4.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208072304.09571.jordi_yc@lycos.es> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi there, I am having problems trying to track down some problems with the USB system. I am trying to use a USB Logitech Marble mouse (keyboard, and scanner), but something does not work. I use STABLE as my regular OS, and adding the USB debug options it seems that there are some uhci timeouts as shown in the following URL http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3633107+0+archive/2002/freebsd-questions/20020804.freebsd-questions+raw I tried in CURRENT-DP1, and it does not work either. It detects the mouse, usbd even assigs the moused to /dev/ums0, but when I move the mouse nothing happens I wonder if there is any difference in the uhci code between CURRENT-DP1 and STABLE. I tried to cvsup a more current source, but when doing a make world I run out of space. I will keep trying... In the meantime, does anyone know how can I debug or track down this issue? Any idea, hint really appreciated. Follows the dmesg and usbdevs. ############################# Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-DP1 #0: Sun Apr 7 02:51:42 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/i386/compile/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc053e000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc053e0a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 745244953 Hz CPU: Pentium III/Pentium III Xeon/Celeron (745.24-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff real memory = 333971456 (326144K bytes) avail memory = 318832640 (311360K bytes) Pentium Pro MTRR support enabled Using $PIR table, 9 entries at 0xc00fdf30 npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_pcib0: port 0xcf8-0xcff on acpi0 pci0: on acpi_pcib0 pci0: at device 2.0 (no driver attached) pcib1: at device 30.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcic0: irq 0 at device 2.0 on pci1 pcic0: PCI Memory allocated: 0xf4100000 pcic0: Polling mode pccard0: on pcic0 fxp0: port 0x3000-0x303f mem 0xf4104000-0xf4104fff irq 9 at device 8.0 on pci1 fxp0: Ethernet address 08:00:46:16:ac:a5 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1800-0x180f at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1820-0x183f irq 9 at device 31.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 ums0: Logitech USB Trackball, rev 1.10/14.00, addr 2, iclass 3/1 ums0: 5 buttons pci0: at device 31.3 (no driver attached) uhci1: port 0x1840-0x185f irq 9 at device 31.4 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered umass0: Sony USB Memory Stick Slot, rev 1.10/1.80, addr 2 pci0: at device 31.5 (no driver attached) pci0: at device 31.6 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 acpi_ec0: port 0x66,0x62 on acpi0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A ppc0 port 0x778-0x77f,0x378-0x37f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/15 bytes threshold plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 acpi_cmbat0: on acpi0 acpi_acad0: on acpi0 eisa0: on motherboard eisa0: unknown card B@H0000 (0x08080000) at slot 1 orm0: