Need to quiet down DVD unit
#1
Hi,

when I play e.g. DVD video before I started to use XBMC, I have run this command "eject -x <speed> [device]" with <speed> 2 or 4 an [device] my DVD unit, which cause the DVD unit to be more more silent. My unit support this command.

Is there in XBMC any posibility, to execute this command or some another (hdparm), to quiet down the DVD unit? Or is is supported now in XBMC?

Best regards Tomas.
Reply
#2
You have to be root to run those command. It is STUPID to run XBMC as root. Why not stick them in rc.local or similar to just have them run at boot time?
Reply
#3
Runing XBMC as root is realy stupid and by shure I will never do that.

I don't know if it helps to run it on boot because according to my tests, the eject (or some other) command must be run everyone after the DVD or CD disk is loaded.

Yesterday I have tested it on my HTC. I have inserted the DVD disc and start play. The DVD device was very loud. I have executed "eject -x 4 /dev/dvd" (no need to be root in my case, to execute this) and the device have quied down. When I have removed the disc and insert it again, I had to repeat the eject command to quiet down the dvd device.

Regards Tomas
Reply
#4
porubat Wrote:Hi,

when I play e.g. DVD video before I started to use XBMC, I have run this command "eject -x <speed> [device]" with <speed> 2 or 4 an [device] my DVD unit, which cause the DVD unit to be more more silent. My unit support this command.

Is there in XBMC any posibility, to execute this command or some another (hdparm), to quiet down the DVD unit? Or is is supported now in XBMC?

Best regards Tomas.

If your dvdrom supports it could you please compile libcdio. (with --prefix=/foo/bar/ someplace so you don't destroy your apt-get one). And try the cdinfo bin it creates, and pastebin it here. I had a patch for slowing down the DVD previously but I couldn't find a dvd supporting it to test Smile
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#5
Hi

source

http://ftp.gnu.org/gnu/libcdio/libcdio-0.81.tar.gz

cd-info output

Code:
lt-cd-info version 0.81 i686-pc-linux-gnu
Copyright (c) 2003, 2004, 2005, 2007, 2008 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
CD location   : /dev/cdrom
CD driver name: GNU/Linux
   access mode: ioctl

Vendor                      : HL-DT-ST
Model                       : DVDRAM GSA-4160B
Revision                    : A306
Hardware                                  : CD-ROM or DVD
Can eject                                 : Yes
Can close tray                            : Yes
Can disable manual eject                  : Yes
Can select juke-box disc                  : No

Can set drive speed                       : No
Can read multiple sessions (e.g. PhotoCD) : Yes
Can hard reset device                     : Yes

Reading....
  Can read Mode 2 Form 1                  : Yes
  Can read Mode 2 Form 2                  : Yes
  Can read (S)VCD (i.e. Mode 2 Form 1/2)  : Yes
  Can read C2 Errors                      : Yes
  Can read IRSC                           : Yes
  Can read Media Channel Number (or UPC)  : Yes
  Can play audio                          : Yes
  Can read CD-DA                          : Yes
  Can read CD-R                           : Yes
  Can read CD-RW                          : Yes
  Can read DVD-ROM                        : Yes

Writing....
  Can write CD-RW                         : Yes
  Can write DVD-R                         : Yes
  Can write DVD-RAM                       : Yes
  Can write DVD-RW                        : No
  Can write DVD+RW                        : No
__________________________________

Disc mode is listed as: Error in getting information
++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

lt-cd-info: Can't get first track number. I give up.
Reply
#6
The cd-info output is interrestin on this line:

Code:
Can set drive speed                       : No

But I'm able set the drive speed Smile (with eject)
Reply
#7
Yeah that's the one I wanted to see.

Wonder why it's no when you clearly can set speed.

Perhaps it's right issue? could you try calling the cdinfo with sudo?
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#8
The same result when running with sudo.
Reply

Logout Mark Read Team Forum Stats Members Help
Need to quiet down DVD unit0