[hpsdr] ghpsdr question (ozy_ep4_io_thread: OzyBulkRead failed)

Richard Ames richard at ames.id.au
Tue Apr 7 22:57:38 PDT 2009


Hi -

Thanks for all your contributions!

I am trying to get Mercury with Ozy working.... I have had it working
under Windows and now trying Ubuntu 8.10. 

Using USB2:

$ lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 027: ID fffe:0007  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


initozy runs OK after commenting out the write_i2c stuff intended for
Janus:

$ ./initozy 
./initozy: line 18: checkuser: command not found
usb_find_busses returned: 4
usb_find_devices returned: 5
ResetCPU(true).......returns 1
HPSDR_UploadFirmware: Processed 740 lines.
UploadFirmware('ozyfw-sdr1k.hex')......returns 740
ResetCPU(false).......returns 1
usb_find_busses returned: 4
usb_find_devices returned: 5
87010 bytes transferred.
LoadFPGA succeeded!

ghpsdr compiles with one warning:

richard at richard-desktop:~/Amateur/SDR/ghpsdr$ make >> make_report.txt
main.c: In function ‘main’:
main.c:473: warning: assignment makes pointer from integer without a
cast

when I run ghpsdr I get the window and in the terminal I get lots of:

ozy_ep4_io_thread: OzyBulkRead failed -1 bytes

and one:

ozy_ep6_ep2_io_thread: OzyBulkRead read failed -7

I can see in ozy.c that this probably means I am not reading from the
USB connection.  I am a bit confused as to which libusb is being used
but *assume* the clean compile means it is OK. I do have:

/usr/local/include/libusb-1.0
/usr/local/include/libusb-1.0/libusb.h
/usr/local/lib/libusb-1.0.a
/usr/local/lib/libusb-1.0.la
/usr/local/lib/libusb-1.0.so
/usr/local/lib/libusb-1.0.so.0
/usr/local/lib/libusb-1.0.so.0.0.0
/usr/local/lib/pkgconfig/libusb-1.0.pc

I am also confused as to what (other than initozy) has to be inplace /
running before starting ghpsdr.

Regards,

Richard
VK2NRA





More information about the Hpsdr mailing list