LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   DVD drive lights every second (https://www.linuxquestions.org/questions/linux-hardware-18/dvd-drive-lights-every-second-379501/)

wiresquire 11-03-2005 03:31 AM

DVD drive lights every second
 
I'm running SUSE 9.3 on a Mitac 8355 clone. One thing I just noticed is that the DVD drive status light for the DVD on top of the keyboard 'blips' every second. The DVD drive is a
hdc: MATSHITADVD-RAM UJ-811, ATAPI CD/DVD-ROM drive
Yeah, it sucks.

Things I checked or looked at:
* it blips every second whether the drive is open or closed
* the drive light on the DVD itself is not lighting
* There are no errors being reported in dmesg or /var/log/* that match this frequency
* hdparm -C /dev/hdc reports the drive state is "standby"
* I tried killing SuSEPlugger thinking that may have been 'monitoring' things, but that made no difference - still a blip.
* changing to runlevel 3 still left me with the blip each second
* couldn't really tell where it kicked in on a reboot - things were flashing by too quickly :-(

Is this something to worry about? Am I going crazy?? What else can I check?

Thanks in advance
ws

mraray 11-03-2005 08:27 PM

Hey,

I think it is a keyboard configuration error.... To be sure, remove the power cable from the dvd-drive (turn your computer off first ;) ) - then see if it is still happening...



Cheers,
Andrew

Electro 11-03-2005 09:02 PM

Read through /var/log/messages. Also if you have xev, note the keymap to include it in the keymap file. Use xset to turn the LED light off.

I have never seen a keyboard that gives you status of drives. If nothing works, get another keyboard that is basic.

wiresquire 11-06-2005 04:01 PM

I may not have explained that properly??

It's not the keyboard, it's the drive status blinkenlighten that are located above the keyboard on my laptop.

mraray 11-06-2005 04:11 PM

Ahhh,

We thought you had a desktop.


Even so, it may be special feature in your laptop keyboard... if you can't see any error messages in your system logs, and the drive works fine, perhaps try re-configuring your keyboard settings ? :(


A.

Brian1 11-06-2005 04:22 PM

Is there a seperate led for the hardrive?
If not are you sure it is for the dvd?
More than likely it is activite on the ide interface which includes all ide devices.

Just a thought
Brian1

wiresquire 11-07-2005 01:06 AM

Quote:

Originally posted by Brian1
Is there a seperate led for the hardrive?
If not are you sure it is for the dvd?
Yes, there's a separate led for H/D and DVD.
Quote:

More than likely it is activite on the ide interface which includes all ide devices.

Just a thought
Brian1
Mmmm. Could be, but I can't quite work out what would be 'pinging' it every second....


Quote:

Originally posted by mraray
....
Even so, it may be special feature in your laptop keyboard... if you can't see any error messages in your system logs, and the drive works fine, perhaps try re-configuring your keyboard settings ? :(
There's no errors in any system logs, but I'll give that a go. I do have a pretty funky keyboard and end up doing an xmodmap.

ws

wiresquire 11-07-2005 02:39 AM

Gotcha!
 
OK, I finally worked out what it was. It's the HAL daemon (hald).
I think suseplugger relies on it, but killed suseplugger and then
/etc/init.d/hal stop
and there was no more blinking!

That will have me lose hotplug :(

Anyways, now I'm off to see what I might be able to do about HAL CD/DVD polling.


Thx for those that replied.
ws

wiresquire 11-07-2005 03:06 AM

Well, got that worked out pretty quickly. Amazing once you know what you are looking for :D

I created a file
/usr/share/hal/fdi/95userpolicy/custom.fdi with contents:
Code:

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">

  <device>

    <!-- Handle unnecessary polling of CD/DVD drive -->
    <match key="storage.bus" string="ide">
      <match key="storage.model" string="MATSHITADVD-RAM UJ-811">
        <match key="block.device" string="/dev/hdc">
          <merge key="storage.media_check_enabled" type="bool">false</merge>
        </match>
      </match>
    </match>

    </device>
</deviceinfo>

No more polling of the CD/DVD and hotplug still works!!!

Brian1 11-08-2005 06:01 PM

Glad you have it fixed. That some good reading.

Brian1

eroica 12-02-2005 12:59 PM

hello,
i was googling same problem i'm having since install of mandriva 2006. i was doing an interactive startup and noticed that the flickering activity light on my dvd drive on my laptop starts when the hal daemon starts. I was trying to find info on hal daemon to see if it is needed when i came across you're post. Could you please advise me what are consequences of hal being stopped and will that modified file be of any use to a mandriva user. i'm a relative linux newbie so this all kinda new...

thanx,
alan


All times are GMT -5. The time now is 06:18 AM.