s5vi's Motorola p2k phone page
September 09, 2010, 12:03:46 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
Your Ad Here
News: 29000 member !!!
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  

Email me.
You can help me to work on P2kc.
I'm looking for a freelance work.
Upcoming V-5.0.0 can be branded with your company for a small fee. Please contact me.
Email me.
Your Ad Here
Pages: [1]   Go Down
  Print  
Author Topic: p2k-core remastered  (Read 3816 times)
0 Members and 2 Guests are viewing this topic.
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 758



WWW Email
« on: July 04, 2008, 08: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, 08:23:05 am by s5vi » Logged

sewpafly
Newbie
*
Offline Offline

Posts: 1


« Reply #1 on: August 02, 2008, 02: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, 10: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, 01: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: 758



WWW Email
« Reply #4 on: August 16, 2008, 08: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, 10: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
Pages: [1]   Go Up
  Print  
 
Jump to:  

s5vi webdesign: | www.inox-crom.hu | www.tancsicscipo.hu | www.el-co.hu | www.fulopkapu.hu | editdekor.atw.hu
Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media Valid XHTML 1.0! Valid CSS!