Page 4 of 4 FirstFirst ... 234
Results 31 to 35 of 35

Thread: Multimedia Optical Drive Naming (ie /dev/dvd & /dev/cdrom) How To in openSUSE

  1. #31
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,378
    Blog Entries
    1

    Default Re: Multimedia Optical Drive Naming (ie /dev/dvd & /dev/cdrom) How To in openSUSE

    As long as the kernel detected the drive, then /dev/sr0 should at least exist.
    Code:
    ls -l /dev/sr*
    If the device is present, then try the following from a root terminal
    Code:
    echo add > /sys/block/sr0/uevent
    Does /etc/udev/rules.d/70-persistent-cd.rules now exist again?
    Last edited by deano_ferrari; 08-Apr-2013 at 16:37.

  2. #32
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Exclamation Re: Multimedia Optical Drive Naming (ie /dev/dvd & /dev/cdrom) How To in openSUSE

    I looked at two PC's running openSUSE 12.3 and this rules file for optical drive naming is no longer there. I assume if you did a clean install of openSUSE, not an upgrade, you no longer have this file either. I found a year plus old message saying that this was being removed from udev, but I am not seeing any message from openSUSE that was published about this fact.

    linux/hotplug/udev.git - udev development tree

    The file /lib/udev/rule.d/60-cdrom_id.rules, now seems to be used with only the first drive being picked up. I guess this message thread and fix have been changed and no longer exactly apply to openSUSE 12.3.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #33
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,378
    Blog Entries
    1

    Default Re: Multimedia Optical Drive Naming (ie /dev/dvd & /dev/cdrom) How To in openSUSE

    Does /lib/udev/rules.d/75-cd-aliases-generator.rules still exist? (That was responsible for the generation of the legacy file in /etc/udev/rules.d/ directory).

  4. #34
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Multimedia Optical Drive Naming (ie /dev/dvd & /dev/cdrom) How To in openSUSE

    Quote Originally Posted by deano_ferrari View Post
    Does /lib/udev/rules.d/75-cd-aliases-generator.rules still exist? (That was responsible for the generation of the legacy file in /etc/udev/rules.d/ directory).
    Nope, that file is not there. Here is a complete list:

    Code:
    ls -1 /lib/udev/rules.d/
    
    10-dm.rules
    11-dm-lvm.rules
    13-dm-disk.rules
    40-libgphoto2.rules
    40-usb-media-players.rules
    40-usb_modeswitch.rules
    42-usb-hid-pm.rules
    50-udev-default.rules
    51-lirc.rules
    56-idedma.rules
    60-cdrom_id.rules
    60-persistent-alsa.rules
    60-persistent-input.rules
    60-persistent-serial.rules
    60-persistent-storage.rules
    60-persistent-storage-tape.rules
    60-persistent-v4l.rules
    61-accelerometer.rules
    61-gnome-bluetooth-rfkill.rules
    64-btrfs.rules
    64-md-raid.rules
    65-xorg-wacom.rules
    69-libmtp.rules
    69-xorg-vmmouse.rules
    70-power-switch.rules
    70-printers.rules
    70-uaccess.rules
    70-udev-acl.rules
    71-seat.rules
    73-seat-late.rules
    73-seat-numlock.rules
    75-net-description.rules
    75-persistent-net-generator.rules
    75-probe_mtd.rules
    75-tty-description.rules
    77-mm-ericsson-mbm.rules
    77-mm-longcheer-port-types.rules
    77-mm-nokia-port-types.rules
    77-mm-pcmcia-device-blacklist.rules
    77-mm-platform-serial-whitelist.rules
    77-mm-simtech-port-types.rules
    77-mm-usb-device-blacklist.rules
    77-mm-x22x-port-types.rules
    77-mm-zte-port-types.rules
    77-network.rules
    77-nm-olpc-mesh.rules
    78-sound-card.rules
    80-drivers.rules
    80-mm-candidate.rules
    80-udisks2.rules
    81-mount.rules
    85-regulatory.rules
    85-usbmuxd.rules
    90-alsa-restore.rules
    90-libgpod.rules
    90-pulseaudio.rules
    95-dm-notify.rules
    95-keyboard-force-release.rules
    95-keymap.rules
    95-udev-late.rules
    95-upower-battery-recall-dell.rules
    95-upower-battery-recall-fujitsu.rules
    95-upower-battery-recall-gateway.rules
    95-upower-battery-recall-ibm.rules
    95-upower-battery-recall-lenovo.rules
    95-upower-battery-recall-toshiba.rules
    95-upower-csr.rules
    95-upower-hid.rules
    95-upower-wup.rules
    97-bluetooth-hid2hci.rules
    97-bluetooth-serial.rules
    99-systemd.rules
    Thank You,
    Last edited by jdmcdaniel3; 08-Apr-2013 at 18:57.
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  5. #35
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,378
    Blog Entries
    1

    Default Re: Multimedia Optical Drive Naming (ie /dev/dvd & /dev/cdrom) How To in openSUSE

    Okay, thanks for clarifying James.

    @dmera: As you mentioned
    I tried to see how is setup on my machine, openSUSE 12.2 with KDE 4.8.5
    you should still have the /lib/udev/rules.d/75-cd-aliases-generator.rules (as I do), since it is supplied as part of the udev package
    Code:
     rpm -qf /lib/udev/rules.d/75-cd-aliases-generator.rules 
    udev-182-4.33.1.x86_64
    This should act to create /etc/udev/rules.d/70-persistent-cd.rules if required. However, as James already mentioned the first discovered device (assigned /devsr0) is now handled by default with the /lib/udev/rules.d/60-cdrom_id.rules file. This will work sufficiently so long as it's the preferred device (or only device) that gets the symlinking. Otherwise custom rules are still required.

Page 4 of 4 FirstFirst ... 234

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •