Jump to content
Flirc Forums

Device immediately reverts to bootloader; completely unusable


LinuxMan

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 by yawor
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • 2 years later...

Hello 

I have a similar problem to OP.  Dead in the water, right out of the box.  Need help ASAP

I'm using kodibuntu on my laptop... My flirc opens for a few minutes then closes again.

 

Here is my sys log

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 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 device

and 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 help

Rich

 

Edited by blingblangblong
didn't put all errors in
Link to comment
Share on other sites

Hello 

I have a similar problem to OP.  Dead in the water, right out of the box.  Need help ASAP

I'm using kodibuntu on my laptop... My flirc opens for a few minutes then closes again.

 

Here is my sys log

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 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 device

and 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 help

Rich

 

Does it upload? you don't need the ini to run the GUI.  Does the GUI eventually launch? If not, try sudo Flirc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...