Alan Stern wrote:
> On Wed, 3 Oct 2012 [email protected] wrote:
>> I am encountering random keyboard and mouse freezes which can only be
>> resolved by a hard reset (by pushing the power switch of the computer
>> case).
[...]
> Please build a kernel with CONFIG_USB_DEBUG enabled. When a hang
> occurs, get a list of hang tasks (Alt-SysRq-w probably won't work, but
> "echo w >/proc/sysrq-trigger" from a network login should). Then send
> the dmesg output
Sebastien: for reference, here's a way to build a kernel with
CONFIG_USB_DEBUG enabled.
# prerequisites
apt-get install git build-essential
# get the kernel history, if you don't already ahve it
git clone \
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
# configure
cd linux
cp /boot/config-$(uname -r) .config; # current configuration
scripts/config --disable DEBUG_INFO
make localmodconfig; # optional: minimize configuration
scripts/config --enable USB_DEBUG
# build, test
make deb-pkg; # can use -j<num> for parallel build
dpkg -i ../<name of package>; # as root
reboot
Thanks,
Jonathan
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html