OK, so just change the symlink names so that setserial runs before
modules are loaded (change SXXsetserial to a number lower than
SXXmodprobe) or what I do is just write a dedicated lirc script running
after the others (/etc/rc{2,3,4,5}.d/S99lirc) which runs setserial,
loads lirc_sir, starts lircd, etc.
On Wed, 2006-07-19 at 10:53 +0200, gio wrote:
>
> Forrest England wrote:
> > Not sure what you're trying to say. You're running setserial after the
> > lirc_sir module is loaded, or after other modules are loaded?
> >
> > gio wrote:
> >> I try to configure ttyS1 with setserial but in my distro (debian etch)
> >> setserial running after the loading modules so lirc_sir cant' be loaded.
> >> suggestion?
>
> In the start order of /etc/rcS.d/ (debian etch) setserial come after
> the module loading. lirc_sir can't be loaded because ttyS1 is managed by
> kernel, and setting the serial port after module loading is useless.
> to resolve i've written a little script to setting just only ttyS1 and
> put it before module's loader script.
>
> thankyou and sorry for this bad english :)
|