LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-23-2007, 09:13 PM   #1
mastersword
Member
 
Registered: Jun 2006
Distribution: openSuSE 10.2
Posts: 34

Rep: Reputation: 15
Moto4lin W/ Motorole Razr Suse 10.2


I'm having a terribly hard time getting this program to work. I've installed moto4lin, and it detects when my phone is plugged in as well as when I unplug it, however it will not connect to my phone in. I've been told I also need to install p2ktest, but for some reason when I try to run it, p2ktest tells me:

p2ktest: error while loading shared libraries: libp2kmoto.0: cannot open shared object file: No such file or directory

All I'm trying to do is edit ringtones and download my pictures. Any help at all would be appreciated. Thanks!
 
Old 01-24-2007, 02:18 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
The device may be wrong, for me the device really is /dev/ttyACM0 maybe this is the problem?

Jan 23 15:22:14 Aspire5000 kernel: cdc_acm 3-3:1.0: ttyACM0: USB ACM device
Jan 23 15:22:14 Aspire5000 kernel: usbcore: registered new interface driver cdc_acm
Jan 23 15:22:14 Aspire5000 kernel: drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
 
Old 01-25-2007, 11:11 AM   #3
mastersword
Member
 
Registered: Jun 2006
Distribution: openSuSE 10.2
Posts: 34

Original Poster
Rep: Reputation: 15
Would that cause p2ktest to fail with that error message? If so, how do I check? At the risk of sounding like a total noob, what exactly is all this:

Jan 23 15:22:14 Aspire5000 kernel: cdc_acm 3-3:1.0: ttyACM0: USB ACM device
Jan 23 15:22:14 Aspire5000 kernel: usbcore: registered new interface driver cdc_acm
Jan 23 15:22:14 Aspire5000 kernel: drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters

and how do I bring it up?
 
Old 01-25-2007, 12:28 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
This is the output from my /var/log/messages file;

Code:
Jan 23 15:22:14 Aspire5000 kernel: cdc_acm 3-3:1.0: ttyACM0: USB ACM device
Jan 23 15:22:14 Aspire5000 kernel: usbcore: registered new interface driver cdc_acm
Jan 23 15:22:14 Aspire5000 kernel: drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
The first line shows that when I attached the cellphone via the USB interface it was recognized as device ttyACM0 (/dev/ttyACM0). You should also see something like this after attaching your cellphone. If not then your missing something, maybe the cdc-acm.ko kernel module. Plug the phone in and take a look at your messages file (as root or equivalent);

tail /var/log/messages
 
Old 01-25-2007, 06:12 PM   #5
mastersword
Member
 
Registered: Jun 2006
Distribution: openSuSE 10.2
Posts: 34

Original Poster
Rep: Reputation: 15
Ok, here's what I get:

Jan 25 19:08:26 marctop kernel: usb 2-1: new full speed USB device using uhci_hcd and address 4
Jan 25 19:08:26 marctop kernel: usb 2-1: new device found, idVendor=22b8, idProduct=4902
Jan 25 19:08:26 marctop kernel: usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=0
Jan 25 19:08:26 marctop kernel: usb 2-1: Product: Motorola Phone (V3/P)
Jan 25 19:08:26 marctop kernel: usb 2-1: Manufacturer: Motorola Inc.
Jan 25 19:08:26 marctop kernel: usb 2-1: configuration #1 chosen from 2 choices
Jan 25 19:08:27 marctop kernel: cdc_acm 2-1:1.0: ttyACM0: USB ACM device


I noticed it's not exactly the same as yours, but certain aspects are the same... I have my device set to ttyACM0 in moto4lin, but it still fails. p2ktest still gives me the same error as well.

Last edited by mastersword; 01-25-2007 at 06:15 PM.
 
Old 01-25-2007, 10:49 PM   #6
1dude1
Member
 
Registered: Jan 2006
Location: Steamboat Springs, CO
Distribution: hda1= swap hda2=gentoo hda3=music hda4=slackware10.2
Posts: 101

Rep: Reputation: 15
well now instead of being ACM it should be hcd like the good logfile says i think. i don't know that much about moto4lin, because when i attach my phone i just plug back in my windows hard drive (eliminates complication) but i can read logfiles.
 
Old 01-26-2007, 05:13 AM   #7
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Yes sometimes it can be known as a hard drive device, like;

http://moto4lin.sourceforge.net/wiki/Razr_V3i
 
Old 01-28-2007, 09:37 PM   #8
mastersword
Member
 
Registered: Jun 2006
Distribution: openSuSE 10.2
Posts: 34

Original Poster
Rep: Reputation: 15
Ok, I see the area in the log file you're refering to. What does that mean for me? Should I switch the device to /dev/uhci_hcd?

Also, after checking out that link from Lenard, is it possible to have my phone connect like that? It seems for some reason his is comming up like a scsi hard drive, whereas mine does not. Here is the relevant output from dmesg:

usb 2-1: new full speed USB device using uhci_hcd and address 2
usb 2-1: new device found, idVendor=22b8, idProduct=4902
usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1: Product: Motorola Phone (V3/P)
usb 2-1: Manufacturer: Motorola Inc.
usb 2-1: configuration #1 chosen from 2 choices
cdc_acm 2-1:1.0: ttyACM0: USB ACM device
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters


Thanks!

Last edited by mastersword; 01-28-2007 at 09:42 PM.
 
Old 01-29-2007, 05:18 AM   #9
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Looks like it is /dev/ttyACM0 just like on my system.

Try starting moto4lin choose Preferences set the ACM device to /dev/yytACM0, switch to PKmode and select your cell phone (USB View), which is what I had to do the first time.
 
Old 01-30-2007, 08:11 AM   #10
mastersword
Member
 
Registered: Jun 2006
Distribution: openSuSE 10.2
Posts: 34

Original Poster
Rep: Reputation: 15
Gave it a try, I still get the "[error] Unable to connect" message. I still don't understand why p2ktest is giving me errors when I run it from console t though... Wouldn't that be part of this problem potentially?
 
Old 01-30-2007, 09:16 AM   #11
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Hmmm........ what I see when using moto4lin starting from a xterm session (as root);

# moto4lin
Form1
PhoneMan
New mode: 1
New mode: 0
New mode: 2
doActConnect
doActConnect
P2kProc::doConnect()
doActConnect
Filelist received: 487

The two lines "New mode 1" and "New mode 0" are AT devices which are not good for me. The "New mode 2'" line is when I press the "Switch to P2K" button in Preferences. The next four lines are what happens when I click on the Connect/Disconnect button (main moto4lin menu). The last line "Filelist recieved: 487" is what happens when I press the "Update List" button.

I have no pk2test installed(I'm 64-bit and this does not build correctly), but after switching to PK my device ID's are; idVendor=22b8, idProduct=4901

You might want to try the CVS version.
 
Old 01-30-2007, 11:49 AM   #12
mastersword
Member
 
Registered: Jun 2006
Distribution: openSuSE 10.2
Posts: 34

Original Poster
Rep: Reputation: 15
I'm unable to get the "New Mode 2" status, here is what I get:

# moto4lin
Form1
PhoneMan
New mode: 1
New mode: 0
New mode: 1
doActConnect
doActConnect
P2kProc::doConnect()

It switched to New Mode : 0 when I hit "swtich to p2k." Afterwards, I hit "Connect/Disconnect" and got the last three lines. Moto4lin then gave me an unable to connect error.

I get identical IDs to you for my phone.

I'll take a look at CVS version, and post my results.

Last edited by mastersword; 01-30-2007 at 11:50 AM.
 
Old 01-30-2007, 01:09 PM   #13
mastersword
Member
 
Registered: Jun 2006
Distribution: openSuSE 10.2
Posts: 34

Original Poster
Rep: Reputation: 15
Ok, I've managed to get my phone detected as P2k by changing the AT values to something incorrect. Now, I actually get a "New Mode: 2" message, but my phone still won't connect. Here's my moto4lin output:

# moto4lin
Form1
PhoneMan
New mode: 1
New mode: 2
doActConnect
doActConnect
P2kProc::doConnect()
(E_openPhone: Unable to set configuration)


Everything up to New Mode: 2 is from the first boot of moto4lin. doActConnect is when I hit the "Connect/Disconnect" button on the main screen, and after that is the error I get.
mo
As for the CVS, it looks like the version of P2kmoto I got off sourceforge hasn't been updated since 2005... Has this project been moved to a place other than http://sourceforge.net/projects/moto4lin ?

Last edited by mastersword; 01-30-2007 at 01:10 PM.
 
Old 01-30-2007, 03:01 PM   #14
mastersword
Member
 
Registered: Jun 2006
Distribution: openSuSE 10.2
Posts: 34

Original Poster
Rep: Reputation: 15
Woah! Seems, I've fixed it! Not quite sure what I did, but the sequence I used to get it to work was as follows:

1) Plug phone in
2) log in as root and start moto4lin
3) Settings, update list, find my phone and click set as p2k
4) Click switch to p2k
5) connect/disconnect
6) update list

Bingo! Everything works. Thanks for all the help . The only difference here is I switched the values in the settings for the AT section to something invalid so that it would no longer try to connect my phone as AT.
 
Old 01-30-2007, 04:46 PM   #15
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Very good I'm glad you got it worked out, enjoy.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Moto4lin Help elementadiobam Linux - Software 0 09-23-2006 01:45 PM
Configuring my usb device in moto4lin agentchange SUSE / openSUSE 2 06-27-2006 03:54 PM
Having trouble installing moto4lin agentchange SUSE / openSUSE 10 06-25-2006 07:00 PM
a real newbie how-to question - setting up moto4lin agentchange SUSE / openSUSE 9 06-08-2006 06:37 PM
Moto4lin causes cdc_amc module failure? tinksmartbstupi Linux - Software 0 05-22-2005 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration