USB mouse and keyboard problems with 5.2.1-Release

Chris Miller chrislist at bariatricsupportcenter.com
Thu Jun 24 22:07:51 PDT 2004


On Thu, 2004-06-24 at 11:47, John Baldwin wrote:

> Hmm, my USB mice all work fine when plugged, unplugged so I'm not sure what 
> you are running into there.  As far as keyboards, you currently have to tell 
> FreeBSD to use the USB keyboard via 'kbdcontrol -k /dev/kbd1' using the PS/2 
> keyboard (yes, this is rather lame, hopefully someday the keyboard driver 
> will be fixed to mux the inputs from all the physical keyboards)
> 
When I try that command I get the following:
# kbdcontrol -k /dev/kbd1
kbd1
    ukbd0, type:generic (0)
kbdcontrol: unable to set keyboard: Inappropriate ioctl for device

So I'm not exactly sure what to do about it.   The keyboard is an
annoyance but not the end of the world.  But the mouse and track pad are
making me seriously think about going back to Linux with this machine.

> > The track pad also doesn't work at all.  (In windows it is listed as an
> > ALPS on a PS/2 port.  It also works fine in Linux)
> 
> Since you don't have a /dev/psm0, it appears the kernel isn't seeing the 
> device at all.  Do any 'psm' lines show up in your dmesg?

There is no mention of psm anything in dmesg. 

I have included all the output from dmesg in case it helps.  Of course
it made this a real long mail, sorry.

Thanks again,
Chris

[START DMESG] 

Copyright (c) 1992-2004 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.2.1-RELEASE #3: Wed Jun 23 01:53:13 MDT 2004
    XXX at YYY.com:/usr/src/sys/i386/compile/CHRIS
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a9c000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a9c294.
ACPI APIC Table: <PTLTD  	 APIC  >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.51-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Hyperthreading: 2 logical CPUs
real memory  = 1073152000 (1023 MB)
avail memory = 1033003008 (985 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <TOSCPL   RSDT  > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 10 entries at 0xc00fdf20
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_cpu0: <CPU> port 0x530-0x537 on acpi0
acpi_cpu1: <CPU> port 0x530-0x537 on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82865 host to AGP bridge> mem 0xd0000000-0xdfffffff at
device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0x1800-0x181f
irq 16 at device 29.0 on pci0
usb0: <Intel 82801EB (ICH5) 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-PS/2 Optical Mouse, rev 2.00/21.00, addr 2, iclass
3/1
ums0: 7 buttons and Z dir.
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0x1820-0x183f
irq 19 at device 29.1 on pci0
usb1: <Intel 82801EB (ICH5) 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
ukbd0: Cypress USB Keyboard, rev 1.10/0.01, addr 2, iclass 3/1
kbd1 at ukbd0
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0x1840-0x185f
irq 18 at device 29.2 on pci0
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: 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
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0x1860-0x187f
irq 16 at device 29.3 on pci0
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
fwohci0: vendor=104c, dev=8026
fwohci0: <1394 Open Host Controller Interface> mem
0xc2010000-0xc2013fff,0xc2014000-0xc20147ff irq 16 at device 0.0 on pci2
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 00:02:3f:3a:39:00:4f:25
fwohci0: Phy 1394a available S400, 1 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:02:3f:00:4f:25
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
rl0: <RealTek 8139 10/100BaseTX> port 0x3000-0x30ff mem
0xc2014800-0xc20148ff irq 17 at device 1.0 on pci2
rl0: Ethernet address: 00:02:3f:83:32:61
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ath0: <Atheros 5212> mem 0xc2000000-0xc200ffff irq 18 at device 2.0 on
pci2
ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
ath0: turbo rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 802.11 address: 00:90:96:6b:08:04
cbb0: <ToPIC100 PCI-CardBus Bridge> at device 4.0 on pci2
start (88000000) < sc->membase (c2000000)
end (ffffffff) > sc->memlimit (c20fffff)
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [MPSAFE]
cbb1: <ToPIC100 PCI-CardBus Bridge> at device 4.1 on pci2
start (88000000) < sc->membase (c2000000)
end (ffffffff) > sc->memlimit (c20fffff)
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
cbb1: [MPSAFE]
pci2: <base peripheral> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port
0x1880-0x188f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH5 (82801EB)> port 0x18c0-0x18ff,0x1c00-0x1cff mem
0xc0000800-0xc00008ff,0xc0000c00-0xc0000dff irq 17 at device 31.5 on
pci0
pcm0: <Avance Logic ALC202 AC97 Codec>
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
acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x66,0x62 on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
sio0 port 0x6f8-0x6ff,0x2f8-0x2ff irq 3 drq 3 on acpi0
sio0: type 16550A
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <Option ROMs> at iomem
0xe3000-0xe3fff,0xdc000-0xdffff,0xce000-0xcefff,0xc0000-0xcdfff on isa0
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
ipfw2 initialized, divert disabled, rule-based forwarding enabled,
default to deny, logging limited to 10 packets/entry by default
GEOM: create disk ad0 dp=0xc6cb0160
ad0: 76319MB <HTS548080M9AT00> [155061/16/63] at ata0-master UDMA100
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad0s2a
nvidia0: <GeForce FX Go5200> mem
0xe0000000-0xe7ffffff,0xc1000000-0xc1ffffff irq 16 at device 0.0 on pci1

[END DMESG]



More information about the freebsd-mobile mailing list