Support Community Forum Index Bill Morrow's Open Forum - The Original Thinkpad Support Forum
Follow ThinkpadsForum on Twitter
Goodbye Lorita, wherever you've gone..

If you've found this forum useful, please consider donating a dollar or two

It is currently Thu Oct 27, 2016 3:39 pm

All times are UTC-05:00

Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat Feb 18, 2012 4:37 am 
Sophomore Member

Joined: Tue Jun 24, 2008 11:16 am
Posts: 179
Location: France (most of the time)
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:
The command is
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:
but I can't figure it out.

Simply doing
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?

T420s - i7, 16GB RAM, Samsung 850 EVO + 1TB Hitachi 9.5mm, Nvidia, Oleh Bios.
W500 - C2D P9500, 8GB RAM, Samsung 830 SSD + 750GB Hitachi HDD, Intel+ATI GPU, bright WUXGA, FP-reader
Arch Linux, BTRFS+ZFS on LUKS

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

All times are UTC-05:00

Who is online

Users browsing this forum: No registered users and 1 guest

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® Forum Software © phpBB Limited