[sane-devel] Error in HP LaserJet M1005 Backend

2008-01-30 Thread tropos
Hello I checked hpljm1005.c with your patched 'sane_open' - thich work correct. Wait the AUTHOR's approval? Regards, tropos -- View this message in context: http://www.nabble.com/Error-in-HP-LaserJet-M1005-Backend-tp15127315p15182770.html Sent from the SANE - Dev mailing list archive at

[sane-devel] Error in HP LaserJet M1005 Backend

2008-01-30 Thread m. allan noah
no, the author seems a little slow to respond, so i have committed this fix now. allan On 1/30/08, tropos tropos at rambler.ru wrote: Hello I checked hpljm1005.c with your patched 'sane_open' - thich work correct. Wait the AUTHOR's approval? Regards, tropos -- View this message in

[sane-devel] Error in HP LaserJet M1005 Backend

2008-01-30 Thread Couriousous
Le mercredi 30 janvier 2008, m. allan noah a ?crit?: no, the author seems a little slow to respond, so i have committed this fix now. Sorry about that, I'm quite busy thoses times (End of my master project, getting a new job etc ...). Thank you for the fix, it of course has my approval.

[sane-devel] Error in HP LaserJet M1005 Backend

2008-01-29 Thread m. allan noah
Yes- the standard says that the backend should not assume that sane_get_devices will be called before sane_open. a better fix might be to check for this condition, could you try this instead? SANE_Status sane_open (SANE_String_Const name, SANE_Handle * h) { struct device_s *dev; int ret;

[sane-devel] Error in HP LaserJet M1005 Backend

2008-01-27 Thread tropos
Hello Commands: scanimage -d hpljm1005:libusb:1:5 or scanimage -d net:host:hpljm1005:libusb:1:5 return error: ...open... invalid argument Help such dirty workarround: hpljm1005.c on current sane CVS: SANE_Status sane_init (SANE_Int * version_code, SANE_Auth_Callback