Re: [stable-9] Touchpad mouse stopped working

2012-05-17 Thread A.J. "Fonz" van Werven
Tom Evans wrote:

> Did you mean the mouse doesn't move in xorg, or on the console? If in
> xorg, have you seen this thread on x11@?

First: thanks to everyone for their input.

Second: to answer your question, the problem occurs both in X and on the
console (with or without X running), both with or without a USB mouse
plugged in. When plugged in, the USB mouse works just fine in any case.

I've followed the suggestion of rebuilding x11-drivers/xf86-input-mouse,
but it doesn't make a difference and I'm inclined to say the problem is
most likely not X-related.

Fonz

-- 
Obsig: developing a new sig
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: [stable-9] Touchpad mouse stopped working

2012-05-17 Thread Warren Block

On Thu, 17 May 2012, Tom Evans wrote:


On Thu, May 17, 2012 at 3:29 PM, Warren Block  wrote:

On Thu, 17 May 2012, Tom Evans wrote:

This doesn't work for me, I need working hald as I plug and unplug
keyboards and mice each time I take my laptop out of its dock,



There might be some hardware thing in your setup that requires hald, but I
do manage to hot-connect external USB mice without HAL installed.  One
notebook needed moused_enable, but that's all.  Can't recall whether that
one even has InputDevice sections in xorg.conf.  I'll post the config in a
bit.


Yes, moused is exceptional in that regard, but my main issue is
attaching/detaching keyboards. Most of my time, I use a PS/2 Model M,
connected to a laptop dock with a USB<->PS/2 adaptor. I need that when
I undock, I can use the laptop keyboard, and when I redock, that I get
back my external keyboard.

I suppose the equivalent to sysmouse/moused is kbdmux, but with hald
and older Xorg, this did just DTRT.

PS: I just read to the end of the thread, Warren your config looks
interesting if it can handle hotplugging keyboards. I will give this a
try this evening, I also want to do some testing to see if the state
in hald changes between xorg restarts.


A USB keyboard here just worked; kbdmux lets you type on either or both. 
Unfortunately, the notebook does not have a PS2 port*, and I don't have 
a dock for it, so USB is all I can test.



* Yes, I'll happily hot-connect PS2 keyboards and laugh at the danger of 
doing so!  Bwahahaha!___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: [stable-9] Touchpad mouse stopped working

2012-05-17 Thread Tom Evans
On Thu, May 17, 2012 at 3:29 PM, Warren Block  wrote:
> On Thu, 17 May 2012, Tom Evans wrote:
>> This doesn't work for me, I need working hald as I plug and unplug
>> keyboards and mice each time I take my laptop out of its dock,
>
>
> There might be some hardware thing in your setup that requires hald, but I
> do manage to hot-connect external USB mice without HAL installed.  One
> notebook needed moused_enable, but that's all.  Can't recall whether that
> one even has InputDevice sections in xorg.conf.  I'll post the config in a
> bit.

Yes, moused is exceptional in that regard, but my main issue is
attaching/detaching keyboards. Most of my time, I use a PS/2 Model M,
connected to a laptop dock with a USB<->PS/2 adaptor. I need that when
I undock, I can use the laptop keyboard, and when I redock, that I get
back my external keyboard.

I suppose the equivalent to sysmouse/moused is kbdmux, but with hald
and older Xorg, this did just DTRT.

Cheers

Tom

PS: I just read to the end of the thread, Warren your config looks
interesting if it can handle hotplugging keyboards. I will give this a
try this evening, I also want to do some testing to see if the state
in hald changes between xorg restarts.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: [stable-9] Touchpad mouse stopped working

2012-05-17 Thread Albert Shih
 Le 17/05/2012 ? 13:01:55+0200, A.J. "Fonz" van Werven a écrit
> After moving from 9.0-RELEASE to 9-STABLE yesterday, the touchpad mouse on
> my netbook stopped working. When I do
> # /etc/rc.d/moused onestart
> the pointer appears and can be moved for a second or two, then it stops
> responding. Any thoughts?
> 
> $ uname -a
> FreeBSD ace.skysmurf.nl 9.0-STABLE FreeBSD 9.0-STABLE #0: Thu May 17 10:49:00 
> CEST 2012 r...@ace.skysmurf.nl:/usr/obj/usr/src/sys/GENERIC  i386

I've something close too.

I don't known exactly when, I post the first message at 27 april. But since
the new version of Xorg or/and 9-Stable I definitely my ... external mouse.

The touchpad working fine but when I plug a usb mouse on my laptop the
kernel seem to see the mouse but he don't work. 

Same problem on my second laptop, both are Dell.

Regards.

JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
xmpp: j...@obspm.fr
Heure local/Local time:
jeu 17 mai 2012 17:26:30 CEST
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: [stable-9] Touchpad mouse stopped working

2012-05-17 Thread Warren Block
This is the config file I use.  Hot-connect works for USB mice and 
keyboards.  Comments included for completeness.



From rc.conf:


dbus_enable="YES"
moused_enable="YES"

Without running moused from rc.conf, only one of the mice would work at 
a time.


HAL is not installed, so the AutoAddDevices setting is unnecessary but 
kept as a reminder.  The double monitor entries and Virtual setting are 
for using an external projector.  Note that all the InputDevice stuff is 
commented.  xorg doesn't need it.


xorg.conf:

Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
#   InputDevice"Mouse0" "CorePointer"
#   InputDevice"Keyboard0" "CoreKeyboard"
Option "DontZap" "On"
Option "AutoAddDevices" "Off"
EndSection

Section "Files"
ModulePath   "/usr/local/lib/xorg/modules"
EndSection

#Section "InputDevice"
#   Identifier  "Keyboard0"
#   Driver  "kbd"
#EndSection

#Section "InputDevice"
#   Identifier  "Mouse0"
#   Driver  "mouse"
#   Option  "Protocol" "auto"
#   Option  "Device" "/dev/sysmouse"
#   Option  "ZAxisMapping" "4 5 6 7"
#EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "AUO"
Option "Position" "0 0"
EndSection

Section "Monitor"
Identifier "Monitor1"
Option "Above" "LVDS"
#Option "Position" "0 800"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # []
#Option "SWcursor"# []
#Option "ColorKey"# 
#Option "CacheLines"  # 
#Option "Dac6Bit" # []
#Option "DRI" # []
#Option "NoDDC"   # []
#Option "ShowCache"   # []
#Option "XvMCSurfaces"# 
#Option "PageFlip"# []
Identifier  "Card0"
Driver  "intel"
VendorName  "Intel Corporation"
BoardName   "Mobile GM965/GL960 Integrated Graphics Controller 
(primary)"
BusID   "PCI:0:2:0"
Option  "Monitor-LVDS" "Monitor0"
Option  "Monitor-VGA"  "Monitor1"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
SubSection "Display"
Viewport   0 0
Depth 24
Virtual 1280 2080
EndSubSection
EndSection
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: [stable-9] Touchpad mouse stopped working

2012-05-17 Thread nickolasbug
2012/5/17 Tom Evans :

> /usr/local/etc/rc.d/gdm onestart ; sleep 20 ; /usr/local/etc/rc.d/gdm 
> onerestart
>
> Normally after it has restarted once, X can finally talk to hald and
> find the mice and keyboards.

I have the same problem.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: [stable-9] Touchpad mouse stopped working

2012-05-17 Thread Warren Block

On Thu, 17 May 2012, Tom Evans wrote:


On Thu, May 17, 2012 at 12:01 PM, A.J. "Fonz" van Werven
 wrote:

After moving from 9.0-RELEASE to 9-STABLE yesterday, the touchpad mouse on
my netbook stopped working. When I do
# /etc/rc.d/moused onestart
the pointer appears and can be moved for a second or two, then it stops
responding. Any thoughts?

$ uname -a
FreeBSD ace.skysmurf.nl 9.0-STABLE FreeBSD 9.0-STABLE #0: Thu May 17 10:49:00 
CEST 2012     r...@ace.skysmurf.nl:/usr/obj/usr/src/sys/GENERIC  i386



Did you mean the mouse doesn't move in xorg, or on the console? If in
xorg, have you seen this thread on x11@?

http://lists.freebsd.org/pipermail/freebsd-x11/2012-April/011756.html
http://lists.freebsd.org/pipermail/freebsd-x11/2012-May/011851.html

The proposed solution is to set AutoAddDevices off, so that hald is
not used to enumerate mice/keyboards, and instead rely on explicitly
configuring them in your xorg.conf.

This doesn't work for me, I need working hald as I plug and unplug
keyboards and mice each time I take my laptop out of its dock,


There might be some hardware thing in your setup that requires hald, but 
I do manage to hot-connect external USB mice without HAL installed.  One 
notebook needed moused_enable, but that's all.  Can't recall whether 
that one even has InputDevice sections in xorg.conf.  I'll post the 
config in a bit.___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: [stable-9] Touchpad mouse stopped working

2012-05-17 Thread Tom Evans
On Thu, May 17, 2012 at 12:01 PM, A.J. "Fonz" van Werven
 wrote:
> After moving from 9.0-RELEASE to 9-STABLE yesterday, the touchpad mouse on
> my netbook stopped working. When I do
> # /etc/rc.d/moused onestart
> the pointer appears and can be moved for a second or two, then it stops
> responding. Any thoughts?
>
> $ uname -a
> FreeBSD ace.skysmurf.nl 9.0-STABLE FreeBSD 9.0-STABLE #0: Thu May 17 10:49:00 
> CEST 2012     r...@ace.skysmurf.nl:/usr/obj/usr/src/sys/GENERIC  i386
>
> Fonz
>

Did you mean the mouse doesn't move in xorg, or on the console? If in
xorg, have you seen this thread on x11@?

http://lists.freebsd.org/pipermail/freebsd-x11/2012-April/011756.html
http://lists.freebsd.org/pipermail/freebsd-x11/2012-May/011851.html

The proposed solution is to set AutoAddDevices off, so that hald is
not used to enumerate mice/keyboards, and instead rely on explicitly
configuring them in your xorg.conf.

This doesn't work for me, I need working hald as I plug and unplug
keyboards and mice each time I take my laptop out of its dock, so
instead I boot to console, and run this ugly hack:

/usr/local/etc/rc.d/gdm onestart ; sleep 20 ; /usr/local/etc/rc.d/gdm onerestart

Normally after it has restarted once, X can finally talk to hald and
find the mice and keyboards.

Cheers

Tom
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: [stable-9] Touchpad mouse stopped working

2012-05-17 Thread Sean Bruno
On Thu, 2012-05-17 at 04:01 -0700, A.J. "Fonz" van Werven wrote:
> After moving from 9.0-RELEASE to 9-STABLE yesterday, the touchpad mouse on
> my netbook stopped working. When I do
> # /etc/rc.d/moused onestart
> the pointer appears and can be moved for a second or two, then it stops
> responding. Any thoughts?
> 
> $ uname -a
> FreeBSD ace.skysmurf.nl 9.0-STABLE FreeBSD 9.0-STABLE #0: Thu May 17 10:49:00 
> CEST 2012 r...@ace.skysmurf.nl:/usr/obj/usr/src/sys/GENERIC  i386
> 
> Fonz
> 

Just a me too from my perspective.  I'm currently trying to rebuild
ports/x11-drivers/xf86-input-[mouse|keyboard] as that seems to have
failed to have been rebuilt properly during a recent portupgrade.

Sean

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"