Floating Sun » m425 http://floatingsun.net Mon, 07 Jan 2013 02:53:26 +0000 en-US hourly 1 http://wordpress.org/?v=3.5.1 HP Photosmart M425 on Debian Unstable http://floatingsun.net/2006/11/15/hp-photosmart-m425-on-debian-unstable/?utm_source=rss&utm_medium=rss&utm_campaign=hp-photosmart-m425-on-debian-unstable http://floatingsun.net/2006/11/15/hp-photosmart-m425-on-debian-unstable/#comments Wed, 15 Nov 2006 08:19:36 +0000 Diwaker Gupta http://floatingsun.net/blog/2006/11/15/768/ Related posts:
  1. Debian CD-ROM woes
  2. Today’s reads
  3. HOWTO: Ubuntu on IBM Thinkpad T42
]]>

My [[http://www.dpreview.com/news/0601/06010405hpm425.asp|HP Photosmart M425]] used to work perfectly on my laptop, which runs Kubuntu. On my shiny new desktop I’ve been running Debian Unstable/Experimental, and all of a sudden my camera stopped working with it. Digikam would detect it, but wouldn’t let me read the snaps off of it.

After some investigation, I figured out that the relevant [[wp>Udev|udev]] rules were missing from the Debian package. As a result, even though I was in the group ”plugdev”, I couldn’t read the camera but I could still read it as root. If you’re facing the same problem, here’s what you need to do:

* create a new file ”/etc/udev/rules.d/z80_custom.rules”
* paste the following lines into this file

ACTION!="add", GOTO="libgphoto2_rules_end"
SUBSYSTEM=="usb_device", GOTO="libgphoto2_rules_real"
SUBSYSTEM=="usb", GOTO="libgphoto2_rules_real"
BUS!="usb", GOTO="libgphoto2_rules_end"
LABEL="libgphoto2_rules_real"
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="8002", MODE="0660", GROUP="plugdev"
LABEL="libgphoto2_rules_end"

* make sure you belong to the group ”plugdev” and restart udev

Thats it!

Note that these instructions are for a Debian based system, but it should be relatively easy to adapt them to other systems as well.

]]>
http://floatingsun.net/2006/11/15/hp-photosmart-m425-on-debian-unstable/feed/ 1