Audio CD not detected when inserted into CD-ROM drive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cdrom-detect (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
When I insert an audio CD into my CD-ROM drive, there is no obvious indication that the system has detected it. Specifically: no disc icon appears under the 'Places' menu in Nautilus, Rhythmbox doesn't indicate that a CD is available even after clicking 'Scan Removable Media.'
However, I can play the music CD through VLC if I select Media > Open Disc... > Audio CD and entering /dev/sr0 in the 'Disc device' field and clicking the 'Play' button.
The behaviour that I expect is that when an audio CD is inserted there would be some indication in Nautilus as well as multimedia applications (i.e. Rhythmbox) that the new media is available.
Data CDs seem to work fine, I can see the disc icon in 'Places' and access the data just fine.
dmesg when I insert and audio CD:
[ 6805.147138] sr 0:0:1:0: [sr0] Result: hostbyte=DID_OK driverbyte=
[ 6805.147146] sr 0:0:1:0: [sr0] Sense Key : Illegal Request [current]
[ 6805.147153] sr 0:0:1:0: [sr0] Add. Sense: Illegal mode for this track
[ 6805.147162] end_request: I/O error, dev sr0, sector 0
[ 6805.253097] sr 0:0:1:0: [sr0] Result: hostbyte=DID_OK driverbyte=
[ 6805.253106] sr 0:0:1:0: [sr0] Sense Key : Illegal Request [current]
[ 6805.253114] sr 0:0:1:0: [sr0] Add. Sense: Illegal mode for this track
[ 6805.253124] end_request: I/O error, dev sr0, sector 0
[ 6805.253955] sr 0:0:1:0: [sr0] Result: hostbyte=DID_OK driverbyte=
[ 6805.253961] sr 0:0:1:0: [sr0] Sense Key : Illegal Request [current]
[ 6805.253967] sr 0:0:1:0: [sr0] Add. Sense: Illegal mode for this track
[ 6805.253976] end_request: I/O error, dev sr0, sector 0
[ 6805.254803] sr 0:0:1:0: [sr0] Result: hostbyte=DID_OK driverbyte=
[ 6805.254811] sr 0:0:1:0: [sr0] Sense Key : Illegal Request [current]
[ 6805.254817] sr 0:0:1:0: [sr0] Add. Sense: Illegal mode for this track
[ 6805.254825] end_request: I/O error, dev sr0, sector 0
$ sudo lshw -c disk
*-disk:0
description: ATA Disk
product: SAMSUNG SP0411N
physical id: 0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: TW10
serial: S01JJ70X991356
size: 37GiB (40GB)
*-cdrom
description: SCSI CD-ROM
product: ROM-DRIVE-56MAX
vendor: ATAPI-CD
physical id: 0.1.0
bus info: scsi@0:0.1.0
logical name: /dev/cdrom
logical name: /dev/scd0
logical name: /dev/sr0
version: 56AI
*-medium
physical id: 0
logical name: /dev/cdrom
*-disk:1
description: ATA Disk
product: HITACHI_DK23EA-6
vendor: Hitachi
physical id: 1
bus info: scsi@1:0.0.0
logical name: /dev/sdb
version: 00K2
serial: 643823
size: 55GiB (60GB)
$ devkit-disks --show-info /dev/sr0
Showing information for /org/freedeskto
native-path: /sys/devices/
device: 11:0
device-file: /dev/sr0
by-path: /dev/disk/
detected at: Fri 27 Nov 2009 08:33:16 PM PST
system internal: 0
removable: 1
has media: 1 (detected at Fri 27 Nov 2009 10:25:34 PM PST)
detects change: 1
detection by polling: 1
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
size: 450721792
block size: 2048
job underway: no
usage:
type:
version:
uuid:
label:
optical disc:
blank: 0
appendable: 0
closed: 0
num tracks: 0
num audio tracks: 0
num sessions: 0
drive:
vendor: ATAPI-CD
model: ROM-DRIVE-56MAX
revision: 56AI
serial:
detachable: 0
can spindown: 0
rotational media: 1
ejectable: 1
media: optical_cd
compat: optical_cd
interface: scsi
if speed: (unknown)
ATA SMART: not available
$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
affects: | ubuntu → cdrom-detect (Ubuntu) |
FYI, I'm seeing this same problem on my system. I turned on hald debugging and captured this output.
Jan 12 16:30:03 orca hald[481]: 16:30:03.851 [I] device.c:1894: Removing locks from ':1.132' /sys/devices/ pci0000: 00/0000: 00:1f.1/ host1/target1: 0:0/1:0: 0:0, DEVNAME=, IFINDEX=0 pci0000: 00/0000: 00:1f.1/ host1/target1: 0:0/1:0: 0:0 pci0000: 00/0000: 00:1f.1/ host1/target1: 0:0/1:0: 0:0 is a device (store) c:541: Media insertion detected on /dev/sr0 freedesktop/ Hal/devices/ storage_ model_CD_ Writer_ _9500, key=storage. removable. media_available freedesktop/ Hal/devices/ storage_ model_CD_ Writer_ _9500 rescan_ device: udi=/org/ freedesktop/ Hal/devices/ storage_ model_CD_ Writer_ _9500 c:141: Doing probe-storage for /dev/sr0 (bus pci) (drive_type cdrom) (udi=/org/ freedesktop/ Hal/devices/ storage_ model_CD_ Writer_ _9500) (--only- check-for- fs==1) c:192: Doing open ("/dev/sr0", O_RDONLY | O_NONBLOCK) c:198: Returned from open(2) c:342: Checking for optical disc on /dev/sr0 c:350: Doing open ("/dev/sr0", O_RDONLY | O_NONBLOCK | O_EXCL) c:380: PROBE HAS EXCLUSIVE LOCK ON CDROM c:422: media size = 483153920 c:430: PROBE CLOSED LOCK ON CDROM cdrom.read_ speed -> 5645 cdrom.write_ speed -> 2117 removable. media_available -> True removable. media_size -> 4831539...
Jan 12 16:30:19 orca hald[481]: 16:30:19.051 [I] osspec.c:251: SEQNUM=1516, ACTION=change, SUBSYSTEM=scsi, DEVPATH=
Jan 12 16:30:19 orca hald[481]: 16:30:19.051 [I] hotplug.c:435: checking event /sys/devices/
Jan 12 16:30:19 orca hald[481]: 16:30:19.051 [I] hotplug.c:121: /sys/devices/
Jan 12 16:30:19 orca hald[481]: 16:30:19.051 [I] device.c:5035: refresh_dev: subsys=scsi
Jan 12 16:30:19 orca hald[481]: 16:30:19.051 [D] hotplug.c:453: events queued = 0, events in progress = 0
Jan 12 16:30:19 orca hald[481]: 16:30:19.051 [D] hotplug.c:458: Hotplug-queue empty now ... no hotplug events in progress
Jan 12 16:30:19 orca orage: polling /dev/sr0 (every 2 sec): [549]: 16:30:19.053 [D] addon-storage.
Jan 12 16:30:19 orca hald[481]: 16:30:19.054 [D] hald_dbus.c:1652: udi=/org/
Jan 12 16:30:19 orca hald[481]: 16:30:19.054 [I] hald_dbus.c:3096: entering, local_interface=1
Jan 12 16:30:19 orca hald[481]: 16:30:19.055 [D] hald_dbus.c:3105: udi=/org/
Jan 12 16:30:19 orca hald[481]: 16:30:19.055 [I] blockdev.c:1779: blockdev_
Jan 12 16:30:19 orca hald-probe-storage: [1570]: 16:30:19.061 [D] probe-storage.
Jan 12 16:30:19 orca hald-probe-storage: [1570]: 16:30:19.061 [D] probe-storage.
Jan 12 16:30:19 orca hald-probe-storage: [1570]: 16:30:19.062 [D] probe-storage.
Jan 12 16:30:19 orca hald-probe-storage: [1570]: 16:30:19.075 [D] probe-storage.
Jan 12 16:30:19 orca hald-probe-storage: [1570]: 16:30:19.075 [D] probe-storage.
Jan 12 16:30:19 orca hald-probe-storage: [1570]: 16:30:19.078 [D] probe-storage.
Jan 12 16:30:19 orca hald-probe-storage: [1570]: 16:30:19.080 [D] probe-storage.
Jan 12 16:30:19 orca hald-probe-storage: [1570]: 16:30:19.080 [D] probe-storage.
Jan 12 16:30:19 orca hald[481]: 16:30:19.081 [I] hald_dbus.c:1342: storage.
Jan 12 16:30:19 orca hald[481]: 16:30:19.081 [I] hald_dbus.c:1342: storage.
Jan 12 16:30:19 orca hald[481]: 16:30:19.081 [I] hald_dbus.c:1366: storage.
Jan 12 16:30:19 orca hald[481]: 16:30:19.081 [I] hald_dbus.c:1350: storage.