Re: Running setserial from rc.local

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, May 10, 2009 at 07:38:52PM +0200, Sergi Pons Freixes wrote:
> With the new Xorg, I need to run the command:
> 
> setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig 
> 
> At every boot to get the stylus working in a Tablet PC. I have put the line in 
> /etc/rc.local, as it contains "all the things which are not daemons that you 
> want to run at boot".
> 
> But it is not working. KDM (therefore, X) starts without using the stylus. If 
> I switch to a terminal, run the command, and the return to X, the stylus is 
> recognised.
> 
> Any clue about what is I am doing wrong? I know that the command can not be 
> executed from an X terminal (this is why I switch to a "normal" terminal), but 
> running it from rc.local should work, right?

Just guessing.
Is kdm in the DAEMONS array? In this case kdm starts before rc.local is
called in rc.multi.
You can try to start the display manager from inittab.
Again. Just guessing.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux