Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Ok, I have a cellphone with a USB cable capable of being used as a regular modem to dialup to the net. It works perfectly fine in windows, and I read a small document that some guy said all cell-phone modems will respond to normal AT commands. Im currently running RedHat 7.3 and there is an internet configuration tool. I tell it that I want to add a modem and it asks me for the /dev location of it - and I dont know it. After some research, I found that it should be something like /dev/usb/TTYACM0 or something like that. So anyways, after some looking I found that I could do a mknod command and create a character device or something in there. I did the command:
mknod /dev/usb/ttyACM0 c 166 0
And it made that entry in /dev/usb, but it didnt seem to work. I also wasnt totally sure what the numbers 166 and 0 represent. Anywho, I basically need some guidance about how to create some working entry in the /dev are that connects w/ that USB cellphone cable.
Here is some data pulled from usbview:
KWC USB to Phone Cable
Manufacturer: KWC
Serial Number: 00000000
Speed: 12Mb/s (full)
USB Version: 1.00
Device Class: ff(vend.)
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 0c88
Product Id: a226
Revision Number: 1.09
Config Number: 1
Number of Interfaces: 1
Attributes: 80
MaxPower Needed: 94mA
Interface Number: 0
Name: (none)
Alternate Number: 0
Class: ff(vend.)
Sub Class: 0
Protocol: 4
Number of Endpoints: 3
Endpoint Address: 81
Direction: in
Attribute: 2
Type: Bulk
Max Packet Size: 64
Interval: 0ms
Endpoint Address: 02
Direction: out
Attribute: 2
Type: Bulk
Max Packet Size: 64
Interval: 0ms
Endpoint Address: 83
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 8
Interval: 1ms
hehe...may I remind you that USB was afterall made for Windows...and perhaps Macintosh....I mean people have enough problems as it is with something way more popular than a cell phone USB...such as USB DSL modems... usb is no good man...
you should get the number of that guy you heard that made it run...heh...and call'im.
oh, I didn't say it was impossible...but however I know not 1 person that uses his usb cell phone connector to access the net using windows...so I think there will be a lot less people using this setup with Linux,
Although I don't have a USB-enabled phone, I have seen my European friends using their cell phones as modems via the IrDA port, so at least it's conceivable that it can work. Instead of usbview, do a
cat /proc/bus/usb/devices
(and post what you get, I'd like to see it). If anything about a "Driver=acm" shows up, you may be in business. I presume that you enabled the ACM drivers in the kernel - just making the device files is not enough.
I could also imagine that the phone presents itself as a serial device. Let's see what that proc entry says.
BTW, I came to like USB devices - Microsoft or not, fact is that USB support has come a long way on Linux. I connect to a camera, a floppy drive, and my Sharp Zaurus through USB, and it works just fine.
I connect to a mouse, Dig Cam/Camcorder, Printer, and memory card reader through USB all on Linux. Works great. In fact, when I first started using some of these, all I had to do was plug them in before boot up, then run Harddrake to configure em. Not too shabby either.
Besides the /proc/bus/usb/devices you may also want to do an lsmod and list the results of that as well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.