I've been following the thread here
http://sourceforge.net/mailarchive/forum.php?thread_name=4D3872EF.4010905%40root.org&forum_name=opencbm-user
about getting ZF to go in Linux and I'm experiencing the same issue
that Glenn is. I'm on Ubuntu 10.10 with an amd64 arch.
ian@saturn:~/c64/opencbm/xum1541$ sudo cbmctrl detect
USB error in xum1541_wait_status: No error
ian@saturn:~/c64/opencbm/xum1541$ sudo cbmctrl detect
previous command was interrupted, resetting
USB error in xum1541_wait_status: No error
ian@saturn:/usr/local/lib/opencbm/plugin$ l
total 84
-rw-r--r-- 1 root root 8736 2011-01-31 22:04 libopencbm-xa1541.a
lrwxrwxrwx 1 root root 22 2011-01-31 22:04 libopencbm-xa1541.so ->
libopencbm-xa1541.so.0
lrwxrwxrwx 1 root root 30 2011-01-31 22:04 libopencbm-xa1541.so.0
-> libopencbm-xa1541.so.0.4.99.91
-rwxr-xr-x 1 root root 13830 2011-01-31 22:04 libopencbm-xa1541.so.0.4.99.91
-rw-r--r-- 1 root root 25248 2011-01-31 22:04 libopencbm-xum1541.a
lrwxrwxrwx 1 root root 23 2011-01-31 22:04 libopencbm-xum1541.so ->
libopencbm-xum1541.so.0
lrwxrwxrwx 1 root root 31 2011-01-31 22:04 libopencbm-xum1541.so.0
-> libopencbm-xum1541.so.0.4.99.91
-rwxr-xr-x 1 root root 24993 2011-01-31 22:04 libopencbm-xum1541.so.0.4.99.91
ian@saturn:/usr/local/lib/opencbm/plugin$ ldd libopencbm-xum1541.so.0.4.99.91
linux-vdso.so.1 => (0x00007fff559ff000)
libusb-0.1.so.4 => /lib/libusb-0.1.so.4 (0x00007f8ac7227000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f8ac7023000)
libc.so.6 => /lib/libc.so.6 (0x00007f8ac6c9f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f8ac765c000)
As you can see, it is linked correctly to the libusb-0.1.12 library. Any ideas?
--
Ian Colquhoun <icolq...@gmail.com>
I haven't responded since I don't use Linux on any machines here. I
would have to get around to installing it and then testing/debugging
opencbm on it. That's why it's near the bottom of my hobby todo list
right now.
Mac OS X is tested and works fine. I have one on my desk. There should
be nothing major that is unique to Linux, so this is likely some small
problem (libusb internals?)
I hope someone can help you. I may eventually get to this after the
other issues. Does any other libusb-based program work for you on the
same box?
--
Nate
No problem. Fair enough.
> Mac OS X is tested and works fine. I have one on my desk. There should
> be nothing major that is unique to Linux, so this is likely some small
> problem (libusb internals?)
I'm not so sure as indicated on my opencbm-users post. The XA1541
module isn't working either and that isn't related to libusb.
> I hope someone can help you. I may eventually get to this after the
> other issues. Does any other libusb-based program work for you on the
> same box?
I don't know. Looking through the reverse depends for both libusb
version, I don't think I actually use anything else that makes use of
it.
--
Ian Colquhoun
This could be related. Perhaps there is an shared library path problem.
I'll discuss this more on the opencbm list.
--
Nate
I don't understand since this bug has been fixed. Linux works fine.
Perhaps you should be using the latest source from GIT and not CVS? I'm
not sure, but I think CVS is only being kept around for historical
purposes and all new changes are only present in GIT. We didn't choose
to switch over to disrupt people, btw, this was because Sourceforge had
CVS problems for about a month.
Here's how to get code from GIT:
git clone git://opencbm.git.sourceforge.net/gitroot/opencbm/opencbm
Here's the patch I committed to fix Linux:
http://opencbm.git.sourceforge.net/git/gitweb.cgi?p=opencbm/opencbm;a=commit;h=b0a456f
--
Nate