From nobody@FreeBSD.org  Thu Sep  6 00:50:16 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 1036337B401
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  6 Sep 2001 00:50:16 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f867oGk15690;
	Thu, 6 Sep 2001 00:50:16 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200109060750.f867oGk15690@freefall.freebsd.org>
Date: Thu, 6 Sep 2001 00:50:16 -0700 (PDT)
From: Cristian Angelini <angelini@bmm.it>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Logitech IFeel Optical USB mouse does not attach
X-Send-Pr-Version: www-1.0
X-GNATS-Notify: iedowse

>Number:         30373
>Category:       misc
>Synopsis:       Logitech IFeel Optical USB mouse does not attach
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    joe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 06 01:00:01 PDT 2001
>Closed-Date:    Thu Jun 10 10:24:59 GMT 2004
>Last-Modified:  Thu Jun 10 10:24:59 GMT 2004
>Originator:     Cristian Angelini
>Release:        4.3-STABLE
>Organization:
>Environment:
FreeBSD  4.3-STABLE FreeBSD 4.3-STABLE #7: Thu Sep  6 09:14:55 CEST 2001     root@:/usr/obj/usr/src/sys/CHRIS  i386
(CVSUPped end of june)

>Description:
When attaching this mouse on any usb port there is a long wait, followed by various error messages. Mouse will light as if working, but actually it doesn't. After that, attaching and detaching units on the hub has no effect at all, seems all the usb is locked.

Hardware in use: MB K7VZA, BIOS version 3.2b with Ahtlon 1.2G, following is the dmesg section; mouse has been attached after the boot phase to show the correct attaching of other various usb devices.

---------------BEGIN DMESG
Copyright (c) 1992-2001 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 4.3-STABLE #7: Thu Sep  6 09:14:55 CEST 2001
    root@:/usr/obj/usr/src/sys/CHRIS
Calibrating clock(s) ... TSC clock: 1202348031 Hz, i8254 clock: 1193403 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: AMD Athlon(tm) Processor (1202.13-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x642  Stepping = 2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<<b18>,AMIE,DSP,3DNow!>
Data TLB: 24 entries, fully associative
Instruction TLB: 16 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 internal cache: 256 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative
real memory  = 536805376 (524224K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x003b0000 - 0x1ffe7fff, 532905984 bytes (130104 pages)
avail memory = 519122944 (506956K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00faf00
bios32: Entry = 0xfb370 (c00fb370)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xb3a0
pnpbios: Found PnP BIOS data at 0xc00fbec0
pnpbios: Entry = f0000:bef0  Rev = 1.0
Other BIOS signatures found:
ACPI: 000f7ef0
Preloaded elf kernel "kernel" at 0xc038a000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Creating DISK md0
Math emulator present
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80003840
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=03051106)
pcib-: pcib0 exists, using next available unit number
npx0: <math processor> on motherboard
npx0: INT 16 interface
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=03051106)
pcib0: <Host to PCI bridge> on motherboard
found->	vendor=0x1106, dev=0x0305, revid=0x03
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base d8000000, size 26
found->	vendor=0x1106, dev=0x8305, revid=0x00
	class=06-04-00, hdrtype=0x01, mfdev=0
	subordinatebus=1 	secondarybus=1
found->	vendor=0x1106, dev=0x0686, revid=0x40
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1106, dev=0x0571, revid=0x06
	class=01-01-8a, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[20]: type 1, range 32, base 0000d000, size  4
found->	vendor=0x1106, dev=0x3038, revid=0x16
	class=0c-03-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=d, irq=12
	map[20]: type 1, range 32, base 0000d400, size  5
found->	vendor=0x1106, dev=0x3057, revid=0x40
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1106, dev=0x3058, revid=0x50
	class=04-01-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=c, irq=5
	map[10]: type 1, range 32, base 0000dc00, size  8
	map[14]: type 1, range 32, base 0000e000, size  2
	map[18]: type 1, range 32, base 0000e400, size  2
found->	vendor=0x10ec, dev=0x8139, revid=0x10
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base 0000ec00, size  8
	map[14]: type 1, range 32, base df000000, size  8
found->	vendor=0x11de, dev=0x6057, revid=0x02
	class=04-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=12
	map[10]: type 1, range 32, base df001000, size 12
pci0: <PCI bus> on pcib0
pcib2: <PCI to PCI bridge (vendor=1106 device=8305)> at device 1.0 on pci0
found->	vendor=0x1002, dev=0x5144, revid=0x00
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base d0000000, size 27
	map[14]: type 1, range 32, base 0000c000, size  8
	map[18]: type 1, range 32, base dd000000, size 19
pci1: <PCI bus> on pcib2
pci1: <ATI model 5144 graphics accelerator> (vendor=0x1002, dev=0x5144) at 0.0 irq 10
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xd000-0xd00f at device 7.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xd000
ata0: mask=03 status0=50 status1=50
ata0: mask=03 ostat0=50 ostat2=50
ata0-slave: ATAPI probe a=00 b=00
ata0-master: ATAPI probe a=00 b=00
ata0: mask=03 status0=50 status1=50
ata0-master: ATA probe a=01 b=a5
ata0-slave: ATA probe a=01 b=a5
ata0: devices=03
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd008
ata1: mask=03 status0=50 status1=50
ata1: mask=03 ostat0=50 ostat2=50
ata1-master: ATAPI probe a=14 b=eb
ata1-slave: ATAPI probe a=14 b=eb
ata1: mask=03 status0=10 status1=00
ata1: devices=0c
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 12 at device 7.2 on pci0
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
uhci_device_request: not done, ii=0xc1049800
uhub1: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 2
uhub1: 4 ports with 4 removable, self powered
uhci_device_intr_transfer: not done, ii=0xc10497a0
uhci_device_request: not done, ii=0xc1049780
ulpt0: EPSON USB Printer, rev 1.10/1.00, addr 3, iclass 7/1
uhci_device_request: not done, ii=0xc1049720
ugen0: ELSA AG ELSA MicroLink ISDN USB Connect , rev 1.00/0.01, addr 4
pcm0: <VIA VT82C686A> port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 5 at device 7.5 on pci0
pcm0: ac97 codec id 0x49434511
pcm0: ac97 codec features headphone, 18 bit DAC, 18 bit ADC, 5 bit master volume, Reserved 27
pcm0: ac97 primary codec extended features variable rate PCM, AMAP
pcm: setmap 1000, 4000; 0xd29c1000 -> 1000
pcm: setmap 5000, 4000; 0xd29c5000 -> 5000
rl0: <RealTek 8139 10/100BaseTX> port 0xec00-0xecff mem 0xdf000000-0xdf0000ff irq 11 at device 10.0 on pci0
rl0: Ethernet address: 00:30:4f:0b:68:72
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: rl0 attached
pci0: <unknown card> (vendor=0x11de, dev=0x6057) at 12.0 irq 12
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=03051106)
pci-: pci1 exists, using next available unit number
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
ata-: ata0 exists, using next available unit number
ata-: ata1 exists, using next available unit number
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROM> at iomem 0xc0000-0xcafff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata2 failed to probe at port 0x1f0 irq 14 on isa0
ata3 failed to probe at port 0x170 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0067
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0067
psm0: failed to reset the aux device.
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
ppc0: parallel port found at 0x3bc
ppc0: cannot reserve I/O port range
ppc0: <Parallel port> failed to probe at port 0x3bc-0x3c3 irq 7 on isa0
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
 1:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
