Click to See Complete Forum and Search --> : USB hot swappable?


Nobody's Hero
05-01-2003, 07:18 PM
Anytime I hot swap a USB device, I lose sound on my computer. Is it a bad idea to hot swap USB devices?

I have an iBook (800 MHz G3, 14 inch, combo drive, 384 MB RAM) running Yellow Dog Linux 3.0.

USB devices I commonly use are a wireless mouse, wireless keyboard, and a notebook light (sometimes through a little four port hub, sometime not).

I use my laptop both at work and at home, and unfortunately sometimes when I plug in one of the devices it "wakes" and then plugging in the rest of the devices makes me lose sound. I just about always have OGG files playing in the background when using my computer, so I always end up restarting. Anyone else have similar problems? Is there anyway to get sound back without restarting?

kapong
05-01-2003, 07:32 PM
did you try using "rmmod" to remove the sound driver and then "modprobe" it back into memory?

Nobody's Hero
05-01-2003, 07:59 PM
I tried modprobe -l \* and see that emu10k1 is loaded. But if I type in rmmod emu10k1 it says that it isn't loaded. I'm doing this as root.

kapong
05-01-2003, 08:58 PM
modprobe -l \* only lists the modules you CAN load. lsmod will show what is loaded.

Nobody's Hero
05-04-2003, 09:32 PM
Yeah, I realized that after I posted., sorry.

That doesn't work though. It won't let me remove any of the sound modules because it says they are in use.

Also, I've noticed that when I leave my mouse and keyboard plugged in when I put the laptop to sleep, when it wakes i can use the mouse but not the keyboard.

Is there some safe way of adding and removing USB devices without all these problems? How do I reload my USB devices?