From owner-FreeBSD-users-jp@jp.FreeBSD.org Thu Dec  9 02:25:17 2004
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id iB8HPHB30158;
	Thu, 9 Dec 2004 02:25:17 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from mx07.ms.so-net.ne.jp (mx07.ms.so-net.ne.jp [202.238.82.7])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id iB8HPH830153
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Thu, 9 Dec 2004 02:25:17 +0900 (JST)
	(envelope-from kawadai@zf7.so-net.ne.jp)
Received: from 61-22-129-179.rev.home.ne.jp. (61-22-129-179.rev.home.ne.jp [61.22.129.179])
	by mx07.ms.so-net.ne.jp  with ESMTP id iB8HPAu8007129
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Thu, 9 Dec 2004 02:25:10 +0900 (JST)
Message-Id: <200412081725.iB8HPAu8007129@mx07.ms.so-net.ne.jp>
From: Kawaguchi Daisuke <kawadai@zf7.so-net.ne.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Disposition: inline
User-Agent: Mutt/1.4.2.1i
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Thu, 9 Dec 2004 02:25:12 +0900
X-Sequence: FreeBSD-users-jp 82054
Subject: [FreeBSD-users-jp 82054] USB Keyboard on 5.3 Release
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: kawadai@zf7.so-net.ne.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+041128


$B@n8}$H$$$$$^$9!#=i$a$^$7$F!#(B
$BLkJ,CY$/$K<:Ni$7$^$9!#>/$7$*CN7C$rGR<Z$7$?$/!"Ej9FCW$7$^$7$?!#(B


  $BEvJ}!"(BDell $B$N%N!<%H%Q%=%3%s(B Inspiron 1100 $B$K$F(BFreeBSD 5.3 Release
$B$rF0$+$7$F$*$j$^$9!#(B
  $B=>Mh!"(BFreeBSD 5.2.1 Release$B$rF0$+$7$F$*$j$^$7$F!"@hF|(B5.3$B$K>e$2$^$7$?!#(B
$B$9$k$H!"(B5.2.1$B;~Be$K;H$($F$$$?(BUSB$B%-!<%\!<%I$,;H$($J$/$J$k!"$H$$$&>I>u(B
$B$,H/@8CW$7$^$7$?!#%-!<%\!<%I$O(BArvel$B$N(BUSB$BF|K\8l%U%k%-!<%\!<%I!&%a%+%K%+%k(B
$B%b%G%k(B ($B7?HV(BDPK713US-WH) $B$G$9!#(B

  boot$B8e$K%-!<%\!<%I$rA^$7$^$9$H(B

ukbd0: USB Keyboard USB Keyboard, rev 1.10/1.01, addr 2, iclass 3/1
usbd_setup_pipe: failed to start endpoint, IOERROR
kbd1 at ukbd0
uhid0: Myson Technology product 0x0022, rev 1.10/1.01, addr 2, iclass 3/1
uhid0: no report descriptior
device_attach: uhid0 attach returned 6

$B$H%a%C%;!<%8$,=P$^$9!#(B
  $B%-!<%\!<%I$N!V(BNumLock$B!W%2!<%8$K%i%s%W$,Et$C$F$$$k$N$G!"DLEE$O$7$F$$(B
$B$^$9$,!"F~NO$r<u$1IU$1$^$;$s!#$^$?!"(BUSB$B%-!<%\!<%I$rA^$9$HF1;~$KK\BN$N(B
$B%-!<%\!<%I$bF~NO$r<u$1IU$1$J$$>uBV$H$J$j$^$9!#(B
  $B;vA0$K(BUSB$B%-!<%\!<%I$rA^$7$?>uBV$G(Bboot$B$5$;$F$b!">I>u$OF1MM$G$"$j$^$7(B
$B$F!"(Blogin: $B%W%m%s%W%H$,=P$k$^$G$O@5>o$J$N$G$9$,!"$=$N8e%-!<%\!<%I$+$i(B
$B$NF~NO$,0l@Z$G$-$J$/$J$j$^$9!#(BUSB$B%-!<%\!<%I$K$D$$$F$O!"!V(BNumLock$B!W%2!<(B
$B%8$,E@Et$7DLEE$O$7$F$$$k$b$N$NF~NO$O<u$1IU$1$:!"$^$?K\BN$N%-!<%\!<%I$b(B
$B;H$($^$;$s!#(B

  $B$J$*!"F~NO$r<u$1IU$1$J$/$J$C$?(BUSB$B%-!<%\!<%I$rH4$-$^$9$H!"(Bkernel panic
$B$r5/$3$7$^$9!#(B

  USB$B5!4o$,0l@Z%@%a$+!"$H$$$&$H$=$&$G$b$J$/!"(BUSB$B%^%&%9$NJ}$O2?$iLdBj(B
$B$J$/;HMQ$G$-$F$$$^$9!#$^$?7o$N%-!<%\!<%I<+BN$K$D$$$F$b!"(BWindows$B%^%7%s(B
$B$KA^$7$^$9$H!"LdBj$J$/;HMQ$G$-$F$*$j$^$9!#(B
  USB$B%G%P%$%9$O!"%+!<%M%k$KD>@\AH$_9~$s$G$*$j!"%m!<%@%V%k%b%8%e!<%k$O(B
$B;HMQ$7$F$$$^$;$s!#$"$H!"(B5.3 Release$B$N(BErrata $B$K$O(B

For FreeBSD/i386 and FreeBSD/amd64, when installing FreeBSD 5.3 using an USB
Keyboard the keyboard will stop working once the kernel boots, because a PS/2
keyboard is always considered to be attached. As a workaround, select ``Escape
 to loader prompt'' in the boot loader menu and enter the following lines 
at the prompt:

set hint.atkbd.0.flag="0x1"
boot

Note that if you use the boot floppies, this is set by default.
 
After the installation, add the following line to /boot/loader.conf:

hint.atkbd.0.flags="0x1"

$B$H=q$$$F$"$C$?$N$G;n$7$F$_$^$7$?$,!"8z2L$O$"$j$^$;$s$G$7$?!#(B

$B!t$H$3$m$G$3$N%U%i%0@_Dj$O!"(B/boot/device.hints $B$G$O$J$/$F(B /boot/loader.conf
$B!t$G$h$$$N$G$7$g$&$+!D!D!)(B

  USB$B%-!<%\!<%I$,;H$($k$h$&$K$J$l$P$H$F$b4r$7$$$N$G!"$=$NJ}K!$,$"$k$+(B
$B$I$&$+!"$*CN7C$r$*<Z$j$7$?$/!":#2sEj9F$7$?<!Bh$G$9!#8f=u8@D:$1$^$9$J$i$P!"(B
$B9,?S$G$"$j$^$9!#(B

  $B;29M$^$G$K!"0J2<$K%^%7%s$N7?HV!&4D6-$H(Bdmesg $B5Z$S(B usbdevs -v $B$N=PNO!"(B
kernel configuration file$B$rE:IUCW$7$^$9!#(B


 Machine: Dell Inspiron 1100 
(http://jpapp1.jp.dell.com/jp/downloads/pdf/catalog/Inspiron1100.pdf)
 BIOS: A-31
(http://support.jp.dell.com/jp/jp/download/document.asp?dn=302469)
 OS: FreeBSD 5.3 Release 
 USB Keyboard: Arvel USB$BF|K\8l%U%k%-!<%\!<%I!&%a%+%K%+%k%b%G%k(B (DPK713US-WH)
(http://www.arvel.co.jp/equip/key/ukey/dpk713uswh.html)


:dmesgs $B=PNO(B
$B"((BUSB$B%-!<%\!<%I$rA^$7$?>uBV$G(Bboot.

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.3-RELEASE #2: Tue Dec  7 23:00:56 JST 2004
    kawadai@river:/usr/src/sys/i386/compile/KAWADAI
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.00GHz (1993.54-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
real memory  = 259821568 (247 MB)
avail memory = 244588544 (233 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL CPi R  > on motherboard
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
ACPI link \\_SB_.PCI0.LNKB has invalid initial irq 11, ignoring
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82845G (845G GMCH) SVGA controller> mem 0xf6f80000-0xf6ffffff,0xe0000000-0xe7ffffff irq 11 at device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xbf80-0xbf9f irq 11 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801DB (ICH4) 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: Primax Electronics product 0x4d03, rev 1.00/4.41, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xbf40-0xbf5f irq 11 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801DB (ICH4) 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: USB Keyboard USB Keyboard, rev 1.10/1.01, addr 2, iclass 3/1
usbd_setup_pipe: failed to start endpoint, IOERROR
kbd1 at ukbd0
uhid0: USB Keyboard USB Keyboard, rev 1.10/1.01, addr 2, iclass 3/1
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xbf20-0xbf3f irq 11 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801DB (ICH4) 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
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib1
bfe0: <Broadcom BCM4401 Fast Ethernet> mem 0xfcffe000-0xfcffffff irq 5 at device 1.0 on pci2
miibus0: <MII bus> on bfe0
bmtphy0: <BCM4401 10/100baseTX PHY> on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bfe0: Ethernet address: 00:0d:56:ea:a0:25
bfe0: [GIANT-LOCKED]
cbb0: <TI1510 PCI-CardBus Bridge> at device 4.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0xbfa0-0xbfaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pcm0: <Intel ICH4 (82801DB)> port 0xcc40-0xcc7f,0xc800-0xc8ff mem 0xf6f7f400-0xf6f7f4ff,0xf6f7f800-0xf6f7f9ff irq 5 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <SigmaTel STAC9750/51 AC97 Codec>
pci0: <simple comms> at device 31.6 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x66,0x62,0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
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 1993539164 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding disabled, default to deny, logging limited to 100 packets/entry by default
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
acd0: CDRW <QSI CD-RW/DVD-ROM SBW242U/UD25> at ata0-master UDMA33
ad2: 19077MB <IC25N020ATMR04-0/MO1OAD0A> [38760/16/63] at ata1-master UDMA100
Mounting root from ufs:/dev/ad2s4a



:usbdevs -v $B=PNO(B

Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 addr 2: low speed, power 100 mA, config 1, product 0x4d03(0x4d03), Primax Electronics(0x0461), rev 4.41
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 addr 2: low speed, power 100 mA, config 1, product 0x0022(0x0022), Myson Technology(0x04cf), rev 1.01
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered



:kernel configuration file

#
# KAWADAI -- KAWADAI kernel configuration file for FreeBSD/i386
#
# FreeBSD: src/sys/i386/conf/KAWADAI,v 3 2004/12/7 

machine		i386
cpu		I486_CPU
cpu		I586_CPU
cpu		I686_CPU
ident		KAWADAI

# To statically compile in device wiring instead of /boot/device.hints
#hints		"GENERIC.hints"		# Default places to look for devices.

options 	SCHED_4BSD		# 4BSD scheduler
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
options 	MD_ROOT			# MD is a potential root device
options 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
options 	MSDOSFS			# MSDOS Filesystem
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_GPT		# GUID Partition Tables.
options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
options 	SCSI_DELAY=15000	# Delay (in ms) before probing SCSI
options 	KTRACE			# ktrace(1) support
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~128k to driver.
options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~215k to driver.
options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.

options		IPFIREWALL		# firewall
options		IPFIREWALL_VERBOSE	# enable logging to syslogd(8)
options		IPFIREWALL_VERBOSE_LIMIT=100	# limit verbosity
options		IPDIVERT		# divert sockets

device		apic		# I/O APIC

# Bus support.  Do not remove isa, even if you have no isa slots
device		isa
device		eisa
device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
device		ataraid		# ATA RAID drives
device		atapicd		# ATAPI CDROM drives
device		atapifd		# ATAPI floppy drives
device		atapist		# ATAPI tape drives
options 	ATA_STATIC_ID	# Static device numbering

# SCSI Controllers
device		ahb		# EISA AHA1742 family
device		ahc		# AHA2940 and onboard AIC7xxx devices
device		ahd		# AHA39320/29320 and onboard AIC79xx devices
device		amd		# AMD 53C974 (Tekram DC-390(T))
device		isp		# Qlogic family
device		mpt		# LSI-Logic MPT-Fusion
#device		ncr		# NCR/Symbios Logic
device		sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')
device		trm		# Tekram DC395U/UW/F DC315U adapters

device		adv		# Advansys SCSI adapters
device		adw		# Advansys wide SCSI adapters
device		aha		# Adaptec 154x SCSI adapters
device		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
device		bt		# Buslogic/Mylex MultiMaster SCSI adapters

device		ncv		# NCR 53C500
device		nsp		# Workbit Ninja SCSI-3
device		stg		# TMC 18C30/18C50

# SCSI peripherals
device		scbus		# SCSI bus (required for SCSI)
device		ch		# SCSI media changers
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)
device		ses		# SCSI Environmental Services (and SAF-TE)

# RAID controllers interfaced to the SCSI subsystem
device		amr		# AMI MegaRAID
device		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
device		ciss		# Compaq Smart RAID 5*
device		dpt		# DPT Smartcache III, IV - See NOTES for options
device		hptmv		# Highpoint RocketRAID 182x
device		iir		# Intel Integrated RAID
device		ips		# IBM (Adaptec) ServeRAID
device		mly		# Mylex AcceleRAID/eXtremeRAID
device		twa		# 3ware 9000 series PATA/SATA RAID

# RAID controllers
device		aac		# Adaptec FSA RAID
device		aacp		# SCSI passthrough for aac (requires CAM)
device		ida		# Compaq Smart RAID
device		mlx		# Mylex DAC960 family
device		pst		# Promise Supertrak SX6000
device		twe		# 3ware ATA RAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		vga		# VGA video card driver

device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc

# Enable this for the pcvt (VT220 compatible) console driver
#device		vt
#options 	XSERVER		# support for X server on a vt console
#options 	FAT_CURSOR	# start with block cursor

device		agp		# support several AGP chipsets

# Floating point support - do not disable.
device		npx

# Power management support (see NOTES for more options)
#device		apm
# Add suspend/resume support for the i8254.
device		pmtimer

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device		cbb		# cardbus (yenta) bridge
device		pccard		# PC Card (16-bit) bus
device		cardbus		# CardBus (32-bit) bus

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to the sio and/or ppc drivers):
#device         puc


# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		bfe		# Broadcom BCM440x 10/100 Ethernet
device		rl		# RealTek 8129/8139

# 'device ed' requires 'device miibus'
device		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards

# Pseudo devices.
device		loop		# Network loopback
device		mem		# Memory and kernel memory devices
device		io		# I/O device
device		random		# Entropy device
device		ether		# Ethernet support
device		sl		# Kernel SLIP
device		ppp		# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
device		gif		# IPv6 and IPv4 tunneling
device		faith		# IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device		bpf		# Berkeley packet filter

# USB

device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
device		urio		# Diamond Rio 500 MP3 player
device		uscanner	# Scanners

