From owner-freebsd-mobile Fri Mar 24 2:36:59 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from bluebottle.calcaphon.com (calcaphon.demon.co.uk [193.237.19.5]) by hub.freebsd.org (Postfix) with ESMTP id B3CBE37B686 for ; Fri, 24 Mar 2000 02:36:44 -0800 (PST) (envelope-from n_hibma@calcaphon.com) Received: from calcaphon.com (nhibma01.calcaphon.com [10.0.0.26]) by bluebottle.calcaphon.com (8.9.3/8.9.1) with ESMTP id KAA31132; Fri, 24 Mar 2000 10:39:14 GMT (envelope-from n_hibma@calcaphon.com) Message-ID: <38DB45D2.2A8B1076@calcaphon.com> Date: Fri, 24 Mar 2000 10:39:14 +0000 From: Nick Hibma X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Brooks Davis Cc: Randy Bush , FreeBSD Laptoppers Subject: Re: usb on vaio 505tx References: <200003231857.LAA42461@harmony.village.org> <20000323133517.B22554@orion.ac.hmc.edu> <20000323141323.B1409@orion.ac.hmc.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Moused dies when the filehandle is closed by ums. The CURRENT entry for the ethernet cards is: # The entry for the kue and aue ethernet interface drivers. device "USB ethernet" devname "[ak]ue[0-9]+" attach "dhclient ${DEVNAME}" detach "killall dhclient" Hope this helps. Nick Brooks Davis wrote: > On Fri, Mar 24, 2000 at 06:55:37AM +0900, Randy Bush wrote: > > > That shouldn't be necessicary is you use moused. One of the really cool > > > things about moused is that you can have an arbitrary number of mice > > > whose input is aggrigated. Just always run a moused for the builtin and > > > have usbd start one on insert (I think it might already.) > > > > actually, if the usb mouse is unpluggd and then plugged in again, moused > > things it is useless, i.e. no action. > > moused can't be expected to handle reattachment properly, it looks like > the standard entry in usbd.conf doesn't have the necessicary detach > entry. This entierly untested line may do it: > > detach "kill `cat /var/run/moused.$(DEVNAME}.pid`" > > Actually, while I'm looking at the file, I notice that the USB ether net > entry is kinda bogus too. It should probably be: > > device "USB ethernet" > devname "[ack]ue[0-9]+" > attach "dhclient -pf /var/run/dhclient.${DEVNAME}.pid ${DEVNAME}" > detach "kill `cat /var/run/dhclient.${DEVNAME}.pid`" > > Otherwise, if you have a system with multiple devices using dhcp you're > screwed when you remove one of them. > > -- Brooks > > -- > Any statement of the form "X is the one, true Y" is FALSE. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message