urfkill 0.1.0 release

2011-02-25 Thread Gary Ching-Pang Lin
Hi all, I am pleased to release urfkill 0.1.0 and it's available in: https://github.com/downloads/lcp/urfkill/urfkill-0.1.0.tar.bz2 urfkill implements a daemon, urfkilld, to monitor and control the radio killswitches of WLAN/BLUETOOTH/WWAN/UWB/WIMAX. It also provides DBus methods to monitor and c

[udisks] CD-ROM polling failed due to O_EXCL flag (poller.c)

2011-02-25 Thread PCMan
Hi list, UDisks failed to perform ForceUnmount when I press the physical eject button on my CDROM. So I downloaded udisks source code from git and traced it for a while and then I found the problem. Here are the related properties of my device. -

Re: [udisks] CD-ROM polling failed due to O_EXCL flag (poller.c)

2011-02-25 Thread PCMan
Please see similar source code from the deprecated HAL.: hal/hald/linux/addons/addon-storage.c: While UDIsks add O_EXCL unconditionally, HAL tries O_EXCL first, and if the device is busy, in some cases it does it without that flag. static gboolean poll_for_media_force (void) { int fd;

Re: [udisks] CD-ROM polling failed due to O_EXCL flag (poller.c)

2011-02-25 Thread PCMan
I made a small patch against the latest udisks in git after hacking HAL daemon and it works. Please review the patch. Thanks a lot. https://bugs.freedesktop.org/attachment.cgi?id=43798&action=edit From d963e58dc5393d770191c2265512f41f9d85d406 Mon Sep 17 00:00:00 2001 From: Hong Jen Yee (PCMan) Da

Re: [udisks] CD-ROM polling failed due to O_EXCL flag (poller.c)

2011-02-25 Thread Kay Sievers
On Fri, Feb 25, 2011 at 14:47, PCMan wrote: > I made a small patch against the latest udisks in git after hacking HAL daemon > and it works. Please review the patch. Thanks a lot. > > https://bugs.freedesktop.org/attachment.cgi?id=43798&action=edit mtab is officially dead now, even in mount(8). P

Re: urfkill 0.1.0 release

2011-02-25 Thread Joey Lee
於 五,2011-02-25 於 18:37 +0800,Gary Ching-Pang Lin 提到: > Hi all, > > I am pleased to release urfkill 0.1.0 and it's available in: > https://github.com/downloads/lcp/urfkill/urfkill-0.1.0.tar.bz2 > > urfkill implements a daemon, urfkilld, to monitor and control > the radio killswitches of WLAN/BLUET