Re: [Thunar-dev] Unmount CD by pressing eject button on device

2007-01-17 Thread Benedikt Meurer
Harold Aling wrote:
 I seem to be getting 'Failed to mount volume name. An unknown error
 occured.' errors when inserting a (windows)cdrom since I upgraded to
 Thunar r24519. (see attachment)
 
 The volume is however properly mounted and volman even asks if he/she
 should run the 'Autorun.exe' file...
 
 What info do you need?

Well, unknown error is hard to trace. That's generated by the HAL mount
script. You could try to debug that script to see what's wrong.

 -H-

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] Unmount CD by pressing eject button on device

2007-01-16 Thread Mike Massonnet
On Tue, Jan 16, 2007 at 08:47:06AM +0100, Benedikt Meurer wrote:
 Mike Massonnet wrote:
  On Mon, Jan 15, 2007 at 04:59:24PM +0100, Benedikt Meurer wrote:
  Harold Aling wrote:
  Until recently I was able to eject CDs/DVDs by pressing the physical
  button on the device itself. It now seems that the only way to
  eject is
  by rightclicking the (mounted)device icon and selecting Eject
  Volume.
 
  My bad or buggy?
  
  HAL emits a signal when the Eject button is pressed, but I didn't care
  to check so far, and so Thunar never used that. Maybe you had some
  other
  software installed that was listening for this HAL signal?
  
  Dunno... Maybe something built into Ubuntu or something?
 
  Should this be filed as a feature request for Thunar in bugzilla?
  
  Jap.

  Done. http://bugzilla.xfce.org/show_bug.cgi?id=2759
  Patch attached, please test.
  
  I doesn't work on my laptop.  I listened to dbus events, but nothing is
  happening if I press the eject button.  Is there anything else I can do
  to check the event?
 
 Did you try with dbus-monitor --system? If so and you don't see the
 DeviceCondition signal with the EjectPressed name, then HAL/Linux
 doesn't support the eject button on your CD-ROM drive.

OK, I didn't don't have this support for my drive.

  Cheers,
  Mike
 
 Benedikt

Cheers,
-- 
 Mike (m8t) Massonnet http://massonnet.org/ __oo 
 GnuPG 0-- 0xF8C80F97  ---(_)_ 
 C4DA 431D 52F9 F930 3E5B  3E3D 546C 89D9 F8C8 0F97 


signature.asc
Description: Digital signature
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] Unmount CD by pressing eject button on device

2007-01-15 Thread Benedikt Meurer
Harold Aling wrote:
 Dear list,
 
 Until recently I was able to eject CDs/DVDs by pressing the physical
 button on the device itself. It now seems that the only way to eject is
 by rightclicking the (mounted)device icon and selecting Eject Volume.
 
 My bad or buggy?

HAL emits a signal when the Eject button is pressed, but I didn't care
to check so far, and so Thunar never used that. Maybe you had some other
software installed that was listening for this HAL signal?

 -H-

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] Unmount CD by pressing eject button on device

2007-01-15 Thread Harold Aling

Benedikt Meurer wrote:

Harold Aling wrote:
  

Dear list,

Until recently I was able to eject CDs/DVDs by pressing the physical
button on the device itself. It now seems that the only way to eject is
by rightclicking the (mounted)device icon and selecting Eject Volume.

My bad or buggy?



HAL emits a signal when the Eject button is pressed, but I didn't care
to check so far, and so Thunar never used that. Maybe you had some other
software installed that was listening for this HAL signal?
  

Dunno... Maybe something built into Ubuntu or something?

Should this be filed as a feature request for Thunar in bugzilla?


-H-
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] Unmount CD by pressing eject button on device

2007-01-15 Thread Benedikt Meurer
Harold Aling wrote:
 Until recently I was able to eject CDs/DVDs by pressing the physical
 button on the device itself. It now seems that the only way to eject is
 by rightclicking the (mounted)device icon and selecting Eject Volume.

 My bad or buggy?
 

 HAL emits a signal when the Eject button is pressed, but I didn't care
 to check so far, and so Thunar never used that. Maybe you had some other
 software installed that was listening for this HAL signal?
   
 Dunno... Maybe something built into Ubuntu or something?
 
 Should this be filed as a feature request for Thunar in bugzilla?

Jap.

 -H-

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] Unmount CD by pressing eject button on device

2007-01-15 Thread Harold Aling

Benedikt Meurer wrote:

Harold Aling wrote:
  

