s5vi's Motorola p2k phone page
February 10, 2012, 06:57:08 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Over 30000 member ! Under heavy spammer attack ! Cleaning in progress !
V-6.0.0 with CDMA support is available now.
To become VIP: you can do it via PayPal: http://www.el-co.hu/p2k05/paypal.html
 
   Home   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: p2k-core remastered  (Read 5598 times)
0 Members and 1 Guest are viewing this topic.
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« on: July 04, 2008, 07:18:25 am »

http://www.el-co.hu/dl/p2kc/p2k-core-new.tar.bz2

With kind help of Jan-Michael Brummer jan[dot]brummer[at]tabos[dot]org
« Last Edit: July 04, 2008, 07:23:05 am by s5vi » Logged

sewpafly
Newbie
*
Offline Offline

Posts: 1


« Reply #1 on: August 02, 2008, 01:15:43 am »

I don't know if this is the right place to put this, but I'm having trouble getting my motorola W755 connected (it seems to have the same productid as the W385).  I'm seeing different behavior between the latest p2k-core and the one included with p2kc gui (0.6).

The 1.5 p2k-core seems to at least see it but disconnects the device afterwards.
Code:
[]$ ls -la /dev/ttyUSB*
crw-rw---- 1 root uucp 188, 0 2008-08-01 09:44 /dev/ttyUSB0
crw-rw---- 1 root uucp 188, 1 2008-08-01 09:44 /dev/ttyUSB1
[]$ sudo p2k-core/p2k-core
[sudo] password for xxxx:
V_1.5 Commands: exit,conn,info,seem,file,fold,mode,help,list
Shell commands and command history (up/down arrows) also works.
---------------------------------------------------------------
 Search for Motorola USBLAN Interface.
 Search for Motorola Test Command.
 Search for Motorola Data Interface.
 Found Interface: Motorola Communication Interface
 Interface 00 is claimed by kernel driver: usbserial_generic
 Interface 00 is detached from kernel driver: usbserial_generic
 Interface 01 is claimed by kernel driver: usbserial_generic
 Interface 01 is detached from kernel driver: usbserial_generic
 Inteface number: 00, Endpoints: 81 82
 Switching to P2kmode (cca. 2-3 sec)
!error: bulk write failed
P2k:> info a
 Search for Motorola USBLAN Interface.
 Search for Motorola Test Command.
 Search for Motorola Data Interface.
 Found Interface: Motorola Communication Interface
 Inteface number: 00, Endpoints: 81 82
 Switching to P2kmode (cca. 2-3 sec)
!error: bulk write failed
P2k:> exit
Bye...
[]$ ls -la /dev/ttyUSB*
ls: cannot access /dev/ttyUSB*: No such file or directory

This time I tried using the -m switch to the drive...  Still disconnects it but looks better.
Code:
[]$ ls -la /dev/ttyUSB*
crw-rw---- 1 root uucp 188, 0 2008-08-01 09:50 /dev/ttyUSB0
crw-rw---- 1 root uucp 188, 1 2008-08-01 09:50 /dev/ttyUSB1
[]$ sudo p2k-core/p2k-core -m /dev/ttyUSB0
V_1.5 Commands: exit,conn,info,seem,file,fold,mode,help,list
Shell commands and command history (up/down arrows) also works.
---------------------------------------------------------------
 Search for Motorola USBLAN Interface.
 Search for Motorola Test Command.
 Modem mode, device: /dev/ttyUSB0
 Switching to P2kmode (cca. 2-3 sec)
 Search for Motorola Test Command.
 Found Interface: Motorola Test Command
 Inteface number: 00, Endpoints: 00 00
 This is P2k phone.
 Phone model:
!error: received data corrupted:0070
P2k:> info a
 Phone model:
!error: received data corrupted:0070
[]$ ls -la /dev/ttyUSB*
ls: cannot access /dev/ttyUSB*: No such file or directory

Here's the output using both methods with the latest code.
Code:
[ p2k-core-new]$ ls -la /dev/ttyUSB*
crw-rw---- 1 root uucp 188, 0 2008-08-01 09:53 /dev/ttyUSB0
crw-rw---- 1 root uucp 188, 1 2008-08-01 09:53 /dev/ttyUSB1
[ p2k-core-new]$ sudo ./p2k-core
V_1.6 Commands: exit,conn,info,seem,file,fold,mode,help,list
Shell commands and command history (up/down arrows) also works.
---------------------------------------------------------------
!error: device not found.
[ p2k-core-new]$ ls -la /dev/ttyUSB*
crw-rw---- 1 root uucp 188, 0 2008-08-01 09:53 /dev/ttyUSB0
crw-rw---- 1 root uucp 188, 1 2008-08-01 09:53 /dev/ttyUSB1
[brent@gryffindor p2k-core-new]$ sudo ./p2k-core -m /dev/ttyUSB0
V_1.6 Commands: exit,conn,info,seem,file,fold,mode,help,list
Shell commands and command history (up/down arrows) also works.
---------------------------------------------------------------
!error: device not found.
 

Any thoughts?
Logged
nihil
Newbie
*
Offline Offline

Posts: 5


« Reply #2 on: August 15, 2008, 09:59:41 pm »

Same results with my W755. I'd be up for beta testing code and whatnot, very interested in getting this phone working. Moto4lin was doing ok for me, but after adding to the filesystem it doesn't want to list the files (pulls the list, just wont display).

Quote
jama:~/src/p2kc_0.6_source/p2k-core# ./p2k-core -m /dev/ttyUSB0
V_1.5 Commands: exit,conn,info,seem,file,fold,mode,help,list
Shell commands and command history (up/down arrows) also works.
---------------------------------------------------------------
 Search for Motorola USBLAN Interface.
 Search for Motorola Test Command.
 Modem mode, device: /dev/ttyUSB0
 Switching to P2kmode (cca. 2-3 sec)
 Search for Motorola Test Command.
 Found Interface: Motorola Test Command
 Inteface number: 00, Endpoints: 00 00
 This is P2k phone.
 Phone model:
!error: received data corrupted:0070
P2k:>

And with the new rewrite:
Quote
jama:~/src/p2k-core-new# ./p2k-core -m /dev/ttyUSB0
V_1.6 Commands: exit,conn,info,seem,file,fold,mode,help,list
Shell commands and command history (up/down arrows) also works.
---------------------------------------------------------------
!error: device not found.
Logged
nihil
Newbie
*
Offline Offline

Posts: 5


« Reply #3 on: August 16, 2008, 12:41:47 am »

I found a version that seems to work in limited capacity with the W755. I can get a file listing, which is more than I got with the other versions. The 'info' command errors out (!error: received data corrupted:0070), seem downloading works.

Quote
jama:~/src/p2kcore# ./p2k-core -m /dev/ttyUSB0
V_1.1 Commands: exit,conn,info,seem,file,fold,mode,help,list
Shell commands and command history (up/down arrows) also works.
---------------------------------------------------------------
 Search for Motorola Test Command.
 Found Interface: Motorola Test Command
 Inteface number: 00, Endpoints: 00 00
 This is P2k phone.
P2k:>
Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #4 on: August 16, 2008, 07:50:13 pm »

Thank for testing .
1.1 seems to work because this version dosent try to get phone model. newer version try to got model with reading seem 117,1

I think i must revise that remastered code. I'm now busy with make code for new Juix phones (V8,Z6,U9)
Logged

nihil
Newbie
*
Offline Offline

Posts: 5


« Reply #5 on: August 16, 2008, 09:48:28 pm »

That seem is empty on the W755, which would explain the errors.
Logged
nihil
Newbie
*
Offline Offline

Posts: 5


« Reply #6 on: March 24, 2009, 11:58:56 pm »

Did you ever get around to fixing the code? I haven't seen many new posts in the p2k mac/linux forum, so figured I would ask.
Logged
youtube_video
Newbie
*
Offline Offline

Posts: 3



WWW Email
« Reply #7 on: November 27, 2010, 10:47:08 am »

Hai everybody all,
Thankyou for the information in the p2k core remastered and for the excellent topic Thankyou.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!

Bad Behavior has blocked 128 access attempts in the last 7 days.



Google visited last this page February 05, 2012, 03:05:43 pm