SUSE / openSUSEThis Forum is for the discussion of Suse 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.
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.
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:
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?
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:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.