Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2000 14:13:23 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Randy Bush <randy@psg.com>
Cc:        Brooks Davis <brooks@one-eyed-alien.net>, FreeBSD Laptoppers <freebsd-mobile@FreeBSD.ORG>
Subject:   Re: usb on vaio 505tx
Message-ID:  <20000323141323.B1409@orion.ac.hmc.edu>
In-Reply-To: <E12YFZp-0000D7-00@roam.psg.com>; from randy@psg.com on Fri, Mar 24, 2000 at 06:55:37AM %2B0900
References:  <E12Y7z9-0000JQ-00@roam.psg.com> <200003231857.LAA42461@harmony.village.org> <E12YEzd-00008i-00@roam.psg.com> <20000323133517.B22554@orion.ac.hmc.edu> <E12YFZp-0000D7-00@roam.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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