Until recently I was able to eject CDs/DVDs by pressing the physical
button on the device itself. It now seems that the only way to eject is
by rightclicking the (mounted)device icon and selecting Eject Volume.

My bad or buggy?



HAL emits a signal when the Eject button is pressed, but I didn't care
to check so far, and so Thunar never used that. Maybe you had some other
software installed that was listening for this HAL signal?
  
  

Dunno... Maybe something built into Ubuntu or something?

Should this be filed as a feature request for Thunar in bugzilla?



Jap.
  

Done. http://bugzilla.xfce.org/show_bug.cgi?id=2759
  

-H-



Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev
  


___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] Unmount CD by pressing eject button on device

2007-01-15 Thread Benedikt Meurer
Harold Aling wrote:
 Until recently I was able to eject CDs/DVDs by pressing the physical
 button on the device itself. It now seems that the only way to
 eject is
 by rightclicking the (mounted)device icon and selecting Eject
 Volume.

 My bad or buggy?
 
 HAL emits a signal when the Eject button is pressed, but I didn't care
 to check so far, and so Thunar never used that. Maybe you had some
 other
 software installed that was listening for this HAL signal?
 
 Dunno... Maybe something built into Ubuntu or something?

 Should this be filed as a feature request for Thunar in bugzilla?
 

 Jap.
   
 Done. http://bugzilla.xfce.org/show_bug.cgi?id=2759

Patch attached, please test.

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] Unmount CD by pressing eject button on device

2007-01-15 Thread Mike Massonnet
On Mon, Jan 15, 2007 at 04:59:24PM +0100, Benedikt Meurer wrote:
 Harold Aling wrote:
  Until recently I was able to eject CDs/DVDs by pressing the physical
  button on the device itself. It now seems that the only way to
  eject is
  by rightclicking the (mounted)device icon and selecting Eject
  Volume.
 
  My bad or buggy?
  
  HAL emits a signal when the Eject button is pressed, but I didn't care
  to check so far, and so Thunar never used that. Maybe you had some
  other
  software installed that was listening for this HAL signal?
  
  Dunno... Maybe something built into Ubuntu or something?
 
  Should this be filed as a feature request for Thunar in bugzilla?
  
 
  Jap.

  Done. http://bugzilla.xfce.org/show_bug.cgi?id=2759
 
 Patch attached, please test.

I doesn't work on my laptop.  I listened to dbus events, but nothing is
happening if I press the eject button.  Is there anything else I can do
to check the event?

 Benedikt

Cheers,
Mike
-- 
 Mike (m8t) Massonnet http://massonnet.org/ __oo 
 GnuPG 0-- 0xF8C80F97  ---(_)_ 
 C4DA 431D 52F9 F930 3E5B  3E3D 546C 89D9 F8C8 0F97 


signature.asc
Description: Digital signature
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] Unmount CD by pressing eject button on device

2007-01-15 Thread Nick Schermer
2007/1/16, Mike Massonnet [EMAIL PROTECTED]:
 I doesn't work on my laptop.  I listened to dbus events, but nothing is
 happening if I press the eject button.  Is there anything else I can do
 to check the event?

You need to run 'lshal -m' to monitor hal events.

Nick
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] Unmount CD by pressing eject button on device

2007-01-15 Thread Benedikt Meurer
Mike Massonnet wrote:
 On Mon, Jan 15, 2007 at 04:59:24PM +0100, Benedikt Meurer wrote:
 Harold Aling wrote:
 Until recently I was able to eject CDs/DVDs by pressing the physical
 button on the device itself. It now seems that the only way to
 eject is
 by rightclicking the (mounted)device icon and selecting Eject
 Volume.

 My bad or buggy?
 
 HAL emits a signal when the Eject button is pressed, but I didn't care
 to check so far, and so Thunar never used that. Maybe you had some
 other
 software installed that was listening for this HAL signal?
 
 Dunno... Maybe something built into Ubuntu or something?

 Should this be filed as a feature request for Thunar in bugzilla?
 
 Jap.
   
 Done. http://bugzilla.xfce.org/show_bug.cgi?id=2759
 Patch attached, please test.
 
 I doesn't work on my laptop.  I listened to dbus events, but nothing is
 happening if I press the eject button.  Is there anything else I can do
 to check the event?

Did you try with dbus-monitor --system? If so and you don't see the
DeviceCondition signal with the EjectPressed name, then HAL/Linux
doesn't support the eject button on your CD-ROM drive.

 Cheers,
 Mike

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev