Reply
 
Thread Tools Display Modes
  #1  
Old 07-22-2012, 05:11 PM
pcbsd64 pcbsd64 is offline
Member
 
Join Date: Aug 2009
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default usb mouse not working after logout on 9.1beta1
I just installed PCBSD9.1 BETA1 and I have this unusual problem with my usb mouse dying after I log out. I works fine when I first boot up, but when log out of a window manager it stops and I have to reboot to get it back. It wasn't a problem when I was using PCBSD 9.0.

my xorg.conf

Code:
Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "Buttons" "6"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons"
EndSection
__________________
PcBSD 9.1 LXDE/spectrwm Home page

Last edited by pcbsd64; 07-22-2012 at 05:15 PM.
Reply With Quote
  #2  
Old 07-22-2012, 05:31 PM
purgatori purgatori is offline
Senior Member
 
Join Date: May 2010
Posts: 234
Thanks: 6
Thanked 15 Times in 14 Posts
Default
What output do you get if you run something like:

Code:
$ cat /var/log/Xorg.0.log | grep -e mouse

(I'm sure someone will pick me up on this; I'm no grepxpert :P )
__________________
My Blog About Emacs and (PC)BSD
Promethean Machines
Reply With Quote
  #3  
Old 07-22-2012, 05:34 PM
pcbsd64 pcbsd64 is offline
Member
 
Join Date: Aug 2009
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Code:
[chris@pcbsd64] ~% cat /var/log/Xorg.0.log | grep -e mouse
[    19.870] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    24.237] (==) NVIDIA(0): Silken mouse enabled
[    25.299] (II) LoadModule: "mouse"
[    25.301] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[    25.308] (II) Module mouse: vendor="X.Org Foundation"
[    25.309] (II) Using input driver 'mouse' for 'Multimedia Hub Keyboard'
[    25.309] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[    25.341] (II) Using input driver 'mouse' for 'USB Optical Mouse'
[    25.341] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
__________________
PcBSD 9.1 LXDE/spectrwm Home page
Reply With Quote
  #4  
Old 07-22-2012, 05:46 PM
purgatori purgatori is offline
Senior Member
 
Join Date: May 2010
Posts: 234
Thanks: 6
Thanked 15 Times in 14 Posts
Default
It looks to (my non-expert eyes) as if Xorg is trying to use the input driver "mouse" for both your keyboard, and your mouse. I wouldn't be surprised if that was the source of the problem. Have you tried using a different keyboard/mouse combination?
__________________
My Blog About Emacs and (PC)BSD
Promethean Machines
Reply With Quote
  #5  
Old 07-22-2012, 06:12 PM
pcbsd64 pcbsd64 is offline
Member
 
Join Date: Aug 2009
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default
I have just replaced my keyboard and successfully logged out and back in 3 times without losing mouse control. Thanks purgatori.

EDIT

I guess I spoke too soon. It just died again. I have a usb to ps2 adapter but I get a

Code:
unable to open /dev/psm0: No such file or directory
error when I start moused, so I can't use a ps2 mouse.

I use spectrwm as a window manager and can do a lot with the keyboard, but it would be nice to be able to click sometimes.

I wonder what changed between 9.0 and 9.1 BETA 1.

EDIT

I have 2 usb to ps2 adapters one green one purple. That's the only difference. They are electrically identical though the purple one was sold as a "keyboard" adapter.

I was able to plug my keyboard into the ps2 connector and now my usb mouse is working.
Code:
[chris@pcbsd64] ~% cat /var/log/Xorg.0.log | grep -e mouse
[  1953.203] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  1955.191] (==) NVIDIA(0): Silken mouse enabled
[  1955.927] (II) LoadModule: "mouse"
[  1955.929] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[  1955.929] (II) Module mouse: vendor="X.Org Foundation"
[  1955.930] (II) Using input driver 'mouse' for 'USB Optical Mouse'
[  1955.930] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so

EDIT

I spoke too soon once more. My mouse died again. However, after using both usb to ps2 adapters to connect both keyboard and mouse to the ps2 connectors, they both work through logouts and I don't get the

Code:
unable to open /dev/psm0: No such file or directory

error anymore.

Code:
[chris@pcbsd64] ~% cat /var/log/Xorg.0.log | grep -e mouse
[    21.053] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    24.979] (==) NVIDIA(0): Silken mouse enabled
[    26.069] (II) LoadModule: "mouse"
[    26.071] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[    26.073] (II) Module mouse: vendor="X.Org Foundation"
[    26.073] (II) Using input driver 'mouse' for 'PS/2 Mouse'
[    26.073] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[    26.074] (**) Option "Device" "/dev/sysmouse"
__________________
PcBSD 9.1 LXDE/spectrwm Home page

Last edited by pcbsd64; 07-23-2012 at 07:13 AM. Reason: new results
Reply With Quote
  #6  
Old 07-22-2012, 09:27 PM
pcbsd64 pcbsd64 is offline
Member
 
Join Date: Aug 2009
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Originally Posted by pcbsd64 View Post
Code:
unable to open /dev/psm0: No such file or directory
All I can find about this is
Code:
atkbdc0: <Keyboard controller (i8042)> failed to probe at port 0x60 on isa0
and something about /boot/device.hints

I wish I had a hint about what will allow me the use of moused.

EDIT

This moused error has been solved by using ps2 inputs for both keyboard and mouse, but the fact that I can't use a usb mouse and usb keyboard after the upgrade from 9.0 to 9.1 BETA 1 still remains an issue.
__________________
PcBSD 9.1 LXDE/spectrwm Home page

Last edited by pcbsd64; 07-23-2012 at 07:18 AM.
Reply With Quote
  #7  
Old 07-23-2012, 03:39 AM
purgatori purgatori is offline
Senior Member
 
Join Date: May 2010
Posts: 234
Thanks: 6
Thanked 15 Times in 14 Posts
Default
I'm afraid that I'm a little out of my depth on this stuff. I've always been bad with hardware-related matters, and that's partly why I'm using PCBSD instead of FreeBSD in the first place :P

I'm glad that you've got some kind of working setup now, but perhaps someone more knowledgeable will be able to weigh in and shed some light on what's going on here. Like you, I don't know what could have changed in the upgrade from 9.0 to 9.1-beta that could produce such an effect.
__________________
My Blog About Emacs and (PC)BSD
Promethean Machines
Reply With Quote
  #8  
Old 07-23-2012, 03:48 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default usb mouse not working after logout on 9.1beta1
With the old mouse connected, try this out. Edit /etc/rc.conf and change
fastboot_enable to NO. Then reboot, and test again. Do you still have
mouse issues?
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #9  
Old 07-23-2012, 06:39 PM
pcbsd64 pcbsd64 is offline
Member
 
Join Date: Aug 2009
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Originally Posted by kmoore134 View Post
With the old mouse connected, try this out. Edit /etc/rc.conf and change
fastboot_enable to NO. Then reboot, and test again. Do you still have
mouse issues?
I edited /etc/rc.conf changing fastboot_enable to NO, powered down, and reconnected the mouse and keyboard to the usb ports, but when I restarted there was a error message about recovering vi sessions, sendmail and an invalid hostname. Then after sleeping and waiting to retry it finished booting.

I rebooted several times with the mouse and keyboard connected to both the ps2 and usb ports, each time with the same errors and halting boot process until I re-edited /etc/rc.conf changing fastboot_enable to YES. Then I was able to boot normally.

I'm not sure if the issue of the mouse dying was solved by this edit since it had previously lived through several logouts before dying in previous attempts to correct the problem.

I am also content to use the ps2 ports for mouse and keyboard since they are the same hardware connected through usb to ps2 adapters and this free's up 2 usb ports for other use.

i thought of trying this edit before when I was posting my /etc/rc.conf in the start of this thread and noticed the "fastboot" line, but decided that sacrificing a 'fastboot" wasn't an equitable trade-off for the use of my usb ports by my mouse and keyboard.

I would be happy to test your theory, though, if you can help my fix the boot error first. I am not very comfortable operating with the edit since it didn't boot properly. I had changed my hostname to pcbsd64 after installing. Maybe the boot error is related to this change.
__________________
PcBSD 9.1 LXDE/spectrwm Home page
Reply With Quote
  #10  
Old 07-24-2012, 03:03 AM
purgatori purgatori is offline
Senior Member
 
Join Date: May 2010
Posts: 234
Thanks: 6
Thanked 15 Times in 14 Posts
Default
Fastboot is just skipping those errors, but they're still there.

1. Run "$ hostname" and check that the value returned is the same as the one you have specified in /etc/rc.conf

2. Run "$ vi -r" which will list the files that could potentially be recovered; if any of these are important/whatever edit them with the same switch, and check that everything is as expected. If you still get these errors on startup, you may want to look into clearing out /var/tmp/vi.recover/

3. You haven't specified enough information to know what the problem with sendmail might be, but that shouldn't be delaying your system during boot anyway -- either hostname or vi are the more likely culprits.
__________________
My Blog About Emacs and (PC)BSD
Promethean Machines

Last edited by purgatori; 07-24-2012 at 03:12 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:22 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.