Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: kingofkya on December 24, 2009, 03:49:54 PM

Title: Automount udev rules
Post by: kingofkya on December 24, 2009, 03:49:54 PM
How do i make tiny core automount any use drive.  I have read about udev but i dont know where the existing rules and what to change.
Title: Re: Automount udev rules
Post by: ^thehatsrule^ on December 24, 2009, 06:35:27 PM
Currently, they are located in /etc/udev/rules.d
Title: Re: Automount udev rules
Post by: kingofkya on December 25, 2009, 03:25:45 AM
Thanks got it working ;D

I more question is there an option/conf some where to disable the power save option on the screen. Where it dims after say 20 min of inactivity.
Title: Re: Automount udev rules
Post by: curaga on December 25, 2009, 07:37:49 AM
xset, or if using Xorg, it can be changed in xorg.conf
Title: Re: Automount udev rules
Post by: kingofkya on December 25, 2009, 11:11:42 PM
this is an older pentium 2 laptop and i am using the default X server

tryed :
-dpms
on/off frame buffer

Note: Laptop is running APM not the newer ACPI
and from what i have read tiny core dosen't mess with ACP at all  so what could be shutting the screen off. its not just blanking it turning back light of too.

I am running QIV (Quick Image Viewer) and python2.5 script.

also any key will turn it back on and even usb devices that the BIOS cant recognize can bring it back. So that rules out the bios doing something weird. I THINK?

PC is a HP OMNIBOOK 900
Title: Re: Automount udev rules
Post by: curaga on December 26, 2009, 08:46:18 AM
Oh, if it's the APM bios doing things, then the software has no say to it.

See if there's a bios option.

Also, "xset s off" would turn the Xvesa screensaver off.
Title: Re: Automount udev rules
Post by: Frank on December 26, 2009, 06:10:48 PM
Thanks got it working ;D

How?

Please share.
Title: Re: Automount udev rules
Post by: kingofkya on December 26, 2009, 06:32:49 PM
copy and  pasted from my debian install  anyways.

i just notices something when i leave a terminal running with no Xserver  it blanks but dosen't turn off the screen but with the x server it turns it off. what am i missing here.

Edit:
also as a note how does it get my battery life if tiny core dosen't have apm support. Is the acpi doing somthing despite it saying ACPI is not enabled on boot.
 
Title: Re: Automount udev rules
Post by: kingofkya on December 27, 2009, 02:56:08 AM
Also another thing apm is disabled in in BIOS now and the laptop is still doing it.

I really think it is software at this point

Thoughts/suggestions.

Edit:
Xversa -listmodes

BE version 2.0 (MagicMedia 256 AV 48K)
AC is switchable, controler is vga compatible
Title: Re: Automount udev rules
Post by: baz on January 01, 2010, 07:57:39 PM
Where specifically in /etc/udev/rules.d can I make it so that when a USB drive is inserted it automounts?