CD's play on commandline but not in GNOME (was ... Re: Problems with CD insertion - sid)

2013-06-23 Thread Chris Bannister
On Fri, Jun 21, 2013 at 11:18:04AM +0200, Oliver Elphick wrote:
 On Thu, 2013-06-20 at 22:31 +1200, Chris Bannister wrote:
 
 ...I'd try installing cdtool, and see if it plays
  with that.
 
 Yes, it does.

Ah! OK. It seems as though the problem lies with GNOME. I'm sorry, but I
don't use GNOME and can't offer any suggestions.


 The position is that udev recognises when an audio CD is inserted or
 ejected and it updates the symlinks.  Programs that can be told what
 drive to use can see and access the CD.
 
 The problem is that Gnome (?) does not recognise that the CD has been
 inserted and so does not initiate the program to play it.  
 
 Rhythmbox needs that same notification to tell it to put the CD device
 into the sidebar and thus make it accessible, so rhythmbox cannot be
 used at all with an audio CD.

Seems weird.


-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130623194559.GA7806@tal



Re: Problems with CD insertion - sid

2013-06-21 Thread Oliver Elphick
On Thu, 2013-06-20 at 22:31 +1200, Chris Bannister wrote:

...I'd try installing cdtool, and see if it plays
 with that.

Yes, it does.

The position is that udev recognises when an audio CD is inserted or
ejected and it updates the symlinks.  Programs that can be told what
drive to use can see and access the CD.

The problem is that Gnome (?) does not recognise that the CD has been
inserted and so does not initiate the program to play it.  

Rhythmbox needs that same notification to tell it to put the CD device
into the sidebar and thus make it accessible, so rhythmbox cannot be
used at all with an audio CD.

Oliver Elphick




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1371806284.3409.0.camel@ruth



Re: Problems with CD insertion - sid

2013-06-20 Thread Chris Bannister
On Tue, Jun 18, 2013 at 03:56:12PM +0200, Oliver Elphick wrote:
 First, I was wrong about it's not mounting the data CD.  I was looking
 in the wrong place.  So it is only about audio CDs.

As far as I am aware, you don't mount audio CD's.

 As far as I can see, then, the problem is further on in the chain that
 leads to a media player's being started.
 
 How does udev notify gnome that something has happened?

If CDROM's mount ok, then I wouldn't worry about udev at this point.
I don't use GNOME so I don't know how much it interferes with the
underling subsystems. But I'd try installing cdtool, and see if it plays
with that. It may help eliminate GNOME from the equation. If it doesn't
work with cdtool, then GNOME could possibly be interfering, although
thats only a wild guess.

Just like a blood test doesn't prove you are the father, but proves
whether you definitely aren't. :)

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130620103120.GA15403@tal



Re: Problems with CD insertion - sid

2013-06-18 Thread Andrei POPESCU
On Ma, 18 iun 13, 07:55:51, Oliver Elphick wrote:
 When a CD is inserted, it does not get mounted (data CD) or properly
 notified (audio CD).
...
 I don't know where the problem resides.  Which package should I be
 looking at?

You should start by telling us what Desktop Environment you are using.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Problems with CD insertion - sid

2013-06-18 Thread Oliver Elphick
On Tue, 2013-06-18 at 10:32 +0300, Andrei POPESCU wrote:
 On Ma, 18 iun 13, 07:55:51, Oliver Elphick wrote:
  When a CD is inserted, it does not get mounted (data CD) or properly
  notified (audio CD).
 ...
  I don't know where the problem resides.  Which package should I be
  looking at?
 
 You should start by telling us what Desktop Environment you are using.
 
 Kind regards,
 Andrei

Sorry.  
Gnome 3


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1371544040.8800.0.ca...@linda.lfix.co.uk



Re: Problems with CD insertion - sid

2013-06-18 Thread Chris Bannister
On Tue, Jun 18, 2013 at 07:55:51AM +0200, Oliver Elphick wrote:
 When a CD is inserted, it does not get mounted (data CD) or properly
 notified (audio CD).
 
 I found that rhythmbox never showed an audio CD as available to play -
 it should come up under devices on the left-hand sidebar.
 
 I then tried setting the system to run VLC instead, using System
 Settings.  Still nothing happens when a CD is inserted. (But VLC can
 play the CD if directed to.)
 
 I found that a data CD is not mounted when it is inserted; I had to
 mount it manually.
 
 The Debian version is sid - up-to-date.
 
 I don't know where the problem resides.  Which package should I be
 looking at?

For a start:

Does eject -T open/close the drive?

Any error messages in /var/log/syslog?

Does udevadm trigger help?


-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130618083152.GB8748@tal



Re: Problems with CD insertion - sid

2013-06-18 Thread Oliver Elphick
On Tue, 2013-06-18 at 20:31 +1200, Chris Bannister wrote:
 For a start:
 
 Does eject -T open/close the drive?

'eject /dev/sr0' opens it (once unmounted), and -t closes it.  -T gives
an I/O error

 Any error messages in /var/log/syslog?

No

 Does udevadm trigger help?

--verbose gives a long list of stuff.  But I'm not currently familiar
with udev; I don't see anything immediately relevant.

What options should I use, or what should I expect to see in that list?

Something updates the symbolic links /dev/cdrom1 /dev/cdrw1 /dev/dvd1
and /dev/dvdrw1 when a disk is inserted or ejected.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1371553934.8800.11.ca...@linda.lfix.co.uk



Re: Problems with CD insertion - sid

2013-06-18 Thread Oliver Elphick
First, I was wrong about it's not mounting the data CD.  I was looking
in the wrong place.  So it is only about audio CDs.

When one is inserted:

$ sudo udisks --monitor-detail
Monitoring activity from the disks daemon. Press Ctrl+C to cancel.
changed: /org/freedesktop/UDisks/devices/sr0
Showing information for /org/freedesktop/UDisks/devices/sr0

native-path: 
/sys/devices/pci:00/:00:07.0/ata2/host1/target1:0:0/1:0:0:0/block/sr0
  device:  11:0
  device-file: /dev/sr0
presentation:  /dev/sr0

by-id: 
/dev/disk/by-id/ata-TSSTcorp_CDDVDW_SH-S223C_R41368DB120810

by-path:   /dev/disk/by-path/pci-:00:07.0-scsi-0:0:0:0
  detected at: Tue 18 Jun 2013 15:30:23 CEST
  system internal: 0
  removable:   1
  has media:   0
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:   
  automount hint:  
  size:0
  block size:  0
  job underway:no
  usage:   
  type:
  version: 
  uuid:
  label:   
  drive:
vendor:TSSTcorp
model: TSSTcorp CDDVDW SH-S223C
revision:  SB06
serial:R41368DB120810
WWN:   
detachable:0
can spindown:  0
rotational media:  Yes, unknown rate
write-cache:   disabled
ejectable: 1
adapter:   Unknown
ports:
similar devices:
media: 
  compat:  optical_cd optical_cd_r optical_cd_rw
optical_dvd optical_dvd_plus_r optical_dvd_plus_r_dl optical_dvd_plus_rw
optical_dvd_r optical_dvd_ram optical_dvd_rw
interface: scsi
if speed:  (unknown)
ATA SMART: not available


As far as I can see, then, the problem is further on in the chain that
leads to a media player's being started.

How does udev notify gnome that something has happened?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1371563772.26431.1.camel@ruth