udev and jpilot-sync
Bill Moseley
moseley at hank.org
Mon Jan 21 16:19:41 UTC 2008
On Mon, Jan 21, 2008 at 11:10:02AM -0400, Derek Broughton wrote:
>
> I doubt there's a way to avoid the sleep - it takes the pilot a while to
> make the connection.
Ok, I wonder why I didn't have to sleep when running the script with
hotplug on my old machine.
>
> KERNEL=="ttyUSB*[02468]"
>
> I'm not sure that's the correct syntax, but you seem to understand what
> you're doing so I leave it up to you :-)
I don't understand it very well, but I suspect it's just
ttyUSB[02468].
What about loading the visor module? Should udev do that
automatically. I just posted a question about this before I saw your
response, but what seems odd to me is the udev rules for loading
modules is in the 90 script which seems backwards -- that you would
want the modules loaded earlier than the other scripts.
In this case, if the visor module is not loaded first then udev
doesn't create the /dev/pilot link (which is in 60-symlinks.rules).
I also don't see where udev *removes* the modules on device removal.
--
Bill Moseley
moseley at hank.org
More information about the ubuntu-users
mailing list