On Fri, 21 Jan 2005 04:18:51 +1100, Phill <[EMAIL PROTECTED]> wrote:
> Thanks for you reply Tom
> 
> I went through the web site and tried an alternative method to compiling
> the module... but with similar response. /dev/ttyLT0 and /dev/modem exist
> on the system until a reboot - thankyou udev!!!

Yes udev can be annoying. This is my fixe for a similar problem I had
with a usb modem and /dev/modem disappearing.

1. Under /etc/udev/devices create a symlink of modem to your physical device
in my case this was /dev/ttyACM0 ie
# cd /etc/udev/devices
# ln -s /dev/ttyACM0 modem

This won't work if your physical device is disappearing though but this should

2. The other alternative (a more correct method ?) is to make a copy of 
/etc/udev/rules.d/50-udev.rules and call it 10-my-udev.rules in the
same directory as
50-udev.rules (the number just tells it what order to apply the rules)
and in here
add your own rule.  You will have to trawl through /sys to find your
device but this site tells you all you need to know

http://www.reactivated.net/udevrules.php

Also I have had more luck using the sysfs attribs to create rules as
they are permananent and being able to name your own devices is quite
useful too ie

/dev/usb_key
/dev/this_printer_sucks

Use your imagination.

-- 
James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to