Replacement for hal-setup-keymap

2009-05-05 Thread Martin Pitt
ty like "system vendor". I'm discussing various possibilities with Scott James Remnant, our udev maintainer; we'll find a solution. -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com)

Re: udev rules files

2009-05-05 Thread Martin Pitt
in git master. Does that also have a solution for the power button? (The other ACPI even that g-p-m listens to through hal) Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian

Re: Replacement for hal-setup-keymap

2009-05-05 Thread Martin Pitt
th doing this as an one-time migration? If so, I'll create the lists from our current hal-info data with fdi2rules.py and some manual cleanup. - Do you think that in the future these udev rules should be maintained as they are, or being autogenerated from a more abstract s

Re: Replacement for hal-setup-keymap

2009-05-05 Thread Martin Pitt
er). So with X (which is all we should be concerned about wrt. multiple keyboard and keyboard hotplugging handling, I think), it uses the very same mechanism, just of course different keymaps (letters/numbers instead of Fn keys). I do have an external keyboard for my laptop, but they aren't e

Re: Replacement for hal-setup-keymap

2009-05-07 Thread Martin Pitt
ey? It would certainly be nice if it could, since it's currently used 62 times in hal-info, and it would be utterly hard to find out how the real strings look like on the affected hardware. Martin -- Martin Pitt| http://www.piware.de Ubuntu Deve

Re: Replacement for hal-setup-keymap

2009-05-07 Thread Martin Pitt
t's easy for you to pull from that? Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) From c076cf1ecc41b87228a38953900dda52b05a0dc9 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 7 May 2009

path for keymap files [was: Re: Replacement for hal-setup-keymap]

2009-05-07 Thread Martin Pitt
.org/faq/#account Thanks, account request sent. > You can just use the main udev-extras repo to maintain your stuff > there. It is shared. Just post questionable stuff, or changes to the > build system, or introduced dependencies to the mailing list, but > commit your stuff right away.

Re: Replacement for hal-setup-keymap

2009-05-07 Thread Martin Pitt
ing? Or perhaps =i=, to disambiguate it when using the right-hand side without quotes? Another option would be regexec(3): FOO==/bar/i. Adding regexes will add a lot of power, but of course it introduces quite some performance penalty and shouldn't be used too much. Was there a p

Re: Replacement for hal-setup-keymap

2009-05-08 Thread Martin Pitt
Hello again, CC'ing hal@ to let people know who don't hang out on devkit-devel@ yet. Please see [1] for the complete thread. Martin Pitt [2009-05-05 13:21 +0200]: > I got quite the hang of adding model specific keymaps to hal-info > these days, and I wondered what the replacem

Re: Replacement for hal-setup-keymap -- committed to udev-extras

2009-05-09 Thread Martin Pitt
Martin Pitt [2009-05-08 15:28 +0200]: > As discussed, it is done now, including conversion of all of > hal-info's current keymaps. I created my own udev-extra branch for > that, since I'm still waiting for a git.kernel.org account. I got my account. I also got a lot of posit

Re: Replacement for hal-setup-keymap -- committed to udev-extras

2009-05-10 Thread Martin Pitt
On the same note, it might be nice to use AC_PROG_AWK in > configure.ac and then use $(AWK) in the Makefile. Might as well just > be safe. Right. Committed (da800c7ebbaf8d97cde9eb6d40d678ec92994077) Thanks! Martin -- Martin Pitt| http://www.piware.de Ubuntu Develop

hal -> udev migration for libgphoto2

2009-06-03 Thread Martin Pitt
ck if ENV{PROTOCOL} is supported). [1] my notes: https://wiki.ubuntu.com/Halsectomy [2] SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="*:060101:*", ENV{ACL_MANAGE}="1" Marcus, David, Kay, does this make sense? Thanks in advance for any comment, Martin -- Martin Pitt

Re: hal -> udev migration for libgphoto2

2009-06-03 Thread Martin Pitt
Martin Pitt [2009-06-03 12:39 +0200]: > ENV{ID_CLASS}="camera" Oops, that won't work well; my mobile phone is a camera, a music player, and a modem all at the same time. So this should perhaps be ENV{ID_CAMERA}="1" ? Kay, is there an established standard pr

Re: Using udev-extras for hardware-specific quirks?

2009-06-03 Thread Martin Pitt
000:00/:00:13.1/:04:0b.1/tty/ttyS2", > NAME="ttyS6" This really looks wrong. Since the initial naming isn't stable, the mapping isn't either. You need to identify a particular device on stable properties such as device names, serial numbers, or other constant prope

Re: Using udev-extras for hardware-specific quirks?

2009-06-03 Thread Martin Pitt
l ports, there are no other device properties > besides the PCI address and kernel-assigned name. The PCI device should have an unique physical slot name (PCI_SLOT_NAME), but that won't help you, since I guess one PCI device drives all of your serial ports? So I thin

Re: hal -> udev migration for libgphoto2

2009-06-03 Thread Martin Pitt
and send them bugzilla-wards. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ devkit-devel mailing list devkit-devel@lists.freedesktop.org http:/

Re: hal -> udev migration for libgphoto2

2009-06-04 Thread Martin Pitt
Hello all, Martin Pitt [2009-06-03 12:39 +0200]: > Hello Marcus, hello DeviceKitters, > > one part of the "Halsectomy" [1] is the migration of the libgphoto > integration from hal. I wrote a first patch against libgphoto2 to add a new "udev 136" mode to print-c

udev-ish replacement for hal-cups-utils?

2009-06-04 Thread Martin Pitt
1" | ATTRS{manufacturer}=="Samsung Electronics Co., Ltd." | ATTRS{product}=="Samsung ML-1610 Series" | ATTRS{serial}=="3921BAFY504774K." | | [ just uninteresting stuff for USB hub, etc. ] For testing, it's probably easiest to cobble toge

Re: hal -> udev migration for libgphoto2

2009-06-04 Thread Martin Pitt
not in the gphoto > rules, it's udev "policy stuff" which should not leak into generic > infrastructure. We do the same for scanners already in the udev acl > rules: > ENV{libsane_matched}=="yes", ENV{ACL_MANAGE}="1" Ack. I'll commit that to udev-extras

Re: udev-ish replacement for hal-cups-utils?

2009-06-04 Thread Martin Pitt
the hal db. Doing something like that with cups_admin is possible, but not quite in the same way (you need to have the callout write key=value properties to stdout and import them with "IMPORT{program}"). Is that actually necessary, though? Thanks, Martin -- Martin Pitt

Re: hal -> udev migration for libgphoto2

2009-06-05 Thread Martin Pitt
Hello again, Martin Pitt [2009-06-04 18:17 +0200]: > I updated the patch on the upstream bug accordingly. Marcus committed the patch upstream, thanks! > > The ACL_MANAGE trigger should be in udev only and not in the gphoto > > rules, it's udev "policy stuff" whic

devkit-disks: Allowed ntfs-3g mount options

2009-06-10 Thread Martin Pitt
;fmask=", | NULL}; | If it shouldn't be hardcoded, is there any plan to allow overrides? Personally I think that ntfs-3g has been pretty much the only use case here, so adding them to devkit-disks-device.c would be okay. Thanks for comments,

Re: devkit-disks: Allowed ntfs-3g mount options

2009-06-10 Thread Martin Pitt
Hello again, Martin Pitt [2009-06-10 13:37 +0200]: > shipped a hal fdi as a workaround (attached) *cough* -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) volume.fst

Re: devkit-disks: Allowed ntfs-3g mount options

2009-06-15 Thread Martin Pitt
tab a real alternative, that feels like a step backwards and isn't possible for non-admin users anyway. But let's see how this goes.. Thanks for the heads-up, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.de

Re: devkit-disks: Allowed ntfs-3g mount options

2009-06-15 Thread Martin Pitt
norecover" mount options to recover volumes with unclean journals (eg, if they were not cleanly unmounted) since version 2009.2.1, "recover" is the default if no option is specified, so it should make this issue go away. Martin -- Martin Pitt| http://www.piw

Re: music player database

