Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: VDR & DVD Support library problem / Title key error



Uwe Ortner wrote:
> 
> Sergei Haller wrote:
> >
> > On Sun, 9 Sep 2001, Uwe Ortner wrote:
> >
> > > I've trouble playing DVDs in VDR (0.94):
> > >
> > > First of all my vdr cant compile with libdvdread-0.9.0
> Thanks a lot
> This is working fine ...
> 
> Now I have that "Cannot get title key" problem
> 
> any ideas?
> 
> My DVD is a Pioneer 116
> /dev/dvd points to /dev/hdc
> brw-rw-rw- /dev/hdc
> 
> Starting vdr with  vdr -s '/sbin/shutdown -h' -V /dev/hdc -m
> /media/cdrom (make DVD=1 MP3=1)
> 
> also automounter is enabled
> auto.master:
> /media  /etc/auto.media timeout=5
> 
> auto.media:
> cdrom           -fstype=iso9660,ro      :/dev/hdc
> dvd             -fstype=auto,w          :/dev/hdc
> floppy          -fstype=auto            :/dev/fd0
> 
> fstab:
> cdrom/floppy/dvd -> remarked
> 
> /etc/init.d/boot.local:
> hdparm -d1 /dev/hdc
> setserial /dev/ttySo uart none # needed by lirc
> 
> BTW: MP3 also doesnt work (mpg123 is installed)
> 
> Any comment is highly appreciated
> 

Maybe the following excerpt from the OMS-HOWTO will help:

I think I have a region code problem with my drive
Run dmesg to see if you have a problem. You may see output like the
following:
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
System resource failure -- (asc=0x55, ascq=0x00)
Media region code is mismatched to logical unit -- (asc=0x6f, ascq=0x04)
The failed "Report Key" packet command was:
"a4 00 00 00 00 00 00 00 00 0c 04 00 "
Get the regionset program from linuxtv.org use that to reset the region
on your dvd drive.
Remember: you can only do this 5 times or so on most drives, so dont
get carried away.
To compile, untar the file downloaded, and run:1. # gcc -c dvd_udf.c
2. # gcc -c regionset.c
3. # gcc -o regionset dvd_udf.o regionset.o
4. # ./regionset
If you have no region code set, you will see type: NONE as part of the
output, as well as drive
plays discs from region(s): with no number after it.
Set the code according to your region (see here for a map):
CODE REGIONS
1. USA & Canada
2. Europe & Japan
3. South East Asia
4. Latin America & Australia
5. Russia & Africa
6. (Peoples Republic of) China
7. Reserved
8. Special international venues (airplanes, cruise ships, etc.)
After you enter the region code, the program prompts you with a message
similiar to: New mask:
0xFFFFFFFE, correct? [y/n]. It is usually safe to just answer y here.

"GetTitleKey failed: Input/output error"
This may appear for other reasons, but one reason was because the region
code on the DVD drive
wasnt set at all (e.g. you have a brand new DVD drive and havent run
any Windows DVD
software). See above subsection for a fix.


Good Luck
Thomas


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.


Home | Main Index | Thread Index