PDA

View Full Version : [SOLVED] 12.04 Desktop partially freezes with Plantronics headset



jfowlie
May 7th, 2012, 11:34 PM
OK... I've recently installed 12.04. Rather than upgrading my 11.10 x64 install, I installed a new hard drive and did a fresh install of 12.04 while preserving my /home partition.

After completing the installation, I've been confronted with losing control over the windows on my desktop. Everything works correctly for a while, but after some time (sometimes fast, sometimes slow), I am unable to switch windows by mouse or keyboard, I cannot move focus from one tab to another within an application, the Unity launcher no longer responds except to allow me to Alt-F2, after which I can only seem to launch gnome-terminal... all my other applications cannot be found within the dash.

Sometimes I can remote in from my laptop and restart the lightdm service, sometimes I have to hit the reset button.

I've updated absolutely everything. As my /home partition was the one constant, I first cleaned out my .gnome2 settings, a bunch of my .config settings, etc. That didn't help, so I created an entirely new user that seems to have the same problem.

Having just returned to my desktop after it stalled again and I walked away in frustration, it appears to have restored control.

I've scanned logs hoping that something would stick out... but my eyes are so glazed over, I'm not sure I'd recognize the Loch Ness monster in there.

Late note:
The only thing that appears out of the blue is this line in the Xorg.0.log:

[dix] Plantronics Plantronics Savi 7xx: unable to find touch point 0

On seeing this I unplugged my Savi headset from USB, Compiz immediately advised that it had crashed, and full control to my desktop appears to have been restored. The Savi worked flawlessly with 11.10, so I hadn't thought of that as a potential issue.

OK... so now what do I do? Why would Compiz be hung up because of my USB sound device?

Thanks,
--James

jfowlie
June 26th, 2012, 12:11 AM
No ideas? I'm continuing to have the issue despite trying all kinds of things.

Once I have the USB device installed and sound playing, my ability to switch windows disappears. As soon as I unplug the device, my desktop works properly again.

Thanks,
--James

rbeede
August 2nd, 2012, 04:14 PM
I have the same problem (Ubuntu and Fedora). I had to do the following:

sudo rmmod snd_usb_audio

I also blacklisted the module so it wouldn't activate the device.

This does not fully stop it from freezing the system. It simply stops auto-activation of the headset at boot so I have a chance to redirect it before my USB locks.

I do use it by attaching the USB device directly to a VMWare instance. This unloads it from Linux kernel direct control and allows me to use it in a Windows guest VM.


Not even moving my mouse & keyboard to a different USB controller (USB 3.0) with the Plantronics on USB 2.0 helped. It must be a kernel issue with the USB data this device is shooting out.

rbeede
August 2nd, 2012, 04:18 PM
Some info from my log when I plug it in, activate the PC link, and unplug it.

Aug 2 10:16:39 rodney kernel: [ 4923.065538] usb 1-1.4.1.2: new full-speed USB device number 13 using ehci_hcd
Aug 2 10:16:39 rodney kernel: [ 4923.155035] usb 1-1.4.1.2: New USB device found, idVendor=047f, idProduct=ac11
Aug 2 10:16:39 rodney kernel: [ 4923.155046] usb 1-1.4.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug 2 10:16:39 rodney kernel: [ 4923.155053] usb 1-1.4.1.2: Product: Plantronics Savi 7xx-M
Aug 2 10:16:39 rodney kernel: [ 4923.155058] usb 1-1.4.1.2: Manufacturer: Plantronics
Aug 2 10:16:40 rodney kernel: [ 4923.305988] input: Plantronics Plantronics Savi 7xx-M as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1.2/1-1.4.1.2:1.3/input/input28
Aug 2 10:16:40 rodney kernel: [ 4923.306971] generic-usb 0003:047F:AC11.000D: input,hiddev0,hidraw2: USB HID v1.11 Device [Plantronics Plantronics Savi 7xx-M] on usb-0000:00:1a.0-1.4.1.2/input3
Aug 2 10:16:40 rodney logger: loading HP Device 001 013
Aug 2 10:16:40 rodney mtp-probe: checking bus 1, device 13: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1.2"
Aug 2 10:16:40 rodney mtp-probe: bus: 1, device: 13 was not an MTP device
Aug 2 10:17:32 rodney kernel: [ 4975.589731] usb 1-1.4.1.2: USB disconnect, device number 13

rbeede
August 2nd, 2012, 04:20 PM
My kernel:

3.4.6-2.fc17.x86_64

jfowlie
August 3rd, 2012, 12:49 AM
Here's my syslog:

Aug 2 16:44:31 erin kernel: [622041.104957] usb 5-1: new full-speed USB device number 6 using xhci_hcd
Aug 2 16:44:31 erin mtp-probe: checking bus 5, device 6: "/sys/devices/pci0000:00/0000:00:1c.4/0000:07:00.0/usb5/5-1"
Aug 2 16:44:31 erin kernel: [622041.233222] 6:1:1: cannot get freq at ep 0x4
Aug 2 16:44:31 erin kernel: [622041.247211] 6:2:1: cannot get freq at ep 0x84
Aug 2 16:44:31 erin mtp-probe: bus: 5, device: 6 was not an MTP device
Aug 2 16:44:31 erin kernel: [622041.464158] input: Plantronics Plantronics Savi 7xx as /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/usb5/5-1/5-1:1.3/input/input11
Aug 2 16:44:31 erin kernel: [622041.464448] generic-usb 0003:047F:AC01.0006: input,hiddev0,hidraw3: USB HID v1.11 Device [Plantronics Plantronics Savi 7xx] on usb-0000:07:00.0-1/input3
Aug 2 16:44:32 erin kernel: [622041.775873] 6:1:1: cannot get freq at ep 0x4
Aug 2 16:44:32 erin kernel: [622041.790936] 6:2:1: cannot get freq at ep 0x84
Aug 2 16:44:32 erin kernel: [622041.850820] 6:2:1: cannot get freq at ep 0x84
Aug 2 16:44:32 erin kernel: [622041.886785] 6:1:1: cannot get freq at ep 0x4
Aug 2 16:44:32 erin pulseaudio[4353]: [pulseaudio] sink.c: Default and alternate sample rates are the same.
Aug 2 16:44:32 erin rtkit-daemon[2843]: Successfully made thread 29787 of process 4353 (n/a) owned by '1000' RT at priority 5.
Aug 2 16:44:32 erin rtkit-daemon[2843]: Supervising 6 threads of 1 processes of 1 users.
Aug 2 16:44:32 erin kernel: [622041.913830] 6:2:1: cannot get freq at ep 0x84
Aug 2 16:44:32 erin rtkit-daemon[2843]: Successfully made thread 29788 of process 4353 (n/a) owned by '1000' RT at priority 5.
Aug 2 16:44:32 erin rtkit-daemon[2843]: Supervising 7 threads of 1 processes of 1 users.
Aug 2 16:44:45 erin kernel: [622054.762623] usb 5-1: USB disconnect, device number 6


I'm still back at 3.2.0-27-generic x86_64

Unfortunately, I've had to just leave the Savi unplugged for now. It was creating too many issues.

Thanks for the input!

--James

yarozar
August 10th, 2012, 01:30 PM
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/1006156

P.S.: I have exactly same situation

jfowlie
August 28th, 2012, 11:38 PM
OK... here's the solution as found on rodneybeede.com:

http://www.rodneybeede.com/Plantronics_Savi_7xx-M_and_Linux_mouse_or_lockup_problems.html

Basically, the Plantronics Savi reports itself as a sond card, mouse and keyboard. The solution is to modify the xorg.conf to ignore the mouse and keyboard aspects by adding the following:

Section "InputClass"
Identifier "Plantronics"
MatchVendor "Plantronics"
Option "Ignore" "true"
EndSection

It seems to work for me!

Thanks to everyone who tried to help,
--James