Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86094 - devfsd not creating ttyUSB symlinks
Summary: devfsd not creating ttyUSB symlinks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-21 00:01 UTC by John Koch
Modified: 2005-03-21 14:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Koch 2005-03-21 00:01:09 UTC
/dev/ttyUSB symlinks not created when they should have linked to /dev/usb/tts


Reproducible: Always
Steps to Reproduce:
1. emerge devfsd
2. killall devfsd
3. /sbin/devfsd /dev

Actual Results:  
The /dev/ttyUSB symlinks are not created

Expected Results:  
Created /dev/ttyUSB symlink to /dev/usb/tts

Fixed problem by modifying /etc/devfsd.conf and adding 
REGISTER        ^usb/tts/(.*)$  CFUNCTION GLOBAL mksymlink $devname ttyUSB\1
UNREGISTER      ^usb/tts/(.*)$  CFUNCTION GLOBAL unlink ttyUSB\1 

or

modify the compat_name.c file in devfsd and add the line to translate_table[]
{"usb/tts/", "ttyUSB%s"},    /* USB Serial Device */
Comment 1 Chris White (RETIRED) gentoo-dev 2005-03-21 00:14:58 UTC
did you try looking at /dev/tts/USB[#] by chance?  That's where must of my usb-serial converter device nodes end up.
Comment 2 SpanKY gentoo-dev 2005-03-21 14:59:20 UTC
added to portage, thanks