Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Aug 2002 23:57:13 -0400
From:      Jordi YC <jordi_yc@lycos.es>
To:        freebsd-questions@FreeBSD.ORG
Subject:   "Delays" with _USB_ mouse and keyboard
Message-ID:  <200208032357.13172.jordi_yc@lycos.es>

next in thread | raw e-mail | index | archive | help
Hi,

I have some trouble with all USB devices (scanner, keyboard, and mouse). For 
now I would like to work on the mouse and keyboard, so I will not burn my 
hands while I use the laptop.

It appears that the mouse and keyboard events are *not* processed in real 
time. It feels like I am under a terminal with a 1 bit/sec connection. That 
is, when I move the mouse, the mouse will react ~30 seconds after. The same 
with the keyboard. The command I use to switch keyboard and test is 
kbdcontrol -k /dev/kbd1 < /dev/console

I am running FreeBSD-STABLE (cvsup two days ago with the appropiate install 
world procedure)

I installed the GENERIC kernel just in case it was something from my config, 
but it does the same thing. The current kernel uses only the device and the 
the device ohci is commented.

I tried to use only the mouse connected to the USB port, but the effects are 
the same ones.

dmesg and usbdevs -v follows. Please let me know if there is additional info I 
can provide.

Any ideas?

dmesg
##########
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 4.6-STABLE #11: Sat Aug  3 23:20:29 EDT 2002
    root@harry2.bcn.dyndns.org:/usr/obj/usr/src/sys/HARRY2
Timecounter "i8254"  frequency 1193182 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 = 320364544 (312856K bytes)
Preloaded elf kernel "kernel" at 0xc0410000.
VESA: v3.0, 1024k memory, flags:0x1, mode table:0xc038d1e0 (1000040)
VESA: Intel815M(TM) Graphics Chip Accelerated VGA BIOS
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00fdf30
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82815 (i815 GMCH) SVGA controller> mem 
0xf4000000-0xf407ffff,0xf8000000-0xfbffffff irq 9 at device 2.0 on pci0
pcib1: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <unknown card> (vendor=0x104c, dev=0x8021) at 0.0 irq 9
pcic0: <Ricoh RL5C475 PCI-CardBus Bridge> irq 0 at device 2.0 on pci1
pcic0: PCI Memory allocated: 0x88000000
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 to ISA bridge (vendor=8086 device=244c)> 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
uhub1: Mitsumi Electric Hub in Apple Extended USB Keyboard, class 9/0, rev 
1.10/1.22, addr 2
uhub1: 3 ports with 2 removable, bus powered
ukbd0: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/1.22, addr 3, 
iclass 3/1
kbd1 at ukbd0
uhid0: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/1.22, addr 3, 
iclass 3/0
ums0: Logitech USB Trackball, rev 1.10/14.00, addr 4, iclass 3/1
ums0: 5 buttons
uscanner0: Color  FlatbedScanner 13, rev 1.00/1.00, addr 5
pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 9
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
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ugen0: Sony USB Memory Stick Slot, rev 1.10/1.80, addr 2
pcm0: <Intel 82801BA (ICH2)> port 0x1880-0x18bf,0x1c00-0x1cff irq 9 at device 
31.5 on pci0
pci0: <unknown card> (vendor=0x8086, dev=0x2446) at 31.6 irq 9
eisa0: <EISA bus> on motherboard
eisa0: unknown card @H@0000 (0x01000000) at slot 1
orm0: <Option ROMs> at iomem 0xc0000-0xcbfff,0xd8000-0xdbfff,0xdc000-0xdffff 
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
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
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
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
spic0: device model type = 2
spic0: <Sony Programmable I/O Controller> at port 0x10a0-0x10a4 on isa0
IPsec: Initialized Security Association Processing.
ad0: 28615MB <TOSHIBA MK3017GAP> [58140/16/63] at ata0-master UDMA66
Mounting root from ufs:/dev/ad0s3a
IP Filter: v3.4.27 initialized.  Default = pass all, Logging = enabled
##########


usbdevs -v
##########
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 
0x0100
 port 1 addr 2: power 50 mA, config 1, product 0x1002(0x1002), Apple 
Computer(0x05ac), rev 0x0122
  port 1 addr 3: power 50 mA, config 1, product 0x0204(0x0204), Apple 
Computer(0x05ac), rev 0x0122
  port 2 addr 4: low speed, power 50 mA, config 1, product 0xc408(0xc408), 
Logitech(0x046d), rev 0x1400
  port 3 powered
 port 2 addr 5: self powered, config 1, Acerscan 620U(0x2060), Acer 
Peripherals(0x04a5), rev 0x0100
##########

Thanks,
Jordi

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




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