Geekport support in Haiku?
So, since Bebox had the cool Geekport, and BeOS supported it, does Haiku support a special port like this and in a similar manor?
Or is Geekport gone for good?
Kind of like the new AmigaOne X1000 coming out has special access to XMOS, kind of to me a geeky port accesible for folks to tinker with, similar idea.
Would be cool if Haiku had something like this.
TJ

Comments
Re: Geekport support in Haiku?
The questions would be:
If not, then you could make your own 'new' port
If not, then you don't need to worry about legacy software and drivers.
From the above, you could recreate it all... you could even build an 'external geekport' that had an Arduino microcontroller and the 37-pin DIN to allow existing hardware to still connect.
The question would be 'What does everyone want?'
I, for one, would love to see the Arduino supported on Haiku, but I believe that has already been achieved; via avrdude anyway, just no GUI via java.
Meanwhile, some references:
Re: Geekport support in Haiku?
Arduino would be the modern day equivalent to the Geekport, in fact it would probably be a much more popular solution than the BeBox's port ever could have been.
Also if OpenJDK gets ported, you'd be able to get the java GUI up and running.
Re: Geekport support in Haiku?
Yeah I pretty much had the same thought regarding using an Arduino instead of needing a GeekPort. It's a neat idea but other newer ideas (like Arduino) have superseded it.
As for the Arduino Java GUI, it would probably be less work to make our own Arduino IDE than to port Java just to get that running. From what I've seen though, it isn't really all that special. You need to be somewhat technical to be doing Arduino hacking, so I don't see why a dumbed down IDE is needed.
Re: Geekport support in Haiku?
I know for ROS (Robot Operating System) software which I've been using on a project you can just build it with cmake so an IDE setup to use cmake with the right headers could work... I think you can just copy alot of it right out of the regular arduino IDE installation
Re: Geekport support in Haiku?
I like the idea of geekport. Allows people to make their own hardware electronic thingies with the power of a whole computer to do the boring and/or interesting bits.
Re: Geekport support in Haiku?
I for one would love to get this working.
IIRC didn't someone have java working (including netbeans)... Looncraz?
It won't take much to get this working, first we need to be able to recognize the ATMega microcontroller as a serial port; doing that will help a ton. if we can get this working then most of the programmed controllers can be addressed through the serial port.
After that it would just take someone to figure out the "write" portion of the code from Atmel, well for that also the read portion... and the compiler... most of this should be well documented from what I've seen...
now for my motive :)
This will also get my blinkenlights working (I've made a custom USB driver, but it doesn't work well if you switch ports... eventually I'll be able to get this working right, but I'd like to have it where the arduino support is wider than my device).
If only I had more than 20 minutes a week to work on Haiku :)
Re: Geekport support in Haiku?
Just tried compiling avrdude version 6.0.1 mostly went well... anyone want to make a BEP file?
Re: Geekport support in Haiku?
There is the GizmoBoard, which has some interesting features like both high and low speed connectors. Plus it should run haiku with no trouble, but you need to by the full kit with other stuff included (like an expansion card, power suppy and a probe) a which puts the price up to $200 USD.
http://www.gizmosphere.org/
Re: Geekport support in Haiku?
Hi alphaseinor,
did you use gcc4 to build (run setarch x86 before you start) as that looks like c89 incompatibility. I could look at making an hpkg for this over the next few days, but doesn't this need a fully working libusb anyway?
I'd like to look in to libusb at some point (too many projects already though) as I have an oscilloscope and also a logic analyser that I'd like to use in haiku.
Re: Geekport support in Haiku?
Had a quick go and got avrdude to build, it just needed a little nudging. It runs, but it is not linking pthread in yet, so I need to fix that (don't know what it needs it for...). Also want to check libelf linkage and see what the state of our libusb port is. I don't think we have libftdi, but that would also be handy so I might look at that too. I'll try and get an hpkg in when I'm done...
Without these drivers how would it actually connect to an AVR? Serial?
What's the next step, avr gcc?
Re: Geekport support in Haiku?
Yes it's going to need libusb
Pulkomandy has been working part time on porting it to Haiku...
I've got a ton of things I would love to have libusb for :)
Maybe I'll put up a bounty some time this year (gotta save up!)
Re: Geekport support in Haiku?
alphaseinor - Pulkomandy added libusb and avrdude to haikuporter and I've ported libftdi (also in haikuporter now) and fixed up avrdude to use libftdi, libelf and pthread, and that should also be added to haikuporter tomorrow. On a gcc2h system you should be able to install by doing:
haikuporter gettext_x86 --no-dependencies
haikuporter confuse_x86 --no-dependencies
haikuporter libusb_x86 --no-dependencies
haikuporter ncurses_x86 --no-dependencies
haikuporter bzip2_x86 --no-dependencies
haikuporter icu_x86 --no-dependencies
haikuporter boost_x86 --no-dependencies
haikuporter libftdi_x86 --no-dependencies
haikuporter libelf_x86 --no-dependencies
haikuporter avrdude_x86 --no-dependencies
The reason for not just doing "haikuporter avrdude_x86" is that there's currently a bug in hakuporter that means when compiling for a secondary arch (_x86) it will not handle dependencies properly and will build a lot of stuff unnecessarily (it should still work however, but will take forever), so those are all the dependencies in the correct order (I think). Hopefully that bug will be fixed soon. Note that a couple of those will take a while (ncurses and boost, maybe icu). On a gcc4 or gcc4h system though, you should just be able to do:
haikuporter avrdude
I don't have any hardware to test with (at least, not now as I'm not at home for the next weeks), so if you could test this it would be awesome!
I've got some other hardware that uses libusb that I'm working on porting software for too (logic analyser, oscilloscope), so more will be coming. Fingers crossed on whether libusb works already!
EDIT: latest avrdude is now in haikuports!
Re: Geekport support in Haiku?
Ooooooooh nice!
Unfortunately I'm stuck working the next few days, I'll dig out a teensy and see what I can mess with!