Comment 14 for bug 1203559

Revision history for this message
Artúr (ikartur) wrote :

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