You are not logged in.
Pages: 1
No problems with playing DVDs as root user. How do I change permissions?
Fully updated
Kernel: 3.11.4-1-ARCH x86_64
KDE: 4.11.2
groups cappuccino
wheel video optical storage bumblebee vboxusers vboxsf users
wodim dev=/dev/cdrom -checkdrive
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'Slimtype'
Identification : 'DVD A DS8A8SH '
Revision : 'KAA2'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
wodim: Cannot load media with this drive!
wodim: Try to load media by hand.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
When I try to access DVD:
wodim dev=/dev/cdrom -checkdrive
Error trying to open /dev/cdrom exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/cdrom exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/cdrom exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/cdrom exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/cdrom exclusively (Device or resource busy)... giving up.
wodim: Device or resource busy.
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
the wodim documentation.
mount |grep sr0
/dev/sr0 on /run/media/cappuccino/SONY_MOBILE type udf (ro,nosuid,nodev,relatime,uid=1000,gid=100,umask=77,iocharset=utf8,uhelper=udisks2)
ls -al /dev/cdrom*
lrwxrwxrwx 1 root root oct 3 15 00:50 /dev/cdrom -> sr0
ls -ld /media
drwxr-xr-x 2 root root 4096 jul 25 10:04 /media
/etc/fstab
# /dev/sda1
UUID=f7b05be7-44b8-40a5-b623-c387ca167de1 / ext4 defaults,noatime,discard 0 1
# /dev/sda2
UUID=490b713d-d959-4490-a20f-90dde1da6872 /home ext4 defaults,noatime,discard 0 2
# /dev/sdb1
UUID=4ddc50b0-e31e-48a9-84c8-d1b37a8fc76e /var ext4 defaults,relatime 0 2
# /dev/sdb2
UUID=88ea2dcd-4c54-4ced-b065-9b3068a3cb0d /data ext4 defaults,relatime 0 2
udevadm monitor
UDEV [2324.904450] change /devices/pci0000:00/0000:00:1f.2/ata3/host2/target2:0:0/2:0:0:0/block/sr0 (block)
KERNEL[2374.508225] change /devices/pci0000:00/0000:00:1f.2/ata3/host2/target2:0:0/2:0:0:0/block/sr0 (block)
I tried with udev rule:
/etc/udev/rules.d/82-cdrom.rules
SUBSYSTEMS=="scsi", KERNEL=="sr0", GROUP="optical", SYMLINK+="cdrom dvd"
but it's not working
Last edited by cappuccino (2013-10-15 13:03:03)
Offline
Remove yourself from the optical audio and storage groups (at least). These can cause issues with systemd.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Thanks for the reply.
I removed optical and storage from the groups, but there's no effect.
systemd 208-1
groups cappuccino
wheel video bumblebee vboxusers vboxsf users
SCSI 200.0: 10602 CD-ROM (DVD)
[Created at block.249]
Unique ID: KD9E.VPOsoK94xm2
Parent ID: w7Y8.bL3uMpOtExC
SysFS ID: /class/block/sr0
SysFS BusID: 2:0:0:0
SysFS Device Link: /devices/pci0000:00/0000:00:1f.2/ata3/host2/target2:0:0/2:0:0:0
Hardware Class: cdrom
Model: "Slimtype DVD A DS8A8SH"
Vendor: "Slimtype"
Device: "DVD A DS8A8SH"
Revision: "KAA2"
Driver: "ahci", "sr"
Driver Modules: "ahci"
Device File: /dev/sr0
Device Files: /dev/sr0, /dev/cdrom, /dev/disk/by-id/ata-Slimtype_DVD_A_DS8A8SH_3208583_6A6224402423
Device Number: block 11:0
Features: CD-R, CD-RW, DVD, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL, DVD-RAM
Drive status: no medium
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #29 (SATA controller)
Drive Speed: 24
Last edited by cappuccino (2013-10-15 14:39:23)
Offline
video should go as well - see the systemd wiki for a full list of obsolete groups you no longer want to be in.
EDIT: Is polkit installed? Is your login session active?
Last edited by cfr (2013-10-15 22:57:10)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
So
wheel bumblebee vboxusers vboxsf users
polkit 0.112-1
polkit-kde 0.99.0-2
3.11.6-1-ARCH
systemd 208-2
Yes, login session is active.
I have no idea why, but now I can play the original purchased DVDs and music CDs, including my own created music CDs. But still I can not play my own created DVDs [created with another linux distro-disc is TDK DVD+R]. Files on these DVDs are m2ts.
FWIW, in Virtualbox I installed Windows 7 and no problems with playing my DVDs. Also, no problem with playback on Sony PS3 ??
Otherwise, no problems as the root user
]
Last edited by cappuccino (2013-10-27 23:31:34)
Offline
If it is that specific, I really have no idea. Something weird with a udev rule, maybe?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Pages: 1