Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113698 - p2kmoto - a library needed by moto4lin for "p2k phones" [ebuild]
Summary: p2kmoto - a library needed by moto4lin for "p2k phones" [ebuild]
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: http://sourceforge.net/projects/moto4...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-11-27 04:51 UTC by Matija "hook" Šuklje
Modified: 2016-10-12 00:22 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
p2kmoto snapshot used with ebuild. (p2kmoto-0.1_p20060110.tar.bz2,198.84 KB, application/octet-stream)
2006-01-09 06:33 UTC, Danny Brain
Details
moto4lin snapshot used with ebuild. (moto4lin-0.3_p20060110.tar.bz2,80.13 KB, application/octet-stream)
2006-01-09 06:33 UTC, Danny Brain
Details
moto4lin-0.3_p20060110.ebuild (moto4lin-0.3_p20060110.ebuild,737 bytes, text/plain)
2006-01-09 06:34 UTC, Danny Brain
Details
p2kmoto-0.1_p20060110.ebuild (p2kmoto-0.1_p20060110.ebuild,706 bytes, text/plain)
2006-01-09 06:35 UTC, Danny Brain
Details
svn ebuild (p2kmoto-9999.ebuild,1.18 KB, text/plain)
2008-03-23 00:27 UTC, Jan Buecken
Details
svn ebuild (moto4lin-9999.ebuild,1.37 KB, text/plain)
2008-03-23 00:33 UTC, Jan Buecken
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matija "hook" Šuklje 2005-11-27 04:51:34 UTC
p2kmoto is a library made by the moto4lin project (Motorola mobile phones 
connectable/usable under Linux) and is supposed to make (newer) so called "p2k" 
phones from Motorola connect/work with the moto4lin package. 
 
link to the packet's download page: 
 
http://sourceforge.net/project/showfiles.php?group_id=132142&package_id=148357
Comment 1 Carlos Silva (RETIRED) gentoo-dev 2005-11-30 06:39:58 UTC
does the new version of moto4lin work with this "newer" phones?
Comment 2 Matija "hook" Šuklje 2005-11-30 07:01:13 UTC
AFAIK the "p2k" is only a Motorola term for the USB cable to connect your 
Motorola phone with. 
 
And yes, the new version of moto4lin is supposed to be made to work with these 
"newer" phones ...as a matter of fact, I learned about this lib on their 
homepage, because a user reported a bug with a newer model and they said it 
should work ok with the latest moto4lin and p2kmoto lib. 
Comment 3 Carlos Silva (RETIRED) gentoo-dev 2005-11-30 07:14:08 UTC
but then, this library is still needed right? did you try moto4lin-0.3_p20051125?
Comment 4 Matija "hook" Šuklje 2005-11-30 07:28:34 UTC
I honestly don't know ...I tried it on 0.3 and it didn't work. 
 
I based my "knowledge" on this matter on the following links: 
http://moto4lin.sourceforge.net/wiki/V980 
http://moto4lin.sourceforge.net/wiki/CVS_Installation 
 
I couldn't find if p2kmoto is included in moto4lin-0.3_* though. The two 
mentioned links make it seem that it isn't. 
Comment 5 Danny Brain 2006-01-09 05:47:47 UTC
(In reply to comment #4)
> I honestly don't know ...I tried it on 0.3 and it didn't work. 
>  
> I based my "knowledge" on this matter on the following links: 
> http://moto4lin.sourceforge.net/wiki/V980 
> http://moto4lin.sourceforge.net/wiki/CVS_Installation 
>  
> I couldn't find if p2kmoto is included in moto4lin-0.3_* though. The two 
> mentioned links make it seem that it isn't. 

As far as I can tell p2kmoto is basically the moto4lin p2k API seperated into a library of it's own (compare p2kmoto.c with p2kproc.cpp).
It is not a dependency of moto4lin, although it may be at a later stage (seems they're trying to split the functionality).

Just a little note, when you first connect the phone it will be in AT mode (in Preferences -> Connection -> Update List it will show your phone).
When you switch to P2K mode the product ID changes, so if you are getting the mentioned error on the Wiki page it is because you have an invalid P2K product ID (Update List again to find the valid PID).

The P2K calls they're using seem to be out dated, all based off of someones go at writing a Visual Basic P2K API.
Comment 6 Danny Brain 2006-01-09 06:33:20 UTC
Created attachment 76619 [details]
p2kmoto snapshot used with ebuild.
Comment 7 Danny Brain 2006-01-09 06:33:50 UTC
Created attachment 76620 [details]
moto4lin snapshot used with ebuild.
Comment 8 Danny Brain 2006-01-09 06:34:57 UTC
Created attachment 76621 [details]
moto4lin-0.3_p20060110.ebuild
Comment 9 Danny Brain 2006-01-09 06:35:21 UTC
Created attachment 76622 [details]
p2kmoto-0.1_p20060110.ebuild
Comment 10 Danny Brain 2006-01-09 06:40:21 UTC
Ok, after installing p2kmoto and retrying moto4lin I could actually read data from my phone (everything apart from KJava works). So I thought I'd get it going ebuild wise.

Basically:
- Grabbed latest CVS snapshots of p2kmoto and moto4lin.
- Wrote up an ebuild (based on moto4lin ebuild as I'm new to this) for p2kmoto.
- Modified moto4lin ebuild, giving it a new use flag (p2kmoto) as it's not really a dependency.
- For testing I placed it under app-mobilephone/p2kmoto (can't find a more suitable location in the current structure).

Sorry assignee if I have done this the wrong way, havn't fiddled with ebuilds much/at all
Comment 11 Matija "hook" Šuklje 2006-01-14 05:37:29 UTC
Just tried Danny's ebuild (from teh 20060110 CVS snapshots)and here's the results:

- both compile fine on amd64
- I can connect and use my V975

I haven't tried what happens without p2kmoto, yet, though.
Comment 12 Phillip Berndt 2006-07-17 12:53:22 UTC
Works for me.

My phone works fine using p2k without having p2kmoto installed. The moto4lin wiki doesn't mention that dependency as well. (Only for testing purposes)

Maybe Bug #140817 works for you.
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-25 15:37:49 UTC
I'll do this, as it's going to be needed for new KMobileTools.
Comment 14 Jan Buecken 2008-03-23 00:27:29 UTC
Created attachment 146962 [details]
svn ebuild

Hi,
I "played" with my mobilephone and find p2kmoto and moto4lin. Because this ebuilds are obsolete (e.g. it p2kmoto runs libtoolize directly and does not use the autotools.eclass) and are not up to date I write an ebuild which checkout the svn for each of the tools. 
Since there is no maintainer this helps to be up to date...
(But it seems to me that there was no development the last two years, maybe this ebuilds are not longer interesting, but I bumped my experience... ;-) )
Comment 15 Jan Buecken 2008-03-23 00:33:14 UTC
Created attachment 146964 [details]
svn ebuild

same for moto4lin
Comment 16 Marek Szuba archtester gentoo-dev 2016-09-08 13:30:31 UTC
There hasn't been any Subversion activity upstream since 2008, not to mention that the hardware this project supports hasn't exactly been getting any younger either. Is there still any user demand for adding this package to Portage?