LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-03-2005, 03:31 AM   #1
wiresquire
Member
 
Registered: Dec 2003
Posts: 57

Rep: Reputation: 15
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

Last edited by wiresquire; 11-03-2005 at 03:32 AM.
 
Old 11-03-2005, 08:27 PM   #2
mraray
Member
 
Registered: Sep 2005
Posts: 49

Rep: Reputation: 15
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
 
Old 11-03-2005, 09:02 PM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
Old 11-06-2005, 04:01 PM   #4
wiresquire
Member
 
Registered: Dec 2003
Posts: 57

Original Poster
Rep: Reputation: 15
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.
 
Old 11-06-2005, 04:11 PM   #5
mraray
Member
 
Registered: Sep 2005
Posts: 49

Rep: Reputation: 15
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.
 
Old 11-06-2005, 04:22 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
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
 
Old 11-07-2005, 01:06 AM   #7
wiresquire
Member
 
Registered: Dec 2003
Posts: 57

Original Poster
Rep: Reputation: 15
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
 
Old 11-07-2005, 02:39 AM   #8
wiresquire
Member
 
Registered: Dec 2003
Posts: 57

Original Poster
Rep: Reputation: 15
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
 
Old 11-07-2005, 03:06 AM   #9
wiresquire
Member
 
Registered: Dec 2003
Posts: 57

Original Poster
Rep: Reputation: 15
Well, got that worked out pretty quickly. Amazing once you know what you are looking for

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!!!
 
Old 11-08-2005, 06:01 PM   #10
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Glad you have it fixed. That some good reading.

Brian1
 
Old 12-02-2005, 12:59 PM   #11
eroica
Member
 
Registered: Sep 2003
Distribution: Mandriva 2006,OpenSuse 10.1
Posts: 154

Rep: Reputation: 30
Question

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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
which DVD player can play DVD from hard drive *and* support DVD Menu ? tho_x_tran Linux - Software 16 11-16-2006 02:00 PM
How can I change cdrom1 to dvd. REDhat9, lite-on LTD-163D dvd drive theonlydrew Linux - Hardware 3 01-26-2006 05:54 PM
read encrypted dvd - usb dvd drive wastingtime Linux - Hardware 8 12-26-2004 01:28 PM
can't read data DVD-R on my DVD-ROM/CD-RW combi drive bruceyboy Linux - Hardware 0 11-17-2004 11:25 AM
dvd-rom drive won't play movies and dvd burner won't record calble Linux - Hardware 1 08-09-2004 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration