Date: Fri, 24 Mar 2000 10:39:14 +0000 From: Nick Hibma <n_hibma@calcaphon.com> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: Randy Bush <randy@psg.com>, FreeBSD Laptoppers <freebsd-mobile@freebsd.org> Subject: Re: usb on vaio 505tx Message-ID: <38DB45D2.2A8B1076@calcaphon.com> 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> <20000323141323.B1409@orion.ac.hmc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38DB45D2.2A8B1076>
