On Sun, 22 Sep 2013, folkert wrote: > > > Cleware GMBH is a German company producing all kinds of USB devices. > > > Switches, lights, sensors, etc. > > > As a hobbyist, I do the Linux support for them (I wrote a userspace > > > program to control their devices). > > > Now a new range of products are to be released with new firmware. I > > > think I'm seeing problems with them and I would like to discuss them > > > here before bothering Cleware. > > > When the device is plugged in, I can access it, somewhat. Why somewhat? > > > Because it looks as if it is "thrown out" and reconnected each 6-7 > > > seconds: > > > [715607.610601] usb 3-3: USB disconnect, device number 93 > > > [715607.976312] usb 3-3: new low-speed USB device number 94 using xhci_hcd > > > [715607.997641] usb 3-3: New USB device found, idVendor=0d50, idProduct=0010 > > > [715607.997644] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 > > > [715607.997645] usb 3-3: Product: USB-Temp > > > [715607.997647] usb 3-3: Manufacturer: Cleware GmbH > > > [715607.997648] usb 3-3: SerialNumber: 63813 > > > [715607.997807] usb 3-3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes > > > [715607.997810] usb 3-3: ep 0x2 - rounding interval to 64 microframes, ep desc says 80 microframes > > > [715608.000742] hid-generic 0003:0D50:0010.0934: hiddev0,hidraw1: USB HID v1.11 Device [Cleware GmbH USB-Temp] on usb-0000:00:14.0-3/input0 > > > [715614.701038] usb 3-3: USB disconnect, device number 94 > > > [715615.070236] usb 3-3: new low-speed USB device number 95 using xhci_hcd > > > > Does the device behave the same way if you plug it into a USB-2 port > > instead of a USB-3 port? > > This alienware laptop seems to have only usb3 ports: they look all the > same for color and description. > So I tried it on my asus eee pc 1015 (seashell) and there it behaves the > same with kernel 3.9.1 and 3.2.0. > Oh and on my raspberry pi with 3.9.8 kernel it's also doing this. Then the problem is most likely in the device or the firmware. If you get a usbmon trace, it might provide more information. You asked what the firmware is doing wrong, but you already know the answer: It disconnects the device every 6-7 seconds. Perhaps it does this because it doesn't like the commands it receives from the computer. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html