Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hot swap cdrom, need help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Tue Jun 07, 2005 6:29 pm    Post subject: Hot swap cdrom, need help Reply with quote

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
View user's profile Send private message
SpecvWillis
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2005
Posts: 142
Location: Ottawa, Canada

PostPosted: Tue Jun 07, 2005 6:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Tue Jun 07, 2005 7:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Wed Jun 08, 2005 3:56 pm    Post subject: Reply with quote

bump
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
SpecvWillis
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2005
Posts: 142
Location: Ottawa, Canada

PostPosted: Fri Jun 10, 2005 12:33 pm    Post subject: Reply with quote

If you boot with the dvd drive in the bay, then swap in the battery, does ACPID see the battery?
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Fri Jun 10, 2005 3:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
SpecvWillis
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2005
Posts: 142
Location: Ottawa, Canada

PostPosted: Fri Jun 10, 2005 4:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Fri Jun 10, 2005 5:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
SpecvWillis
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2005
Posts: 142
Location: Ottawa, Canada

PostPosted: Fri Jun 10, 2005 5:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum