Thread: [Hp5400backend-devel] (no subject)
Status: Alpha
Brought to you by:
soumarmt
From: ACCART J. <big...@fr...> - 2004-05-27 16:19:42
|
Hi everybody, You'll quickly see that I'm french so I apologize now for all mistakes I'll do. ;) It is very nice developping drivers like you do. Thx a lot. I spend all the day trying making work my HP 5400C. My kernel seems to know my scanner but sane don't. :( See : dmesg [root@Tux sane.d]# dmesg hub.c: new USB device 00:1d.1-2, assigned address 4 scanner.c: USB scanner device (0x03f0/0x1005) now attached to scanner0 [root@Tux sane.d]# lsusb Bus 002 Device 004: ID 03f0:1005 Hewlett-Packard [root@Tux sane.d]# sane-find-scanner -q found USB scanner (vendor=0x03f0, product=0x1005) at /dev/usb/scanner0 found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x1005 [HP Scanjet 5400C Series]) at libusb:002:004 [root@Tux sane.d]# scanimage -L No scanners were identified. (xsane don't work too) [root@Tux sane.d]# scanimage -d hp5400:/dev/usb/scanner0 >> tmp.scn scanimage: open of device hp5400:/dev/usb/scanner0 failed: Operation not supported I tried hp5400.conf with /dev/usb/scanner0 and with usb 0x03F0 0x1005 dll.conf contains the hp5400 line I have a Mandrake 9.2 and installed sane-backends-1.0.14. I tried the beta1 backend and the result is the same. I have also read http://sourceforge.net/mailarchive/forum.php?thread_id=1924996&forum_id=24635 and followed the intrusions but it doesn't still work. Do you have any idea? -- Julius |
From: Thomas S. <tho...@co...> - 2004-05-27 16:34:26
|
Hi Julien, SANE has a debug capability which is enabled by environment variables. = You may run : SANE_DEBUG_DLL=3D255 SANE_DEBUG_HP5400=3D255 scanimage -L 2> = hp5400sane.log to obtain a more complete log. Other possibility is to use strace to get = some infos about files accessed : strace scanimage -L 2> hp5400sanestrace.log If you don't find the reason why it doesn't work, you may send to me the = logs. If you find the reason why, please mail your solution to the list. A+, -------------------------------------------------------------------------= -- Thomas Soumarmon. Ing=C3=A9nieur D=C3=A9veloppement & Logiciels Libres -------------------------------------------------------------------------= -- COGITAE //www.cogitae.net/ -------------------------------------------------------------------------= -- tel: 05.34.14.39.39 - fax: 05.34.14.39.31 -------------------------------------------------------------------------= -- ----- Original Message -----=20 From: ACCART Julien=20 To: hp5200devel=20 Sent: Thursday, May 27, 2004 6:16 PM Subject: [Hp5400backend-devel] (no subject) Hi everybody, You'll quickly see that I'm french so I apologize now for all mistakes = I'll do. ;) It is very nice developping drivers like you do. Thx a lot. I spend all the day trying making work my HP 5400C. My kernel seems to = know my scanner but sane don't. :( See : dmesg [root@Tux sane.d]# dmesg hub.c: new USB device 00:1d.1-2, assigned address 4 scanner.c: USB scanner device (0x03f0/0x1005) now attached to scanner0 [root@Tux sane.d]# lsusb Bus 002 Device 004: ID 03f0:1005 Hewlett-Packard=20 [root@Tux sane.d]# sane-find-scanner -q found USB scanner (vendor=3D0x03f0, product=3D0x1005) at = /dev/usb/scanner0 found USB scanner (vendor=3D0x03f0 [Hewlett-Packard], product=3D0x1005 = [HP Scanjet 5400C Series]) at libusb:002:004 [root@Tux sane.d]# scanimage -L=20 No scanners were identified.=20 (xsane don't work too) [root@Tux sane.d]# scanimage -d hp5400:/dev/usb/scanner0 >> tmp.scn scanimage: open of device hp5400:/dev/usb/scanner0 failed: Operation = not supported I tried hp5400.conf with /dev/usb/scanner0 and with usb 0x03F0 0x1005 dll.conf contains the hp5400 line I have a Mandrake 9.2 and installed sane-backends-1.0.14. I tried the = beta1 backend and the result is the same. I have also read = http://sourceforge.net/mailarchive/forum.php?thread_id=3D1924996&forum_id= =3D24635 and followed the intrusions but it doesn't still work. Do you have any idea? --=20 Julius=20 |
From: Ernest <ead...@gm...> - 2004-05-28 09:21:21
|
* [27/05/04 18:16] ACCART Julien: > It is very nice developping drivers like you do. Thx a lot. > > I spend all the day trying making work my HP 5400C. My kernel seems to > know my scanner but sane don't. :( It happened to me too... You must edit the file hp5400_internal.h; add a line like this one: #define NO_STRING_VERSION_MATCH Then recompile. At least this worked to me. -- ernest |
From: ACCART J. <big...@fr...> - 2004-05-29 01:23:59
|
Ok, thank you very much. My scanner is now reconized by sane. :) I wouldn't have found by myself. Another question : The image is kinda blue. Do you have any tip to have white image in white and not blue? :p It is really nice from you helping me. :) -- Julius Le ven 28/05/2004 à 11:21, Ernest Adrogué a écrit : > * [27/05/04 18:16] ACCART Julien: > > > It is very nice developping drivers like you do. Thx a lot. > > > > I spend all the day trying making work my HP 5400C. My kernel seems to > > know my scanner but sane don't. :( > > It happened to me too... > > You must edit the file hp5400_internal.h; add a line like this one: > > #define NO_STRING_VERSION_MATCH > > Then recompile. > > At least this worked to me. |
From: Kevin D. <kde...@ya...> - 2004-05-28 13:18:33
|
I really wish this option would be the standard. As my scanner won't work w= ith=20 out the recompile. Kevin On Friday 28 May 2004 03:21 am, Ernest Adrogu=E9 wrote: > * [27/05/04 18:16] ACCART Julien: > > It is very nice developping drivers like you do. Thx a lot. > > > > I spend all the day trying making work my HP 5400C. My kernel seems to > > know my scanner but sane don't. :( > > It happened to me too... > > You must edit the file hp5400_internal.h; add a line like this one: > > #define NO_STRING_VERSION_MATCH > > Then recompile. > > At least this worked to me. |
From: ACCART J. <big...@fr...> - 2004-05-29 09:35:02
|
Ok, thank you very much. My scanner is now reconized by sane. :) I wouldn't have found by myself. Another question : The image is kinda blue. Do you have any tip to have white image in white and not blue? :p It is really nice from you helping me. :) -- Julius Le ven 28/05/2004 à 15:18, Kevin DeKorte a écrit : > I really wish this option would be the standard. As my scanner won't work with > out the recompile. > > Kevin > > On Friday 28 May 2004 03:21 am, Ernest Adrogué wrote: > > * [27/05/04 18:16] ACCART Julien: > > > It is very nice developping drivers like you do. Thx a lot. > > > > > > I spend all the day trying making work my HP 5400C. My kernel seems to > > > know my scanner but sane don't. :( > > > > It happened to me too... > > > > You must edit the file hp5400_internal.h; add a line like this one: > > > > #define NO_STRING_VERSION_MATCH > > > > Then recompile. > > > > At least this worked to me. |
From: ACCART J. <big...@fr...> - 2004-05-31 21:54:47
|
Thank you very much helping me like you did. :) All works fine. I keep my subscription to help people if I can. :) I think we will be able to speak some more times. Thx again ;) -- Julius Le sam 29/05/2004 à 13:30, Ernest Adrogué a écrit : > * [29/05/04 03:20] ACCART Julien: > > > Ok, thank you very much. > > My scanner is now reconized by sane. :) > > I wouldn't have found by myself. > > I didn't find it by myself either, somebody told me what to > do. I too think that this option should be enabled by default. > > > Another question : > > The image is kinda blue. Do you have any tip to have white image in > > white and not blue? :p > > Hmmmm... I don't know. Maybe you can reduce the gamma value > for blue (with xsane hit Ctrl-B). |