Summary: | gnome-base/gvfs-1.4: needs changes in media-libs/libgphoto2 udev rules | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Giacomo Perale <ghepeu> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dosentnd, graphics+disabled, no.friday, pacho, tetromino |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://sourceforge.net/tracker/?func=detail&aid=2801117&group_id=8874&atid=308874 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 288249 | ||
Attachments: | ebuild with fixes for new udev rules |
Description
Giacomo Perale
2009-11-01 11:04:50 UTC
ping? ping? Created attachment 212596 [details]
ebuild with fixes for new udev rules
I've attached updated ebuild for 2.4.7 which fixes this issue. Changes: 1)depends on >= udev-136, 2) camera list generated in mode 136, 3) udev rules file name now is 40-libgphoto2.rules I have same problem. And I did not solve it using this udev workaround. I installed this .ebuild, and I still have no digital camera icon displayed in nautilus Computer. gphoto2 tells me libgphoto2 library works: kunalagon@dhcppc0 ~ $ gphoto2 --auto-detect Model Port ---------------------------------------------------------- Canon PowerShot A740 usb: Canon PowerShot A740 usb:002,008 But when I execute command: gvfs-mount mount gphoto2://[usb:002,008]/ , gvfs-mount, mounts my camera and it shows icon in nautilus sidebar or Computer, and Icon is Icon-mounted. Now I can click on icon, and can list pictures, transfer or what ever... I dont know why it does not show unounted camera in nautilus. (In reply to comment #5) > I have same problem. And I did not solve it using this udev workaround. I > installed this .ebuild, and I still have no digital camera icon displayed in > nautilus Computer. > > gphoto2 tells me libgphoto2 library works: > > kunalagon@dhcppc0 ~ $ gphoto2 --auto-detect > Model Port > ---------------------------------------------------------- > Canon PowerShot A740 usb: > Canon PowerShot A740 usb:002,008 > > > But when I execute command: > > gvfs-mount mount gphoto2://[usb:002,008]/ , > > gvfs-mount, mounts my camera and it shows icon in nautilus sidebar or Computer, > and Icon is Icon-mounted. Now I can click on icon, and can list pictures, > transfer or what ever... > I dont know why it does not show unounted camera in nautilus. > I have the same issue with hardened kernels (mainly grsec patches), gvfs-gphoto2-volume-monitor can't get events from udev. But with gentoo-sources kernel monitor works fine. (In reply to comment #6) > (In reply to comment #5) > > I have same problem. And I did not solve it using this udev workaround. I > > installed this .ebuild, and I still have no digital camera icon displayed in > > nautilus Computer. > > > > gphoto2 tells me libgphoto2 library works: > > > > kunalagon@dhcppc0 ~ $ gphoto2 --auto-detect > > Model Port > > ---------------------------------------------------------- > > Canon PowerShot A740 usb: > > Canon PowerShot A740 usb:002,008 > > > > > > But when I execute command: > > > > gvfs-mount mount gphoto2://[usb:002,008]/ , > > > > gvfs-mount, mounts my camera and it shows icon in nautilus sidebar or Computer, > > and Icon is Icon-mounted. Now I can click on icon, and can list pictures, > > transfer or what ever... > > I dont know why it does not show unounted camera in nautilus. > > > > I have the same issue with hardened kernels (mainly grsec patches), > gvfs-gphoto2-volume-monitor can't get events from udev. But with gentoo-sources > kernel monitor works fine. > I am also using gentoo sources 2.6.29-r5. And I can see, using dbus-monitor, that when I turn on camera,nothing shows up. Dbus does not shows anythig, any changes any information. Maybe, i should put something in kernel, to enable some config, I am not sure, I dont know. Hm...right now, I rebooted to kernel gentoo-sources 2.6.31-r6, and now, I have camera shows in Nautilus. Looks like it was some kernel isue, because, I was using almost the same .config in both kernels. And now, I am not sure, if this was a realy kernel isue or maybe this udev rules problem which was mentioned by Alexander. (In reply to comment #8) > And now, I am not sure, if this was a realy kernel isue or maybe this udev > rules problem which was mentioned by Alexander. > You might've forgotten to restart udev and/or nautilus. The reboot did that for you. Fixed with -r1, thanks for reporting > You might've forgotten to restart udev and/or nautilus. The reboot did that for
> you.
>
> Fixed with -r1, thanks for reporting
>
After I installed libgphoto2-2.4.7-r1.ebuild, I restarted machine, and camera still was not exist in Nautilus nor gvfs. After kernel upgrade, it shows up.
But, most important is, now it works!
Thank you.
re-opening so we don't forget to kill this unproven fix in libgphoto. (In reply to comment #11) > re-opening so we don't forget to kill this unproven fix in libgphoto. > What do you mean with 'kill this unproven fix'? It's not a fix, it's simply how things work with a recent stack (kernel, udev, gvfs, nautilus) with hal being deprecated and replaced by gudev. (In reply to comment #11) > re-opening so we don't forget to kill this unproven fix in libgphoto. > This is the way how libgphoto works now without hal. Read please the link given in the top of this ticket. This fix is dated 2009-06 and it has been applied in all major distribs. (In reply to comment #11) > re-opening so we don't forget to kill this unproven fix in libgphoto. > This isn't an "unproven fix", the udev rules file format changed sometime around v136, and we just didn't bother to change it till something that depended on the extra information given by the newer format showed up and barfed all over itself. All we need to make sure is that when 2.28 goes stable, libgphoto-2.4.7-r1 goes stable with it. what would be the proper fix for this then? Thanks for the info :-) Ok after reading the report, it makes sense. Closing fixed. Thanks for reporting. |