Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 35

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

  1. #21
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: Multimedia Optical Drive Naming (ie /dev/dvd & /dev/cdrom) Howto in opneSUSE

    Can the techniques described in this thread be used to spoof the OS into thinking that there is a CDROM drive present if physically there is not? I ask because the oS builds of XBMC will not run unless there is a CDROM drive present. This prevents me from using it on my Thinkpad laptop and Acer Revo Nettop PC.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  2. #22
    Join Date
    Jun 2009
    Location
    Mangfall, Germany
    Posts
    1,500

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

    Hi jdmcdaniel3,

    With openSUSE11.x two optical drives have never worked properly on my system. Hence the system was left with just the DVD writer installed.

    After reading your procedure, I gave it a try and it worked. But the mouse became unresponsive, sometimes for up 30 seconds. I'm now back to one optical drive.

    The trial installation was a DVD-RAM_GH22NP20 and a DVD-ROM_DVD-105F on the same ide cable, each set to CS with the DVD-RAM comming up as the primary. Maybe they are not compatable.

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

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

    The trial installation was a DVD-RAM_GH22NP20 and a DVD-ROM_DVD-105F on the same ide cable, each set to CS with the DVD-RAM coming up as the primary. Maybe they are not compatible.
    hello keellambert, nothing sounds incompatible with those two drives to me. I would say that you could switch the master around. Using Cable select just means swapping the plugs around and I think the end one is master with cable Select. If the other drive works OK as master, perhaps you will not have the mouse pauses like you did before. It is worth a try before you give up, if you have not already tried this.

    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

  4. #24

    Default Re: Multimedia Optical Drive Naming (ie /dev/dvd & /dev/cdrom) Howto in opneSUSE

    Quote Originally Posted by suse_tpx60s View Post
    Can the techniques described in this thread be used to spoof the OS into thinking that there is a CDROM drive present if physically there is not?
    I don't think so. I know how to mount an iso-File and I know how to set a device link, but I think that XBMC looks for a device and not just for a device link. So you should try to post this question into an XBMC forum.

  5. #25
    Join Date
    Jun 2009
    Location
    Mangfall, Germany
    Posts
    1,500

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

    Quote Originally Posted by jdmcdaniel3 View Post
    hello keellambert, nothing sounds incompatible with those two drives to me. I would say that you could switch the master around. Using Cable select just means swapping the plugs around and I think the end one is master with cable Select. If the other drive works OK as master, perhaps you will not have the mouse pauses like you did before. It is worth a try before you give up, if you have not already tried this.

    Thank You,
    Hi jdmcdaniel3,

    Thanks for the advice it worked. By setting the DVD-RAM as master and DVD-ROM as slave there is no mouse interference.

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

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

    Hi jdmcdaniel3,

    Thanks for the advice it worked. By setting the DVD-RAM as master and DVD-ROM as slave there is no mouse interference.
    Hey I love it when a plan comes together and provides a solution. It has been a while since I messed around with IDE master and slaves, but the very issue you saw did occur to me, even under Windows. It seemed like the DVD writer or CD writer was best to be placed as the master over just a player only. So, I am happy to hear that some things are still true today. Thanks so much for taking the time to let us know of this outcome. You would be surprised how often we just never hear of the final results. And as always, if we can be of help to you in the future, you need only ask.

    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

  7. #27
    Join Date
    Sep 2008
    Location
    Toronto,Canada
    Posts
    549

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

    i found very interesting your topic, jdmcdaniel3, thank you for sharing it with us. I tried to see how is setup on my machine, openSUSE 12.2 with KDE 4.8.5 as I noticed few days ago that I'm having problems with my DVD writer.
    here is the contents of my /etc/udev/rules.d/70-persistent-cd.rules:
    Code:
    # 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.
    
    # Optiarc_DVD_RW_AD-7260S (pci-0000:00:11.0-scsi-2:0:0:0)
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-2:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-2:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-2:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-2:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"
    
    # PlayBook_CD (pci-0000:00:12.2-usb-0:1:1.0-scsi-0:0:0:0)
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="RIM_PlayBook_CD_774381a59cdbe092b86a2a9eb94cb43d63ce252e-0:0", SYMLINK+="cdrom1", ENV{GENERATED}="1"
    what I found interesting is the PlayBook_CD entry, which was a long time ago connected directly via USB, in this file. I wouldn't have thought that it will be mounted this way.
    Not sure if this is creating the problem with my DVD, and I will try as per suggestions in this thread to create a new file /etc/udev/rules.d/75-persistent-cd.rules w/o the PlayBook_CD info in it and see if that changes anything.

  8. #28
    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 dmera View Post
    i found very interesting your topic, jdmcdaniel3, thank you for sharing it with us. I tried to see how is setup on my machine, openSUSE 12.2 with KDE 4.8.5 as I noticed few days ago that I'm having problems with my DVD writer.
    here is the contents of my /etc/udev/rules.d/70-persistent-cd.rules:
    Code:
    # 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.
    
    # Optiarc_DVD_RW_AD-7260S (pci-0000:00:11.0-scsi-2:0:0:0)
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-2:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-2:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-2:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-2:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"
    
    # PlayBook_CD (pci-0000:00:12.2-usb-0:1:1.0-scsi-0:0:0:0)
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="RIM_PlayBook_CD_774381a59cdbe092b86a2a9eb94cb43d63ce252e-0:0", SYMLINK+="cdrom1", ENV{GENERATED}="1"
    what I found interesting is the PlayBook_CD entry, which was a long time ago connected directly via USB, in this file. I wouldn't have thought that it will be mounted this way.
    Not sure if this is creating the problem with my DVD, and I will try as per suggestions in this thread to create a new file /etc/udev/rules.d/75-persistent-cd.rules w/o the PlayBook_CD info in it and see if that changes anything.
    If you have only one optical drive and its able to read and write, all standard names get assigned to it. It gets more interesting if you have more than one optical drive, replace an optical drive or have a read only drive. You can always remove this file and restart openSUSE to have it recreated and current to your present setup. Many programs such as k3b don't care about this files contents but many media players do adhere to its settings, so knowing that this file exists and just what it does is helpful to understand.

    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

  9. #29
    Join Date
    Sep 2008
    Location
    Toronto,Canada
    Posts
    549

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

    I had problems with not being able to read CD/DVD's for a while but was not that critical to solve it. Now that i have some time to try to understand this I was trying to re-read and figure out the problem according to this excellent thread by jmcdaniel.
    So not sure how my /etc/udev/rules.d/70-persistent-cd.rules got one more CD-ROM added.(the last one in the file:
    Code:
    # 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.
    
    # Optiarc_DVD_RW_AD-7260S (pci-0000:00:11.0-scsi-2:0:0:0)
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-2:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-2:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-2:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-2:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"
    
    # PlayBook_CD (pci-0000:00:12.2-usb-0:1:1.0-scsi-0:0:0:0)
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="RIM_PlayBook_CD_774381a59cdbe092b86a2a9eb94cb43d63ce252e-0:0", SYMLINK+="cdrom1", ENV{GENERATED}="1"
    
    # Optiarc_DVD_RW_AD-7260S (pci-0000:00:11.0-scsi-1:0:0:0)
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="cdrom2", ENV{GENERATED}="1"
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="cdrw2", ENV{GENERATED}="1"
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="dvd2", ENV{GENERATED}="1"
    SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="dvdrw2", ENV{GENERATED}="1"
    so after I made a copy of it and since I cannot get my cd/DVD to work I tried to play around and I deleted the /etc/udev/rules.d/70-persistent-cd.rules file, I rebooted the system and
    expected to see a new file created. The file was not created which makes me think that somehow physically the system doesn't see any DVD and it doesn't need to create this file. Should be an empty file created? Did I miss something in the thread saying otherwise? I will have to check also in BIOS if it is recognized first the DVD. But my quest to find a solution is still under way.

  10. #30
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,567
    Blog Entries
    1

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

    ... and I deleted the /etc/udev/rules.d/70-persistent-cd.rules file, I rebooted the system and
    expected to see a new file created. The file was not created which makes me think that somehow physically the system doesn't see any DVD and it doesn't need to create this file. Should be an empty file created? Did I miss something in the thread saying otherwise? I will have to check also in BIOS if it is recognized first the DVD. But my quest to find a solution is still under way.
    Yes, the file should have been recreated automatically on detection of your hardware at boot.

Page 3 of 4 FirstFirst 1234 LastLast

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
  •