2009-06-16 Thread Martin Pitt
and future code there. I wouldn't like to be the primary developer on this, since this should be driven by the Rhythmbox/Banshee/Amarok/GStreamer/etc. developers, but I'm fine to continue to maintain the actual player DB, from bug reports (just as I'm doing with hal-info now

Re: music player database

2009-06-16 Thread Martin Pitt
Hello again, Martin Pitt [2009-06-16 9:17 +0200]: > * TODO: nicer names for .ini files Done now, they use the vendor name as prefix and the model name if available. Files updated. > This is a pretty comprehensive example of a "normal" USB player: > > http://people.ubu

Re: music player database

2009-06-17 Thread Martin Pitt
we > should pick a distinct extension for these files? ( .mpi for media > player id ?) Can do. Aside from that, I'll try and beautify the generated .ini files. Christophe, you said that you already talked to the RB/Banshee guys? Any input from them? Thanks, Martin -- Martin Pitt

Re: music player database

2009-06-24 Thread Martin Pitt
port back here. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ devkit-devel mailing list devkit-devel@lists.freedesktop.org http://lists.freedesktop.org/ma

Re: music player database

2009-06-24 Thread Martin Pitt
settle, and send the output? Perhaps that model does some weird online mode switching or so. > > I'll probably get started on some code for rhythmbox to make use > > of this in the next few days. > > I'm more or less done with this, and rhythmbox will p

Re: music player database

2009-06-24 Thread Martin Pitt
Hello folks, time for a new update: http://people.ubuntu.com/~pitti/tmp/hal-udev-music-players/ Martin Pitt [2009-06-17 19:08 +0200]: > Aside from that, I'll try and beautify the generated .ini files. They are now called '.mpi' (media player identification), and have n

Re: SetPowerSave

2009-06-26 Thread Martin Pitt
do you think? Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) signature.asc Description: Digital signature ___ devkit-devel mailing list devkit-devel@list

Re: Fix recent pm-powersave dk-p patch

2009-06-28 Thread Martin Pitt
s was my first idea as well, but I tried it and it doesn't work). Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) signature.asc Description: Digital signature ___

Re: Blackberry device permissions

2009-06-29 Thread Martin Pitt
t user or adding him > to an ACL. The latter happens. > But I don't see any of his handling in the new udev rules. Installed udev: /lib/udev/rules.d/70-acl.rules /lib/udev/udev-acl (helper program) Source tree: extras/udev-acl/ Greetings, Martin -- Martin Pitt

Re: Help with matching a HID device (udev rules troubles)

2009-07-02 Thread Martin Pitt
oduct rules ...] LABEL="ups_end" 8< If the SUBSYSTEM!="usb" doesn't work (i. e. the hiddev device itself doesn't have SUBSYSTEM, just one of the parents), replace it with SUBSYSTEMS=="usb", GOTO="ups_start" GOTO="

Re: Mapping form factor

2009-07-02 Thread Martin Pitt
er than purely informative stuff for displaying. In the context of power management, the form factor isn't really interesting (you want to conserve power on both netbooks and giant servers), it's what you want to do with the machine (like a "snappy and hot <---|---> sl

Re: Mapping form factor

2009-07-02 Thread Martin Pitt
t's less interesting for g-p-m itself, since it's a special case of "on AC", but it's the same conceptual question for the xrandr control applet ("when docked, disable internal screen and use full resolution", etc.). I wouldn't like to accumulate

Re: Mapping form factor

2009-07-02 Thread Martin Pitt
Richard Hughes [2009-07-02 17:47 +0100]: > 2009/7/2 Martin Pitt : > > On a related note, I had always wished g-p-m (and GNOME in general) > > had a separate mode/policy for "laptop is docked", i. e. this exists: > > What would it do differently to the on AC case?

Re: music player database

2009-07-05 Thread Martin Pitt
ifferent themes, KDE vs. GNOME, etc. Either gvfs/solid should figure them out from the available data themselves, or .mpi should only have "device classes" (camera/music player/video player/phone). Martin -- Martin Pitt| http://www.pi

Re: DeviceKit-power and backlight brightness

2009-07-05 Thread Martin Pitt
ter than a large ugliness". On the con side this will take some pressure out of the "fix it in X" movement, of couse. Unfortunately I have no idea at all how much work it actually is to fix X properly? Thanks, and have a nice Sunday! Martin -- Martin Pitt

Re: udev-ish replacement for hal-cups-utils?

2009-07-13 Thread Martin Pitt
(such as device ID, etc.) to the callout as command line arguments, then you can avoid calling udevadm at all. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) signature.asc Description: Digital signature

Re: udev-ish replacement for hal-cups-utils?

2009-07-13 Thread Martin Pitt
hat will actually work for a "remove" event with nowaday's udev (unlike hal in earlier times, when you didn't get any attributes for removed devices). Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com)

Re: udev-ish replacement for hal-cups-utils?

2009-07-14 Thread Martin Pitt
then just test if a device with the ID_IEEE1284 was removed, and still use that property value in the RUN argument. For the real implementation you would of course replace RUN with something like "printer_setup add '$env{ID_IEEE1284}' '%p'". printer_setup must be in /lib/udev/

Re: udev-ish replacement for hal-cups-utils?

2009-07-14 Thread Martin Pitt
gudev, which provides a gobject-based interface to udev. Ideally it'd be easy to auto-generate python bindings with gobject introspection, but I never did that before. I'll look into that in the next days, and report back if that's a viable approach. Thanks, Martin -- Martin Pitt

Re: udev-ish replacement for hal-cups-utils?

2009-07-16 Thread Martin Pitt
? No, only IMPORTed callouts. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ devkit-devel mailing list devkit-devel@lists.freedesktop.org http://

Re: udev-ish replacement for hal-cups-utils?

2009-07-16 Thread Martin Pitt
waste of time for > udev to collect this information, as it can't pass it on in any useful > form. In fact, udev doesn't "collect" sysfs attributes, it just provides one interface for sysfs. But I agree that this is a bit unfortunate. Martin -- Martin Pitt

Re: udev-ish replacement for hal-cups-utils?

2009-07-17 Thread Martin Pitt
by the callout program? udev has support for automatic ACLs, similar to the ones that hal provided. Projects need to ship udev rules which identify particular devices (ID_GPHOTO2, ID_HPLIP, etc.) and 70-acl.rules in udev then assigns the ACL_MANAGE=1 tag (the latter is

Re: udev-ish replacement for hal-cups-utils?

2009-07-20 Thread Martin Pitt
ess udev-configure-printer could just test if sysfs has an ieee1284_id attribute (since that's faster to get), and if not, use libusb to read it? I think it's easier to match on the printer interface with udev rules; if you need the USB device, that's just the parent directory. If y

Re: udev-ish replacement for hal-cups-utils?

2009-07-20 Thread Martin Pitt
specific interfaces you are interested in in udev rules, and then just need an attribute or two from sysfs, you could do this with simple open(). Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) signature.

Re: udev-ish replacement for hal-cups-utils?

2009-07-20 Thread Martin Pitt
uot; attribute in cups for that, either the sysfs path directly, or the encoded device ID, and compare that with what you get on device removal (perhaps with the ENV{IEEE1284_ID}="$attr{ieee1284_id}" trick). Martin -- Martin Pitt| http://www.piware.de Ubunt

Re: udev-ish replacement for hal-cups-utils?

2009-07-20 Thread Martin Pitt
es that usb_id isn't called twice on a device. Thanks! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) signature.asc Description: Digital signature ___ d

Re: How to migrate the X server?

2009-07-30 Thread Martin Pitt
y. We can write reasonable transition scripts for known fdi files, such as in hal-info, but since hal fdis can become arbitrarily complex (callouts, negations), and cannot always be translated 1:1 to udev rules, a general automatic migration for user supplied fdi files will not be reliable. Perhaps we

Re: How to migrate the X server?

2009-08-05 Thread Martin Pitt
uration; it really shouldn't be the primary place to store the configuration. It becomes the primary configuration place for user-configured per-device keymap layouts, of course (custom udev rules). But that shold be fine for now. Martin -- Martin Pitt| http://www.piwar

Re: Revert "10-usb-music-players.fdi: Flatten product id tests"

2009-08-23 Thread Martin Pitt
hen would you be content with reintroducing the flat structure? When banshee is using *.mpi files as well? Rhythmbox already switched over to gudev in 0.12.4. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com)

Re: why devicekit-power does not support reboot/shutdown

2009-09-08 Thread Martin Pitt
artin [1] http://lists.freedesktop.org/archives/hal/2008-January/010602.html [2] http://lists.freedesktop.org/archives/hal/2008-January/010669.html -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) signature.asc Description: Di

Re: devkit segfaults in do_show_info()

2009-11-05 Thread Martin Pitt
it. FYI, current DK-D requries dbus-glib 0.82, so I think this is settled now? Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ devkit-devel mai

Migrating suspend quirks away from hal

2009-11-13 Thread Martin Pitt
perience with that from converting keymaps [2] and music players [3], after all. :-) Thanks, Martin [1] https://wiki.ubuntu.com/Halsectomy [2] http://lists.freedesktop.org/archives/devkit-devel/2009-May/000171.html [3] http://lists.freedesktop.org/archives/devkit-devel/2009-June/00022

Re: Migrating suspend quirks away from hal

2009-11-25 Thread Martin Pitt
m and each file would have a list of (dmi property:value)* → quirks map like product_name:.*X31;bios-version:INET17WW s3_bios s3_mode which can then be matched against /sys/class/dmi/id/* with grep. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www

Re: [Pm-utils] Migrating suspend quirks away from hal

2009-11-27 Thread Martin Pitt
necessary? The frequency of new quirk submissions is utterly low these days, mainly because all new hardware doesn't need them any more. My gut feeling is that for the time being the current db could just be integrated into pm-utils itself. Martin -- Martin Pitt| http://w

Re: Migrating suspend quirks away from hal

2009-11-30 Thread Martin Pitt
ated quirks into pm-utils and removing the hal bits? Then we can ask submitters of new quirks to report them to pm-utils first, instead of/in addition to committing them to hal. I just had a look at hal-info commit history, and we had some 30 quirks additions in 2009, and only one in the last t

Re: Migrating suspend quirks away from hal

2009-11-30 Thread Martin Pitt
owadays will already be short-circuited by the "KMS || i915 || nvidia" check anyway, so it totally doesn't matter for them, too. Thanks! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian

Re: pm-suspend-hybrid support in DeviceKit-power and g-p-m

2009-12-02 Thread Martin Pitt
nk? Personally I find this more appealing. To me, hybrid mode seems conceptually closer to suspend than to hibernate, just with a safety net (and of course a much longer suspend time). Just my 2 cents, though. martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www

Re: Experimental quirk handling in pm-utils

2009-12-06 Thread Martin Pitt
7;ll report back. Thank you! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ devkit-devel mailing list devkit-devel@lists.freedesktop.org http://lists.free

Re: DBus method naming of upower/udisks

2009-12-10 Thread Martin Pitt
or something like that. udisks already uses org.freedesktop.UDisks, and I expect upower will change similarly. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___

Re: DBus method naming of upower/udisks

2009-12-10 Thread Martin Pitt
tell them apart. However, for a D-Bus interface you can consider the name as a "specification identifier" instead of an "implementation identifier". If there was an udisks-bsd, it would be fine to use the same interface name. Martin -- Martin Pitt

Re: DBus method naming of upower/udisks

2009-12-10 Thread Martin Pitt
ementation detail on Linux, one could even write a hal-based implementation for BSD. Admittedly it was chosen with having "u"dev in mind, but it's deliberately not called "udev-disks", and the "u" doesn't really mean anything---it's pretty muc

Re: DBus method naming of upower/udisks

2009-12-11 Thread Martin Pitt
true), and is the one and only thing to interact with disks (which also isn't true). Projects should have proper nouns to tell them apart from other projects. Otherwise, why bother, and just call them "kernel", "browser", and "instant-messenger". Martin

Re: DBus method naming of upower/udisks

2009-12-11 Thread Martin Pitt
"mail", and you are looking at web pages in the "webbrowser" application, right? Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) __

Re: Can we safely remove those fdi files in hal-info?

2009-12-14 Thread Martin Pitt
d the suspend quirks straight from fdi files without going through hal. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ devkit-devel mailing list devkit-devel@l

Re: Can we safely remove those fdi files in hal-info?

2009-12-16 Thread Martin Pitt
at some of your installed programs need HAL. For example, current KDE uses hal, and a lot of applications (see https://wiki.ubuntu.com/Halsectomy for an incomplete list) Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.

Re: Can we safely remove those fdi files in hal-info?

2009-12-16 Thread Martin Pitt
ut AFAICS these particular rules for identifying them haven't been transformed into udev rules, so that's missing. 20-broken-usb-sticks.fdi: There is no udev rule equivalent for those as far as I can see. It seems to me that this indeed needs to be fixed. Martin -- Martin Pitt

Re: udisks replacement for the HAL EjectPressed signal?

2010-01-15 Thread Martin Pitt
ernel (/proc/sys/dev/cdrom/lock). Martin [1] https://bugs.freedesktop.org/show_bug.cgi?id=24052 -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ devkit-devel

Re: DeviceKit-power can-suspend property

2010-01-19 Thread Martin Pitt
an-suspend be False. For the "security policy" bit, PK seems to be just fine? Thanks, Martin [1] https://launchpad.net/bugs/432598 -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) _

Re: DeviceKit-power can-suspend property

2010-01-19 Thread Martin Pitt
Martin Pitt [2010-01-19 11:26 +0100]: > g-p-m also has a gconf key for disabling suspend/hibernate. It's said > to not work ATM (I'll look at this soon [1]) > [1] https://launchpad.net/bugs/432598 Nevermind. Having read the bug report now, the assumption that those gconf keys

Re: Special device information properties

2010-01-27 Thread Martin Pitt
pod, mtp, and other almost-but-not-quite storage devices. If you don't want to use gvfs, then you can use gudev to identify those devices E. g. for libgphoto, the counterpart of hal's "camera" capability is ID_GPHOTO2, and camera.access_mode is GPHOTO2_DRIVER; portable_

Re: Special device information properties

2010-01-28 Thread Martin Pitt
ile manager itself (via GIO, GVfs, > gvfs-gdu-volume-monitor and gnome-disk-utility). > > But is udev compatible with BSD at all? u{disks,power} are on a higher architecture level than udev, and thus are more abstract and easier to implement on a different OS. So using those APIs has a higher ch

Re: UPower 0.9.0 released!

2010-02-04 Thread Martin Pitt
.cgi?id=26437 , perhaps we can discuss the remaining bits there? Thanks! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ devkit-devel mailing list

Re: UPower git tree has moved

2010-02-10 Thread Martin Pitt
Richard Hughes [2010-02-10 17:12 +]: > The upower git tree is now at ssh://git.freedesktop.org/git/upower -- > the old git tree will be removed soon. It's just a symlink, so don't worry too much about pushing to the wrong place. Martin -- Martin Pitt

Re: UPower git tree has moved

2010-02-10 Thread Martin Pitt
Martin Pitt [2010-02-10 18:28 +0100]: > It's just a symlink, so don't worry too much about pushing to the > wrong place. Sorry, DeviceKit/upower.git is a symlink, DeviceKit/DeviceKit-power isn't; perhaps it should be? Martin -- Martin Pitt| http:/

media-player-info 5 released

2010-03-18 Thread Martin Pitt
, you need an udisks patch which is not released yet: http://cgit.freedesktop.org/udisks/commit/?id=ddc788 Changes in version 5: = Dallen Wilson (1): add iRiver H320, H340 (LP: #487963) Jonathan Matthew (1): add Amazon Kindle 2 Martin Pitt (8): Move udev

media-player-info 6 released

2010-04-08 Thread Martin Pitt
name fix format of DeviceMatch entries in new mpi files add mpi file for Sansa Clip+ Martin Pitt (1): Fix udev rules to catch MTP devices, too Reinout van Schouwen (1): Add Cowon S9 -- Martin Pitt| http://www.piware.de Ubuntu Developer

Re: No BACKLIGHT for

2010-04-28 Thread Martin Pitt
er does not support backlight setting itself? Then we would have X, and only X, as the userspace API to control backlight. (IANAXD, so this might well be naive, of course). > The gnome-power-manager dep on HAL is just getting embarrassing. Full ack. :-) Martin -- Martin Pitt

Re: Is udisks worse that HAL?

2010-06-25 Thread Martin Pitt
en udisks udev rule hardcodes UDISKS_PRESENTATION_NOPOLICY=1 > for everything but few hardcoded devices... Right, because it has been easier to specify a positive list than a blacklist so far. If you have something particular which isn't covered here, please file a bug. I'

Re: Is udisks worse that HAL?

2010-06-25 Thread Martin Pitt
ery awkward to handle at this level, and system daemons shouldn't care about providing user-visible strings in the first place (except data read from the devices themselves, of course, like disk labels). > > As you say, icons are determined by udev rules, so that is "done". >

[upower] waterline for "enough swap for hibernate"

2010-07-07 Thread Martin Pitt
d to predict of course. Thanks, Martin [1] https://bugs.launchpad.net/oem-priority/+bug/599352/comments/4 -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) signature.asc Description: Di

Re: [upower] waterline for "enough swap for hibernate"

2010-07-07 Thread Martin Pitt
-is-supported --hibernate, so that pm-utils can take the various backends into account. But that should provide a better prediction for the default native linux hibernation. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Develo

Re: UPower 0.9.5 released!

2010-07-20 Thread Martin Pitt
Hello Ali, Ali Abdallah [2010-07-20 12:01 +0200]: > Suddently after an upgrade of upower (dunno what version maybe > 0.9.4) upower started to automatically spin down my hard drive when > i run on battery power: This sounds more related to upgrading pm-utils to 1.4.x. Martin -- Ma

Re: [PATCH] udisks: add nilfs2 filesystem

2010-08-08 Thread Martin Pitt
file operations, and ensures that your parameter settings are correct and work with the installed *.nilfs2 tools. I can't test nilfs2 easily here, so it would be good if you could run this and fix it up before committing. Thank you! Martin -- Martin Pitt

Re: upower segfault

2010-08-12 Thread Martin Pitt
so I thought I'd > send the patch here in the meantime, for others to pick it up. Seems Richard applied the patch from his iphone then, or so :) http://cgit.freedesktop.org/upower/commit/?id=a4e099c5bff9f9fdb9067a0a6bb206d4c34745ae Thank you, Martin -- Martin Pitt

Re: [PATCH] udisks: add nilfs2 filesystem

2010-08-15 Thread Martin Pitt
udisks/commit/?id=8b0fcd17235127af9f4ce33f518022f359d55e4a Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ devkit-devel mailing list devkit

Re: udisks-part-id segfault

2010-08-16 Thread Martin Pitt
te the output. Please compile udisks with debugging symbols for this. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ devkit-devel mailing list

Re: some more upower fixes

2010-08-19 Thread Martin Pitt
->polkit, subject, > "org.freedesktop.upower.suspend", NULL)) > goto out; > > /* already requested */ This is the hunk which I skipped. It looks like a regression to me (you need the context in order to check whether the caller is authorized), and mig

media-player-info 8 release

2010-09-13 Thread Martin Pitt
) Florian Boucault (2): Fix OutputFormats syntax Add audio/flac as output format for the Samsung Galaxy Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org

media-player-info 9 release

2010-09-20 Thread Martin Pitt
n900 as a maemo device Mark the Palm Pre as a WebOS device Jonathan Ernst (3): Alternative ID and icon for Motorola Droid Add Sony Xperia X10 Mini Add Samsung YP-M1 Martin Pitt (5): Fix Xperia X10 device ID Add Motorola Dext Add iRiver E30 Fix Apple

media-player-info 10 release

2010-09-21 Thread Martin Pitt
: 622b2b0f12e9444b3c917fdd5312ccb8b514861a Thanks, Martin media-player-info 10 (2010-09-21) Martin Pitt (5): fix copy&paste errors in tools copyright headers mpi2udev.py: Add missing comma in rules with icons sanitize name of iRiver

Re: [PATCH] udisks: add nilfs2 label rename

2010-10-14 Thread Martin Pitt
Hello Jiro, Jiro SEKIBA [2010-10-14 14:56 +0900]: > This is a patch to support renaming label of nilfs2 partition. > Renaming is done by nilfs2-tune, which is in nilfs2-util > 2.0.20. This looks fine, thanks! Pushed. Martin -- Martin Pitt| http://www.piware.

