[ltp] T20 and floppy/cdrom swapping

Atul Chitnis linux-thinkpad@linux-thinkpad.org
Sat, 24 Jul 2004 15:58:53 +0530


On Tue, 20 Jul 2004 19:56:41 +0200, Joachim Schrod <jschrod@npc.de> wrote:

> To ack that: I use 2.4 and APM. For swap, I suspend to RAM (Fn+F4).
> Without suspend, the system beeps.

I wonder about the beeping system. I too get it (3 beeps in a row,
pause, 3 more beeps,...)

But checking /var/log/messages, I see that the devices is correctly
removed from the
system profile, and when I plug in another, it is correctly added. I
am able to use it without a
problem - but once the system starts beeping, it doesnt stop.

I use [kx]hotswap, and also udev, and logs show things correctly:

Jul 24 15:50:10 wookie udev[16243]: removing device node '/udev/hdc'

Jul 24 15:50:45 wookie kernel: hdc: _NEC DVD_RW ND-5500A, ATAPI CD/DVD-ROM drive
Jul 24 15:50:45 wookie kernel: ide1 at 0x170-0x177,0x376 on irq 15
Jul 24 15:50:45 wookie kernel: hdc: ATAPI 20X DVD-ROM DVD-R CD-R/RW
drive, 2048kB Cache
Jul 24 15:50:46 wookie udev[16269]: creating device node '/udev/hdc'

after which I can happily mount and use the newly inserted drive.

So why is the hardware beeping at me? Is there some register or flag
that tells the TP that it
is OK to remove the device, and that it is back in? I don't think it
is the kernel that is
beeping here - this seems to be the hardware itself.

Atul

-- 
Atul Chitnis
atul.chitnis@gmail.com
http://atulchitnis.com