bpf: ppp0 attached
new masks: bio 68d040, tty 630022, net 670822
bpf: sl0 attached
bpf: faith0 attached
bpf: gif0 attached
bpf: gif1 attached
bpf: gif2 attached
bpf: gif3 attached
ata0-master: success setting UDMA5 on VIA chip
Creating DISK ad0
ad0: <QUANTUM FIREBALLP AS40.0/A1Y.1500> ATA-5 disk at ata0-master
ad0: 38172MB (78177792 sectors), 77557 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, UDMA100
ad0: piomode=4 dmamode=2 udmamode=5 cblid=1
ad0: 38172MB <QUANTUM FIREBALLP AS40.0> [77557/16/63] at ata0-master UDMA100
ata0-slave: success setting UDMA5 on VIA chip
Creating DISK ad1
ad1: <QUANTUM FIREBALLP AS40.0/A1Y.1500> ATA-5 disk at ata0-slave
ad1: 38172MB (78177792 sectors), 77557 cyls, 16 heads, 63 S/T, 512 B/S
ad1: 16 secs/int, 1 depth queue, UDMA100
ad1: piomode=4 dmamode=2 udmamode=5 cblid=1
ad1: 38172MB <QUANTUM FIREBALLP AS40.0> [77557/16/63] at ata0-slave UDMA100
ata1-master: piomode=4 dmamode=2 udmamode=4 dmaflag=1
ata1-master: DMA limited to UDMA33, non-ATA66 compliant cable
ata1-master: success setting UDMA2 on VIA chip
acd0: <ASUS DVD-ROM E612/1.2B> DVD-ROM drive at ata1 as master
acd0: read 2406KB/s (6875KB/s), 640KB buffer, UDMA33
acd0: Reads: CD-R, CD-RW, CD-DA stream, DVD-ROM, packet
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 120mm audio disc loaded, unlocked
ata1-slave: piomode=4 dmamode=2 udmamode=2 dmaflag=1
ata1-slave: success setting UDMA2 on VIA chip
acd1: <Hewlett-Packard CD-Writer Plus 9500/1.0e> CD-RW drive at ata1 as slave
acd1: read 5512KB/s (5512KB/s) write 2067KB/s (2067KB/s), 4096KB buffer, UDMA33
acd1: Reads: CD-R, CD-RW, CD-DA stream, packet
acd1: Writes: CD-R, CD-RW, test write
acd1: Audio: play, 256 volume levels
acd1: Mechanism: ejectable tray
acd1: Medium: no/blank disc inside, unlocked
Mounting root from ufs:/dev/ad0s2a
ad0s1: type 0xc, start 63, end = 39086144, size 39086082 : OK
ad0s2: type 0xa5, start 39086145, end = 78172289, size 39086145 : OK
start_init: trying /sbin/init
uhci_idone: error, addr=5, endpt=0x00, status 0x500000<BABBLE,STALLED>
uhci_timeout: ii=0xc14045e0
uhci_device_request: not done, ii=0xc14045e0
uhci_timeout: ii=0xc14045e0
ums0: Logitech, Inc. product 0xc030, rev 1.00/1.01, addr 5, iclass 3/1
uhci_device_request: not done, ii=0xc14045e0
uhci_timeout: ii=0xc14045e0
device_probe_and_attach: ums0 attach returned 6
uhci_device_request: not done, ii=0xc14045e0
uhci_timeout: ii=0xc14045e0
uhci_device_request: not done, ii=0xc14045e0
uhci_timeout: ii=0xc14045e0
ugen1: Logitech, Inc. product 0xc030, rev 1.00/1.01, addr 5
uhci_device_request: not done, ii=0xc14045e0
uhci_timeout: ii=0xc14045e0
ugen1: setting configuration index 0 failed
device_probe_and_attach: ugen1 attach returned 6
uhci_device_request: not done, ii=0xc14045e0
uhci_timeout: ii=0xc14045e0
uhci_device_request: not done, ii=0xc14045e0
uhci_timeout: ii=0xc14045e0
uhci_timeout: ii=0xc1049800
uhci_device_request: not done, ii=0xc1049800
uhci_timeout: ii=0xc1049800
uhci_device_request: not done, ii=0xc1049800
uhci_timeout: ii=0xc1049800
uhci_device_request: not done, ii=0xc1049800
uhci_timeout: ii=0xc1049800
uhci_device_request: not done, ii=0xc1049800
uhci_timeout: ii=0xc1049800
uhci_device_request: not done, ii=0xc1049800
uhci_timeout: ii=0xc1049800
uhci_device_request: not done, ii=0xc1049800
uhci_timeout: ii=0xc1049800
---------------END DMESG

This is the kernel configuration:

---------------BEGIN KERNEL
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.26 2001/05/30 03:21:49 mjacob Exp $

machine		i386
cpu		I586_CPU
cpu		I686_CPU
ident		CHRIS	
maxusers	32

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	MATH_EMULATE		#Support for x87 emulation
options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	MFS			#Memory Filesystem
options 	MD_ROOT			#MD is a potential root device
options 	NFS			#Network Filesystem
options 	NFS_ROOT		#NFS usable as root device, NFS required
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev

# To make an SMP kernel, the next two are needed
#options 	SMP			# Symmetric MultiProcessor Kernel
#options 	APIC_IO			# Symmetric (APIC) I/O

device		isa
device		eisa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0

# ATA and ATAPI devices
device		ata0	at isa? port IO_WD1 irq 14
device		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1
device		psm0	at atkbdc? irq 12

device		vga0	at isa?

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? flags 0x100

# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
device		apm0    at nexus? disable flags 0x20 # Advanced Power Management

# Parallel port
device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		rl		# RealTek 8129/8139

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	sl	1	# Kernel SLIP
pseudo-device	ppp	1	# Kernel PPP
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"
pseudo-device	gif	4	# IPv6 and IPv4 tunneling
pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device	bpf		#Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
#device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
device		uscanner	# Scanners
# USB Ethernet, requires mii
#device		aue		# ADMtek USB ethernet
#device		cue		# CATC USB ethernet
#device		kue		# Kawasaki LSI USB ethernet

options		UHCI_DEBUG
options		USB_DEBUG
options		UMS_DEBUG
options 	DIAGNOSTIC

device 		pcm

---------------END KERNEL
>How-To-Repeat:
Always repeatable on my system. Booting with mouse attached or attaching after boot does not change behavior. Removing other USB devices or changing topology does not change behavior.
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: schweikh 
State-Changed-When: Wed Aug 21 08:17:50 PDT 2002 
State-Changed-Why:  
Does this also happen with a recent -stable? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=30373 
State-Changed-From-To: feedback->closed 
State-Changed-By: ceri 
State-Changed-When: Sun Jun 8 11:02:02 PDT 2003 
State-Changed-Why:  
Feedback timeout (6 months or more). 
I will handle any feedback that this closure generates. 


Responsible-Changed-From-To: freebsd-bugs->ceri 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Sun Jun 8 11:02:02 PDT 2003 
Responsible-Changed-Why:  
Feedback timeout (6 months or more). 
I will handle any feedback that this closure generates. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=30373 

From: =?windows-1252?Q?Fredrik_Forss=E9n?= <frefo697@student.liu.se>
To: freebsd-gnats-submit@FreeBSD.org, angelini@bmm.it
Cc:  
Subject: Re: misc/30373: Logitech IFeel Optical USB mouse does not
 attach
Date: Tue, 09 Dec 2003 16:23:33 +0100

 Hello
 
 Id like this bug reopened "misc/30373: Logitech IFeel Optical USB mouse does not attach" seeing as this problem very much is not fixed. I've tried running 5.1 (and, yes it might be unstable...but I very much doubt that the version is the problem here) and the problem still exists just as it is described in this bug report. I'd very much like to see the bug reopened so that progress can be made on this since...well...it is really the only thing that holds me from actually being able to run FreeBSD at the mo ment. :)
 
 Regards
 Fredrik Forssen
 
State-Changed-From-To: closed->open 
State-Changed-By: ceri 
State-Changed-When: Tue Dec 9 10:28:09 PST 2003 
State-Changed-Why:  
Apparently this is still a problem; the submitter has provided some more 
recent information from 5.1-RELEASE. 


Responsible-Changed-From-To: ceri->joe 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Tue Dec 9 10:28:09 PST 2003 
Responsible-Changed-Why:  
Assign to our USB maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=30373 

From: =?windows-1252?Q?Fredrik_Forss=E9n?= <frefo697@student.liu.se>
To: Ceri Davies <setantae@submonkey.net>
Cc: ceri@FreeBSD.org
Subject: Re: misc/30373: Logitech IFeel Optical USB mouse does not
 attach
Date: Tue, 09 Dec 2003 18:50:55 +0100

 Hello Ceri
 
 Here's the dmesg for the system Im running on:
 
 Copyright (c) 1992-2003 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.1-RELEASE #0: Mon Dec  8 23:45:45 CET 2003
     root@brodrost.236.219.27.255:/usr/src/sys/i386/compile/MYKERNEL
 Preloaded elf kernel "/boot/kernel/kernel" at 0xc048e000.
 Preloaded elf module "/boot/kernel/acpi.ko" at 0xc048e21c.
 Timecounter "i8254"  frequency 1193182 Hz
 Timecounter "TSC"  frequency 1852059119 Hz
 CPU: AMD Athlon(tm) XP 2500+ (1852.06-MHz 686-class CPU)
   Origin = "AuthenticAMD"  Id = 0x6a0  Stepping = 0
   Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
   AMD Features=0xc0400000<AMIE,DSP,3DNow!>
 real memory  = 535756800 (510 MB)
 avail memory = 515399680 (491 MB)
 Pentium Pro MTRR support enabled
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 acpi0: <KT600  AWRDACPI> on motherboard
 pcibios: BIOS version 2.10
 Using $PIR table, 9 entries at 0xc00fcde0
 acpi0: power button is handled as a fixed feature programming model.
 Timecounter "ACPI-fast"  frequency 3579545 Hz
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
 acpi_cpu0: <CPU> on acpi0
 acpi_tz0: <thermal zone> on acpi0
 acpi_button0: <Power Button> on acpi0
 acpi_button1: <Sleep Button> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 agp0: <VIA Generic host to PCI bridge> mem 0xe8000000-0xebffffff at device 0.0 on pci0
 pcib1: <PCI-PCI bridge> at device 1.0 on pci0
 pci1: <PCI bus> on pcib1
 pci1: <display, VGA> at device 0.0 (no driver attached)
 pci0: <multimedia, audio> at device 9.0 (no driver attached)
 pci0: <input device> at device 9.1 (no driver attached)
 rl0: <RealTek 8139 10/100BaseTX> port 0xd800-0xd8ff mem 0xee000000-0xee0000ff irq 10 at device 10.0 on pci0
 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
 rl0: Ethernet address: 00:40:95:0b:48:bf
 miibus0: <MII bus> on rl0
 rlphy0: <RealTek internal media interface> on miibus0
 rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 uhci0: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 11 at device 16.0 on pci0
 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
 ums0: Logitech product 0xc032, rev 1.00/1.01, addr 2, iclass 3/1
 device_probe_and_attach: ums0 attach returned 6
 ugen0: Logitech product 0xc032, rev 1.00/1.01, addr 2
 ugen0: setting configuration index 0 failed
 device_probe_and_attach: ugen0 attach returned 6
 uhci1: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 12 at device 16.1 on pci0
 usb1: <VIA 83C572 USB controller> 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
 uhci2: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 10 at device 16.2 on pci0
 usb2: <VIA 83C572 USB controller> on uhci2
 usb2: USB revision 1.0
 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub2: 2 ports with 2 removable, self powered
 uhub2: port error, restarting port 1
 uhub2: port error, giving up port 1
 uhub2: port error, restarting port 2
 pci0: <serial bus, USB> at device 16.3 (no driver attached)
 isab0: <PCI-ISA bridge> at device 17.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <VIA 8235 UDMA133 controller> port 0xe800-0xe80f at device 17.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xec00-0xecff mem 0xee002000-0xee0020ff irq 11 at device 18.0 on pci0
 vr0: Ethernet address: 00:50:8d:4f:2d:e9
 miibus1: <MII bus> on vr0
 ukphy0: <Generic IEEE 802.3u media interface> on miibus1
 ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 kbd0 at atkbd0
 pmtimer0 on isa0
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 Timecounters tick every 10.000 msec
 ad0: 117246MB <Maxtor 6Y120L0> [238216/16/63] at ata0-master UDMA133
 ad1: 19470MB <QUANTUM FIREBALL CX20.4A> [39560/16/63] at ata0-slave UDMA66
 acd0: CD-RW <CD-RW IDE5224> at ata1-master PIO4
 Mounting root from ufs:/dev/ad0s3a
 
 As you can see, the interesting part here probably is this
 uhci0: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 11 at device 16.0 on pci0
 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
 ums0: Logitech product 0xc032, rev 1.00/1.01, addr 2, iclass 3/1
 device_probe_and_attach: ums0 attach returned 6
 ugen0: Logitech product 0xc032, rev 1.00/1.01, addr 2
 ugen0: setting configuration index 0 failed
 device_probe_and_attach: ugen0 attach returned 6
 uhci1: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 12 at device 16.1 on pci0
 usb1: <VIA 83C572 USB controller> 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
 uhci2: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 10 at device 16.2 on pci0
 usb2: <VIA 83C572 USB controller> on uhci2
 usb2: USB revision 1.0
 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub2: 2 ports with 2 removable, self powered
 uhub2: port error, restarting port 1
 uhub2: port error, giving up port 1
 uhub2: port error, restarting port 2
 
 Id like to add that the time it actually takes to run through this part is HUGE. It's like a week or so :) The mouse is recieving power since I can see the lights shining on it, and apparently it does actually recognize the mouse in some way since it at least gets the "Logitech" part right...however thats the end of it. After that it all goes to hell on a stick, and not the cute-BSD-demon-stick way.
 
 And here's my current kernel config, note that it might very well not be the most efficient kernel made ever, but its here for debugging in any case.
 
 # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.384.2.2 2003/05/31 15:18:41 scottl Exp $
 
 machine		i386
 cpu		I686_CPU
 ident		GENERIC
 
 options 	SCHED_4BSD		#4BSD scheduler
 options 	INET			#InterNETworking
 options 	INET6			#IPv6 communications protocols
 options 	FFS			#Berkeley Fast Filesystem
 options 	SOFTUPDATES		#Enable FFS soft updates support
 options 	UFS_ACL			#Support for access control lists
 options 	UFS_DIRHASH		#Improve performance on big directories
 options 	MD_ROOT			#MD is a potential root device
 options 	NFSCLIENT		#Network Filesystem Client
 options 	NFSSERVER		#Network Filesystem Server
 options 	NFS_ROOT		#NFS usable as root device, requires NFSCLIENT
 options 	MSDOSFS			#MSDOS Filesystem
 options 	CD9660			#ISO 9660 Filesystem
 options 	PROCFS			#Process filesystem (requires PSEUDOFS)
 options 	PSEUDOFS		#Pseudo-filesystem framework
 options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
 options 	COMPAT_FREEBSD4		#Compatible with FreeBSD4
 options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
 options 	KTRACE			#ktrace(1) support
 options 	SYSVSHM			#SYSV-style shared memory
 options 	SYSVMSG			#SYSV-style message queues
 options 	SYSVSEM			#SYSV-style semaphores
 options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
 options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
 options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
 					# output.  Adds ~128k to driver.
 options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
 					# output.  Adds ~215k to driver.
 
 options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
 
 device		isa
 device		eisa
 device		pci
 
 # Floppy drives
 device		fdc
 
 # ATA and ATAPI devices
 device		ata
 device		atadisk			# ATA disk drives
 device		atapicd			# ATAPI CDROM drives
 device		atapifd			# ATAPI floppy drives
 device		atapist			# ATAPI tape drives
 options 	ATA_STATIC_ID		#Static device numbering
 
 
 # SCSI peripherals
 device		scbus		# SCSI bus (required)
 device		ch		# SCSI media changers
 device		da		# Direct Access (disks)
 device		sa		# Sequential Access (tape etc)
 device		cd		# CD
 device		pass		# Passthrough device (direct SCSI access)
 device		ses		# SCSI Environmental Services (and AF-TE)
 
 # atkbdc0 controls both the keyboard and the PS/2 mouse
 device		atkbdc		# AT keyboard controller
 device		atkbd		# AT keyboard
 device		psm		# PS/2 mouse
 
 device		vga		# VGA video card driver
 
 device		splash		# Splash screen and screen saver support
 
 # syscons is the default console driver, resembling an SCO console
 device		sc
 
 # Enable this for the pcvt (VT220 compatible) console driver
 device		vt
 options 	XSERVER			# support for X server on a vt console
 options 	FAT_CURSOR		# start with block cursor
 
 device		agp		# support several AGP chipsets
 
 # Floating point support - do not disable.
 device		npx
 
 # Add suspend/resume support for the i8254.
 device		pmtimer
 
 # PCI Ethernet NICs that use the common MII bus controller code.
 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
 device		miibus		# MII bus support
 device		rl		# RealTek 8129/8139
 device		vr		# VIA Rhine, Rhine II
 
 # Pseudo devices - the number indicates how many units to allocate.
 device		random		# Entropy device
 device		loop		# Network loopback
 device		ether		# Ethernet support
 device		pty		# Pseudo-ttys (telnet etc)
 device		md		# Memory "disks"
 device		gif		# IPv6 and IPv4 tunneling
 device		faith		# IPv6-to-IPv4 relaying (translation)
 
 # USB support
 device		uhci		# UHCI PCI->USB interface
 device		ohci		# OHCI PCI->USB interface
 device		usb		# USB Bus (required)
 device		ugen		# Generic
 device		uhid		# "Human Interface Devices"
 device		ums		# Mouse
 
 Hope this helps a bit. If you need more specific debug information, just tell me and Ill get it for you (if I know how that is).
 
 Regards
 / Fredrik
 
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Thu Jun 10 08:07:57 GMT 2004 
State-Changed-Why:  

Is this helped by revision 1.55 of src/sys/dev/usb/uhub.c? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=30373 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Thu Jun 10 10:22:08 GMT 2004 
State-Changed-Why:  

The submitter reports that the hardware in question has since been 
upgraded, so it is not possible to verify if the problem has been 
fixed. It is quite likely that uhub.c 1.55 has fixed this, so there 
is little use in keeping this PR open. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=30373 
>Unformatted:
