From owner-freebsd-usb@FreeBSD.ORG Sat Jul 21 09:55:39 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6A0816A417; Sat, 21 Jul 2007 09:55:39 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.freebsd.org (Postfix) with ESMTP id 8ECFB13C4A6; Sat, 21 Jul 2007 09:55:39 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1ICBgT-0000SZ-LV; Sat, 21 Jul 2007 13:55:33 +0400 From: Vladimir Grebenschikov To: Mark Hobden In-Reply-To: References: <1184929509.1415.10.camel@localhost> <1184946870.1356.2.camel@localhost> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Sat, 21 Jul 2007 13:55:32 +0400 Message-Id: <1185011732.1420.4.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: uhidev(4) update - USB HID driver level for devices with multiple report ids X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2007 09:55:39 -0000 =F7 =D3=C2, 21/07/2007 =D7 01:55 +0100, Mark Hobden =D0=C9=DB=C5=D4: > Thanks for helping me track this down, I had managed to leave > out that that ums, ukbd & uhid depend on usb as well as uhidev > (this was previously in a macro). This upset trying to kldload the > modules. >=20 > I have uploaded a new patch over the old one. People only need > this update though if they do not have 'device usb' in their kernel > config file. >=20 > http://www.terinea.co.uk/~mark/patches/uhidev-7-current-p2.diff Hm, a bit better, but ... If I boot with connect mice and disconnected keyboard - everything goes right. I can connect keyboard after boot and it works, mice works also. But If I've boot with connected USB keyboard - system panics: Fatal trap 12: page fault while in kernel mode Stopped ar usbd_clear_endpoint_stall_async+0xb: movl 0x3(%ebx), %esi db> tr ehci_waitintr ehci_device_intr_start ehci_device_intr_transfer usbd_start_transfer bus_dmap_load usbd_transfer usbd_open_pipe_intr uhidev_open ukbd_enable_intr ukbd_init ukbd_attach device_attach uhidev_attach device_attach usb_new_device uhub_explore uhub_explore usb_attach ehci_pci_attach device_attach bus_generic_attach ... Sorry, manually retyped back-trace db> panic just refuses to write dump. Side question - what is "right" way to setup dump device for kernel boot ? http://freebsd-man.page2go2.com/man8/loader_8.html loader's dumpdev - looks not working. > Mark --=20 Vladimir B. Grebenschikov vova@fbsd.ru