View previous topic :: View next topic |
Author |
Message |
beatryder Veteran


Joined: 08 Apr 2005 Posts: 1138
|
Posted: Tue Jun 07, 2005 6:29 pm Post subject: Hot swap cdrom, need help |
|
|
I have a laptop with a hotswapable cd/dvdrw drive, I have a floppy drive and a second battery that I can swap out for it.
The floppy drive is detected as a USB drive and has always worked.
If I boot the laptop with the dvdrw installed, everything works fine. I can swap them out at my hearts content, and everything is cool.
However:
If I start the computer with the second battery installed instead of the dvdrw, I can not for the life of me get it the dvdrw to work when swapped out.
Here is the sequence of events:
1) boot with battery installed
2) Once booted, I take out the battery, ACPID sees it and adds a log entry (cause i have not set it up to do anything with that event)
3) I put in the dvdrw, and watch the logs, check dmesg, and get NOTHING.
4) Try to mount a cd/dvd, and get told that it is not a valid block device (this is for hdc dvd cdrom sr0)
if I boot with the dvdrw installed then it all works just fine.
Is there a way that I can tell udev that this device is there all the time, effectivly forcing it to create the deivce node? _________________ Dont make it idiot proof, make it work.
Neucode.org
<suppressed key> |
|
Back to top |
|
 |
SpecvWillis Tux's lil' helper


Joined: 09 May 2005 Posts: 142 Location: Ottawa, Canada
|
Posted: Tue Jun 07, 2005 6:40 pm Post subject: |
|
|
Are the usb modules loading when you boot with the battery installed? Try booting with the battery installed, swap in the dvd/rw, then loading your usb modules. |
|
Back to top |
|
 |
beatryder Veteran


Joined: 08 Apr 2005 Posts: 1138
|
Posted: Tue Jun 07, 2005 7:07 pm Post subject: |
|
|
yeah, tried that already.
the dvdrw is NOT usb. its an ide. _________________ Dont make it idiot proof, make it work.
Neucode.org
<suppressed key> |
|
Back to top |
|
 |
beatryder Veteran


Joined: 08 Apr 2005 Posts: 1138
|
Posted: Wed Jun 08, 2005 3:56 pm Post subject: |
|
|
bump _________________ Dont make it idiot proof, make it work.
Neucode.org
<suppressed key> |
|
Back to top |
|
 |
SpecvWillis Tux's lil' helper


Joined: 09 May 2005 Posts: 142 Location: Ottawa, Canada
|
Posted: Fri Jun 10, 2005 12:33 pm Post subject: |
|
|
If you boot with the dvd drive in the bay, then swap in the battery, does ACPID see the battery? |
|
Back to top |
|
 |
beatryder Veteran


Joined: 08 Apr 2005 Posts: 1138
|
Posted: Fri Jun 10, 2005 3:17 pm Post subject: |
|
|
Yup, that works just fine, as they each have a unique connector. _________________ Dont make it idiot proof, make it work.
Neucode.org
<suppressed key> |
|
Back to top |
|
 |
SpecvWillis Tux's lil' helper


Joined: 09 May 2005 Posts: 142 Location: Ottawa, Canada
|
Posted: Fri Jun 10, 2005 4:45 pm Post subject: |
|
|
When you boot up with the dvd in the bay, then remove it and put it back, what do you see in dmesg or the logs? |
|
Back to top |
|
 |
beatryder Veteran


Joined: 08 Apr 2005 Posts: 1138
|
Posted: Fri Jun 10, 2005 5:04 pm Post subject: |
|
|
Nothing, nothing at all, which is part of the problem... _________________ Dont make it idiot proof, make it work.
Neucode.org
<suppressed key> |
|
Back to top |
|
 |
SpecvWillis Tux's lil' helper


Joined: 09 May 2005 Posts: 142 Location: Ottawa, Canada
|
Posted: Fri Jun 10, 2005 5:17 pm Post subject: |
|
|
What if you do a modprobe ide-cd ? You may need to compile this as a module to get it to work properly. |
|
Back to top |
|
 |
|