LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 02-26-2005, 09:59 PM   #1
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Rep: Reputation: 31
Unhappy /dev/ttyACM0


i am using Slackware 10.0 on kernel 2.6.7

i have a USB modem which connects on /dev/ttyACM0

there is no node like that so i made one by issuing the following command

# mknod /dev/input/ttyACM0 c 166 0

the modem connected just fine...

however the problem is that whenever i take a reboot the node gets disconnected ..what is the problem..

do i link it up with /dev/Modem????
 
Old 02-26-2005, 10:48 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
I think it has to do with udev that 2.6 Kernels use. Either put a little script in rc.local that checks if the node is present and creates it if not, or configure udev. Its under /etc/udev.

I also need that node, but I'm using the 2.4 kernel series, so i just created it once.

Last edited by perfect_circle; 02-26-2005 at 10:50 PM.
 
Old 02-27-2005, 12:32 AM   #3
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Original Poster
Rep: Reputation: 31
what do i configure in /etc/udev/udev.conf
 
Old 02-27-2005, 01:14 AM   #4
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Quote:
Originally posted by ankscorek
what do i configure in /etc/udev/udev.conf
Actually I think what you need is to add rules in /etc/udev/rules.d/udev.rules , but I'm not familiar with those kind of stuff.
I would just probably add something like this in my rc.local
Code:
 if [ ! -e /dev/input/ttyACM0  ]; then 
/bin/mknod /dev/input/ttyACM0 c 166 0
fi
 
  


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
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied qazwsx27 Fedora 3 06-14-2005 02:09 PM
kernel 2.6.x udev and missing /dev/input/ttyACM0 prefas Linux - General 2 03-17-2005 09:13 AM
How can I boot either one of my hard drives /dev/hda or /dev/hdb, I have RH9 and FC2 omogunkristi Linux - General 1 06-21-2004 05:11 AM
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:36 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