[libhid-discuss] Issue with fedora 6
ankita prasad
prasad.ankita at gmail.com
Thu Sep 20 19:49:21 UTC 2007
Hi
I am a little confused.
Do I need to build libhid on a machine for it to work on that machine. Will
it not work if I just copy the libhid.so, libusb.so and their corresponding
.a files and the executable on to a machine and run the executable from
there?
After my earlier bug I built the exact thing on fedora 6 and it works fine
but when I copied the executable and the .so on to another machine which is
fedora 6, I again get the broken pipe error.
Is there something obvious that I am missing.
Thanks for all your help,
Ankita
On 9/18/07, Charles Lepple <clepple at ghz.cc> wrote:
>
> On Sep 14, 2007, at 5:32 PM, ankita prasad wrote:
>
> > I was able to read and write to my HID device on my red hat linux
> > box. But
> > when I tried running it on my other linux machine which runs fedora
> > 6, I was
> > able to read properly but I get a broken pipe error when I try to
> > write to
> > my HID device using hid_set_output_report. What am I missing? Why
> > does it
> > work on one linux distribution on not on another?
>
> I assume you are using the same version of libhid on both machines.
>
> The other factors which may affect your results are the version of
> libusb (since libhid just calls libusb for actual device I/O), the
> kernel version, and whether or not Fedora 6 has other programs which
> may somehow interfere with yours.
>
> --
> Charles Lepple
>
>
>
>
More information about the libhid-discuss
mailing list