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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-04-2005, 03:03 PM
|
#1
|
Senior Member
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794
Rep:
|
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
|
|
|
03-04-2005, 07:31 PM
|
#3
|
Senior Member
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794
Original Poster
Rep:
|
Thanks, Peacedog! I'll check those sites out tomorrow.
|
|
|
03-05-2005, 06:07 PM
|
#4
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
|
Your welcome.
good luck.
|
|
|
03-05-2005, 08:37 PM
|
#5
|
Senior Member
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794
Original Poster
Rep:
|
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.
|
|
|
03-07-2005, 07:47 AM
|
#6
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
|
You might contact these folks, they may have some better resources.
http://bitpim.sourceforge.net/
good luck.
|
|
|
03-21-2005, 05:04 PM
|
#7
|
LQ Newbie
Registered: Mar 2005
Distribution: Debian GNU/Linux
Posts: 1
Rep:
|
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.
|
|
|
04-24-2005, 08:01 PM
|
#8
|
LQ Newbie
Registered: Mar 2005
Location: Spokane, WA
Distribution: LinuxMint Elyssa/FreeBSD 7.1
Posts: 4
Rep:
|
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
|
|
|
08-24-2005, 09:53 PM
|
#9
|
Senior Member
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|