Assuming that the problem really is that your PowerPC is big endian, please
test this patch (attached as usb-endian-1.patch).
--
Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario | http://Mielke.cc/bible/
EMail: [email protected] | Canada K2A 1H7 | http://FamilyRadio.com/
diff --git a/Programs/usb_linux.c b/Programs/usb_linux.c
index e08059a..5bad741 100644
--- a/Programs/usb_linux.c
+++ b/Programs/usb_linux.c
@@ -351,6 +351,10 @@ usbControlTransfer (
arg.transfer.data = buffer;
arg.transfer.timeout = timeout;
+ arg.transfer.wValue = getLittleEndian16(arg.transfer.wValue);
+ arg.transfer.wIndex = getLittleEndian16(arg.transfer.wIndex);
+ arg.transfer.wLength = getLittleEndian16(arg.transfer.wLength);
+
if (direction == UsbControlDirection_Output) {
if (length) logBytes(LOG_CATEGORY(USB_IO), "control output", buffer,
length);
}
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://mielke.cc/mailman/listinfo/brltty