Re: [PATCH] udisks: fix a bug of unquoted/unescaped label string

2010-10-14 Thread Martin Pitt
Hello Jiro, Jiro SEKIBA [2010-10-15 13:44 +0900]: > This patch quotes/escapes label string for nilfs-tune. Thanks, applied. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.

Re: [PATCH] GCC 4.5 warning case value ‘4294967295’ not in enumerated type ‘PartitionScheme’

2010-10-21 Thread Martin Pitt
got another warning about an uninitialized variable, fixed as well in http://cgit.freedesktop.org/udisks/commit/?id=dd48c454f14b6063f8584631f04bf4528969a82b Now udisks git head builds fine with gcc 4.5. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubun

Re: [PATCH] udisks: Avoid deprecated polkit_authority_get() function

2010-10-21 Thread Martin Pitt
if (error != NULL) > +{ > + g_critical ("error getting authority reference: %s", > error->message); > + g_error_free (error); > +} > + goto error; (Yay for name overloading of "error" for both a GError and a label ..) Martin -- Mart

Re: [PATCH] udisks: Avoid deprecated polkit_authority_get() function

2010-11-06 Thread Martin Pitt
Hello Marti, Marti Raudsepp [2010-10-20 21:33 +0300]: > Subject: [PATCH 2/2] udisks: Avoid deprecated polkit_authority_get() function > > Use polkit_authority_get_sync() instead. Applied with bumping the polkit version check. Thanks, and sorry for the delay! Martin -- Ma

  1   2   >