LinuxMan Posted July 10, 2014 Report Share Posted July 10, 2014 Dead in the water, right out of the box. Need help ASAP. Details are: Target machine: Raspberry Pi running raspbmc. (the Pi was purchased together with with the flirc here) GUI machine: (1) x86_64 linux, (2) Windows 7 x32 (I've tried both). 1. Setup flirc in either GUI machine. No apparent issues; things look promising. 2. Unplug device, move it to target machine. HID keyboard device 0x20a0:0x0001 appears. 3. Moments later, suddenly, the device disconnects and reappears as bootloader 0x20a0:0x0002. No response to remote. 4. Retry setup in a GUI machine. A download occurs, and things look okay again. Return to step 2. 5. Lather, rinse, repeat, scream. Here's the target machine's syslog. Jul 9 21:33:22 raspbmc kernel: usb 1-1.2: new low-speed USB device number 69 using dwc_otg Jul 9 21:33:22 raspbmc kernel: usb 1-1.2: New USB device found, idVendor=20a0, idProduct=0001 Jul 9 21:33:22 raspbmc kernel: usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Jul 9 21:33:22 raspbmc kernel: usb 1-1.2: Product: flirc Jul 9 21:33:22 raspbmc kernel: usb 1-1.2: Manufacturer: flirc.tv Jul 9 21:33:22 raspbmc kernel: input: flirc.tv flirc as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input5 Jul 9 21:33:22 raspbmc kernel: hid-generic 0003:20A0:0001.0006: input: USB HID v1.01 Keyboard [flirc.tv flirc] on usb-bcm2708_usb-1.2/input0 Jul 9 21:33:40 raspbmc kernel: usb 1-1.2: USB disconnect, device number 69 Jul 9 21:33:41 raspbmc kernel: usb 1-1.2: new low-speed USB device number 70 using dwc_otg Jul 9 21:33:42 raspbmc kernel: usb 1-1.2: New USB device found, idVendor=20a0, idProduct=0002 Jul 9 21:33:42 raspbmc kernel: usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Jul 9 21:33:42 raspbmc kernel: usb 1-1.2: Product: bootldr Jul 9 21:33:42 raspbmc kernel: usb 1-1.2: Manufacturer: claylogic.com Please respond VERY URGENTLY. This is a SHOW-STOPPING bug and I surely cannot be the only one affected. Thanks, Eric Quote Link to comment Share on other sites More sharing options...
jason Posted July 10, 2014 Report Share Posted July 10, 2014 It's because of a cheap power supply. I have a workaround in newer devices. You can shoot me an email for a replacement, or if you have a higher quality USB supply at home, that will probably fix it too. Let me know. You can reach me at support at flirc.tv Quote Link to comment Share on other sites More sharing options...
LinuxMan Posted July 10, 2014 Author Report Share Posted July 10, 2014 Thanks so much for the quick response. It's running off a 3A/5V stepdown regulator coming from a Powerwerx 30A/12V switching supply, either of which I'd be hard pressed to blame -- but okay, maybe. Regardless, if you've got a replacement that behaves, I'll take it. Will contact you privately about that. Thanks again, Eric Quote Link to comment Share on other sites More sharing options...
yawor Posted July 11, 2014 Report Share Posted July 11, 2014 (edited) LinuxMan it doesn't really matter what power supply you are using to power up the RPi. USB host ports are still limitted in their power output with polyfuses which limit the output current to 140mA in constant draw. It is recommended not to draw more than 100mA and even with only 100mA the output voltage can drop almost 0.5v from 5v to 4.5v. Use powered USB hub between RPi and devices which are powered from USB. USB ports on RPi were not designed to power other devices. Edited July 11, 2014 by yawor Quote Link to comment Share on other sites More sharing options...
jason Posted July 15, 2014 Report Share Posted July 15, 2014 Flirc only uses 5-10mA at best. The issue is that there is noise on the power supply. And there is a race condition, because flirc is starting up and the power supply shuts it down again. I've fixed it in the new bootloader, doesn't happen with all devices. Please email me if you are still seeing that. Thanks Yawor for all your help in the forums, you've really been an asset lately, can I offer you some free loot? Possibly an admin account if you are interested? Quote Link to comment Share on other sites More sharing options...
blingblangblong Posted October 26, 2016 Report Share Posted October 26, 2016 (edited) Hello I have a similar problem to OP. Dead in the water, right out of the box. Need help ASAPI'm using kodibuntu on my laptop... My flirc opens for a few minutes then closes again. Here is my sys logkernel: [ 4162.056337] usb 5-1: Product: flirc kernel: [ 4162.056341] usb 5-1: Manufacturer: flirc.tv kernel: [ 4162.107497] input: flirc.tv flirc as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/input/input17 kernel: [ 4162.107793] hid-generic 0003:20A0:0001.0004: input,hidraw3: USB HID v1.01 Keyboard [flirc.tv flirc] on usb-0000:00:1d.3-1/input0 mtp-probe: checking bus 5, device 6: "/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-1" mtp-probe: bus: 5, device: 6 was not an MTP device kernel: [ 4180.488097] usb 5-1: USB disconnect, device number 6 acpid: input device has been disconnected, fd 13 kernel: [ 4181.192045] usb 5-1: new low-speed USB device number 7 using uhci_hcd kernel: [ 4181.363327] usb 5-1: New USB device found, idVendor=20a0, idProduct=0002 kernel: [ 4181.363334] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 kernel: [ 4181.363338] usb 5-1: Product: bootldr kernel: [ 4181.363342] usb 5-1: Manufacturer: claylogic.com mtp-probe: checking bus 5, device 7: "/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-1" mtp-probe: bus: 5, device: 7 was not an MTP device Then more errors ??? kernel: [ 6346.195978] Flirc[6533]: segfault at 18 ip 0806a138 sp bf971fd0 error 4 in Flirc[8048000+236000] kernel: [ 6361.756608] Flirc[6553]: segfault at 18 ip 0806a138 sp bfeec380 error 4 in Flirc[8048000+236000] kernel: [ 4161.884181] usb 5-1: new low-speed USB device number 6 using uhci_hcd kernel: [ 4162.056324] usb 5-1: New USB device found, idVendor=20a0, idProduct=0001 kernel: [ 4162.056333] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 kernel: [ 4162.056337] usb 5-1: Product: flirc kernel: [ 4162.056341] usb 5-1: Manufacturer: flirc.tv kernel: [ 4162.107497] input: flirc.tv flirc as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/input/input17 kernel: [ 4162.107793] hid-generic 0003:20A0:0001.0004: input,hidraw3: USB HID v1.01 Keyboard [flirc.tv flirc] on usb-0000:00:1d.3-1/input0 mtp-probe: checking bus 5, device 6: "/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-1" mtp-probe: bus: 5, device: 6 was not an MTP device kernel: [ 4180.488097] usb 5-1: USB disconnect, device number 6 acpid: input device has been disconnected, fd 13 kernel: [ 4181.192045] usb 5-1: new low-speed USB device number 7 using uhci_hcd kernel: [ 4181.363327] usb 5-1: New USB device found, idVendor=20a0, idProduct=0002 kernel: [ 4181.363334] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 kernel: [ 4181.363338] usb 5-1: Product: bootldr kernel: [ 4181.363342] usb 5-1: Manufacturer: claylogic.com mtp-probe: checking bus 5, device 7: "/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-1" mtp-probe: bus: 5, device: 7 was not an MTP deviceand this is the message i get when i run 'flirc' for terminal.$ Flirc Can't load 'test.ini' [E] fl_product_type(717): unknown or unsupported variant [E] fl_product_type(717): unknown or unsupported variant [E] fl_product_type(717): unknown or unsupported variant [DEVICE] Uploading Thanks in advance for any helpRich Edited October 26, 2016 by blingblangblong didn't put all errors in Quote Link to comment Share on other sites More sharing options...
jason Posted October 29, 2016 Report Share Posted October 29, 2016 Hello I have a similar problem to OP. Dead in the water, right out of the box. Need help ASAPI'm using kodibuntu on my laptop... My flirc opens for a few minutes then closes again. Here is my sys logkernel: [ 4162.056337] usb 5-1: Product: flirc kernel: [ 4162.056341] usb 5-1: Manufacturer: flirc.tv kernel: [ 4162.107497] input: flirc.tv flirc as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/input/input17 kernel: [ 4162.107793] hid-generic 0003:20A0:0001.0004: input,hidraw3: USB HID v1.01 Keyboard [flirc.tv flirc] on usb-0000:00:1d.3-1/input0 mtp-probe: checking bus 5, device 6: "/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-1" mtp-probe: bus: 5, device: 6 was not an MTP device kernel: [ 4180.488097] usb 5-1: USB disconnect, device number 6 acpid: input device has been disconnected, fd 13 kernel: [ 4181.192045] usb 5-1: new low-speed USB device number 7 using uhci_hcd kernel: [ 4181.363327] usb 5-1: New USB device found, idVendor=20a0, idProduct=0002 kernel: [ 4181.363334] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 kernel: [ 4181.363338] usb 5-1: Product: bootldr kernel: [ 4181.363342] usb 5-1: Manufacturer: claylogic.com mtp-probe: checking bus 5, device 7: "/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-1" mtp-probe: bus: 5, device: 7 was not an MTP device Then more errors ??? kernel: [ 6346.195978] Flirc[6533]: segfault at 18 ip 0806a138 sp bf971fd0 error 4 in Flirc[8048000+236000] kernel: [ 6361.756608] Flirc[6553]: segfault at 18 ip 0806a138 sp bfeec380 error 4 in Flirc[8048000+236000] kernel: [ 4161.884181] usb 5-1: new low-speed USB device number 6 using uhci_hcd kernel: [ 4162.056324] usb 5-1: New USB device found, idVendor=20a0, idProduct=0001 kernel: [ 4162.056333] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 kernel: [ 4162.056337] usb 5-1: Product: flirc kernel: [ 4162.056341] usb 5-1: Manufacturer: flirc.tv kernel: [ 4162.107497] input: flirc.tv flirc as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/input/input17 kernel: [ 4162.107793] hid-generic 0003:20A0:0001.0004: input,hidraw3: USB HID v1.01 Keyboard [flirc.tv flirc] on usb-0000:00:1d.3-1/input0 mtp-probe: checking bus 5, device 6: "/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-1" mtp-probe: bus: 5, device: 6 was not an MTP device kernel: [ 4180.488097] usb 5-1: USB disconnect, device number 6 acpid: input device has been disconnected, fd 13 kernel: [ 4181.192045] usb 5-1: new low-speed USB device number 7 using uhci_hcd kernel: [ 4181.363327] usb 5-1: New USB device found, idVendor=20a0, idProduct=0002 kernel: [ 4181.363334] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 kernel: [ 4181.363338] usb 5-1: Product: bootldr kernel: [ 4181.363342] usb 5-1: Manufacturer: claylogic.com mtp-probe: checking bus 5, device 7: "/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-1" mtp-probe: bus: 5, device: 7 was not an MTP deviceand this is the message i get when i run 'flirc' for terminal.$ Flirc Can't load 'test.ini' [E] fl_product_type(717): unknown or unsupported variant [E] fl_product_type(717): unknown or unsupported variant [E] fl_product_type(717): unknown or unsupported variant [DEVICE] Uploading Thanks in advance for any helpRich Does it upload? you don't need the ini to run the GUI. Does the GUI eventually launch? If not, try sudo Flirc. Quote Link to comment Share on other sites More sharing options...
jason Posted October 29, 2016 Report Share Posted October 29, 2016 Try adding this to your /boot/cmdline.txt file:dwc_otg.speed=1You'll need to reboot for that to work. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.