LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-27-2006, 03:09 PM   #1
agentchange
Member
 
Registered: May 2006
Distribution: Ubuntu 8.04
Posts: 132

Rep: Reputation: 15
Configuring my usb device in moto4lin


I have finally gotten this moto4lin program up and running, Suse recognizes the phone and they communicate with each other. However, when moto4lin actually tries to access the phone, I believe that moto4lin is trying to read the USB device in a different slot than it is supposed to, and I am having trouble figuring out which address is the one that I am supposed to use.

In my /dev/ directory, there are no subdirectories named "usb", which was the default setting in moto4lin, only some files labelled:

dev/usbdev1.1
dev/usbdev1.2
dev/usbdev1.3
dev/usbdev1.4
dev/usbdev2.1
dev/usbdev3.1
dev/usbdev4.1

and

/dev/bus/usb/1/1
/dev/bus/usb/1/2
/dev/bus/usb/1/4
/dev/bus/usb/2/1
/dev/bus/usb/3/1
/dev/bus/usb/4/1


How can I figure out which file is attached to the usb port that the phone is connected to? There is a setting within moto4lin where I can change the address that it reads from. Is there another address perhaps that I should attach this to?

------------------------------------------------------------------------------------------------------------
justin@linux:~> su
Password:
linux:/home/justin # moto4lin
Form1
PhoneMan
New mode: 1
doActConnect
doActConnect
P2kProc::doConnect()
doActConnect
doActConnect
P2kProc::doConnect()
doActConnect
doActConnect
P2kProc::doConnect()
doActConnect
doActConnect
P2kProc::doConnect()
doActConnect
doActConnect
P2kProc::doConnect()
-----------------------------------------------------------------------------------------------------------

I have one other USB device hooked up, my mouse, though I get the same effect, regardless of which address I use. This is what the Settings screen looks like in moto4lin:

------------------------------------------------------------------------------------------------------------
Device Configuration
ACM Device: /dev/usbdev1.1
AT Vendor ID: 22b8
AT Product ID: 4902
P2K Vendor ID: 22b8
P2K Product ID: 4902

[X] Autoconnect to device [Switch to P2K]

Vendor ID Product ID Manufacturer Product
0000 0000 Linux 2.6.13-15-default ehci_hcd EHCI Host Controller
0000 0000 Linux 2.6.13-15-default uhci_hcd UHCI Host Controller
0000 0000 Linux 2.6.13-15-default uhci_hcd UHCI Host Controller
0000 0000 Linux 2.6.13-15-default uhci_hcd UHCI Host Controller
045e 0084 Microsoft Basic Optical Mouse
22b8 4902 Motorola Inc. Motorola Phone (V3)


[Update List] [Set as AT Device] [Set as P2K Device]

[OK] [Cancel]
------------------------------------------------------------------------------------------------------------

Does anything ring a bell to anybody?

Last edited by agentchange; 06-27-2006 at 03:27 PM.
 
Old 06-27-2006, 03:45 PM   #2
agentchange
Member
 
Registered: May 2006
Distribution: Ubuntu 8.04
Posts: 132

Original Poster
Rep: Reputation: 15
Progress report:

I did a search and changed the device setting to /dev/ttyACM0, ran "modprobe cdc_acm" as root, whatever that is supposed to do and now it, at least, confirms that the phone is plugged in, as both P2K and AT, but it still does not confirm a "connection".

This is possibly due to the fact that it is not recognizing the command "p2ktest". I am thinking that perhaps there is a library of commands that I am missing which is keeping it from recognizing p2K commands, although above, it seems to perhaps recognize the lines of "P2kProc::doConnect()" which moto4lin produces in the shell window. This is starting to get a bit out of my league.
 
Old 06-27-2006, 03:54 PM   #3
agentchange
Member
 
Registered: May 2006
Distribution: Ubuntu 8.04
Posts: 132

Original Poster
Rep: Reputation: 15
Urgent!!!

Playing with fire:

hen I plug in a different device to this USB slot, will it still recognize it and function properly?


I ran some commands, like this other guy, to show me what is going on, and these are some of the things that it tells me. Note that I have not changed any configuration settings in Suse, only in moto4lin.

dmesg says:

cdc_acm 1-2:1.0: ttyACM0: USB ACM device
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-2: USB disconnect, address 4
usb 1-2: new full speed USB device using uhci_hcd and address 5
usb 1-2: config 1 has an invalid interface number: 5 but max is 2
usb 1-2: config 1 has an invalid interface number: 6 but max is 2
usb 1-2: config 1 has an invalid interface number: 8 but max is 2
usb 1-2: config 1 has no interface number 0
usb 1-2: config 1 has no interface number 1
usb 1-2: config 1 has no interface number 2


Isusb

does not work


tail -s 3 -f /var/log/messages shows:

Jun 27 15:33:02 linux kernel: usb 1-2: USB disconnect, address 4
Jun 27 15:33:05 linux kernel: usb 1-2: new full speed USB device using uhci_hcd and address 5
Jun 27 15:33:06 linux kernel: usb 1-2: config 1 has an invalid interface number: 5 but max is 2
Jun 27 15:33:06 linux kernel: usb 1-2: config 1 has an invalid interface number: 6 but max is 2
Jun 27 15:33:06 linux kernel: usb 1-2: config 1 has an invalid interface number: 8 but max is 2
Jun 27 15:33:06 linux kernel: usb 1-2: config 1 has no interface number 0
Jun 27 15:33:06 linux kernel: usb 1-2: config 1 has no interface number 1
Jun 27 15:33:06 linux kernel: usb 1-2: config 1 has no interface number 2
Jun 27 15:34:18 linux su: (to root) justin on /dev/pts/2
Jun 27 15:49:38 linux su: (to root) justin on /dev/pts/1


p2ktest

does not work



Needless to say, I am stumped at the moment, besides the fact that I have absolutely no idea what I am doing. All input whatsoever will be greatly appreciated.

Last edited by agentchange; 06-27-2006 at 04:13 PM.
 
  


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
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 07:32 AM
Having trouble installing moto4lin agentchange SUSE / openSUSE 10 06-25-2006 07:00 PM
How to force kernel to use a USB 2.0-compatible device (ehci_hcd) as a USB 1.1 device eze Linux - Hardware 0 05-16-2006 05:24 AM
Moto4lin causes cdc_amc module failure? tinksmartbstupi Linux - Software 0 05-22-2005 12:20 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:56 PM.

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