Date: Sat, 5 Feb 2005 14:11:44 -0800 From: Randy Bush <randy@psg.com> To: Gert Cuykens <gert.cuykens@gmail.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: logitec usb wireless mouse Message-ID: <16901.17568.508077.730828@ran.psg.com> References: <16901.13269.509134.918380@ran.psg.com> <ef60af0905020513187f3ad841@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> usbd_enable="YES"
yep. and the keyboard would not have worked without that
> ifconfig_rl0="DHCP"
> saver="blank"
> blanktime="300"
not relevant, i hope
> moused_enable="NO"
hmmm. i use moused all the time, as i switch back and forth from
touchpad to usb.
> Section "InputDevice"
> Identifier "Mouse0"
> Driver "mouse"
> Option "Protocol" "auto"
> Option "Device" "/dev/sysmouse"
> Option "ZAxisMapping" "4 5"
> Option "Buttons" "5"
> EndSection
ahhhh. usbd is running moused for you. i hacked /etc/usbd.conf to
have
device "Mouse"
devname "ums[0-9]+"
attach "/usr/bin/killall moused; /usr/sbin/moused -p /dev/ums0 -t auto; /usr/sbin/vidcontrol -m on"
detach "/usr/bin/killall moused; /usr/sbin/moused -p /dev/psm0 -t auto; /usr/sbin/vidcontrol -m on"
device "Logitech Cordless Keyboard"
devname "ukbd0"
attach "/usr/sbin/kbdcontrol -k /dev/kbd1 < /dev/console"
detach "/usr/sbin/kbdcontrol -k /dev/kbd0 < /dev/console"
this switches back and forth between the built-in keyboard and the
usb keyboard brilliantly. but the mouse has a will of its own.
so then i have
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
EndSection
again, the keyboard works, and usbdevs shows me
port 2 addr 2: low speed, power 98 mA, config 1, \
USB Receiver(0xc50b), Logitech(0x046d), rev 21.00
and syslog shows
ukbd0: Logitech USB Receiver, rev 1.10/21.00, addr 2, iclass 3/1
kbd1 at ukbd0
ums0: Logitech USB Receiver, rev 1.10/21.00, addr 2, iclass 3/1
ums0: 7 buttons and Z dir.
and, when i plug the usb in, i see
root 41884 0.0 0.1 1348 748 ?? Ss 2:07PM 0:00.00 /usr/sbin/moused -p /dev/ums0 -t auto
randy, still confused
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16901.17568.508077.730828>
