Click Here
home features news forums classifieds faqs links search
6225 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
22 crawler(s) on-line.
 95 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 jgideon:  13 mins ago
 Rob:  17 mins ago
 matthey:  19 mins ago
 michalsc:  44 mins ago
 OneTimer1:  55 mins ago
 AmigaMac:  1 hr 34 mins ago
 Amiboy:  2 hrs 34 mins ago
 zipper:  3 hrs 1 min ago
 pavlor:  3 hrs 7 mins ago
 pixie:  3 hrs 30 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  usb library wrapper
Register To Post

PosterThread
Beeblebrox 
usb library wrapper
Posted on 31-May-2005 16:02:48
#1 ]
Regular Member
Joined: 9-Feb-2005
Posts: 351
From: germany

After seeing Simplecam was released for OS3.x today I thought about it
would be nice to use it. But these tools from MorphOs use poseidon.library,
so we need some sort of library wrapper between poseidon.library and the
OS4 USB libraries. Maybe - is there anybody outthere already working on this ?

 Status: Offline
Profile     Report this post  
MichaelMerkel 
Re: usb library wrapper
Posted on 31-May-2005 20:15:20
#2 ]
Cult Member
Joined: 9-Mar-2003
Posts: 819
From: Ilvesheim, Germany

@Beeblebrox

afaik the source code of simplecam is also available for download.
so a straight port to os4 (using the os4 usb stack) should be the easier solution.

byebye...

_________________
Michael Merkel
(Michael.Merkel@gmx.net Home)
Member of Amiga-Freunde Pfalz, OS4 Welt

 Status: Offline
Profile     Report this post  
gnarly 
Re: usb library wrapper
Posted on 1-Jun-2005 8:49:52
#3 ]
Cult Member
Joined: 16-Mar-2003
Posts: 742
From: Cheltenham, UK

@Beeblebrox

Not sure about Poseidon compatibility, but I believe someone is working on an OS4 port of libusb.

_________________

 Status: Offline
Profile     Report this post  
Toaks 
Re: usb library wrapper
Posted on 1-Jun-2005 9:05:39
#4 ]
Elite Member
Joined: 10-Mar-2003
Posts: 8042
From: amigaguru.com

@Beeblebrox

some info what simplecam really is would help alot.


_________________
See my blog and collection website! . https://www.blog.amigaguru.com

 Status: Offline
Profile     Report this post  
Beeblebrox 
Re: usb library wrapper
Posted on 1-Jun-2005 9:44:41
#5 ]
Regular Member
Joined: 9-Feb-2005
Posts: 351
From: germany

simplecam and canontoolbox are tools to acces a canon
digital camera. Have a look on

http://member.ycn.com/~hausrup/

so far just for OS3.x and Mos. I thought a bridge/wrapper between
poseidon and os4 USB would let us use USB drivers written for
poseidon (OS3.x/Mos)

 Status: Offline
Profile     Report this post  
Amon_Re 
Re: usb library wrapper
Posted on 1-Jun-2005 11:07:48
#6 ]
Regular Member
Joined: 27-Nov-2003
Posts: 427
From: Belgium

@gnarly

Yes, there is work being done on libusb by the OOo team

_________________
Amon's digital home

 Status: Offline
Profile     Report this post  
DWolfman 
Re: usb library wrapper
Posted on 1-Jun-2005 13:15:16
#7 ]
Super Member
Joined: 18-Jun-2003
Posts: 1444
From: Leavenworth, KS USA

@Beeblebrox and the rest

I read up on SimpleCam, then went and read up on libptp2 to see what cameras it supports. It's more than just Canon, cause my Kodak CX4200 is one of the supported ones!

There are quite a few brands that this covers, so it would be a welcome addition for my A1.

The other program is the one that is Canon only, I believe.

_________________

 Status: Offline
Profile     Report this post  
d_w_cook 
Re: usb library wrapper
Posted on 1-Jun-2005 20:16:09
#8 ]
Member
Joined: 8-Apr-2004
Posts: 42
From: Bothell, Washington, USA

@Beeblebrox

This would be a good short term solution, as it would bring a lot of 68K software supporting usb (Turboprint, VHI Studio, etc) to OS4. That would be a nice bridge while waiting for native software packages. Anyone familiar with the poseiden api???

Before anyone else comments, it does depend on the functionality of the AOS4 usb stack, which may not do everything poseiden currently supports (waiting for update #3..).

Last edited by d_w_cook on 02-Jun-2005 at 12:16 AM.

 Status: Offline
Profile     Report this post  
Anonymous 
Re: usb library wrapper
Posted on 2-Jun-2005 6:28:07
# ]

0
0

@Beeblebrox

> I thought a bridge/wrapper between
poseidon and os4 USB would let us use USB drivers written for
poseidon (OS3.x/Mos)

Though I would appreciate somebody writing a hardware driver for PCI cards in OS4 to run Poseidon on it (the 68K version, as far as concerned there won't be OS4 PPC native binaries in the (near) future), trying to write a wrapper to use the Poseidon classes with the OS4 stack is a breach of licence terms and I would be forced to take measurements to inhibit this. It would be sad, if I had to add code to protect my work from being used illegally in other projects or OS4 in general.

Please, don't be offended for this statement. Anyway, writing a "wrapper" would probably be a waste of time, as Sirion and Poseidon handle things quite differently IMO.

Best Regards

Chris Hodges

 
     Report this post  
Beeblebrox 
Re: usb library wrapper
Posted on 2-Jun-2005 8:32:23
#10 ]
Regular Member
Joined: 9-Feb-2005
Posts: 351
From: germany

@platon42

hm, dont think this is clear for now.. What I mean is something like a library emulation.
Somethink like the powerup emulation library for warpos. Using the same interface
from your library for making it compatible. This is also beeing done by various icq
clients that dont rely on mirabilis code. So none of your code is beeing used. If
you dont have a patent on your poseidon driverinterface it would not be illegal.
Furthermore you wouldnt get any damage on poseidon sales, because poseidon is not
and I think will not become part of OS4. At least you could even write a library emulation
yourself and get a shareware amount on distributing it..

aargh.. (edit)

me again. I thought the driver is f.e. simplecam. Did not understood these classes
in poseidon are drivers.. So please explain me what simplecam does - is there any code
supporting canon cameras or is it just a gui and the drivers are all in poseidon ?

Last edited by Beeblebrox on 02-Jun-2005 at 08:38 AM.

 Status: Offline
Profile     Report this post  
ssolie 
Re: usb library wrapper
Posted on 2-Jun-2005 15:04:39
#11 ]
Elite Member
Joined: 10-Mar-2003
Posts: 2755
From: Alberta, Canada

@platon42
Quote:
It would be sad, if I had to add code to protect my work from being used illegally in other projects or OS4 in general.

So are you are saying is that it is illegal to take Poseidon files that I obtained from a legal purchase of MorphOS and copy them over to my OS4 box which I obtained legally and run them via some form of an emulator? In fact, you would put in code to prevent this from working if you had to?

Am I interpreting this correctly?

_________________
ExecSG Team Lead

 Status: Offline
Profile     Report this post  
gnarly 
Re: usb library wrapper
Posted on 2-Jun-2005 16:27:56
#12 ]
Cult Member
Joined: 16-Mar-2003
Posts: 742
From: Cheltenham, UK

@ssolie

That depends. Does the Poseidon license say that those files can only be used with the copy of MorphOS with which they were supplied (or something along those lines)?

_________________

 Status: Offline
Profile     Report this post  
ssolie 
Re: usb library wrapper
Posted on 2-Jun-2005 19:32:32
#13 ]
Elite Member
Joined: 10-Mar-2003
Posts: 2755
From: Alberta, Canada

@gnarly
Reading yet another license isn't what I'm after. What I'd like to know if I am interpreting the intent of the license correctly. Usually these licenses forbid you from running on more than one computer at a time--standard stuff and very understandable. This license seems to go a step further and limit what kind of computer you can run the software on. I'd like Chris to clarify this himself so there is no question as to the intent.

_________________
ExecSG Team Lead

 Status: Offline
Profile     Report this post  
d_w_cook 
Re: usb library wrapper
Posted on 2-Jun-2005 19:51:54
#14 ]
Member
Joined: 8-Apr-2004
Posts: 42
From: Bothell, Washington, USA

@Beeblebrox

That is what I was suggesting as well, a "fake" poseidon library that presents that api to applications, but implements the functionality with calls to the OS4 usb stack. No actual poseiden executable would be used at all. That should be possible even if the internal operation of the two is implemented differently, though I'll admit I haven't looked at either one closely to see if there are any issues.

 Status: Offline
Profile     Report this post  
Anonymous 
Re: usb library wrapper
Posted on 2-Jun-2005 21:01:50
# ]

0
0

@Beeblebrox

Any parts of Poseidon (executables, documentation, includes, SDK, etc.) may not be used outside the scope of the package. Hence, if somebody would write a wrapper library, that would allow the original Poseidon classes to run, I would consider this illegal. Writing a wrapper that allows third party programs (e.g. SimpleCAM) to work under the OS4 stack would be okay, I suppose. But then again, I doubt somebody will write such a wrapper, because it is a lot of work. It would be easier to rewrite the usb parts of the applications to the OS4 stack than going for a wrapper library.

Best Regards

Chris Hodges

 
     Report this post  
Anonymous 
Re: usb library wrapper
Posted on 2-Jun-2005 21:10:43
# ]

0
0

@ssolie

> So are you are saying is that it is illegal to take Poseidon files that I
> obtained from a legal purchase of MorphOS and copy them over to my OS4 box
> which I obtained legally and run them via some form of an emulator?

Yes, if you only use parts of the package, but not the whole package (especially a faked poseidon.library). Poseidon V2.2 is licenced to MorphOS, as to some OEMs on AmigaOS3.x. It is not licenced yet to OS4. It is a similar case like saying Roadshow from OS4 cannot be used on MorphOS, because of the licence involved.

> In fact, you would put in code to prevent this from working if you had to?
>
> Am I interpreting this correctly?

If somebody tries to do something with Poseidon that it was not intended to be used for, e.g. to get around the licencing fee/keyfile, and therefore do damage to me (morally or monetary), I would quickly take countermeasures. Or as well, take my hat and go.

Best Regards

Chris Hodges

 
     Report this post  
MagicSN 
Re: usb library wrapper
Posted on 3-Jun-2005 1:02:42
#17 ]
Hyperion
Joined: 10-Mar-2003
Posts: 786
From: Unknown

@Beeblebrox

On the site there is actually also the source-code of SimpleCam. Maybe someone with
clue about USB can just port those tools to the OS 4 USB-Stack ? I think it would be very
useful to have (myselves I got a Camera supported by SimpleCam...).

Steffen

 Status: Offline
Profile     Report this post  
ssolie 
Re: usb library wrapper
Posted on 3-Jun-2005 16:17:06
#18 ]
Elite Member
Joined: 10-Mar-2003
Posts: 2755
From: Alberta, Canada

@platon42
Quote:
If somebody tries to do something with Poseidon that it was not intended to be used for, e.g. to get around the licencing fee/keyfile, and therefore do damage to me (morally or monetary), I would quickly take countermeasures. Or as well, take my hat and go.

Thanks for the explanation Chris.

_________________
ExecSG Team Lead

 Status: Offline
Profile     Report this post  
d_w_cook 
Re: usb library wrapper
Posted on 3-Jun-2005 20:49:23
#19 ]
Member
Joined: 8-Apr-2004
Posts: 42
From: Bothell, Washington, USA

@platon42

Do you have any interest in making a wrapper library for the OS4 usb stack yourself (I'm assuming that the real Poseiden couldn't run at the same time as the OS4 stack)? I would be willing to pay for something like this, and you certianly know the Poseiden API. While I agree that apps can be ported directly to OS4, there are existing 68k comercial apps that may never get updated that I could use now, like VHI Studio.

 Status: Offline
Profile     Report this post  
Anonymous 
Re: usb library wrapper
Posted on 5-Jun-2005 13:38:30
# ]

0
0

@d_w_cook

I neither have time, nor the interest, nor the hardware, nor the documentation to develop a wrapper library for the OS4 stack.

Talking about IOSpirit applications, at least FxScan is supposed to go through a library supporting both the Poseidon API and the Sirion stack (which later became the OS4 stack). Regarding VHI Studio: The PenCamTool and pencam.vhi driver sources are included in the Poseidon SDK.

 
     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle