this mail is just to inform all of you that there are now Debian
packages available for the latest Devel version of OpenCBM. These Debian
packages (which might also install on Debian base systems like Ubuntu -
please report your success and failures!) are now split into the
different versions (opencbm for generic files, opencbm-xum1541 for the
XUM1541/ZoomFloppy installation, opencbm-xu1541 for the XU1541
installation, opencbm-xa1541 for the XA1541/XM1541 installation). Thus,
by using opencbm-xum1541, every ZoomFloppy user should be able to get a
working installation very easily.
Installation instructions for integration into apt/aptitude/synaptics
are available at
http://debian.trikaliotis.net/
As it is integrated into the Debian packaging system, upgrades will be
available just by using the OS specific update mechanisms (apt/aptiude
or synaptics).
Any feedback is welcome!
Regards,
Spiro.
--
Spiro R. Trikaliotis http://opencbm.sf.net/
http://www.trikaliotis.net/ http://vice-emu.sf.net/
Is there any way to roll a beta of the Windows binaries too?
* On Sat, Jan 07, 2012 at 09:45:06AM -0800 Nate Lawson wrote:
> Thanks for doing this work.
>
> Is there any way to roll a beta of the Windows binaries too?
yes, I will do it. I hope to be able to do it not later than next
weekend.
Which one contains OpenCBM, the VICE package? You have VICE, CC65 and
CenterIM listed
--
Larry Anderson
mailto:la...@larrymade.com
http://www.larrymade.com/
>>>
>>
>> Which one contains OpenCBM, the VICE package? You have VICE, CC65 and
>> CenterIM listed
>>
> Opps, I see what I need to do, add the repositories... will try it now
>
>
Ok, lets see... I'm using Ubuntu Maverick Meercat BTW
Got the packages added in synaptic and found the only method the gpg key
took was dling the file and issuing
$ sudo apt-key add spiro.pgp
other methods didnt seem to work
in synaptic I listed the packages of spiro's repository and found all
the packages.
installation seemed to work no problem... made sure to include the
xu1541 and xum1541 packages
now I've hooked in the hardware and tried:
$ cbmctrl -@xum1541 detect
and I get the dreaded: xum1541 firmware version too low (6 < 7) please
update your xum1541 firmware
Definite progress, but now I need to update the zoomfloppy.
grabbed the xum1541cfg.tar.gz and the firmware binary from the windows
installer - set up in my work directory and upon execution of make i'm
getting:
main.c:33: fatal error: usb.h: No such file or directory
whereis doesn't seem to find it...
and i'm stuck - looking through old emails to see if theres a cluse
somewhere...
First Suggestion, add xum1541cfg into the debian packages... as it seems
an essential component to update the Zoomfloppy firmware
found I needed to install package libusb-dev
then I could do the make command...
ran the config...
./xum1541cfg update xum1541-ZOOMFLOPPY-v07.hex
seems to have updated... says I need to unplug USB to restart
$ cbmctrl -@xum1541 detect
SUCESS! 8: 1540 or 1541
next challenge is getting cbmctrl configured, I know I need to add a
config file with default=xum1541
$ sudo gedit /etc/opencbm.conf.d 00opencbm.conf
still getting /dev/cbm: permission denied\
ok found a german forum with the solution(?)
http://www.forum64.de/wbb3/board222-pc-bereich/board313-pc-bereich/board223-software/board229-linux/45037-opencbm-mit-2-6-36er-kernel/index2.html?s=746a21f42c02252a8a4ee9dd2986491b586be80d#post559281
add into /etc/udev/rules.d/45-opencbm.rules
these lines:
# Zoom floppy
SYSFS {idVendor} == "16d0", SYSFS {idProduct} == "0504", GROUP = "users"
between SUBSYSTEM and LABEL
Seems to already be in 45-opencbm-usb.rules
Adding the line at least removed the permission problem, but now im at:
$ cbmctrl status 8
gives me:
cbmctrl: /dev/cbm: No such file or directory
Any clues?
Tried a reboot in case it needed to recheck the devices, no dice...
Poking around if I do
$ modprobe cbm
I get Module cbm not found...
Found a reference here to something that sounds similar but not sure, as
this was from a package and not compiled
http://ubuntuforums.org/showthread.php?t=1282893
Ive also seen this in http://opencbm.trikaliotis.net/opencbm-9.html
"Runtime configuration
Most probably, you will want to add this to /etc/modules.conf to have
the driver loaded on demand: (the file is called /etc/conf.modules on
some older SuSE systems)
alias char-major-10-177 cbm
options cbm [options]
"
But dont see a conf.modules file, seeing how things in the Linux
structure are a bit more categorised in the file system is
/etc/modules.conf still the place to put such statements?
Well my brain is too tired to risk poking at system files right now, so
will take it up tomorrow sometime
* On Sun, Jan 08, 2012 at 03:59:27PM -0800 Larry Anderson wrote:
> First Suggestion, add xum1541cfg into the debian packages... as it
> seems an essential component to update the Zoomfloppy firmware
I will think about this suggestion. I am not sure, as I do not think
updating the firmware as something you do every day, though.
Any other opinions on this?
BTW: Your initial mistake was to install *both* xu1541 and xum1541. (Do
you own a XU1541 device?) A possibly simpler solution might be to
uninstall the opencbm Debian packages again and installing *only* the
package opencbm-xum1541. This way, the xum1541 plugin is the default
one.
However, let's go through the details if you want to know about the
inner workings:
* On Sun, Jan 08, 2012 at 05:38:58PM -0800 Larry Anderson wrote:
> found I needed to install package libusb-dev
> then I could do the make command...
Yep, this is a build dependency.
> $ cbmctrl -@xum1541 detect
>
> SUCESS! 8: 1540 or 1541
>
> next challenge is getting cbmctrl configured,
Unfortunately, this is not possible "the debian way" yet. I still have
to read how to do this.
> $ sudo gedit /etc/opencbm.conf.d 00opencbm.conf
What is the contents of this file?
> still getting /dev/cbm: permission denied\
This /etc/opencbm.conf.d/ directory is not the actual configuration
file. The actual configuration file is /etc/opencbm.conf, which is
generated out of the files in /etc/opencbm.conf.d/
You have to execute
# /usr/lib/opencbm/plugin_helper_tools rebuild
in order for this change to take effect. (check the /etc/opencbm.conf
file before and afterwards).
> ok found a german forum with the solution(?)
> http://www.forum64.de/wbb3/board222-pc-bereich/board313-pc-bereich/board223-software/board229-linux/45037-opencbm-mit-2-6-36er-kernel/index2.html?s=746a21f42c02252a8a4ee9dd2986491b586be80d#post559281
>
> add into /etc/udev/rules.d/45-opencbm.rules
This file is already there, you should not need it.
(I only ask myself why I have GROUP="cdrom" in my file, instead of
GROUP="users"? This might be worth it.
However, this is not the source of your problem. /dev/cbm is *only*
needed for the XA1541 and XM1541 adapters! Thus, cbmctrl is stil trying
to access the xa1541 plugin.
HTH,
* On Sun, Jan 08, 2012 at 10:11:54PM -0800 Larry Anderson wrote:
> Poking around if I do
> $ modprobe cbm
>
> I get Module cbm not found...
Right: The module cbm (cbm.ko) is only needed for the XA1541/XM1541, as
stated before.
You do not need an own module for the xu1541/xum1541 - only libusb is
needed, and that is already part of all essential distributions. That's
one of the bigger advantages of the USB based cables.
> Ive also seen this in http://opencbm.trikaliotis.net/opencbm-9.html
>
> "Runtime configuration
STOP HERE!
This documentation is old and has not been updated for the plugin
enabled OpenCBM (0.4.99.x). In fact, it is even outdated for the 0.4.0 -
0.4.2 variants of OpenCBM, as:
> Most probably, you will want to add this to /etc/modules.conf to
> have the driver loaded on demand: (the file is called
> /etc/conf.modules on some older SuSE systems)
>
> alias char-major-10-177 cbm
> options cbm [options]
> "
this is not needed for udev based distributions anymore. Even Debian
oldstable used udev, so, it is very dated.
> But dont see a conf.modules file, seeing how things in the Linux
> structure are a bit more categorised in the file system is
> /etc/modules.conf still the place to put such statements?
No, don't do this!
I am sorry for this inconvenience. I will try to update the
documentation.
I think it's worth including with the opencbm-xum1541 distribution. It is only a few files to compile and the only dependency is libusb, which is already required for the xum1541.
Most new features we add will require a firmware upgrade. I already have code to integrate from Tommy Winkler for S3 and other support which will require an upgrade. I expect 1-2 upgrades a year will be the norm, absent any bugfixes.
-Nate
--
Jim Brain
br...@jbrain.com
www.jbrain.com
* On Sun, Jan 08, 2012 at 09:52:04PM +0100 I wrote:
> Hello Nate,
>
> * On Sat, Jan 07, 2012 at 09:45:06AM -0800 Nate Lawson wrote:
> > Thanks for doing this work.
> >
> > Is there any way to roll a beta of the Windows binaries too?
>
> yes, I will do it. I hope to be able to do it not later than next
> weekend.
I did not hold my own deadline. Anyway, it is done now, cf.
http://www.trikaliotis.net/opencbm-alpha
Note that the documentation is not yet update, though. However, that web
page should be correct and complete.