thinkpads.com Support Community Forum Index Bill Morrow's thinkpads.com Open Forum - The Original Thinkpad Support Forum
Follow ThinkpadsForum on Twitter
eCoupons
Save with Lenovo ThinkPad eCoupons
Exclusive 4% CASH BACK from eCoupons.com
Support this forum, shop at newmodeus.com
 
It is currently Thu May 23, 2013 1:43 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Ultrabay power ON command
PostPosted: Sat Feb 18, 2012 4:37 am 
Offline
Freshman Member

Joined: Tue Jun 24, 2008 11:16 am
Posts: 100
Location: EU
I am trying to find out how to power off and on UltraBay in my ThinkPad laptop. So far, I got halfway.

From this I discovered how to power it off:
https://github.com/linrunner/TLP/blob/master/tlp-functions
The command is
Code:
echo 1 > /sys/devices/platform/dock.2/undock

This file is write-only, by the way.

Now, I was looking for a method to power it back on here:
https://github.com/linrunner/TLP/blob/master/49bay
but I can't figure it out.

Simply doing
Code:
echo 0 > /sys/devices/platform/dock.2/undock

does nothing, and /sys/devices/platform/dock.2/docked is read-only. Permission denied. If I change it to rw, it does nothing.

Can someone give me a hand with it?

_________________
R61 15.4" - C2D T8100, 4GB RAM, 320GB Hitachi, NVS 140m, WSXGA+. Baked in oven at 210 Celsius


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group