Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 2002 23:04:09 -0400
From:      Jordi YC <jordi_yc@lycos.es>
To:        current@FreeBSD.ORG
Subject:   Help with USB
Message-ID:  <200208072304.09571.jordi_yc@lycos.es>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 333971456 (326144K bytes)
avail memory = 318832640 (311360K bytes)
Pentium Pro MTRR support enabled
Using $PIR table, 9 entries at 0xc00fdf30
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <SONY   U1      > 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: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_pcib0: <Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <PCI bus> on acpi_pcib0
pci0: <display, VGA> at device 2.0 (no driver attached)
pcib1: <PCI-PCI bridge> at device 30.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <serial bus, FireWire> at device 0.0 (no driver attached)
pcic0: <Ricoh RL5C475 PCI-CardBus Bridge> irq 0 at device 2.0 on pci1
pcic0: PCI Memory allocated: 0xf4100000
pcic0: Polling mode
pccard0: <PC Card bus (classic)> on pcic0
fxp0: <Intel Pro/100 Ethernet> port 0x3000-0x303f mem 0xf4104000-0xf4104fff 
irq 9 at device 8.0 on pci1
fxp0: Ethernet address 08:00:46:16:ac:a5
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 ATA100 controller> port 0x1800-0x180f at device 31.1 on 
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0x1820-0x183f irq 
9 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> 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: <serial bus, SMBus> at device 31.3 (no driver attached)
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0x1840-0x185f irq 
9 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> 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: <multimedia, audio> at device 31.5 (no driver attached)
pci0: <simple comms> at device 31.6 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
acpi_ec0: <embedded controller> 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: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
fdc0: <enhanced floppy controller (i82077, NE72065 or clone)> 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: <Control method Battery> on acpi0
acpi_acad0: <AC adapter> on acpi0
eisa0: <EISA bus> on motherboard
eisa0: unknown card B@H0000 (0x08080000) at slot 1
orm0: <Option ROMs> at iomem 0xdc000-0xdffff,0xd8000-0xdbfff,0xc0000-0xcbfff 
on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%
ad0: 28615MB <TOSHIBA MK3017GAP> [58140/16/63] at ata0-master UDMA66
(probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 
(probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
(probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:29,0
(probe0:umass-sim0:0:0:0): Power on, reset, or bus device reset occurred
(probe0:umass-sim0:0:0:0): Retrying Command
(probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 
(probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
(probe0:umass-sim0:0:0:0): NOT READY asc:3a,0
(probe0:umass-sim0:0:0:0): Medium not present
(probe0:umass-sim0:0:0:0): Unretryable error
Mounting root from ufs:/dev/ad0s2a
stray irq 10
pid 239 (cp), uid 0 inumber 29236 on /var: file system full
#############################

#############################
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 addr 2: low speed, power 50 mA, config 1, USB Trackball(0xc408), 
Logitech(0x046d), rev 14.00
 port 2 powered
Controller /dev/usb1:
addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 addr 2: full speed, self powered, config 1, USB Memory Stick 
Slot(0x0056), Sony(0x054c), rev 1.80
 port 2 powered
#############################



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




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