Slackware This Forum is for the discussion of Slackware 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.
|
|
06-29-2006, 12:19 AM
|
#1
|
Member
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133
Rep:
|
How do I create a /dev/ttyACM0?
I could not find /dev/ttyACM0 in my /dev. Only /dev/ttyACM1-3 are present but not 0. I was wondering how do I create one and the symlinks to it which will serve a similar purpose as those ttyACM1-3.
Thanks in advance guys.
|
|
|
06-29-2006, 12:55 AM
|
#2
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
Code:
mknod /dev/ttyACM0 c 166 0
ln -s /dev/ttyACM0 /dev/modem
Assuming you want to connect a modem and you've proper modules loaded..
|
|
|
06-29-2006, 02:03 AM
|
#3
|
Member
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133
Original Poster
Rep:
|
hmm... i dont think i want to connect a modem, but if the mobile phone i want to connect uses the same protocol as how a modem does then i think you are correct. am i right?
|
|
|
06-29-2006, 02:13 AM
|
#4
|
Member
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133
Original Poster
Rep:
|
btw, I get a "ln: `/dev/modem': File exists" whenever i tried to link it with /dev/modem and it seems that it's symlinked with ttyS1 rather than ttyACM0. should i delete /dev/modem and create a new symlink?
Last edited by Andriy; 06-29-2006 at 02:29 AM.
|
|
|
06-29-2006, 06:01 AM
|
#5
|
Member
Registered: Jun 2006
Location: Chennai, India
Distribution: Embdebian, Debian, Fedora Core, Redhat, Slackware, Ubuntu.
Posts: 112
Rep:
|
Which distro are you using? With recent distros, udev creates the appropriate device files for you.
Quote:
should i delete /dev/modem and create a new symlink?
|
Use ln -sf to force linking.
|
|
|
06-29-2006, 06:11 AM
|
#6
|
Member
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133
Original Poster
Rep:
|
Quote:
Originally Posted by x86processor
Which distro are you using? With recent distros, udev creates the appropriate device files for you.
Use ln -sf to force linking.
|
With all due respect, this is the slackware forum. I use 10.2 for your information sir.
However, according to this:
http://linuxdesktoptips.blogspot.com...-phone_20.html
I think i should wait until /dev/ttyACM0 gets detected by any apps that uses the ppp protocol. so, linking it to /dev/modem directly would seem likely to be a last resort. I still haven't tried it, perhaps later when I have enough time. Thank's for your positive insight
|
|
|
All times are GMT -5. The time now is 03:32 AM.
|
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
|
|