[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] SUSE 11.2: Mplayer og Xine kan ikke finde libdvdcss



On 31-12-2009 13:18, Michael Rasmussen wrote:
> On Thu, 31 Dec 2009 11:45:47 +0100
> Eskild Nielsen <sslug@sslug> wrote:
> 
>>
>> Hvordan er det nu lig eman laver det manglende sym-link?
>>
>>
> ln -s /dev/sr1 /dev/dvd
> 
> Problemet er så blot, at linket vil blive slettet hver gang, du
> starter, af udev. Det vil derfor være bedre, om du ændrede i udev's
> rules fil: /etc/udev/rules.d/70-persistent-cd.rules:

fra min rules-fil:

udevadm info -a -p `udevadm info -q path -n /dev/sr1`
> 1) Hent information om drev for udev: udevadm info -a -p `udevadm info
> -q path -n /dev/sr1`
> 2) Find linjen med information, der matcher info fra 1)
> 3) Find disse: SYMLINK+= og ændrer til cdrom, cdrw, dvd, dvdrw etc.
> 
> Genstart udev.
> 
cat /etc/udev/rules.d/70-persistent-cd.rules
# This file was automatically generated by the /lib/udev/write_cd_rules
# program, run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and set the $GENERATED variable.

# CD-R_PREMIUM (pci-0000:00:1f.1-scsi-1:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-1:0:0:0", SYMLINK+="cdrom",
ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-1:0:0:0", SYMLINK+="cdrw",
ENV{GENERATED}="1"

# XJ-HD166S (pci-0000:00:1f.1-scsi-1:0:1:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-1:0:1:0", SYMLINK+="cdrom1",
ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-1:0:1:0", SYMLINK+="dvd1",
ENV{GENERATED}="1"

Hvis jeg forstår Michaels råd rigtigt, så skal "dvd1" i sidste linie
rettes til "dvd", hvoerefter udev skal genstartes.

Korrekt?


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2010-01-01, 02:01 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *