treeder / logitech_unifier

A program to pair devices to a Logitech Unifying Receiver on Linux.
355 stars 49 forks source link

Error: 32 #13

Open AnimeshSaraswat opened 8 years ago

AnimeshSaraswat commented 8 years ago

I ran both auto pair and the long procedure to connect the devices, but it always gave an error saying "Broken Pipe" and "Error: 32" I have a device Logitech M185.

srpatatas commented 8 years ago

I got the same error, using Logitech M310 and Ubuntu 14.04.03

Lekensteyn commented 8 years ago

You will get EPIPE (Broken pipe) errors when you write to the wrong device. Have you tried ltunify (https://lekensteyn.nl/logitech-unifying.html#ltunify) or Solaar?

AnimeshSaraswat commented 8 years ago

@Lekensteyn both the software's you mentioned above are meant for the UNIFYING receiver, where as this thread mentions how a NON-UNIFYING receiver as well as a UNIFYING receive can be used to connect with other mouse. Unfortunately I tried both of them and have been unsuccessful in achieving the desired result.

Lekensteyn commented 8 years ago

@AnimeshSaraswat Doesn't matter, the base protocol seems also applicable for non-unifying. Please try removing the receiver and reinserting, run the dmesg | tail -n20 command and copy the last entries after inserting the receiver. It will probably mention some /dev/hidrawX devices.

klimmiks commented 8 years ago

Maybe this will help? I am having the same issue - looks like several USB devices with the same name?

[ 1396.774297] usb 2-3.3: USB disconnect, device number 10
[ 1400.043634] usb 2-3.3: new full-speed USB device number 12 using xhci_hcd
[ 1400.134651] usb 2-3.3: New USB device found, idVendor=046d, idProduct=c52f
[ 1400.134654] usb 2-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1400.134656] usb 2-3.3: Product: USB Receiver
[ 1400.134658] usb 2-3.3: Manufacturer: Logitech
[ 1400.138118] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.3/2-3.3:1.0/0003:046D:C52F.0005/input/input26
[ 1400.191915] hid-generic 0003:046D:C52F.0005: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-3.3/input0
[ 1400.194031] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.3/2-3.3:1.1/0003:046D:C52F.0006/input/input27
[ 1400.247903] hid-generic 0003:046D:C52F.0006: input,hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.3/input1
Lekensteyn commented 8 years ago

@klimmiks it looks normal, you have one receiver and one device paired to the receiver.

chianwei commented 6 years ago

Instead of hiddev0, according to the suggestion of @Lekensteyn, I use hidraw1 and it works on non-unifying receiver!