LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 09-13-2009, 10:59 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
stop ultrabay DVD; mount ultrabay HDD; WinXX does; Unbuntu doesn't


I have an Emperor Linux Raven Tablet running Ubuntu Hardy (v8.04 LTS).
The hardware is a Lenovo Thinkpad X61 Tablet. The DVD/CD is a module for the Ultra-Bay docking station. I also have an HDD module as a second disk drive.

Can anyone tell me how to accomplish the following:

1. Cold boot the laptop and use it with the DVD/CD drive.
2. "Stop" the DVD/CD device and remove the drive module.
3. Insert the HDD module
4. The workstation notices the new hardware, configures and mounts
the file systems found.

At this point I can use the HDD however I want. I use it for backup.

5. "Stop" the HDD device and remove the drive module.
6. Insert the DVD/CD module
7. The workstation notices the new hardware.
8. Since the hardware is a DVD/CD, configure and mount waits for
the loading of DVD or CD media.

Window(tm) XP-Pro (tm) Tablet PC Edition has a system tray icon that does this all day long. I cannot get Ubuntu Linux to do this.
I would appreciate real help from anyone who is willing.

MY ANALYSIS
A USB drive or thumb-drive has a device and an unmount will let you
remove and disconnect the hardware. Since we rely on hal and udev and acpi (and who knows what else) to config our hardware dynamically, DVD/CD devices are not really present until you load media. Therefore there is nothing to unmount/disconnect in the ultra-bay DVD/CD module configuration.

If I shutdown, swap ultra-bay modules, and reboot. The hardware works
and all is well. If I unmount the ultra-bay HDD and swap to the
DVD/CD module, things never respond to the hardware change.

There are buttons that will dismount the entire ultra-bay. Again,
win-dose will do this just fine. Not so for linux. NOTE -- Lenovo
says that hot-swap-undock is okay, but avoid hot-swap-dock.

Thanks in advance,
~~~ 0;-Dan
 
Old 09-14-2009, 06:20 AM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

take alook at Thinkwiki there are scripts available for swapping ultrabay devices.
 
Old 09-15-2009, 05:53 PM   #3
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by mesiol View Post
Hi,

take alook at Thinkwiki there are scripts available for swapping ultrabay devices.
Thanks for the pointer. Sadly, no joy here. The scripts are so specific to the systems in use that this person cannot map the postings onto the workstation in front of me. I suspect there is some detail or concept that I'm missing for all to make sense.

Perhaps there is another way?

1. How do I configure so that the ultra-bay HDD and DVD are "always
visible" even though only one is active at the time? How do I avoid
getting a new and unique device name with each device activation
so that the end-user has clues what to manipulate without arcane
geekish incantations every time?

2. How do I enable "use HDD" vs. "use DVD" at any given point?

3. Once enabled, how do I "mount media" (DVD) or "mount filesystem" (HDD)? I understand the mount command and /etc/fstab, but suspect
there will be more because of the situation?
 
Old 10-10-2009, 01:17 AM   #4
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

if i understand your question, you will have a non existing device shown visible in your system?
This will not work. Ultra-Bay devices are IDE devices, so they have to be initialized at system boot or on a rescan of IDE bus.

The provided scripts on Thinkwiki are not really specific for one thinkpad model, they should work on every thinkpad. i used them on A21P/A30P/T23/T42 and they worked.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UltraBay CD/DVD stopped working Swerdna12069 Linux - Newbie 1 08-03-2009 04:52 PM
Fedora freezing up when ejecting ultrabay slim in T42. barnys Linux - Laptop and Netbook 2 09-22-2006 06:57 PM
Fedora freezing up when ejecting ultrabay slim in T42. barnys Linux - Laptop and Netbook 0 09-21-2006 11:24 AM
hotswap ultrabay and suspend/hibernate on thinkpad soupy Linux - Software 0 01-16-2006 08:45 PM
Thinkpad Ultrabay and Redhat 8/9 astroturtle Linux - Hardware 1 07-03-2003 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration