Re: [Bug 267238] Re: libgphoto2 missing udev rules?

2009-07-31 Thread g0nad
On Thu, Jul 30, 2009 at 1:29 AM, Martin Pittmartin.p...@ubuntu.com wrote:
 OK, thanks. Can you please get a hal debugging output, as described on
 https://wiki.ubuntu.com/DebuggingHal, open a new bug against hal, and
 attach the log there? Please give me the other bugs' number here, to
 keep the cross-reference. Thanks!

https://bugs.launchpad.net/ubuntu/+source/hal/+bug/407529

-- 
libgphoto2 missing udev rules?
https://bugs.launchpad.net/bugs/267238
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 267238] Re: libgphoto2 missing udev rules?

2009-07-29 Thread Martin Pitt
OK, thanks. Can you please get a hal debugging output, as described on
https://wiki.ubuntu.com/DebuggingHal, open a new bug against hal, and
attach the log there? Please give me the other bugs' number here, to
keep the cross-reference. Thanks!

-- 
libgphoto2 missing udev rules?
https://bugs.launchpad.net/bugs/267238
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 267238] Re: libgphoto2 missing udev rules?

2009-07-28 Thread Martin Pitt
Thanks, the ck-list-sessions output looks fine. Since you don't get an
automatic ACL, there must be something wrong with hal. Do you have hal
installed (dpkg -s hal).

-- 
libgphoto2 missing udev rules?
https://bugs.launchpad.net/bugs/267238
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 267238] Re: libgphoto2 missing udev rules?

2009-07-28 Thread g0nad
On Wed, Jul 29, 2009 at 12:53 AM, Martin Pittmartin.p...@ubuntu.com wrote:
 Thanks, the ck-list-sessions output looks fine. Since you don't get an
 automatic ACL, there must be something wrong with hal. Do you have hal
 installed (dpkg -s hal).

Package: hal
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 1920
Maintainer: Ubuntu Core Developers ubuntu-devel-disc...@lists.ubuntu.com
Architecture: i386
Version: 0.5.12~rc1+git20090403-0ubuntu4

-- 
libgphoto2 missing udev rules?
https://bugs.launchpad.net/bugs/267238
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 267238] Re: libgphoto2 missing udev rules?

2009-07-27 Thread g0nad
On Mon, Jul 27, 2009 at 6:47 AM, Martin Pittmartin.p...@ubuntu.com wrote:
 libgphoto deliberately does not have any udev rules in Ubuntu 9.04 and
 earlier, closing again. (Just to avoid confusion, Ubuntu 9.10 version
 does have udev rules again, the hal ACL management moved to udev).

 ck-list-sessions gives no output, as a normal user or root.

 That would be the real problem then. Do you have libpam-ck-connector
 installed?

I installed libpam-ck-connector and restarted X and logged back in.
gphoto2 --auto-detect -L  -- Could not claim the USB device.

It's probably a permissions problem of some sort, as I can run
'gphoto2 --auto-detect -L' and it fails, if I run that as a sudo
command it works (likewise with gtkam)

fyi:
jam...@beast:~$ ck-list-sessions
Session1:
unix-user = '1000'
realname = 'jamesc,,,'
seat = 'Seat1'
session-type = ''
active = FALSE
x11-display = ''
x11-display-device = ''
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2009-07-27T06:15:37.099359Z'
login-session-id = ''
idle-since-hint = '2009-07-27T06:16:08.001685Z'

 What desktop do you use?

I use Window Maker as my window manager.

-- 
libgphoto2 missing udev rules?
https://bugs.launchpad.net/bugs/267238
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 267238] Re: libgphoto2 missing udev rules?

2009-07-26 Thread Martin Pitt
libgphoto deliberately does not have any udev rules in Ubuntu 9.04 and
earlier, closing again. (Just to avoid confusion, Ubuntu 9.10 version
does have udev rules again, the hal ACL management moved to udev).

 ck-list-sessions gives no output, as a normal user or root.

That would be the real problem then. Do you have libpam-ck-connector
installed? What desktop do you use?

** Changed in: libgphoto2 (Ubuntu)
   Status: New = Invalid

-- 
libgphoto2 missing udev rules?
https://bugs.launchpad.net/bugs/267238
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 267238] Re: libgphoto2 missing udev rules?

2009-07-25 Thread g0nad
** Changed in: libgphoto2 (Ubuntu)
   Status: Invalid = New

-- 
libgphoto2 missing udev rules?
https://bugs.launchpad.net/bugs/267238
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 267238] Re: libgphoto2 missing udev rules?

2009-07-25 Thread g0nad
I'm affected by this bug as well.  I can access my camera as root but
not as a normal user.  Ubuntu Alternate 9.04.  I don't do Gnome or KDE.

ck-list-sessions gives no output, as a normal user or root.

r...@beast:~# lsusb
Bus 002 Device 009: ID 04a9:3184 Canon, Inc. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. Mass Stroage Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

r...@beast:~# getfacl /dev/bus/usb/002/009
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/002/009
# owner: root
# group: root
user::rw-
group::rw-
other::r--

(I hope I've getfacled the right device for you)

-- 
libgphoto2 missing udev rules?
https://bugs.launchpad.net/bugs/267238
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 267238] Re: libgphoto2 missing udev rules?

2009-06-03 Thread Martin Pitt
We are closing this bug report because it lacks the information we need
to investigate the problem, as described in the previous comments.
Please reopen it if you can give us the missing information, and don't
hesitate to submit bug reports in the future. To reopen the bug report
you can click on the current status, under the Status column, and change
the Status back to New. Thanks again!

** Changed in: libgphoto2 (Ubuntu)
   Status: Incomplete = Invalid

-- 
libgphoto2 missing udev rules?
https://bugs.launchpad.net/bugs/267238
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 267238] Re: libgphoto2 missing udev rules?

2008-11-28 Thread Martin Pitt
We are not using udev rules any more, since they become obsolete too
fast. Instead we are using hal and consolekit to assign Access Control
Lists to /dev/bus/usb/... to the local foreground console user. Do you
see a session in ck-list-sessions? Please copypaste the output of
that, and getfacl /dev/bus/usb/XXX/YYY here. Thanks!

** Changed in: libgphoto2 (Ubuntu)
   Status: New = Incomplete

-- 
libgphoto2 missing udev rules?
https://bugs.launchpad.net/bugs/267238
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs