NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-i386/51403: NetBSD doesn't recognize my ps/2 mouse



* Michael <beriah%opensuse.us@localhost> [2016-08-27 21:20:00 +0000]:

> The following reply was made to PR port-i386/51403; it has been noted by GNATS.
> 
> From: Michael <beriah%opensuse.us@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc: port-i386-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
> 	netbsd-bugs%netbsd.org@localhost
> Subject: Re: port-i386/51403: NetBSD doesn't recognize my ps/2 mouse
> Date: Sat, 27 Aug 2016 13:18:12 -0800
> 
>  After playing with the bios, I ended up with the usb controller
>  enabled but disabled usb legacy mode (for keyboard and mouse). I saved
>  that and exited. Unplugged my usb keyboard and attached ps/2 keyboard.
>  So now, both mouse and keyboard are attatched via ps/2. I booted
>  NetBSD, and now both work. So, this is what I have determined at least
>  for this machine:
>  usb keyboard and ps/2 mouse doesn't let mouse work (keyboard works)
>  usb keyboard and usb mouse does let mouse work (both work)
>  ps/2 keyboard and ps/2 mouse does let mouse work (both work)
>  
>  Here is current dmesg with both connected via ps/2 ports:
>  
>  Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
>      2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
>      The NetBSD Foundation, Inc.  All rights reserved.
>  Copyright (c) 1982, 1986, 1989, 1991, 1993
>      The Regents of the University of California.  All rights reserved.
>  
>  NetBSD 7.0.1 (GENERIC.201605221355Z)
>  total memory = 1918 MB
>  avail memory = 1870 MB
>  kern.module.path=/stand/i386/7.0/modules
>  timecounter: Timecounters tick every 10.000 msec
>  timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
>  Hewlett-Packard   ( )
>  mainbus0 (root)
>  ACPI: RSDP 0xf8560 000024 (v02 HPQOEM)
>  ACPI: XSDT 0x77ef30c0 000054 (v01 HPQOEM SLIC-BPC 42302E31 AWRD 00000000)
>  ACPI: FACP 0x77ef7640 0000F4 (v03 HPQOEM SLIC-BPC 42302E31 AWRD 00000000)
>  ACPI BIOS Warning (bug): 32/64X length mismatch in
>  FADT/Pm1aEventBlock: 32/8 (20131218/tbfadt-634)
>  ACPI BIOS Warning (bug): 32/64X length mismatch in
>  FADT/Pm1aControlBlock: 16/8 (20131218/tbfadt-634)
>  ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/PmTimerBlock:
>  32/8 (20131218/tbfadt-634)
>  ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe0Block:
>  64/8 (20131218/tbfadt-634)
>  ACPI BIOS Warning (bug): Invalid length for FADT/Pm1aEventBlock: 8,
>  using default 32 (20131218/tbfadt-716)
>  ACPI BIOS Warning (bug): Invalid length for FADT/Pm1aControlBlock: 8,
>  using default 16 (20131218/tbfadt-716)
>  ACPI BIOS Warning (bug): Invalid length for FADT/PmTimerBlock: 8,
>  using default 32 (20131218/tbfadt-716)
>  ACPI: DSDT 0x77ef3240 0043A2 (v01 HPQOEM AWRDACPI 00001000 MSFT 03000000)
>  ACPI: FACS 0x77ef0000 000040
>  ACPI: SSDT 0x77ef7840 0000F4 (v01 PTLTD  POWERNOW 00000001  LTP 00000001)
>  ACPI: SLIC 0x77ef7a00 000176 (v01 HPQOEM SLIC-BPC 42302E31 AWRD 00000000)
>  ACPI: HPET 0x77ef7980 000038 (v01 HPQOEM SLIC-BPC 42302E31 AWRD 00000098)
>  ACPI: MCFG 0x77ef7bc0 00003C (v01 HPQOEM SLIC-BPC 42302E31 AWRD 00000000)
>  ACPI: APIC 0x77ef7780 000068 (v01 HPQOEM SLIC-BPC 42302E31 AWRD 00000000)
>  ACPI: All ACPI Tables successfully acquired
>  ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x21, 24 pins
>  cpu0 at mainbus0 apid 0: AMD Sempron(tm) Processor 3600+, id 0x40ff2
>  acpi0 at mainbus0: Intel ACPICA 20131218
>  acpi0: X/RSDT: OemId <HPQOEM,SLIC-BPC,42302e31>, AslId <AWRD,00000000>
>  acpi0: SCI interrupting at int 9
>  timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
>  hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
>  timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
>  acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
>  PMIO (PNP0C02) at acpi0 not configured
>  attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43
>  pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
>  midi0 at pcppi1: PC speaker
>  sysbeep0 at pcppi1
>  COPR (PNP0C04) at acpi0 not configured
>  SYSR (PNP0C02) at acpi0 not configured
>  UAR1 (PNP0501) at acpi0 not configured
>  LPT1 (PNP0400) at acpi0 not configured
>  pckbc1 at acpi0 (PS2M, PNP0F13) (aux port): irq 12
>  pckbc2 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
>  EXPL (PNP0C02) at acpi0 not configured
>  MEM (PNP0C01) at acpi0 not configured
>  apm0 at acpi0: Power Management spec V1.2
>  ACPI: Enabled 1 GPEs in block 00 to 1F
>  ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_]
>  (20131218/hwxface-646)
>  ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_]
>  (20131218/hwxface-646)
>  attimer1: attached to pcppi1
>  pckbd0 at pckbc2 (kbd slot)
>  pckbc2: using irq 1 for kbd slot
>  wskbd0 at pckbd0: console keyboard
>  pms0 at pckbc2 (aux slot)
>  pckbc2: using irq 12 for aux slot
>  wskbd0 at pckbd0: console keyboard
>  pms0 at pckbc2 (aux slot)
>  pckbc2: using irq 12 for aux slot
>  wsmouse0 at pms0 mux 0
>  pci0 at mainbus0 bus 0: configuration mode 1
>  pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
>  pchb0 at pci0 dev 0 function 0: vendor 0x1002 product 0x5950 (rev. 0x10)
>  ppb0 at pci0 dev 1 function 0: vendor 0x1002 product 0x5a3f (rev. 0x00)
>  pci1 at ppb0 bus 1
>  pci1: i/o space, memory space enabled
>  radeon0 at pci1 dev 5 function 0: vendor 0x1002 product 0x5974 (rev. 0x00)
>  radeon0: unable to reserve VGA registers for i386 radeondrmkms hack
>  ixpide0 at pci0 dev 18 function 0: ATI Technologies IXP IDE Controller
>  (rev. 0x00)
>  ixpide0: bus-master DMA support present
>  ixpide0: primary channel configured to compatibility mode
>  ixpide0: primary channel interrupting at ioapic0 pin 14
>  atabus0 at ixpide0 channel 0
>  ixpide0: secondary channel configured to compatibility mode
>  ixpide0: secondary channel interrupting at ioapic0 pin 15
>  atabus1 at ixpide0 channel 1
>  ohci0 at pci0 dev 19 function 0: vendor 0x1002 product 0x4387 (rev. 0x00)
>  ohci0: interrupting at ioapic0 pin 16
>  ohci0: OHCI version 1.0, legacy support
>  usb0 at ohci0: USB revision 1.0
>  ohci1 at pci0 dev 19 function 1: vendor 0x1002 product 0x4388 (rev. 0x00)
>  ohci1: interrupting at ioapic0 pin 17
>  ohci1: OHCI version 1.0, legacy support
>  usb1 at ohci1: USB revision 1.0
>  ohci2 at pci0 dev 19 function 2: vendor 0x1002 product 0x4389 (rev. 0x00)
>  ohci2: interrupting at ioapic0 pin 18
>  ohci2: OHCI version 1.0, legacy support
>  usb2 at ohci2: USB revision 1.0
>  ohci3 at pci0 dev 19 function 3: vendor 0x1002 product 0x438a (rev. 0x00)
>  ohci3: interrupting at ioapic0 pin 17
>  ohci3: OHCI version 1.0, legacy support
>  usb3 at ohci3: USB revision 1.0
>  ohci4 at pci0 dev 19 function 4: vendor 0x1002 product 0x438b (rev. 0x00)
>  ohci4: interrupting at ioapic0 pin 18
>  ohci4: OHCI version 1.0, legacy support
>  usb4 at ohci4: USB revision 1.0
>  ehci0 at pci0 dev 19 function 5: vendor 0x1002 product 0x4386 (rev. 0x00)
>  ehci0: applying AMD SB600/SB700 USB freeze workaround
>  ehci0: interrupting at ioapic0 pin 19
>  ehci0: dropped intr workaround enabled
>  ehci0: EHCI version 1.0
>  ehci0: companion controllers, 2 ports each: ohci0 ohci1 ohci2 ohci3 ohci4
>  usb5 at ehci0: USB revision 2.0
>  piixpm0 at pci0 dev 20 function 0: vendor 0x1002 product 0x4385 (rev. 0x13)
>  piixpm0: interrupting at SMI, polling
>  iic0 at piixpm0: I2C bus
>  ixpide1 at pci0 dev 20 function 1: ATI Technologies IXP IDE Controller
>  (rev. 0x00)
>  ixpide1: bus-master DMA support present
>  ixpide1: primary channel configured to native-PCI mode
>  ixpide1: using ioapic0 pin 16 for native-PCI interrupt
>  atabus2 at ixpide1 channel 0
>  ixpide1: secondary channel configured to native-PCI mode
>  atabus3 at ixpide1 channel 1
>  hdaudio0 at pci0 dev 20 function 2: HD Audio Controller
>  hdaudio0: interrupting at ioapic0 pin 23
>  hdafg0 at hdaudio0: Realtek ALC861-VD
>  hdafg0: DAC00 4ch: Speaker [Built-In], HP Out [Jack]
>  hdafg0: ADC02 2ch: Line In [Jack], Mic In [Jack]
>  hdafg0: 4ch/2ch 44100Hz 48000Hz 96000Hz PCM16 PCM20 PCM24 AC3
>  audio0 at hdafg0: full duplex, playback, capture, mmap, independent
>  pcib0 at pci0 dev 20 function 3: vendor 0x1002 product 0x438d (rev. 0x00)
>  ppb1 at pci0 dev 20 function 4: vendor 0x1002 product 0x4384 (rev. 0x00)
>  pci2 at ppb1 bus 2
>  pci2: i/o space, memory space enabled
>  rtk0 at pci2 dev 6 function 0: Realtek 8139 10/100BaseTX (rev. 0x10)
>  rtk0: interrupting at ioapic0 pin 21
>  rtk0: Ethernet address 00:1d:92:26:cc:44
>  rlphy0 at rtk0 phy 7: Realtek internal PHY
>  rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>  pchb1 at pci0 dev 24 function 0: vendor 0x1022 product 0x1100 (rev. 0x00)
>  pchb2 at pci0 dev 24 function 1: vendor 0x1022 product 0x1101 (rev. 0x00)
>  pchb3 at pci0 dev 24 function 2: vendor 0x1022 product 0x1102 (rev. 0x00)
>  amdnb_misc0 at pci0 dev 24 function 3: AMD NB Misc Configuration
>  amdtemp0 at amdnb_misc0: AMD CPU Temperature Sensors (K8: core rev
>  DH-F2, socket AM2)
>  isa0 at pcib0
>  lpt0 at isa0 port 0x378-0x37b irq 7
>  com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
>  acpicpu0 at cpu0: ACPI CPU
>  acpicpu0: C1: HLT, lat   0 us, pow     0 mW
>  acpicpu0: P0: FFH, lat 100 us, pow 62000 mW, 2000 MHz
>  acpicpu0: P1: FFH, lat 100 us, pow 51885 mW, 1800 MHz
>  acpicpu0: P2: FFH, lat 100 us, pow 19137 mW, 1000 MHz
>  timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
>  uhub0 at usb0: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>  uhub0: 2 ports with 2 removable, self powered
>  uhub1 at usb1: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>  uhub1: 2 ports with 2 removable, self powered
>  uhub2 at usb2: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>  uhub2: 2 ports with 2 removable, self powered
>  uhub3 at usb3: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>  uhub3: 2 ports with 2 removable, self powered
>  uhub4 at usb4: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>  uhub4: 2 ports with 2 removable, self powered
>  uhub5 at usb5: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
>  uhub5: 10 ports with 10 removable, self powered
>  IPsec: Initialized Security Association Processing.
>  wd0 at atabus0 drive 0
>  wd0: <ST380815AS>
>  wd0: drive supports 16-sector PIO transfers, LBA48 addressing
>  wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
>  wd0: 32-bit data port
>  wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
>  wd0(ixpide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
>  atapibus0 at atabus2: 2 targets
>  cd0 at atapibus0 drive 0: <ATAPI   DVD C  DH52C2P, 2007090400126166,
>  MP58> cdrom removable
>  cd0: 32-bit data port
>  cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
>  cd0(ixpide1:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
>  Kernelized RAIDframe activated
>  boot device: wd0
>  root on wd0a dumps on wd0b
>  root file system type: ffs
>  drm: initializing kernel modesetting (RS480 0x1002:0x5974 0x1462:0x7297).
>  drm: register mmio base: 0xfdef0000
>  drm: register mmio size: 65536
>  drm: Generation 2 PCI interface, using max accessible memory
>  radeon0: info: VRAM: 128M 0x0000000078000000 - 0x000000007FFFFFFF (128M used)
>  radeon0: info: GTT: 512M 0x0000000080000000 - 0x000000009FFFFFFF
>  drm: Detected VRAM RAM=80M, BAR=128M
>  drm: RAM width 128bits DDR
>  Zone  kernel: Available graphics memory: 732894 kiB
>  drm: radeon: 128M of VRAM memory ready
>  drm: radeon: 512M of GTT memory ready.
>  drm: GART: num cpu pages 131072, num gpu pages 131072
>  drm: radeon: 4 quad pipes, 1 z pipes initialized.
>  drm: PCIE GART of 512M enabled (table at 0x000000004227C000).
>  radeon0: info: WB enabled
>  radeon0: info: fence driver on ring 0 use gpu addr 0x0000000080000000
>  and cpu addr 0x0xdb7de000
>  drm: Supports vblank timestamp caching Rev 2 (21.10.2013).
>  drm: Driver supports precise vblank timestamp query.
>  radeon0: interrupting at ioapic0 pin 17 (radeon)
>  drm: radeon: irq initialized.
>  drm: Loading R300 Microcode
>  drm: radeon: ring at 0x0000000080001000
>  DRM error in r100_ring_test: radeon: ring test failed
>  (scratch(0x15E4)=0xCAFEDEAD)
>  DRM error in r100_cp_init: radeon: cp isn't working (-22).
>  radeon0: error: failed initializing CP (-22).
>  radeon0: error: Disabling GPU acceleration
>  DRM error in r100_cp_fini: Wait for CP idle timeout, shutting down CP.
>  drm kern warning: Failed to wait GUI idle while programming pipes. Bad
>  things might happen.
>  drm: radeon: cp finalized
>  drm: Radeon Display Connectors
>  drm: Connector 0:
>  drm:   VGA-1
>  drm:   DDC: 0x68 0x68 0x68 0x68 0x68 0x68 0x68 0x68
>  drm:   Encoders:
>  drm:     CRT1: INTERNAL_DAC2
>  radeondrmkmsfb0 at radeon0
>  radeon0: info: registered panic notifier
>  radeondrmkmsfb0: framebuffer at 0xdb800000, size 1440x900, depth 32, stride 5760
>  wsdisplay0 at radeondrmkmsfb0 kbdmux 1: console (default, vt100
>  emulation), using wskbd0
>  wsmux1: connecting to wsdisplay0
>  wsdisplay0: screen 1 added (default, vt100 emulation)
>  wsdisplay0: screen 2 added (default, vt100 emulation)
>  wsdisplay0: screen 3 added (default, vt100 emulation)
>  wsdisplay0: screen 4 added (default, vt100 emulation)
>  
>  
>  
>  On Sat, Aug 27, 2016 at 9:05 AM, Michael <beriah%opensuse.us@localhost> wrote:
>  > The following reply was made to PR port-i386/51403; it has been noted by GNATS.
>  >
>  > From: Michael <beriah%opensuse.us@localhost>
>  > To: gnats-bugs%netbsd.org@localhost
>  > Cc: port-i386-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
>  >         netbsd-bugs%netbsd.org@localhost
>  > Subject: Re: port-i386/51403: NetBSD doesn't recognize my ps/2 mouse
>  > Date: Sat, 27 Aug 2016 09:04:35 -0800
>  >
>  >  Ok, I can look. FWIW, I unplugged the ps/2 mouse and tried an usb
>  >  mouse. It worked fine.
>  >  Also, and I'll follow-up on another email, but tried installing 7.0.1
>  >  on another K8 system and it wouldn't boot, because it didn't recognize
>  >  the cd player :(
>  >
>  >  I'll get back as soon as I can try switching those off in bios.
>  >
>  >  Thanks :)
>  >  Mike
>  >
>  >  On Fri, Aug 26, 2016 at 11:25 PM, David Holland
>  >  <dholland-bugs%netbsd.org@localhost> wrote:
>  >  > The following reply was made to PR port-i386/51403; it has been noted by GNATS.
>  >  >
>  >  > From: David Holland <dholland-bugs%netbsd.org@localhost>
>  >  > To: gnats-bugs%NetBSD.org@localhost
>  >  > Cc:
>  >  > Subject: Re: port-i386/51403: NetBSD doesn't recognize my ps/2 mouse
>  >  > Date: Sat, 27 Aug 2016 07:25:00 +0000
>  >  >
>  >  >  On Fri, Aug 26, 2016 at 09:11:44PM -0800, Michael wrote:
>  >  >   > Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
>  >  >   >     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
>  >  >   >     The NetBSD Foundation, Inc.  All rights reserved.
>  >  >   > [...]
>  >  >
>  >  >  Thanks :-)
>  >  >
>  >  >  The most relevant parts are
>  >  >
>  >  >   > pckbc1 at acpi0 (PS2M, PNP0F13) (aux port): io 0x60,0x64 irq 12
>  >  >
>  >  >  and
>  >  >
>  >  >   > isa0 at pcib0
>  >  >   > lpt0 at isa0 port 0x378-0x37b irq 7
>  >  >   > com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
>  >  >   > pckbc0 at isa0 port 0x60-0x64
>  >  >   > pckbc: cmd word write error
>  >  >
>  >  >  I don't remember how this is supposed to work (had to move to usb mice
>  >  >  everywhere some time back) but I don't think the same pckbc ought to
>  >  >  appear twice as two different instances.
>  >  >
>  >  >  However, I do remember that sometimes this kind of behavior can be
>  >  >  caused by BIOS-level usb mouse stuff; make sure that's switched
>  >  >  off.
>  >  >
>  >  >  --
>  >  >  David A. Holland
>  >  >  dholland%netbsd.org@localhost
>  >  >
>  >
>

Ugh, so sorry for the top posting. Did the dmesg email via website and
didn't pay attention.

Just for kicks, I plugged in a ps/2 keyboard and an usb mouse, enabled
legacy usb mode in bios for the mouse and then started computer and
NetBSD. Once it got to login, the ps/2 keyboard didn't work.
Same thing as when trying ps/2 mouse with usb keyboard.
I just wanted to see what would happen if I switched between ps/2 and
usb for the two devices.

Mike
  



Home | Main Index | Thread Index | Old Index