[Bug 1203559] Re: wodim doesn't find my DVD writer

Artúr 1203559 at bugs.launchpad.net
Tue May 12 15:57:46 UTC 2015


Hi,

I have made a patch to make wodim detect devices correctly.

Wodim was searching for devices under /dev/scd*, but that path is considered deprecated and are no longer present on modern installations.
The correct path for the CDROM devices is /dev/sr*. By changing wodim to search devices at that place resolved the problem.

I have sent this patch upstream too:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495184

How to test:
Create a directory and download the provided patch in it, then run the following commands:

$ sudo apt-get build-dep wodim
$ apt-get source wodim
$ cd cdrkit-*
$ patch -p1 <../scsi-linux-sg.c.diff
$ dpkg-buildpackage
$ sudo dpkg -i ../wodim*.deb

Regards,
Artúr

** Bug watch added: Debian Bug tracker #495184
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495184

** Patch added: "scsi-linux-sg.c.diff"
   https://bugs.launchpad.net/ubuntu/+source/cdrkit/+bug/1203559/+attachment/4396351/+files/scsi-linux-sg.c.diff

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cdrkit in Ubuntu.
https://bugs.launchpad.net/bugs/1203559

Title:
  wodim doesn't find my DVD writer

Status in cdrkit package in Ubuntu:
  Confirmed

Bug description:
  wodim --devices gives:

  wodim: No such file or directory. 
  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.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: wodim 9:1.1.11-2ubuntu3
  ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
  Uname: Linux 3.8.0-26-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.1
  Architecture: amd64
  Date: Sun Jul 21 14:48:41 2013
  InstallationDate: Installed on 2013-05-25 (57 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MarkForUpload: True
  SourcePackage: cdrkit
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cdrkit/+bug/1203559/+subscriptions



More information about the foundations-bugs mailing list