WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Automount udev rules  (Read 3622 times)

Offline kingofkya

  • Newbie
  • *
  • Posts: 9
Automount udev rules
« 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.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Automount udev rules
« Reply #1 on: December 24, 2009, 06:35:27 PM »
Currently, they are located in /etc/udev/rules.d

Offline kingofkya

  • Newbie
  • *
  • Posts: 9
Re: Automount udev rules
« Reply #2 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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11041
Re: Automount udev rules
« Reply #3 on: December 25, 2009, 07:37:49 AM »
xset, or if using Xorg, it can be changed in xorg.conf
The only barriers that can stop you are the ones you create yourself.

Offline kingofkya

  • Newbie
  • *
  • Posts: 9
Re: Automount udev rules
« Reply #4 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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11041
Re: Automount udev rules
« Reply #5 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.
The only barriers that can stop you are the ones you create yourself.

Frank

  • Guest
Re: Automount udev rules
« Reply #6 on: December 26, 2009, 06:10:48 PM »
Thanks got it working ;D

How?

Please share.

Offline kingofkya

  • Newbie
  • *
  • Posts: 9
Re: Automount udev rules
« Reply #7 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.
 
« Last Edit: December 26, 2009, 06:53:11 PM by kingofkya »

Offline kingofkya

  • Newbie
  • *
  • Posts: 9
Re: Automount udev rules
« Reply #8 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
« Last Edit: December 27, 2009, 03:54:26 AM by kingofkya »

Offline baz

  • Full Member
  • ***
  • Posts: 216
Re: Automount udev rules
« Reply #9 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?