刚刚将笔记本电脑升级到 13.04。通过 Brasero,我可以刻录 CD 和 DVD,但当我cdrecord
从命令行尝试时,我得到:
$ cdrecord --devices
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.
无论我使用什么参数调用命令,都会出现相同的错误。是否存在某种包依赖性问题?
编辑— 运行wodim
显示strace
它尝试/dev/hda
通过打开所有驱动器/dev/hdz
,然后通过/dev/scd0
打开所有驱动器/dev/scd255
,然后退出。这可能是配置问题。
答案1
作为@braiam 提到这似乎是 的一个已知问题wodim
。您可以改用以下解决方法wodim -prcap
。
$ wodim -prcap
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
Device was not specified. Trying to find an appropriate drive...
Detected CD-R drive: /dev/sr0
Using /dev/cdrom of unknown capabilities
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'Optiarc '
Identification : 'DVD RW AD-7930H '
Revision : '1.D1'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Drive capabilities, per MMC-3 page 2A:
Does read CD-R media
Does write CD-R media
Does read CD-RW media
Does write CD-RW media
Does read DVD-ROM media
Does read DVD-R media
Does write DVD-R media
Does read DVD-RAM media
Does write DVD-RAM media
Does support test writing
Does read Mode 2 Form 1 blocks
Does read Mode 2 Form 2 blocks
...
答案2
我相信这是一个错误。
解决方法是手动指定设备或在 /etc/wodim.conf 中指定设备:
wodim dev=/dev/sr0 --devices
当然,在指定设备时列出设备有点愚蠢,但有了这个选项,我就可以写入 CD。
请注意这是在 12.04 上,但也应该适用于您的版本。