LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-10-2005, 06:34 PM   #1
Cicatriz
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Rep: Reputation: 0
Change /dev Designation?


Is it possible to force Linux to use a different /dev designation for a device?

I want to make it recognize my modem as something other than /dev/ttyS14, as the kernel I'm currently using (and that I can't compile more easily than I can learn to use mknod or something else) only supports up to /dev/ttyS13.

I'm about to tear my hair out.
 
Old 03-11-2005, 11:18 AM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
I think it's possible to use an alias in the /etc/modules.conf file, but as for exactly how to do that, I'm not sure.

It's something along the lines of:
alias /dev/ttyS04 /dev/ttyS03

or if the module for your modem is something like lt_modem, you might try:

alias lt_modem /dev/ttyS03


but this is only a guess from reading the modules.conf man page, I may well be wrong.

Last edited by Komakino; 03-11-2005 at 11:22 AM.
 
Old 03-11-2005, 11:31 AM   #3
Cicatriz
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
The problem isn't that I can't let programs access the modem, it's that the kernel is not built with support to detect/use the device...
 
Old 03-11-2005, 12:23 PM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
Quote:
Originally posted by Cicatriz
The problem isn't that I can't let programs access the modem, it's that the kernel is not built with support to detect/use the device...
So you need kernel modules? Or what...? You said you wanted to change designation, I've suggested how to do that. What exactly is it you need?
 
Old 03-11-2005, 12:57 PM   #5
Cicatriz
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
No. In the kernel config there's an option to set how many 'legacy' serial devices (ttySx--I think these are designated as legacy in this case) are supported. My modem is detected and assigned the node /dev/ttyS14 (known from previous experience), but the kernel the system is using supports only up to /dev/ttyS13, and I don't have the necessary tools to recompile it. I need it to be something other than /dev/ttyS14.

I'm about to try a couple of commands I happened upon on Google..

makedev /dev/ttyS14
mknod -m 666 /dev/ttyS14 c 4 78

Sorry for the lack of clarity. I'm really, really exasperated by this.

Last edited by Cicatriz; 03-11-2005 at 12:59 PM.
 
  


Reply


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
Incorrect port designation tzartman Linux - Hardware 2 01-15-2005 12:28 AM
how to change /dev/hdd to /dev/zip in Suse 9.0 scarah Linux - Hardware 9 01-15-2004 03:33 PM
icon designation intrepidtrefz Linux - Newbie 3 12-31-2003 02:23 PM
Designation question - ethernet card satimis Linux - Hardware 2 09-10-2003 10:19 AM
Stupid question about *.PPC designation... swampbilly Linux - Newbie 2 01-29-2003 06:37 PM


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