Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 2004 15:46:47 +0400
From:      "Lednev K.M." <klm@median.ru>
To:        kdk@daleco.biz
Cc:        freebsd-questions@freebsd.org
Subject:   problems with mouse ps/2 in FreeBSD 5.2
Message-ID:  <1975686640.20041023154647@median.ru>

next in thread | raw e-mail | index | archive | help
>>I have a problem with the mouse initialisation in FreeBSD 5.2
>>My mouse is Logitech ps/2.
>>There are next strings in GENERIC file:
>># atkbdc0 controls both the keyboard and the PS/2 mouse
>>device          atkbdc          # AT keyboard controller
>>device          atkbd           # AT keyboard
>>device          psm             # PS/2 mouse 
>>And the next strings in /boot/device.hints file:
>>hint.atkbdc.0.at="isa"
>>hint.atkbdc.0.port="0x060"
>>hint.atkbd.0.at="atkbdc"
>>hint.atkbd.0.irq="1"
>>hint.atkbd.0.flags="0x1"
>>hint.psm.0.at="atkbdc"
>>hint.psm.0.irq="12"
>>After loading process there is no device /dev/psm0 - so there is no
>>possible any works with mouse :( But in the same time keyboard ps/2 works
>>successful as device /dev/kbd0 and the same mouse works successful on
>>the same ps/2 port on another OS (Windows).
>>Is is right configuration of mouse in Kernel? If so, then
>>please, can you advise me something in this situation?
>>  

> Could we see the output of dmesg?

Output of 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-RELEASE #0: Mon Oct 18 23:18:37 MSD 2004
    root@myser.home.yar:/usr/src/sys/i386/compile/CUSTOM
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0786000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc07861f4.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Duron(tm) Processor (750.03-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x631  Stepping = 1
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
real memory  = 268369920 (255 MB)
avail memory = 255344640 (243 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 6 entries at 0xc00fdba0
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 7 INTD is routed to irq 5
pcib0: slot 7 INTD is routed to irq 5
pcib0: slot 14 INTA is routed to irq 10
pcib0: slot 15 INTA is routed to irq 11
pcib0: slot 17 INTA is routed to irq 11
agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xd4000000-0xd4ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686B UDMA100 controller> port 0xd000-0xd00f at device 7.1 on pci0
atapci0: Correcting VIA config for southbridge data corruption bug
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 5 at device 7.2 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
uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 5 at device 7.3 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
pci0: <bridge, PCI-unknown> at device 7.4 (no driver attached)
pci0: <display, VGA> at device 14.0 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0xdc00-0xdcff mem 0xd6000000-0xd60000ff irq 11 at device 15.0 on pci0
rl0: Ethernet address: 00:80:48:1a:33:95
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <multimedia, audio> at device 17.0 (no driver attached)
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
orm0: <Option ROM> at iomem 0xc0000-0xc7fff 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
Timecounter "TSC" frequency 750031655 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
GEOM: create disk ad2 dp=0xc20a8160
ad2: 38165MB <ST340014A> [77542/16/63] at ata1-master UDMA100
acd0: CDRW <SONY CD-RW CRX230E> at ata1-slave PIO4
Mounting root from ufs:/dev/ad2s2a 
======================================

As I think, a string about psm0 must be after strings:
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
... but there is no such string... :(

Best regards,
Konstantin Lednev                    mailto:klm@median.ru




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