[OpenIndiana-discuss] possible to modify the log file location for CRON?

2017-08-02 Thread Jerry Kemp
Wondering if it is possible to change/configure the directory location for cron 
from the stock /var/cron/log location to somewhere else.


Looking at the man page, All I really see as configurable is that logging can be 
turned off in the /etc/default/cron file.  The PATH environmental variable can 
also be set here.


I also ran strings across the 'cron' binary, in hopes of turning up something. 
If it is/was there, I missed it.


Is it possible to configure the cron log file location using the 'as supplied' 
cron daemon that ships with OpenIndiana?


Thanks,

Jerry

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] debugging mouse freeze/lockup

2017-08-02 Thread Jerry Kemp

Hello Tim,

thanks for posting this.  It doesn't happen frequently, but I have been fighting 
the same issue.  Gigabyte MB, Sun/Oracle type 7 USB keyboard and Sun Crossbow 
USB 3 button mouse.  Nvidia GeForce GTX 460 SE frame buffer.


NVIDIA driver version 295.75.

I will look specifically for your Xorg log error next time this happens to my 
desktop.


Jerry


On 08/ 2/17 05:09 PM, Tim Mooney wrote:


All-

I'm looking for information on how to debug an issue where periodically
the mouse pointer will freeze and become unresponsive.  The rest of the
system appears fine and I can still use keyboard shortcuts to switch
workspaces, close windows, and get to the point where I can reboot the
system.

I'm running hipster, last updated about 3 weeks ago, but this problem
has been happening for a couple years, going all the way back to oi151a9.

Hardware is a Dell Precision T3600 desktop, Nvidia GPU.  I've tried a
couple of different mice -- both Dell USB mice, but much different models.
The current mouse is a low-end Dell USB with 2 buttons + the middle
scroll-wheel that also acts as a button.

When the problem happened earlier today, after rebooting I found
this in Xorg.0.log.old:

[1140791.839] mouse: Device no longer present - removing.
[1140791.855] (WW) mouse: cannot pop module 'usbms' off mouse device: No such
device
[1140791.855] (WW) mouse: cannot pop module 'usbms' off mouse device: No such
device
[1140791.855] (II) UnloadModule: "mouse"

This is what that same Xorg.0.log.old had to say when the mouse was
originally detected & configured at the previous boot-up:

[66.479] (II) NVIDIA(0): [DRI2] Setup complete
[66.479] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[66.479] (--) RandR disabled
[66.518] (II) Initializing extension GLX
[66.518] (II) Indirect GLX disabled.(II) config/hal: Adding input device 
mouse
[67.267] (II) LoadModule: "mouse"
[67.267] (II) Loading /usr/lib/xorg/modules/input/amd64/mouse_drv.so
[67.285] (II) Module mouse: vendor="X.Org Foundation"
[67.285]compiled for 1.18.4, module version = 1.9.2
[67.285]Module class: X.Org XInput Driver
[67.285]ABI class: X.Org XInput driver, version 22.1
[67.285] (II) Using input driver 'mouse' for 'mouse'
[67.285] (**) mouse: always reports core events
[67.285] (**) Option "Protocol" "VUID"
[67.285] (**) Option "Device" "/dev/usb/hid0"
[67.285] (**) Option "StreamsModule" "usbms"
[67.286] (**) mouse: Protocol: "VUID"
[67.286] (**) mouse: always reports core events
[67.286] (==) mouse: Emulate3Buttons, Emulate3Timeout: 50
[67.286] (**) mouse: ZAxisMapping: buttons 4 and 5
[67.286] (**) mouse: Buttons: 9
[67.286] (**) Option "config_info"
"hal:/org/freedesktop/Hal/devices/pci_0_0/pci1028_497_1d/hub_1/mouse_5_if0_10_logicaldev_input"

[67.286] (II) XINPUT: Adding extended input device "mouse" (type: MOUSE, id 
6)
[67.286] (**) mouse: (accel) keeping acceleration scheme 1
[67.286] (**) mouse: (accel) acceleration profile 0
[67.286] (**) mouse: (accel) acceleration factor: 2.000
[67.286] (**) mouse: (accel) acceleration threshold: 4
[67.291] (II) config/hal: Adding input device mouse
[67.291] (II) Using input driver 'mouse' for 'mouse'
[67.291] (**) mouse: always reports core events
[67.292] (**) Option "Protocol" "VUID"
[67.292] (**) Option "Device" "/dev/usb/hid2"
[67.292] (**) Option "StreamsModule" "usbms"
[67.292] (**) mouse: Protocol: "VUID"
[67.292] (**) mouse: always reports core events
[67.292] (==) mouse: Emulate3Buttons, Emulate3Timeout: 50
[67.292] (**) mouse: ZAxisMapping: buttons 4 and 5
[67.292] (**) mouse: Buttons: 9
[67.292] (**) Option "config_info"
"hal:/org/freedesktop/Hal/devices/pci_0_0/pci1028_497_1a/hub_1/device_4/mouse_1_if1_12_logicaldev_input"

[67.292] (II) XINPUT: Adding extended input device "mouse" (type: MOUSE, id 
7)
[67.292] (**) mouse: (accel) keeping acceleration scheme 1
[67.293] (**) mouse: (accel) acceleration profile 0
[67.293] (**) mouse: (accel) acceleration factor: 2.000
[67.293] (**) mouse: (accel) acceleration threshold: 4


Log messages after that are for hotkey/kbd.

Most of the hits I've found on the net have related to laptops and USB
devices that are being powered down to save power, but this is a
workstation that is always on power.

Any suggestions for what I should do to debug the issue?

Thanks,

Tim


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] debugging mouse freeze/lockup

2017-08-02 Thread Bob Friesenhahn

On Wed, 2 Aug 2017, Tim Mooney wrote:


Most of the hits I've found on the net have related to laptops and USB
devices that are being powered down to save power, but this is a
workstation that is always on power.


Just because you have a burly workstation does not mean that the OS 
does not try to power down devices similar to a laptop.  Your mouse 
may still be being power managed and might not like being power 
managed.


I had the same problem with a Windows 10 PC until I disabled power 
management.


Check your /etc/power.conf file.  I have this in my power.conf:

device-thresholds   /dev/usb/hid0   always-on
device-thresholds   /dev/usb/hid1   always-on
device-thresholds   /dev/usb/hid2   always-on
device-thresholds   /dev/usb/hid3   always-on

Do something similar for your mouse device.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,http://www.GraphicsMagick.org/

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] debugging mouse freeze/lockup

2017-08-02 Thread Tim Mooney


All-

I'm looking for information on how to debug an issue where periodically
the mouse pointer will freeze and become unresponsive.  The rest of the
system appears fine and I can still use keyboard shortcuts to switch
workspaces, close windows, and get to the point where I can reboot the
system.

I'm running hipster, last updated about 3 weeks ago, but this problem
has been happening for a couple years, going all the way back to oi151a9.

Hardware is a Dell Precision T3600 desktop, Nvidia GPU.  I've tried a
couple of different mice -- both Dell USB mice, but much different models.
The current mouse is a low-end Dell USB with 2 buttons + the middle
scroll-wheel that also acts as a button.

When the problem happened earlier today, after rebooting I found
this in Xorg.0.log.old:

[1140791.839] mouse: Device no longer present - removing.
[1140791.855] (WW) mouse: cannot pop module 'usbms' off mouse device: No such 
device
[1140791.855] (WW) mouse: cannot pop module 'usbms' off mouse device: No such 
device
[1140791.855] (II) UnloadModule: "mouse"

This is what that same Xorg.0.log.old had to say when the mouse was
originally detected & configured at the previous boot-up:

[66.479] (II) NVIDIA(0): [DRI2] Setup complete
[66.479] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[66.479] (--) RandR disabled
[66.518] (II) Initializing extension GLX
[66.518] (II) Indirect GLX disabled.(II) config/hal: Adding input device 
mouse
[67.267] (II) LoadModule: "mouse"
[67.267] (II) Loading /usr/lib/xorg/modules/input/amd64/mouse_drv.so
[67.285] (II) Module mouse: vendor="X.Org Foundation"
[67.285]compiled for 1.18.4, module version = 1.9.2
[67.285]Module class: X.Org XInput Driver
[67.285]ABI class: X.Org XInput driver, version 22.1
[67.285] (II) Using input driver 'mouse' for 'mouse'
[67.285] (**) mouse: always reports core events
[67.285] (**) Option "Protocol" "VUID"
[67.285] (**) Option "Device" "/dev/usb/hid0"
[67.285] (**) Option "StreamsModule" "usbms"
[67.286] (**) mouse: Protocol: "VUID"
[67.286] (**) mouse: always reports core events
[67.286] (==) mouse: Emulate3Buttons, Emulate3Timeout: 50
[67.286] (**) mouse: ZAxisMapping: buttons 4 and 5
[67.286] (**) mouse: Buttons: 9
[67.286] (**) Option "config_info" 
"hal:/org/freedesktop/Hal/devices/pci_0_0/pci1028_497_1d/hub_1/mouse_5_if0_10_logicaldev_input"
[67.286] (II) XINPUT: Adding extended input device "mouse" (type: MOUSE, id 
6)
[67.286] (**) mouse: (accel) keeping acceleration scheme 1
[67.286] (**) mouse: (accel) acceleration profile 0
[67.286] (**) mouse: (accel) acceleration factor: 2.000
[67.286] (**) mouse: (accel) acceleration threshold: 4
[67.291] (II) config/hal: Adding input device mouse
[67.291] (II) Using input driver 'mouse' for 'mouse'
[67.291] (**) mouse: always reports core events
[67.292] (**) Option "Protocol" "VUID"
[67.292] (**) Option "Device" "/dev/usb/hid2"
[67.292] (**) Option "StreamsModule" "usbms"
[67.292] (**) mouse: Protocol: "VUID"
[67.292] (**) mouse: always reports core events
[67.292] (==) mouse: Emulate3Buttons, Emulate3Timeout: 50
[67.292] (**) mouse: ZAxisMapping: buttons 4 and 5
[67.292] (**) mouse: Buttons: 9
[67.292] (**) Option "config_info" 
"hal:/org/freedesktop/Hal/devices/pci_0_0/pci1028_497_1a/hub_1/device_4/mouse_1_if1_12_logicaldev_input"
[67.292] (II) XINPUT: Adding extended input device "mouse" (type: MOUSE, id 
7)
[67.292] (**) mouse: (accel) keeping acceleration scheme 1
[67.293] (**) mouse: (accel) acceleration profile 0
[67.293] (**) mouse: (accel) acceleration factor: 2.000
[67.293] (**) mouse: (accel) acceleration threshold: 4


Log messages after that are for hotkey/kbd.

Most of the hits I've found on the net have related to laptops and USB
devices that are being powered down to save power, but this is a
workstation that is always on power.

Any suggestions for what I should do to debug the issue?

Thanks,

Tim
--
Tim Mooney tim.moo...@ndsu.edu
Enterprise Computing & Infrastructure  701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building  701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss