Re: quest for USB only mouse operation

2007-12-28 Thread KAYVEN RIESE


darn  {:( no go.  here is what i have in there now

moused_enable=YES
#moused_ums_enable=NO
#moused_port=/dev/ums0
#moused_type=auto

logged on, i can fix it with these two commands:

killall moused
moused -p /dev/ums0

or wait.. i can't.  i'm confused again:

kv_bsd# killall moused
kv_bsd# moused -p /dev/ums0
kv_bsd# killall moused
kv_bsd# moused -p /dev/psm0
moused: unable to open /dev/psm0: Device busy
kv_bsd# killall moused
No matching processes were found
kv_bsd# moused -p /dev/psm0
moused: unable to open /dev/psm0: Device busy
kv_bsd# moused -p /dev/ums0
kv_bsd#

On Fri, 28 Dec 2007, Callum Gibson wrote:


On 26Dec07 10:38, KAYVEN RIESE wrote:

moused_enable=YES
moused_port=/dev/ums0
moused_type=auto


Have you tried (in /etc/rc.conf):

moused_psm_enable=NO
moused_ums_enable=YES

which should disable moused on the /dev/psm0 port but leave it running
on the usb port.

   C

--

Callum Gibson @ home
http://members.optusnet.com.au/callumgibson/



*--*
  Kayven Riese, BSCS, MS (Physiology and Biophysics)
  (415) 902 5513 cellular
  http://kayve.net
  Webmaster http://ChessYoga.org
*--*
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quest for USB only mouse operation

2007-12-28 Thread KAYVEN RIESE

On Sat, 29 Dec 2007, Callum Gibson wrote:



moused_enable=YES
moused_psm_enable=NO


both mice are on after reboot  {:(


BTW, are you testing this at the console rather than in X11? Get it working
there first, as there are additional settings which could affect things
once you start X.


i'm not sure how to do this.  gnome comes up on startup.



   C

--

Callum Gibson @ home
http://members.optusnet.com.au/callumgibson/



*--*
  Kayven Riese, BSCS, MS (Physiology and Biophysics)
  (415) 902 5513 cellular
  http://kayve.net
  Webmaster http://ChessYoga.org
*--*
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quest for USB only mouse operation

2007-12-28 Thread KAYVEN RIESE

On Sat, 29 Dec 2007, Callum Gibson wrote:


On 28Dec07 14:09, KAYVEN RIESE wrote:

Ok, as far as I can tell you want a moused on ums, but not psm.

}It seems to me that it gets confusing, depending on how rc.conf is
}set on startup, but from dmesg output that seems to be the case:
}kv_bsd# dmesg | grep psm
}psm0: PS/2 Mouse irq 12 on atkbdc0
}psm0: [GIANT-LOCKED]
}psm0: model Generic PS/2 mouse, device ID 0
}kv_bsd# dmesg | grep ums
}ums0: vendor 0x Macally Optigo USB Mouse, rev 1.10/6.30, addr 2, iclass
}3/1
}ums0: 3 buttons and Z dir.

Those are just devices, not moused's. If you ps axw | grep moused you
can see the moused processes, one for each device.


i understand that, but i was giving this information to beat the dead
horse about the fact that psm0 for lack of a better guess is the touchpad,
while the information on ums0 matches brandnames printed on my USB mouse
(in addition to it being labeled USB)

here is an online photo album with 3 pictures showing this information:

http://www.monkeyview.net/id/965/fsck/mousie/index.vhtml

in case yer interested  {:)




BTW, are you testing this at the console rather than in X11? Get it
working
there first, as there are additional settings which could affect things
once you start X.

}gnome fires up on startup.. umm.. i have to control backspace out or
}something?  {:P i am a little newbie-ish on some of this stuff, sorry.

My replies will be a bit sporadic now - got to have breakfast and get on
with the day.

Ok, let's determine that there is only one moused running to start with
using the ps method above and worry about X later. If you can get it down
to one moused at boot you will be half way there. If you find the touchpad
still operates after that, then X is going to the psm device direct.



oh jeez

kv_bsd# ps axw | grep moused
  957  ??  Ss 0:01.58 /usr/sbin/moused -p /dev/ums0
 1066  p1  RV 0:00.00 grep moused (csh)
kv_bsd#


i just realized that the mice are currently working correctly..

{:/ but this has happened before..

kv_bsd# head -12 /etc/rc.conf

# -- sysinstall generated deltas -- # Sun Dec  2 03:03:56 2007
# -- sysinstall generated deltas -- # Sun Dec  2 10:47:16 2007
# Created: Sun Dec  2 10:47:16 2007
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
linux_enable=YES
moused_enable=YES
moused_psm0_port=/dev/null
#moused_port=/dev/ums0
#moused_type=auto
kv_bsd#

it's probably fine that you are going to go sporadic on me for
the moment because i don't feel like rebooting at the moment.




   C

--

Callum Gibson @ home
http://members.optusnet.com.au/callumgibson/



*--*
  Kayven Riese, BSCS, MS (Physiology and Biophysics)
  (415) 902 5513 cellular
  http://kayve.net
  Webmaster http://ChessYoga.org
*--*
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quest for USB only mouse operation

2007-12-26 Thread KAYVEN RIESE

On Wed, 19 Dec 2007, KAYVEN  RIESE wrote:



i have an ASUS laptop that i have photodocumented excessively:

http://www.monkeyview.net/id/965/fsck/index.vhtml

e.g. model decal:

http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtml

i am trying to disable the touchpad mouse that i accidentally
brush and instead make my Macally Optigo

http://www.monkeyview.net/id/965/fsck/mousie/index.vhtml

USB mouse the only way to move my gnome pointer (i hope
i shouldn't have tried the gnome list, but this seems
sort of hardware-y)

at the command line this operation was successsful:


killall moused
moused -p /dev/ums0

here is a process display (prompt is kv_bsd#)

kv_bsd# ps -A | grep moused
 527  ??  Ss 0:02.02 /usr/sbin/moused -p /dev/ums0 -t auto -I 
/var/run/moused.ums0.pid

 718  ??  Is 0:00.01 /usr/sbin/moused -p /dev/psm0 -t auto
kv_bsd#

the goal here, is to getting this working on startup. we tried
editing a config file catted below:

kv_bsd# cat /etc/rc.conf

# -- sysinstall generated deltas -- # Sun Dec  2 03:03:56 2007
# -- sysinstall generated deltas -- # Sun Dec  2 10:47:16 2007
# Created: Sun Dec  2 10:47:16 2007
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
linux_enable=YES
moused_enable=YES
moused_port=/dev/ums0
moused_type=auto
gdm_enable=YES
sshd_enable=YES
ntpdate_flags=ntp1.mainecoon.com
ntpdate_enable=YES
usbd_enable=YES
ifconfig_bge0=inet 192.168.0.2 netmask 255.255.255.0
defaultrouter=192.168.0.1
hostname=kv_bsd
tcp_extensions=YES
kv_bsd#


but that caused the touchpad to be dominant, i.e. the USB
mouse no longer works at all.

(an aside.. before someone tells me to do it in the
BIOS, i don't think i can.  however, i have taken pictures
of all the windows of my BIOS here:

http://www.monkeyview.net/id/965/fsck/bios/index.vhtml)

tried this:

echo /usr/bin/killall moused ; sleep 1 ; /usr/sbin/moused -p /dev/ums0  
/usr/local/etc/rc.d/usbmouse


here is some dmesg info:

kv_bsd# dmesg | grep mouse
psm0: model Generic PS/2 mouse, device ID 0
kv_bsd#


what follows is cut from dmesg

psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0

more dmesg.. that's the mousie i want right there

ums0: vendor 0x Macally Optigo USB Mouse, rev 1.10/6.30, addr 2, iclass 
3/1

ums0: 3 buttons and Z dir.

and this didn't work either:


System-Preferences-Sessions

THen the Startup Programs tab, the Add button and then add this one:
/usr/local/etc/rc.d/usbmouse


more things i tried

kv_bsd# ps -A | grep mouse
 529  ??  Is 0:00.01 /usr/sbin/moused -p /dev/ums0 -t auto -I 
/var/run/mou

 959  p0  I+ 0:00.01 vi /usr/local/etc/rc.d/usbmouse
kv_bsd# ps -A | grep mouse
 529  ??  Is 0:00.01 /usr/sbin/moused -p /dev/ums0 -t auto -I 
/var/run/moused.ums0.pid

 959  p0  I+ 0:00.01 vi /usr/local/etc/rc.d/usbmouse
 963  p1  S+ 0:00.00 grep mouse
kv_bsd# dmseg | grep ums
dmseg: Command not found.
kv_bsd# dmesg | grep ums
ums0: vendor 0x Macally Optigo USB Mouse, rev 1.10/6.30, addr 2, iclass 
3/1

ums0: 3 buttons and Z dir.
kv_bsd# moused -p /dev/ums0
moused: unable to open /dev/ums0: Device busy
kv_bsd# moused -p /dev/psm0
moused: unable to open /dev/psm0: Device busy
kv_bsd#

i hope i wasn't too lengthy about it  {:P

*--*
 Kayven Riese, BSCS, MS (Physiology and Biophysics)
 (415) 902 5513 cellular
 http://kayve.net
 Webmaster http://ChessYoga.org
*--*



*--*
  Kayven Riese, BSCS, MS (Physiology and Biophysics)
  (415) 902 5513 cellular
  http://kayve.net
  Webmaster http://ChessYoga.org
*--*
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]