Skip site navigation (1)Skip section navigation (2)
Date:      03 Apr 2002 20:12:51 +0500
From:      "Vladimir B. " Grebenschikov <vova@express.ru>
To:        Murray Stokely <murray@FreeBSD.org>
Cc:        "current@freebsd.org" <current@freebsd.org>
Subject:   Re: USB mouse problem
Message-ID:  <1017846771.551.33.camel@vbook.express.ru>
In-Reply-To: <20020402080439.GA27387@freebsdmall.com>
References:  <20020330.203828.74753269.jcc00712@nifty.com> <Pine.LNX.4.44.0203301502370.914-100000@ort.lviv.net>  <20020402080439.GA27387@freebsdmall.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, 2002-04-02 at 13:04, Murray Stokely wrote:
> On Sat, Mar 30, 2002 at 03:24:08PM +0200, Andrew Bliznak wrote:
> > On Sat, 30 Mar 2002, Masahide -mac- NODA wrote:
> > 
> > Same here, solid lock, debug key not work. If I setup X to use /dev/ums0
> > computer hang just after startx. All worked with kernel/world from Mar 12.
> 
> "Me too".

And "me too" !

> In my case I use an OmniView USB KVM switch.  When I switch to my
> MacOS X box (which causes the keyboard and mouse to be disconnected
> from the FreeBSD machine), FreeBSD locks solid.
> 
> This was working fine in -CURRENT just 2 weeks ago, and it works fine
> in -STABLE as of today.  One of the recent NetBSD merges must be
> causing this.  Any thoughts, Joe?

Have similar problem, when hub with USB mice&keyboard detached
system freezet at all (even not possible to call DDB)

last console message - USB HUB detach message.


It was really broken about 2 weeks ago, but before (about beggining
syncing with netbsd) detach was broken - so kernel not feel USB detach
events from keybord and mouse. And as result internal keyboard was not
reactivated.

# usbdevs -v
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000),
rev 1.00
 port 1 addr 2: full speed, power 100 mA, config 1, UT-USB41
hub(0x1446), Texas Instruments(0x0451), rev 1.10
  port 1 addr 3: low speed, power 100 mA, config 1, Microsoft
IntelliMouse® Explorer(0x001e), Microsoft(0x045e), rev 1.14
  port 2 addr 4: low speed, power 100 mA, config 1, Keyboard with mouse
port(0x6782), Behavior Tech. Computer(0x046e), rev 1.00
  port 3 powered
  port 4 powered
 port 2 powered

Machine: Notebook SONY VAIO PCG-z505s

 
>        - Murray
-- 
TSB "Russian Express", Moscow
Vladimir B. Grebenschikov, vova@express.ru

[-- Attachment #2 --]

machine		"i386"
ident		VBOOK
maxusers	256

options         INCLUDE_CONFIG_FILE     # Include this file in kernel

cpu		"I486_CPU"
cpu		"I586_CPU"		# aka Pentium(tm)
cpu		"I686_CPU"		# aka Pentium Pro(tm)
options		"COMPAT_43"

#makeoptions	CONF_CFLAGS="-O3 -mpentiumpro -DNO_WERROR"
makeoptions	CONF_CFLAGS=""
#makeoptions     CONF_CFLAGS=-fno-builtin  #Don't allow use of memcmp, etc.

#makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug symbols
#makeoptions    KERNEL=foo              #Build kernel "foo" and install "/foo"

#options	SYSVSHM
#options	SYSVSEM
#options	SYSVMSG

options		UCONSOLE

#options	USERCONFIG		#boot -c editor
#options	VISUAL_USERCONFIG	#visual boot -c editor

options		INET			#Internet communications protocols
device		ether			#Generic Ethernet
device		loop			#Network loopback device
device		bpf	4		#Berkeley packet filter
#device   	vlan	4
device		snp	4		#Snoop device - to look at pty/vty/etc..

options		PPP_BSDCOMP		#PPP BSD-compress support
options		PPP_DEFLATE		#PPP zlib/deflate/gzip support
options		PPP_FILTER		#enable bpf filtering (needs bpfilter)

options		MROUTING		# Multicast routing

options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #print information about dropped packets
options         IPFIREWALL_FORWARD      #enable transparent proxy support
#options	"IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity
options		IPDIVERT		#divert sockets
options		DUMMYNET

options		FFS			#Fast filesystem
#options	NFSSERVER		#Network File System - server
#options	NFSCLIENT		#Network File System - client
# options	NFS_NOSERVER		#Disable the NFS-server code.
options		PSEUDOFS
options		PROCFS			#Process filesystem

options		SOFTUPDATES

# Allow this many swap-devices.
device		scbus	#base SCSI code
device		da	#SCSI direct access devices (aka disks)
device		sa	#SCSI tapes
device		cd	#SCSI CD-ROMs
device		pass	#CAM passthrough driver
options		SCSI_DELAY=2000	

device		pty	32	#Pseudo ttys - can go as high as 256
device		speaker		#Play IBM BASIC-style noises out your speaker
device		gzip		#Exec gzipped a.out's

device		md              # Memory "disks"

device		isa
device		atkbdc 
device		atkbd 1

device		psm
device		vga

device		sc
options		MAXCONS=16		# number of virtual consoles
options 	SC_DFLT_FONT		# compile font in
makeoptions	SC_DFLT_FONT="cp866-vio"
options		SC_HISTORY_SIZE=1024	# number of history buffer lines
#options	SC_DISABLE_REBOOT	# disable reboot key sequence

device          npx
device		aha

device		ata
device		atadisk        # ATA disk drives
device		atapicd        # ATAPI CDROM drives
device		atapifd        # ATAPI floppy drives
device		atapist        # ATAPI tape drives
#options	ATA_STATIC_ID           #Static dev number like old wd driver
#options	IDE_DELAY=2000	# Be optimistic about Joe IDE device

#device		fdc	
device		sio

device		apm
device		pci
device		smbus
device		intpm
device		smb
device		iicbus
device		iicbb
device		ic
device		iic
device		iicsmb	
device          pmtimer

device		ppbus
device		vpo
device		lpt
device		plip
device		ppi
#device		pps
device		lpbb
device		ppc

#options	COMPAT_LINUX
options		"EXT2FS"

options 	KTRACE			#kernel tracing
options 	DDB

device          pcic
device          card
#device          wi
device		random

options         P1003_1B
options         _KPOSIX_PRIORITY_SCHEDULING
options         _KPOSIX_VERSION=199309L

#device          acpica
#options         ACPI_DEBUG

options KBD_INSTALL_CDEV

#device          uhci
#device          ohci
#device          usb
#device          ugen
#device          uhid
#device          ukbd
#device          ulpt
#device          umass
#device          ums

#device firewire
#device fwohci
#device sbp

options		USB_DEBUG
options		DIAGNOSTIC

options		INVARIANTS
options		INVARIANT_SUPPORT

[-- Attachment #3 --]
#hint.fdc.0.at="isa"
#hint.fdc.0.port="0x3F0"
#hint.fdc.0.irq="6"
#hint.fdc.0.drq="2"
#hint.fd.0.at="fdc0"
#hint.fd.0.drive="0"
#hint.ata.0.at="isa"
#hint.ata.0.port="0x1F0"
#hint.ata.0.irq="14"
#hint.ata.1.at="isa"
#hint.ata.1.port="0x170"
#hint.ata.1.irq="15"
#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"
#hint.vga.0.at="isa"
hint.sc.0.at="isa"
hint.sc.0.flags="0x100"
#hint.vt.0.at="isa"
hint.npx.0.at="nexus"
hint.npx.0.port="0x0F0"
hint.npx.0.irq="13"
hint.apm.0.at="nexus"
hint.apm.0.flags="0x20"
hint.apm.0.disabled=1
hint.pmtimer.0.at="isa"
#hint.pcic.0.at="isa"
#hint.pcic.0.irq="10"	# Default to polling
#hint.pcic.0.port="0x3e0"
#hint.pcic.0.maddr="0xd0000"
#hint.pcic.1.at="isa"
#hint.pcic.1.irq="11"
#hint.pcic.1.port="0x3e2"
#hint.pcic.1.maddr="0xd4000"
#hint.pcic.1.disabled="1"
#hint.sio.0.at="isa"
#hint.sio.0.port="0x3F8"
hint.sio.0.flags="0x10"
#hint.sio.0.irq="4"
#hint.sio.1.at="isa"
#hint.sio.1.port="0x2F8"
#hint.sio.1.irq="3"
#hint.sio.2.at="isa"
#hint.sio.2.disabled="1"
#hint.sio.2.port="0x3E8"
#hint.sio.2.irq="5"
#hint.sio.3.at="isa"
#hint.sio.3.disabled="1"
#hint.sio.3.port="0x2E8"
#hint.sio.3.irq="9"
#hint.ppc.0.at="isa"
#hint.ppc.0.irq="7"

[-- Attachment #4 --]
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-CURRENT #11: Mon Apr  1 14:48:28 MSD 2002
    root@vbook.express.ru:/usr/local/src/sys/i386/compile/VBOOK
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0424000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc04240a8.
Preloaded elf module "/boot/kernel/if_ppp.ko" at 0xc04240f8.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc04241a4.
Preloaded elf module "/boot/kernel/snd_neomagic.ko" at 0xc0424250.
Preloaded elf module "/boot/kernel/usb.ko" at 0xc0424304.
Preloaded elf module "/boot/kernel/ugen.ko" at 0xc04243ac.
Preloaded elf module "/boot/kernel/ukbd.ko" at 0xc0424458.
Preloaded elf module "/boot/kernel/ums.ko" at 0xc0424504.
Preloaded elf module "/boot/kernel/umass.ko" at 0xc04245ac.
Preloaded elf module "/boot/kernel/sysvshm.ko" at 0xc0424658.
Preloaded elf module "/boot/kernel/sysvsem.ko" at 0xc0424704.
Preloaded elf module "/boot/kernel/sysvmsg.ko" at 0xc04247b0.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc042485c.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 331580985 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (331.58-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 201261056 (196544K bytes)
avail memory = 190681088 (186212K bytes)
Pentium Pro MTRR support enabled
Using $PIR table, 7 entries at 0xc00fdf50
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD    RSDT  > on motherboard
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <thermal zone> 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: <network, ethernet> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfcb0-0xfcbf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfc60-0xfc7f irq 9 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: Texas Instruments UT-USB41 hub, class 9/0, rev 1.10/1.10, addr 2
uhub1: 4 ports with 4 removable, bus powered
ums0: Microsoft Microsoft IntelliMouse\M-. Explorer, rev 1.10/1.14, addr 3, iclass 3/1
ums0: 5 buttons and Z dir.
ukbd0: Behavior Tech. Computer Keyboard with mouse port, rev 1.00/1.00, addr 4, iclass 3/1
kbd1 at ukbd0
ums1: Behavior Tech. Computer Keyboard with mouse port, rev 1.00/1.00, addr 4, iclass 3/1
ums1: 3 buttons
intpm0: <Intel 82371AB Power management controller> port 0x2180-0x218f irq 9 at device 7.3 on pci0
intpm0: I/O mapped 2180
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus generic I/O> on smbus0
intpm0: PM I/O mapped 8000 
pci0: <display, VGA> at device 8.0 (no driver attached)
pcm0: <NeoMagic 256AV> mem 0xfea00000-0xfeafffff,0xfe000000-0xfe3fffff irq 9 at device 8.1 on pci0
pci0: <serial bus, FireWire> at device 9.0 (no driver attached)
acpi_pcib0: device is routed to IRQ 9
pcic0: <Ricoh RL5C475 PCI-CardBus Bridge> irq 9 at device 10.0 on pci0
pcic0: PCI Memory allocated: 0x44000000
pccard0: <PC Card bus (classic)> on pcic0
pci0: <simple comms> at device 11.0 (no driver attached)
atspeaker0 port 0x61 on acpi0
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
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x140-0x147,0x2f8-0x2ff irq 3 on acpi0
sio1: 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/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_acad0: <AC adapter> on acpi0
orm0: <Option ROMs> at iomem 0xdc000-0xdffff,0xc0000-0xcbfff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
pmtimer0 on isa0
DUMMYNET initialized (011031)
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, unlimited logging
acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%
ata1-slave: timeout waiting for interrupt
ata1-slave: ATA identify failed
ad0: 19077MB <TOSHIBA MK2016GAP> [38760/16/63] at ata0-master UDMA33
ad1: 3MB <MEMORYSTICK 4M 8K> [247/2/16] at ata1-master PIO1
Mounting root from ufs:/dev/ad0s2a
help

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