Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New laptop: DVD probs as user
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
RichieB
Apprentice
Apprentice


Joined: 04 Feb 2004
Posts: 170

PostPosted: Thu May 05, 2005 2:16 am    Post subject: New laptop: DVD probs as user Reply with quote

After a bit of fiddling, I've been able to get my Matsushita DVD-RAM drive to play DVDs, region free, using libdvdcss etc. as user root

However I can't get them to play as a normal user. Looking at the output from xine, as a normal user, I see:

This is xine (X11 gui) - a free video player v0.99.3.
(c) 2000-2004 The xine Team.
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Attempting to use device /dev/md1 mounted on / for CSS authentication
libdvdread: Could not open /dev/md1 with libdvdcss.
libdvdread: Can't open /dev/md1 for reading
libdvdread: Device /dev/md1 inaccessible, CSS authentication not available.
...

Whereas, as root:

This is xine (X11 gui) - a free video player v0.99.3.
(c) 2000-2004 The xine Team.
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Attempting to use device /dev/md1 mounted on / for CSS authentication
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

... and success.

Clearly there's a permissions problem, but I can't see where it is. Devices (/dev/hda is DVD):

lrwxrwxrwx 1 root root 3 May 5 00:51 /dev/dvd -> hda
brw-rw-rw- 1 rich cdrom 3, 0 May 5 00:51 /dev/hda
lrwxrwxrwx 1 root root 4 May 5 00:51 /dev/md1 -> md/1
brw-rw---- 1 root disk 9, 1 May 5 00:51 /dev/md/1

I'm running udev on a 2.6 kernel with the following output from emerge -pv xine-lib:

ebuild R ] media-libs/xine-lib-1.0-r2 +X -aac -aalib +alsa (-altivec) -arts -cle266 -debug -directfb +dvd -dxr3 +esd -fbcon -ffmpeg +flac +gnome -i8x0 +ipv6 -libcaca -mng +nls -nvidia +opengl +oss +png -samba +sdl -speex -theora -v4l -vidix +vorbis -win32codecs -xinerama +xv -xvmc

and hdparm -i /dev/hda

/dev/hda:

Model=MATSHITADVD-RAM UJ-845S, FwRev=D100, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 *udma4
AdvancedPM=no
Drive conforms to: device does not report version:

Thanks in advance for any help!!
Back to top
View user's profile Send private message
luisfelipe
Guru
Guru


Joined: 09 Apr 2005
Posts: 377

PostPosted: Thu May 05, 2005 3:01 am    Post subject: Reply with quote

Which groups are your user on ??
It just might be a simple matter of adding it to group cdrw. If he's not there, just do a
gpasswd -a user cdrw
Back to top
View user's profile Send private message
RichieB
Apprentice
Apprentice


Joined: 04 Feb 2004
Posts: 170

PostPosted: Sat May 07, 2005 12:57 am    Post subject: Reply with quote

Thanks for the tip.

I've tried now a different DVD (region 2 not region 1 as above) and it absolutely doesn't work.

If I try ogle as root I get (sorry, long):

WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshot'
WARNING[dvd_gui]: add_keybinding(): No such action: 'SaveScreenshotWithSPU'
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Using libdvdcss version 1.2.8 for DVD access

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000125
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000173
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00069cf4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00356e9e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00356ea4
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1)
WARNING[ogle_mpeg_ps]: Lost Sync at offset: 158552 bytes
WARNING[ogle_mpeg_ps]: Lost sync, resyncing
*** skipped blocks in I-picture
*** invalid macroblock type
*** skipped blocks in I-picture
*** invalid macroblock type
*** skipped blocks in I-picture
*** skipped blocks in I-picture
*** invalid macroblock type
*** skipped blocks in I-picture
*** invalid macroblock type
*** skipped blocks in I-picture
*** invalid macroblock type
*** skipped blocks in I-picture
*** skipped blocks in I-picture
*** skipped blocks in I-picture
*** invalid macroblock type
*** invalid macroblock type
*** skipped blocks in I-picture
*** skipped blocks in I-picture
*** invalid macroblock type
*** skipped blocks in I-picture
*** skipped blocks in I-picture
*** invalid macroblock type
*** skipped blocks in I-picture
*** skipped blocks in I-picture
*** skipped blocks in I-picture
*** invalid macroblock type
*** invalid macroblock type
Xscreensaver not running.
FATAL[ogle_mpeg_ps]: Segmentation fault
ctrl: ipc_rmid: Invalid argument





And as the normal user, I get exactly the same.

Anyone any idea? Please?!!

By the way, if I do hdparm /dev/hda (the DVD drive) I get:

/dev/hda:
HDIO_GET_MULTCOUNT failed: Invalid argument
IO_support = 1 (32-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument

What's up with the invalid argument thing?

Cheers in advance

R
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum