LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   retrieving devices (https://www.linuxquestions.org/questions/linux-newbie-8/retrieving-devices-60724/)

John Manjiro 05-19-2003 08:27 PM

retrieving devices
 
I deleted /dev/ttyACM4 and /dev/modem, after first creating a link between them (which might have been a mistake). How can I get them back in their pristine states?

Also, why does my ISDN terminal adapter claim to be on ttyACM4 but no other usb devices do (same port)?

Thanks

PTBmilo 05-20-2003 02:46 AM

you can use:
Code:

mknod /dev/ttyACM4 c 166 4
read 'man mknod' and check out '/usr/src/linux/Documentation/devices.txt' for where I got the numbers from.

(if you do 'less devices.txt' , you can do '/ttyACM <enter>' and it will take you down to the section you need... '/' is for search ;)

I think that /dev/modem is usually linked to /dev/ttyS0
Code:

cd /dev
ln ttyS0 modem

I don't know about your other question, sorry.

-Milo


All times are GMT -5. The time now is 09:36 PM.