Menu

#1 Are big endian hosts supported

closed
nobody
None
5
2007-03-02
2007-01-20
No

Hi,

I've successfully used btool on ia32 and x64 machines (cool), but my G4 PPC reports "UsbError caught: Error in usb_bulk_read" (Ubuntu Edgy).

Is btool currently restricted to little endian hosts ?

Thanks,

-jonathan

Discussion

  • Chris Frey

    Chris Frey - 2007-01-20

    Logged In: YES
    user_id=1383461
    Originator: NO

    Barry is intended to be cross platform, but I do not have the machines to test it with. If you look in the library source tree, you'll see endian.h, which is currently only filled in for little endian machines.

    The library proper does use those macros, so in theory endian.h should only need to be properly updated for your machine, and it should work. Testing is obviously needed though.

    The error you're getting is from libusb somehow failing. This could be two separate issues we're looking at.

    Please join the mailing list. I'm excited to see someone with a big endian machine using Barry, and I'll definitely help out in debugging if you can help out with testing.

    - Chris

     
  • Jonathan Hudson

    Jonathan Hudson - 2007-01-20

    Logged In: YES
    user_id=96140
    Originator: YES

    Chris,

    Thanks for that. I have a project of SF (w1retap) that uses libusb, so I'm not unfamiliar with it. I'll start with endian.h and join the M/L.

    -jonathan

     
  • Net Direct Inc.

    Net Direct Inc. - 2007-03-02

    Logged In: YES
    user_id=1388245
    Originator: NO

    Closed, as version 0.5 supports big endian machines.

    - Chris

     
  • Net Direct Inc.

    Net Direct Inc. - 2007-03-02
    • status: open --> closed
     

Log in to post a comment.