自从从 15.10 升级到 Ubuntu 16.04 LTS 以来,我一直无法从外部光驱将 DVD 加载到我的机器上(如果这些信息有帮助的话,该驱动器是 2010 年 5 月制造的 Lite-On eTAU108)。我还进入了sudo lshw -C disk
终端并得到了这个:
*-cdrom
description: DVD-RAM writer
product: eTAU108 1
vendor: Slimtype
physical id: 0.0.0
bus info: scsi@68:0.0.0
logical name: /dev/cdrom
logical name: /dev/cdrw
logical name: /dev/dvd
logical name: /dev/dvdrw
logical name: /dev/sr0
version: EL46
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: status=ready
*-medium
physical id: 0
logical name: /dev/cdrom
之后,我进入sudo dmesg
终端并得到了这个:
[ 6472.043056] usb 1-2: new high-speed USB device number 49 using xhci_hcd
[ 6472.236495] usb 1-2: New USB device found, idVendor=1c6b, idProduct=a222
[ 6472.236517] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6472.236524] usb 1-2: Product: Mass Storage Device
[ 6472.236529] usb 1-2: Manufacturer: USB2.0 External
[ 6472.236535] usb 1-2: SerialNumber: 2010042000000051239
[ 6472.237751] usb-storage 1-2:1.0: USB Mass Storage device detected
[ 6472.241377] scsi host68: usb-storage 1-2:1.0
[ 6473.262959] scsi 68:0:0:0: CD-ROM Slimtype eTAU108 1 EL46 PQ: 0 ANSI: 0
[ 6473.328635] sr 68:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda pop-up
[ 6473.328955] sr 68:0:0:0: Attached scsi CD-ROM sr0
[ 6473.329110] sr 68:0:0:0: Attached scsi generic sg1 type 5
[ 6545.854840] sr 68:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 6545.854853] sr 68:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current]
[ 6545.854864] sr 68:0:0:0: [sr0] tag#0 Add. Sense: Read of scrambled sector without authentication
[ 6545.854874] sr 68:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 04 00 00 00 02 00
[ 6545.854880] blk_update_request: I/O error, dev sr0, sector 4096
[ 6545.918861] sr 68:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 6545.918871] sr 68:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current]
[ 6545.918882] sr 68:0:0:0: [sr0] tag#0 Add. Sense: Read of scrambled sector without authentication
[ 6545.918888] sr 68:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 04 00 00 00 02 00
[ 6545.918892] blk_update_request: I/O error, dev sr0, sector 4096
[ 6545.918899] Buffer I/O error on dev sr0, logical block 512, async page read
[ 6580.841506] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
我经常使用外置 DVD 驱动器观看电影/电视节目,因为除了下载或流式传输之外,这是在计算机上观看它们的唯一方式。
答案1
就我而言,我收到此错误是因为区域代码设置不正确。
例如,安装并运行“regionset”
sudo apt-get install regionset
regionset
jen@suumachine:~$ regionset
regionset version 0.1 -- reads/sets region code on DVD drives
Current Region Code settings:
RPC Phase: II
type: NONE
vendor resets available: 4
user controlled changes resets available: 5
drive plays discs from region(s):, mask=0xFF
Would you like to change the region setting of your drive? [y/n]:y
type: NONE 表示未设置区域代码。就我而言,设置区域代码后问题得到解决。请注意,光盘必须放在驱动器中才能运行区域设置(!)。
在尝试此操作之前,您可能需要检查其他相关软件包是否已安装,最重要的是 libdvdcss2。
dpkg -l libdvd-pkg libdvdread4 libdvdnav4 libdvdcss2
jen@suumachine:~$ dpkg -l libdvd-pkg libdvdread4 libdvdnav4 libdvdcss2
ii libdvd-pkg 1.4.0-1-1 all DVD-Video playing library - installer
ii libdvdcss2 1.4.0-1 amd64 <insert up to 60 chars description>
ii libdvdnav4:amd64 5.0.3-1 amd64 DVD navigation library
ii libdvdread4:amd64 5.0.3-1 amd64 library for reading DVDs
` 前三个安装方式与其他包一样,
sudo apt-get install libdvdread4 libdvdnav4 libdvd-pkg
libdvdcss2 以源代码形式下载,由 libdvd-pkg 构建和安装。如果尚未安装,请尝试以下操作:
sudo dpkg-reconfigure libdvd-pkg
最后,您可能需要检查您是否具有对 sr0 的读取(通常是写入)访问权限,
ls -la /dev/sr0
jen@suumachine:~$ ls -la /dev/sr0 brw-rw-rw-+ 1 root cdrom 11, 0 Okt 22 18:49 /dev/sr0
这些权限通常授予“cdrom”组。您可能希望将您的用户添加到“cdrom”组。