1. Alex Hixon
  2. r5u87x
  3. Issues
Issue #3 resolved

Unexpected ucode version 0x0151 - expected 0x0115

Anonymous created an issue

Searching for device... Found camera : 05ca:1810 Firmware : ucode/r5u87x-05ca-1810.fw

Warning: Failed to get microcode status.

Error: Failed to upload firmware to device: Operation not permitted (code -1).

Had to run as root... Searching for device... Found camera : 05ca:1810 Firmware : ucode/r5u87x-05ca-1810.fw

Camera reports positive microcode state. Camera reports microcode version 0x0151. Warning: Microcode versions don't match, clearing. Reset microcode. Camera reports negative microcode state. Sending microcode to camera... Enabled microcode. Camera reports microcode version 0x0151. Warning: Camera returned unexpected ucode version 0x0151 - expected 0x0115

Error: Failed to upload firmware to device: Inappropriate ioctl for device (code -1).

Comments (9)

  1. Anonymous

    the problem ist not fixed for me. I get this

    Searching for device... Found camera : 05ca:1836 Firmware : ucode/r5u87x-05ca-1836.fw

    Camera reports positive microcode state. Camera reports microcode version 0x0151. Warning: Microcode versions don't match, clearing. Reset microcode. Camera reports negative microcode state. Sending microcode to camera... Enabled microcode. Camera reports microcode version 0x0151. Warning: Camera returned unexpected ucode version 0x0151 - expected 0x0115

    Error: Failed to upload firmware to device: Inappropriate ioctl for device (code -74).

  2. Alex Hixon repo owner

    I've just pushed a change which relates to the way we parse the values after checking the microcode version.

    If somebody who was having issues earlier could test it, that'd be great. Please re-open the bug if you encounter any issues.

  3. Alex Hixon repo owner

    Well, as a HAL callout script, but essentially yeah, it'd be called on boot automatically in the future.

    Sorry, I just commited some changes picked up by Sam. tip should be revision 32:7be5d044c8c6 - you'll probably have to hg pull and run loader with --force-clear. If it continues to work, I'll be interested.

  4. Anonymous

    I got exactly the opposite : version 0x0115 - expected 0x0151

    here is what I get when running ./loader :

    "Found camera : 05ca:1837 Firmware : ucode/r5u87x-05ca-1837.fw

    Camera reports negative microcode state. Sending microcode to camera... Enabled microcode. Camera reports microcode version 0x0115. Warning: Camera returned unexpected ucode version 0x0115 - expected 0x0151

    Error: Failed to upload firmware to device: Inappropriate ioctl for device (code -74)."

    Any ideas? Thanks!

  5. Log in to comment