First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 158626
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: IA-64 team <ia64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matthias Schwarzott <zzam@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 158626 depends on: Show dependency tree
Bug 158626 blocks: 131756 148845 158684
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-12-20 01:51 0000
Please mark stable media-libs/libgphoto2-2.2.1-r1 on your arch.

It solves several problems:
Most important: It now generates udev-rules that work with udev-103 to let the
permissions be correct out of the box.

------- Comment #1 From Gustavo Zacarias (RETIRED) 2006-12-20 06:32:49 0000 -------
Super gelaufen, sparc stable.

------- Comment #2 From Simon Stelling (RETIRED) 2006-12-20 06:56:58 0000 -------
Matthias: I don't understand why you CCd me to this bug, can you explain?

------- Comment #3 From Matthias Schwarzott 2006-12-20 07:04:37 0000 -------
blubb: You seem interested in changing libgphoto-ebuilds, at least according to
your comment on Bug #139884.

------- Comment #4 From Simon Stelling (RETIRED) 2006-12-20 07:14:31 0000 -------
That's correct, but only as far as the USE_EXPAND thing goes, which won't
affect the stablization of 2.2.1-r1, so I'm removing myself again. Thanks
anyway for thinking of me :)

------- Comment #5 From Matthias Langer 2006-12-20 08:25:18 0000 -------
on x86:

media-libs/libgphoto2-2.2.1-r1  USE="exif hal nls usb -doc"

seems to be basically ok with

media-gfx/gtkam-0.1.12-r2  USE="exif gnome nls -debug"

for me with an "Kodak CX6230". however, can anyone explain to me what kind of
sorcery needs to be done to access the camera as non root user (i'm in the
plugdev group) ?

------- Comment #6 From Gilles Dartiguelongue 2006-12-20 09:30:31 0000 -------
the problem is that libgphoto is trying to access the camera from it's /dev
link instead of /proc entry, AFAIR the devices created in /dev/usb are owned by
root so I had to manually modify a rule in udev for these to be owned by
plugdev group and tada, it works :)

------- Comment #7 From Matthias Schwarzott 2006-12-20 10:34:00 0000 -------
(In reply to comment #6)
> the problem is that libgphoto is trying to access the camera from it's /dev
> link instead of /proc entry, AFAIR the devices created in /dev/usb are owned by
> root so I had to manually modify a rule in udev for these to be owned by
> plugdev group and tada, it works :)
> 
The required udev-rules have been added around half a month ago,
if you used that ebuild before, you need to reemerge it.

------- Comment #8 From Matthias Langer 2006-12-20 12:58:44 0000 -------
in reply to comment #0, comment #5 and comment #7:

hmm, this doesn't seem to apply to me then:

"
Most important: It now generates udev-rules that work with udev-103 to let the
permissions be correct out of the box.
"

i've merged libgphoto2-2.2.1-r1 about 10h ago, i'm using udev-103 and i ran
etc-update. to be absolutely sure, i've restarted my box. the user i want to
have access to the camera is in the plugdev group. however, without any further
modifications (i haven't done anything in this direction yet) i can only access
the camera as root. maybe this is something specific to my configuration, or
the camera (see comment #5) i'm using.

------- Comment #9 From Markus Meier 2006-12-20 13:04:42 0000 -------
media-libs/libgphoto2-2.2.1-r1  USE="doc exif hal nls usb"
1. emerges on x86
2. passes collision test
3. kde-base/kamera-3.5.5 emerges with it
don't have hardware to test atm

Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4,
2.6.18.4 i686)
=================================================================
System uname: 2.6.18.4 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.6
Last Sync: Wed, 20 Dec 2006 18:30:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="autoconfig collision-protect distlocks metadata-transfer
parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://gentoo.inode.at/"
LINGUAS="en de en_GB de_CH"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 asf berkdb bitmap-fonts cairo cdr cdrom
cli cracklib crypt cups dbus divx dlloader dri dts dvd dvdr dvdread eds
elibc_glibc emboss encode fam ffmpeg firefox flac fortran gdbm gif gnome gpm
gstreamer gtk hal iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog
java jpeg kde kdeenablefinal kernel_linux ldap libg++ linguas_de linguas_de_CH
linguas_en linguas_en_GB mad mikmod mmx mono mp3 mpeg ncurses nls nptl nptlonly
ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline
reflection rtsp ruby samba sdl session smp spell spl sse sse2 sse3 ssl svg tcpd
test tetex theora threads truetype truetype-fonts type1-fonts udev unicode
userland_GNU vcd video_cards_fbdev video_cards_i810 video_cards_vesa vorbis
win32codecs wxwindows x264 xine xml xorg xprint xv xvid zlib"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY

------- Comment #10 From Matthias Langer 2006-12-20 17:44:44 0000 -------
in reply to comment #5 and comment #8:

thanks to zzam, it turned out that the issues i had with accessing my camera
with media-gfx/gtkam-0.12-r1 as non root user are an issue of it's own, as i'm
able to do so using media-gfx/gphoto2-2.2.0 (see bug 158684). as this gtkam
related issue is not solved by downgrading libgphoto2 making
libgphoto2-2.2.1-r1 stable on x86 seems to be ok for me; just don't forget to
stable media-gfx/gphoto2-2.2.0 at the same time; otherwise users will face
build errors.

------- Comment #11 From Markus Rothe 2006-12-21 06:58:58 0000 -------
ppc64 stable

------- Comment #12 From Andrej Kacian (RETIRED) 2006-12-23 01:06:19 0000 -------
Hooray, bugzilla works now. x86 done yesterday.

------- Comment #13 From Tobias Scherbaum 2006-12-23 01:23:27 0000 -------
ppc stable

------- Comment #14 From Bryan Østergaard (RETIRED) 2006-12-30 15:30:13 0000 -------
Stable on Alpha.

------- Comment #15 From Daniel Gryniewicz 2007-01-11 21:47:22 0000 -------
amd64 done.

------- Comment #16 From Eric Langlois 2007-01-13 19:27:00 0000 -------
(In reply to comment #15)
> amd64 done.
> 
What version of udev are you using?

------- Comment #17 From Raúl Porcel 2007-03-28 11:45:45 0000 -------
ia64 stable

First Last Prev Next    No search results available      Search page      Enter new bug