LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-28-2006, 11:19 PM   #1
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Rep: Reputation: 15
Talking 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.
 
Old 06-28-2006, 11:55 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
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..
 
Old 06-29-2006, 01:03 AM   #3
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Original Poster
Rep: Reputation: 15
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?
 
Old 06-29-2006, 01:13 AM   #4
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Original Poster
Rep: Reputation: 15
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 01:29 AM.
 
Old 06-29-2006, 05:01 AM   #5
x86processor
Member
 
Registered: Jun 2006
Location: Chennai, India
Distribution: Embdebian, Debian, Fedora Core, Redhat, Slackware, Ubuntu.
Posts: 112

Rep: Reputation: 15
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.
 
Old 06-29-2006, 05:11 AM   #6
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Original Poster
Rep: Reputation: 15
Talking

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
 
  


Reply

Tags
tty, ttyacm0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 12:27 PM
/dev/ttyACM0 in Hardware Info, but not present in /dev list linuxdreamz Linux - Newbie 4 08-17-2006 02:29 PM
kernel 2.6.x udev and missing /dev/input/ttyACM0 prefas Linux - General 2 03-17-2005 09:13 AM
/dev/ttyACM0 ankscorek Slackware 3 02-27-2005 01:14 AM
can't create /dev/dsp giosue_c Linux - Hardware 4 05-17-2004 10:56 PM


All times are GMT -5. The time now is 09:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration