LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 03-04-2005, 03:03 PM   #1
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Mount Motorola V400 as filesystem (or, how do I transfer files to/from V400?)


I'd like to be able to mount my Motorola V400 phone to transfer files (and hopefully even sync my contacts and schedule) via the mobile connect kit cable.

When I connect the phone to the system, Linux recognizes it as a modem, but what I really want to do is mount the filesystem on the phone to transfer images, recordings, and of course mp3 and MIDI files.

I might have to reboot to Windows for the second time this year to pull the files off. Oh, the pain, THE PAIN!!! ;)

Seriously though: How do I mount the V400 as a filesystem?


Here is the enumeration information:

dmesg output:

Code:
usb 1-1.1: new full speed USB device using address 14
usb 1-1.1: Product: Motorola Phone (V400)
usb 1-1.1: Manufacturer: Motorola Inc.
cdc_acm 1-1.1:1.0: ttyACM0: USB ACM device<6>usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.23:USB Abstract Control Model driver for USB modems and ISDN adapters
usb 1-1.1: USB disconnect, address 14
usb 1-1.1: new full speed USB device using address 15
usb 1-1.1: device not accepting address 15, error -71
usb 1-1.1: new full speed USB device using address 16
usb 1-1.1: device not accepting address 16, error -71
usb 1-1.1: new full speed USB device using address 17
usb 1-1.1: device not accepting address 17, error -71
usb 1-1.1: new full speed USB device using address 18
usb 1-1.1: device not accepting address 18, error -71
usb 1-1.2: new full speed USB device using address 19
usb 1-1.2: device not accepting address 19, error -71
usb 1-1.2: new full speed USB device using address 20
usb 1-1.2: device not accepting address 20, error -71
usb 1-1.1: new full speed USB device using address 21
usb 1-1.1: device not accepting address 21, error -71
usb 1-1.1: new full speed USB device using address 22
usb 1-1.1: device not accepting address 22, error -71
hub 1-1:1.0: connect-debounce failed, port 1 disabled
usb 1-1.1: new full speed USB device using address 23
usb 1-1.1: Product: Motorola Phone (V400)
usb 1-1.1: Manufacturer: Motorola Inc.
cdc_acm 1-1.1:1.0: ttyACM0: USB ACM device
USB Viewer output:

Code:
Motorola Phone (V400)
Manufacturer: Motorola Inc.
Speed: 12Mb/s (full)
USB Version:  1.10
Device Class: 02(comm.)
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 22b8
Product Id: 4902
Revision Number:  0.01

Config Number: 1
	Number of Interfaces: 2
	Attributes: c0
	MaxPower Needed:  20mA

	Interface Number: 0
		Name: cdc_acm
		Alternate Number: 0
		Class: 02(comm.) 
		Sub Class: 2
		Protocol: 1
		Number of Endpoints: 1

			Endpoint Address: 89
			Direction: in
			Attribute: 3
			Type: Int.
			Max Packet Size: 16
			Interval: 10ms

	Interface Number: 1
		Name: cdc_acm
		Alternate Number: 0
		Class: 0a(data ) 
		Sub Class: 0
		Protocol: 0
		Number of Endpoints: 2

			Endpoint Address: 01
			Direction: out
			Attribute: 2
			Type: Bulk
			Max Packet Size: 32
			Interval: 0ms

			Endpoint Address: 82
			Direction: in
			Attribute: 2
			Type: Bulk
			Max Packet Size: 32
			Interval: 0ms

. . . and the related info from /proc/bus/usb/devices:

Code:
T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 23 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=22b8 ProdID=4902 Rev= 0.01
S:  Manufacturer=Motorola Inc.
S:  Product=Motorola Phone (V400)
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr= 20mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
E:  Ad=89(I) Atr=03(Int.) MxPS=  16 Ivl=10ms
I:  If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
E:  Ad=01(O) Atr=02(Bulk) MxPS=  32 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  32 Ivl=0ms
 
Old 03-04-2005, 06:41 PM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
I'm not real handy with cell phones, but I found something hopeful here.

http://www.altlinux.org/index.php?mo...ckage=moto4lin

You may find more help here.

http://www.cellphonehacks.com/

good luck.
 
1 members found this post helpful.
Old 03-04-2005, 07:31 PM   #3
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Original Poster
Rep: Reputation: 46
Thanks, Peacedog! I'll check those sites out tomorrow.
 
Old 03-05-2005, 06:07 PM   #4
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Your welcome.
good luck.
 
Old 03-05-2005, 08:37 PM   #5
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Original Poster
Rep: Reputation: 46
So far it's failing miserably. Here is what I found so far:

1. The preferences dialog does not accept changes for the device location. So, /dev/usb/acm/0 is essentially hard-coded into the source. As a quick test I checked dmesg to see what the phone is being enumerated as - /dev/ttyASM0 - and hard-coded that and recompiled.

2. Now, it complained about not being able to write to ~/.qt/ - a directory IT created when I ran it. So I hit that with a nuke by applying 777 rights to it. This fixed that specific problem but didn't resolve the connection issue.

It still won't connect, and I haven't tried debugging the app yet - but since I don't know Motorola's p2k protocol, I don't have enough info to debug this thing. Well, since this project is under a month old I'll wait and see. Looks like I'll need to reboot to Windows - for the second time this year.
 
Old 03-07-2005, 07:47 AM   #6
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
You might contact these folks, they may have some better resources.

http://bitpim.sourceforge.net/

good luck.
 
Old 03-21-2005, 05:04 PM   #7
dionua
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian GNU/Linux
Posts: 1

Rep: Reputation: 0
Quote:
Originally posted by KimVette
So far it's failing miserably. Here is what I found so far:

1. The preferences dialog does not accept changes for the device location. So, /dev/usb/acm/0 is essentially hard-coded into the source. As a quick test I checked dmesg to see what the phone is being enumerated as - /dev/ttyASM0 - and hard-coded that and recompiled.

2. Now, it complained about not being able to write to ~/.qt/ - a directory IT created when I ran it. So I hit that with a nuke by applying 777 rights to it. This fixed that specific problem but didn't resolve the connection issue.

It still won't connect, and I haven't tried debugging the app yet - but since I don't know Motorola's p2k protocol, I don't have enough info to debug this thing. Well, since this project is under a month old I'll wait and see. Looks like I'll need to reboot to Windows - for the second time this year.
Hello. I am main developer of moto4lin. I want to answer to this post.

1. Preferences dialog accept all changes. There is only default value in source code, but no hard-code.
2. Yes, all qt programs (not KDE) writes to ~/.qt/

I don't know is V400 supported. At first, try to launch it as root or check, that current user can write to ACM device _AND_ to /proc/bus/usb/*

Yes, project is under a month, but now it supports C350L, C380/C650/V180/V220. Now I am working with C350 and E398 support.
If you can not use it with your phone, then possible there are some differents in P2k protocol. Please contact me via email: dion at rcom.zp.ua.

Project is registered in sf.net: http://sourceforge.net/projects/moto4lin/

Good luck.
 
Old 04-24-2005, 08:01 PM   #8
FlyingW
LQ Newbie
 
Registered: Mar 2005
Location: Spokane, WA
Distribution: LinuxMint Elyssa/FreeBSD 7.1
Posts: 4

Rep: Reputation: 0
moto4lin v220

I can't seem to find my phone either...Slackware 10 2.6.11

cat /proc/bus/usb/devices shows

T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 14 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=22b8 ProdID=4902 Rev= 0.01
S: Manufacturer=Motorola Inc.
S: Product=Motorola Phone (V220ENS)
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr= 20mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=(none)
E: Ad=89(I) Atr=03(Int.) MxPS= 16 Ivl=10ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms


I tried # mknod /dev/ttyACM0 c 166 0
but to no avail.. moto4lin says


[info] phone pluged as AT
try to connect
[error] unable to connect


sure would be nice to transfer photos from this thing.
Any help would surely be appreciated!

FW
 
Old 08-24-2005, 09:53 PM   #9
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Original Poster
Rep: Reputation: 46
Is dionua still here? Right after I last posted I got REALLY busy at the office and when I came back I couldn't find this thread again. I'd like to work with dionua to provide any debug/test information to help make the utility usable.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 08:29 PM
HELP!!! Can't mount filesystem!!! SteelTitan Linux - General 2 06-28-2005 02:57 PM
I can mount a floppy, but can't transfer anything over? ExCIA Linux - Newbie 9 04-27-2005 02:27 PM
Filesystem transfer? eXhale Linux - General 1 12-16-2004 06:03 PM
HELP: I cannot mount my filesystem. Manuel-H Linux - Software 1 06-19-2004 09:14 AM


All times are GMT -5. The time now is 10:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration