You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(6) |
Sep
(111) |
Oct
(63) |
Nov
(64) |
Dec
(116) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(49) |
Feb
(27) |
Mar
(136) |
Apr
(59) |
May
(122) |
Jun
(72) |
Jul
(167) |
Aug
(77) |
Sep
(103) |
Oct
(128) |
Nov
(86) |
Dec
(87) |
2002 |
Jan
(150) |
Feb
(111) |
Mar
(112) |
Apr
(139) |
May
(204) |
Jun
(228) |
Jul
(202) |
Aug
(244) |
Sep
(215) |
Oct
(311) |
Nov
(127) |
Dec
(229) |
2003 |
Jan
(252) |
Feb
(119) |
Mar
(163) |
Apr
(166) |
May
(91) |
Jun
(84) |
Jul
(106) |
Aug
(98) |
Sep
(93) |
Oct
(161) |
Nov
(82) |
Dec
(62) |
2004 |
Jan
(58) |
Feb
(44) |
Mar
(56) |
Apr
(67) |
May
(50) |
Jun
(57) |
Jul
(20) |
Aug
(25) |
Sep
(33) |
Oct
(35) |
Nov
(61) |
Dec
(95) |
2005 |
Jan
(61) |
Feb
(31) |
Mar
(17) |
Apr
(10) |
May
(2) |
Jun
(13) |
Jul
(4) |
Aug
(10) |
Sep
(9) |
Oct
(33) |
Nov
(2) |
Dec
(7) |
2006 |
Jan
(11) |
Feb
(3) |
Mar
(3) |
Apr
(8) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: Laura R. P. <web...@re...> - 2005-10-24 20:17:55
|
Thanks. I'm new to this, how do I apply this patch?=20 Laura. Andreas Fester wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Hi, > > =20 > >>xjpg_fix.c: In function =91jpgFix_getActualTraits=92: >>xjpg_fix.c:512: error: invalid lvalue in assignment >>xjpg_fix.c:533: error: invalid lvalue in assignment >>xjpg_fix.c:549: error: invalid lvalue in assignment >>xjpg_fix.c:560: error: invalid lvalue in assignment >>xjpg_fix.c:581: error: invalid lvalue in assignment >>xjpg_fix.c:587: error: invalid lvalue in assignment >>xjpg_fix.c:595: error: invalid lvalue in assignment >>xjpg_fix.c:605: error: invalid lvalue in assignment >>xjpg_fix.c:610: error: invalid lvalue in assignment >>make[1]: *** [xjpg_fix.shared.o] Error 1 >>make[1]: Leaving directory >>`/home/Lioness/Desktop/installs/hpoj-0.91/lib/hpojip'make: *** >>[just_compile] Error 2 >> =20 >> > >this seems to be the same issue with the MYLOCATE macro >reported some days ago. I assume that you are using >gcc4; please try the attached patch, it should fix >the issue. > >Kind Regards, > > Andreas > >- -- >Andreas Fester >mailto:an...@li... >WWW: http://www.littletux.net >ICQ: 326674288 >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.1 (GNU/Linux) >Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > >iD8DBQFDXTiIZ3bQVzeW+rsRAumkAJwMPmzxafRzLBhVDbIuk6vgaNIN7wCg2mvZ >iz01nmfF8m8SqpMuUte96Xo=3D >=3DpbdK >-----END PGP SIGNATURE----- > =20 > >------------------------------------------------------------------------ > >--- hpoj-0.91.orig/lib/hpojip/xjpg_fix.c >+++ hpoj-0.91/lib/hpojip/xjpg_fix.c >@@ -389,7 +389,7 @@ > \**********************************************************************= *******/ >=20 >=20 >-#define MYLOCATE(p) (void *)(p)=3D(g->headerBuffer+lenAddedHeader) >+#define MYLOCATE(p) p=3D(g->headerBuffer+lenAddedHeader) > #define MYWRITE(p) lenAddedHeader+=3Dsizeof(*(p)) > #define MYWRITEBUF(data,datalen) \ > do { \ > =20 > |
From: Andreas F. <And...@gm...> - 2005-10-24 19:40:11
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, > xjpg_fix.c: In function ‘jpgFix_getActualTraits’: > xjpg_fix.c:512: error: invalid lvalue in assignment > xjpg_fix.c:533: error: invalid lvalue in assignment > xjpg_fix.c:549: error: invalid lvalue in assignment > xjpg_fix.c:560: error: invalid lvalue in assignment > xjpg_fix.c:581: error: invalid lvalue in assignment > xjpg_fix.c:587: error: invalid lvalue in assignment > xjpg_fix.c:595: error: invalid lvalue in assignment > xjpg_fix.c:605: error: invalid lvalue in assignment > xjpg_fix.c:610: error: invalid lvalue in assignment > make[1]: *** [xjpg_fix.shared.o] Error 1 > make[1]: Leaving directory > `/home/Lioness/Desktop/installs/hpoj-0.91/lib/hpojip'make: *** > [just_compile] Error 2 this seems to be the same issue with the MYLOCATE macro reported some days ago. I assume that you are using gcc4; please try the attached patch, it should fix the issue. Kind Regards, Andreas - -- Andreas Fester mailto:an...@li... WWW: http://www.littletux.net ICQ: 326674288 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDXTiIZ3bQVzeW+rsRAumkAJwMPmzxafRzLBhVDbIuk6vgaNIN7wCg2mvZ iz01nmfF8m8SqpMuUte96Xo= =pbdK -----END PGP SIGNATURE----- |
From: Laura R. P. <web...@re...> - 2005-10-23 23:04:03
|
Hi all, I am running Fedora Core 4 (64 bit) and am trying to set up my HP PSC=20 1110. When I try to install hpoj, I get error messages as below. The=20 install doesn't seem to complete successfully, as I cannot run ptal-init=20 and xsane cannot detect any scanners. Any suggestions of how to get around this much appreciated. Btw, I have=20 hplip installed and can print fine, but would like to be able to scan too= . Thanks very much, Laura Rhian Pickard. xjpg_fix.c: In function =91jpgFix_getActualTraits=92: xjpg_fix.c:512: error: invalid lvalue in assignment xjpg_fix.c:533: error: invalid lvalue in assignment xjpg_fix.c:549: error: invalid lvalue in assignment xjpg_fix.c:560: error: invalid lvalue in assignment xjpg_fix.c:581: error: invalid lvalue in assignment xjpg_fix.c:587: error: invalid lvalue in assignment xjpg_fix.c:595: error: invalid lvalue in assignment xjpg_fix.c:605: error: invalid lvalue in assignment xjpg_fix.c:610: error: invalid lvalue in assignment make[1]: *** [xjpg_fix.shared.o] Error 1 make[1]: Leaving directory=20 `/home/Lioness/Desktop/installs/hpoj-0.91/lib/hpojip'make: ***=20 [just_compile] Error 2 |
From: Andreas F. <And...@gm...> - 2005-10-22 11:52:19
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Mike, the Debian package applies the attached patch to xjpg_fix.c. It seems that this might fix your problem. Regards, Andreas Mike Greubel wrote: > Hello list, > > I have problems compiling hpoj with gcc4. I analyzed it and have no > solution for this: > > cc -O -Wall -g -I/usr/src/hpoj-0.91/include [...] > It seems that gcc4 changed its behavior in makro-handling, because its > the #define MYLOCATE. [...] - -- Andreas Fester mailto:an...@li... WWW: http://www.littletux.net ICQ: 326674288 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDWifmZ3bQVzeW+rsRAjllAJ9ijsxXYKNCbNXxOy8dIuoDjKJkrQCgv7i2 X1grGjsjWsDdWlFEMoP3ILs= =6p+x -----END PGP SIGNATURE----- |
From: Mike G. <mik...@gm...> - 2005-10-21 19:21:41
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello list, I have problems compiling hpoj with gcc4. I analyzed it and have no solution for this: cc -O -Wall -g -I/usr/src/hpoj-0.91/include - -L/usr/src/hpoj-0.91/lib/hpojip -L/usr/src/hpoj-0.91/lib/ptal - -L/usr/src/hpoj-0.91/lib/sane -DHPOJIP_INTERNAL -fPIC -c -o xjpg_fix.shared.o xjpg_fix.c xjpg_fix.c: In function 'jpgFix_getActualTraits': xjpg_fix.c:512: error: invalid lvalue in assignment xjpg_fix.c:533: error: invalid lvalue in assignment xjpg_fix.c:549: error: invalid lvalue in assignment xjpg_fix.c:560: error: invalid lvalue in assignment xjpg_fix.c:581: error: invalid lvalue in assignment xjpg_fix.c:587: error: invalid lvalue in assignment xjpg_fix.c:595: error: invalid lvalue in assignment xjpg_fix.c:605: error: invalid lvalue in assignment xjpg_fix.c:610: error: invalid lvalue in assignment make[1]: *** [xjpg_fix.shared.o] Error 1 make[1]: Leaving directory `/usr/src/hpoj-0.91/lib/hpojip' make: *** [just_compile] Error 2 It seems that gcc4 changed its behavior in makro-handling, because its the #define MYLOCATE. Does anybody have a hint for this? I just want to scan with my PSC1210, printing works fine with HPLIP but scanning is not working. Greetings Mike -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDWT+6vPgECXfzC+oRAnqCAJ9PwOowoJPnmh7O0hrjpmTJJQJ5zQCgkL93 Lrocb3xjichB7f+Ib4kbQOw= =lgAl -----END PGP SIGNATURE----- |
From: Till K. <til...@gm...> - 2005-10-17 15:27:19
|
Get a multi-function device from HP. All except Fax is currently supported (including cleaning and maintenance of the print heads). PC-controlled Fax will probably be supported in some months, as HP is working on it. In the mean-time you can use the fax facility of the device by using the front panel (like with a stand-alone fax machine). For PC-controlled fax now the only solution is a cheap 56-K modem. Till Antonio Vivaldi wrote: > I am searching for a cheap model of > printer+scanner(+fax), which is _fully_ supported by > Linux drivers (even not from). The faxing feature is > not essential, if not available in any models; in this > case I will have to buy a separate FAX-only gadget. |
From: Antonio V. <ant...@ya...> - 2005-10-17 11:48:46
|
Hello, I am searching for a cheap model of printer+scanner(+fax), which is _fully_ supported by Linux drivers (even not from). The faxing feature is not essential, if not available in any models; in this case I will have to buy a separate FAX-only gadget. Thanks in advance. ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it |
From: dsuffiel <dav...@hp...> - 2005-10-07 20:19:20
|
On Wed, 05 Oct 2005 10:33:02 +0100, Tim Waugh wrote: > Hi, > > Looks like hp-toolbox picks a random IP port to listen on. That > doesn't work with strict SELinux policy -- we need to be able to say > things like "programs in this domain are allowed to communicate using > the following IP ports...". > > Could we have an option in /etc/hp/hplip.conf to control which port is > used? > > Thanks, > Tim. > */ We plan on removing the lister socket from the toolbox. Should be in the next release. -dave |
From: Nicolas P. <zu...@la...> - 2005-10-06 13:06:52
|
Hello! I'm french and i u have a new printer. It is a HP PSC 2355. I have a Debian. A scaning jobs is good. I can see a photo-card. But i can't Printing. I have cups. I use foomatic-hpijss for hp psc 2355. But the test page is not printing. Tanke you for your sugjestion --=20 Je ne veux ni dominer ni =EAtre domin=E9. |
From: Tim W. <tw...@re...> - 2005-10-05 09:33:18
|
Hi, Looks like hp-toolbox picks a random IP port to listen on. That doesn't work with strict SELinux policy -- we need to be able to say things like "programs in this domain are allowed to communicate using the following IP ports...". Could we have an option in /etc/hp/hplip.conf to control which port is used? Thanks, Tim. */ |
From: James B. H. <jh...@vi...> - 2005-10-05 04:46:10
|
> Remove me from this mail list please. > Thanks! As with all other lists, removal is accomplished using the instructions you received when you joined, or my visiting the URL shown at the bottom of every message from the list, including the one you sent, shown below. Please complete the steps necessary to accomplish your intent. > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > hpoj-devel mailing list > hpo...@li... > https://lists.sourceforge.net/lists/listinfo/hpoj-devel > |
From: Robert T. <rt...@ce...> - 2005-10-05 03:27:27
|
Remove me from this mail list please. Thanks! Robert. |
From: Laurence <lau...@or...> - 2005-10-04 13:35:13
|
On Tue, 2005-10-04 at 12:35 +0200, Guido Milanese wrote: > > ========================== > > Date: Tue, 04 Oct 2005 00:56:23 +0100 > > From: Laurence <Lau...@te...> > > To: gui...@un... > > Cc: hpo...@li... > > Subject: Re: [hpoj-devel] HP Officejet 5110 > > ========================== > > Hi again guido > > > > my mistake the code for hplip is on sourceforge at > > http://sourceforge.net/projects/hpinkjet > > > > laurence > > > > Thank you very much indeed. I am answering offlist because from this computer > I cannot access my University mail account. I'm afraid I have not really understood. > The page of instruction I referred to says that for scanning I should use hpoj, > while for printing they say to use hplip. > Do you say that hplip can be used also for scanning? > So, I should download the whole package -- not only the drivers -- and install it, right? > But, before, should I *uninstall* or *remove* something else? > Sorry, I am reasonably expert insofar as programming is concerned, > but for reasons probably hidden in my psychology I am always lost with any hardware problem! :-) > > Best regards from a rainy Italy! > guido m > > Vocal Ensemble "Ars Antiqua", Genoa, Italy > http://www.arsantiqua.org > Hi Guido the hplip package does the whole lot. scaning, printing, faxing, printer management. It includes the hpijs interface for the inkjet printing and links to the CUPS printing system. For scanning it links into the sane interface so you can use GIMP or scandocument etc. the downloaded tar file contains all the instructions for installation etc. as an example from the hplip_readme.html file:- <quote> You can download HPLIP here. The download includes the HPLIP source code and a platform-independent automake/autoconf master makefile. The master makefile will compile and install HPLIP. After downloading to your directory use the following instructions. tar xzvf hplip-0.8.x.tar.gz cd hplip-0.8.x ./configure --prefix=/usr make make install /etc/init.d/hplip restart If HPLIP built and installs correctly you should get the following response. Note, our example assumes hpiod and hpssd were already running. Stopping hpiod: [ OK ] Stopping hpssd: [ OK ] Starting hpiod: [ OK ] Starting hpssd: [ OK ] Now we must restart cupsd in order to let CUPS see the new "hp" backend. /etc/init.d/cups restart </quote> hope this helps. BTW hplip will run alongside hpoj & ptal if you need them for other devices. so you don't need to uninstall anything. Laurence |
From: Laurence <Lau...@te...> - 2005-10-03 23:56:26
|
On Mon, 2005-10-03 at 22:19 +0200, Guido Milanese wrote: > I have recently bought this all-in-one printer + scanner etc. and I am trying > to use it under Linux (Mandriva LE 2005). I follwed the instruction I found > at > > http://www.linuxprinting.org/show_printer.cgi?recnum=HP-OfficeJet_5110 > > and I am using HPIJS 2.1.1. Printing is basically OK, but scanning is still a > dream (under Windows it's all right, so no hardware problem). > > The abovementioned page says: > > Scanning works using the HPOJ low-level driver together with its SANE > backend "hpoj". > > The problem is that scanimage -L returns "No scanners were identified." ( even > if I run the command as root), so I think that the scanner is simply not > seen. Also trying with GUI tools, as Mandrake drakscanner, does not find the > scanner. > > Other info: > (1) at /etcsane.d ther is not a configuration file for my scanner. Witing a > conf file is mandatory or does SANE read a default file? > (2) the dll.conf file has these lines: > # HP OfficeJet backend homepage: http://hpoj.sf.net/ > # Uncomment the following line if hpoj is installed: > hpoj > niash > hp_rts88xx > hpaio > > I have also these files: > /usr/lib/sane/libsane-hpoj.so > /usr/lib/sane/libsane-hpoj.so.1 > /usr/lib/sane/libsane-hpoj.so.1.0 > /usr/lib/libhpojip.so.0 > /usr/lib/libhpojip.so.0.1 > /usr/lib/libsane-hpoj.so > /usr/lib/libsane-hpoj.so.1 > /usr/lib/libsane-hpoj.so.1.0 > > Is it all right? > > Maybe it's a mistake to use both HPOJ and HPIJS: the hpoj page at sourceforge > says: "HPOJ and HPLIP can co-exist on the same PC, but they cannot access the > same device". > > Can I ask for your help? I tried also in other lists, but had very limited > success... > > Best regards from Italy, > guido > > Hi again guido my mistake the code for hplip is on sourceforge at http://sourceforge.net/projects/hpinkjet laurence |
From: Laurence <Lau...@te...> - 2005-10-03 23:45:48
|
On Mon, 2005-10-03 at 22:19 +0200, Guido Milanese wrote: > I have recently bought this all-in-one printer + scanner etc. and I am trying > to use it under Linux (Mandriva LE 2005). I follwed the instruction I found > at > > http://www.linuxprinting.org/show_printer.cgi?recnum=HP-OfficeJet_5110 > > and I am using HPIJS 2.1.1. Printing is basically OK, but scanning is still a > dream (under Windows it's all right, so no hardware problem). > > The abovementioned page says: > > Scanning works using the HPOJ low-level driver together with its SANE > backend "hpoj". > > The problem is that scanimage -L returns "No scanners were identified." ( even > if I run the command as root), so I think that the scanner is simply not > seen. Also trying with GUI tools, as Mandrake drakscanner, does not find the > scanner. > > Other info: > (1) at /etcsane.d ther is not a configuration file for my scanner. Witing a > conf file is mandatory or does SANE read a default file? > (2) the dll.conf file has these lines: > # HP OfficeJet backend homepage: http://hpoj.sf.net/ > # Uncomment the following line if hpoj is installed: > hpoj > niash > hp_rts88xx > hpaio > > I have also these files: > /usr/lib/sane/libsane-hpoj.so > /usr/lib/sane/libsane-hpoj.so.1 > /usr/lib/sane/libsane-hpoj.so.1.0 > /usr/lib/libhpojip.so.0 > /usr/lib/libhpojip.so.0.1 > /usr/lib/libsane-hpoj.so > /usr/lib/libsane-hpoj.so.1 > /usr/lib/libsane-hpoj.so.1.0 > > Is it all right? > > Maybe it's a mistake to use both HPOJ and HPIJS: the hpoj page at sourceforge > says: "HPOJ and HPLIP can co-exist on the same PC, but they cannot access the > same device". > > Can I ask for your help? I tried also in other lists, but had very limited > success... > > Best regards from Italy, > guido > > Hi guido I run a HP6110 which is basically the same device. I use hplip which is the new system developed by HP for these printers under linux. You should be able to find the programs on the HP web site. |
From: Suffield, D. <dav...@hp...> - 2005-10-03 23:45:29
|
The un-initialized variable "mode" causes no hplip problem because ChannelMode is not use in the uni-di device class. But, to make gcc happy I have fixed this up-stream. ChannelMode =3D UNI_MODE; -dave > -----Original Message----- > From: Till Kamppeter [mailto:til...@gm...]=20 > Sent: Monday, October 03, 2005 5:42 AM > To: Tim Waugh > Cc: hpo...@li...; hplip; Suffield, David;=20 > Yie, Shiyun > Subject: Re: [hpoj-devel] HPLIP 0.9.5: uninitialised variable bug >=20 >=20 > For me this code has clearly a bug. Either there is a global "mode"=20 > variable, then the declaration of "mode" must be removed, so=20 > that the=20 > global "mode" does not get overloaded or there is missing=20 > some code to=20 > give the "mode" variable a value. >=20 > Till >=20 >=20 > Tim Waugh wrote: > > Hi, > >=20 > > This warning: > >=20 > > io/hpiod/uppdevice.cpp:192: warning: 'mode' is used=20 > uninitialized in=20 > > this function > >=20 > > corresponds to this function: > >=20 > > Channel *UniParDevice::NewChannel(unsigned char sockid) > > { > > Channel *pC=3DNULL; > > int i, mode; > >=20 > > /* Only support one channel. */ > > if (ChannelCnt >=3D 1) > > goto bugout; > >=20 > > /* Look for unused slot in channel array. Note, slot 0=20 > is unused. */ > > for (i=3D1; i<MAX_CHANNEL; i++) > > { > > if (pChannel[i] =3D=3D NULL) > > { > > pC =3D new RawChannel(this); /* constructor sets=20 > ClientCnt=3D1 */ > > pC->SetIndex(i); > > pC->SetSocketID(sockid); > > pChannel[i] =3D pC; > > ChannelCnt++; > > ChannelMode =3D mode; > > break; > > } > > } =20 > >=20 > > bugout: > > return pC; > > } > >=20 > > As you can see, 'mode' is indeed never initialised. What=20 > is meant to=20 > > happen here? > >=20 > > Tim. > > */ >=20 >=20 |
From: Guido M. <gui...@un...> - 2005-10-03 20:19:56
|
I have recently bought this all-in-one printer + scanner etc. and I am trying to use it under Linux (Mandriva LE 2005). I follwed the instruction I found at http://www.linuxprinting.org/show_printer.cgi?recnum=HP-OfficeJet_5110 and I am using HPIJS 2.1.1. Printing is basically OK, but scanning is still a dream (under Windows it's all right, so no hardware problem). The abovementioned page says: Scanning works using the HPOJ low-level driver together with its SANE backend "hpoj". The problem is that scanimage -L returns "No scanners were identified." ( even if I run the command as root), so I think that the scanner is simply not seen. Also trying with GUI tools, as Mandrake drakscanner, does not find the scanner. Other info: (1) at /etcsane.d ther is not a configuration file for my scanner. Witing a conf file is mandatory or does SANE read a default file? (2) the dll.conf file has these lines: # HP OfficeJet backend homepage: http://hpoj.sf.net/ # Uncomment the following line if hpoj is installed: hpoj niash hp_rts88xx hpaio I have also these files: /usr/lib/sane/libsane-hpoj.so /usr/lib/sane/libsane-hpoj.so.1 /usr/lib/sane/libsane-hpoj.so.1.0 /usr/lib/libhpojip.so.0 /usr/lib/libhpojip.so.0.1 /usr/lib/libsane-hpoj.so /usr/lib/libsane-hpoj.so.1 /usr/lib/libsane-hpoj.so.1.0 Is it all right? Maybe it's a mistake to use both HPOJ and HPIJS: the hpoj page at sourceforge says: "HPOJ and HPLIP can co-exist on the same PC, but they cannot access the same device". Can I ask for your help? I tried also in other lists, but had very limited success... Best regards from Italy, guido -- Guido Milanese Vocal Ensemble Ars Antiqua, Genova (Genoa), Italy http://www.arsantiqua.org |
From: Till K. <til...@gm...> - 2005-10-03 12:41:52
|
For me this code has clearly a bug. Either there is a global "mode" variable, then the declaration of "mode" must be removed, so that the global "mode" does not get overloaded or there is missing some code to give the "mode" variable a value. Till Tim Waugh wrote: > Hi, > > This warning: > > io/hpiod/uppdevice.cpp:192: warning: 'mode' is used uninitialized in > this function > > corresponds to this function: > > Channel *UniParDevice::NewChannel(unsigned char sockid) > { > Channel *pC=NULL; > int i, mode; > > /* Only support one channel. */ > if (ChannelCnt >= 1) > goto bugout; > > /* Look for unused slot in channel array. Note, slot 0 is unused. */ > for (i=1; i<MAX_CHANNEL; i++) > { > if (pChannel[i] == NULL) > { > pC = new RawChannel(this); /* constructor sets ClientCnt=1 */ > pC->SetIndex(i); > pC->SetSocketID(sockid); > pChannel[i] = pC; > ChannelCnt++; > ChannelMode = mode; > break; > } > } > > bugout: > return pC; > } > > As you can see, 'mode' is indeed never initialised. What is meant to > happen here? > > Tim. > */ |
From: Tim W. <tw...@re...> - 2005-10-03 12:18:30
|
Hi, This patch avoids a compiler warning: --- hplip-0.9.5/scan/sane/pml.c.warnings 2005-10-03 13:12:06.000000000 +0100 +++ hplip-0.9.5/scan/sane/pml.c 2005-10-03 13:12:19.000000000 +0100 @@ -1058,6 +1058,7 @@ { /* No more scan data, flush ipconvert pipeline. */ input = 0; + inputAvail = 0; wResult = ipConvert(hpaio->hJob, inputAvail, input, &inputUsed, &inputNextPos, outputAvail, output, &outputUsed, &outputThisPos); if (wResult & (IP_INPUT_ERROR | IP_FATAL_ERROR)) { The warning is: scan/sane/pml.c:1061: warning: 'inputAvail' is used uninitialized in this function Tim. */ |
From: Tim W. <tw...@re...> - 2005-10-03 12:17:06
|
Hi, This warning: io/hpiod/uppdevice.cpp:192: warning: 'mode' is used uninitialized in this function corresponds to this function: Channel *UniParDevice::NewChannel(unsigned char sockid) { Channel *pC=3DNULL; int i, mode; /* Only support one channel. */ if (ChannelCnt >=3D 1) goto bugout; /* Look for unused slot in channel array. Note, slot 0 is unused. */ for (i=3D1; i<MAX_CHANNEL; i++) { if (pChannel[i] =3D=3D NULL) { pC =3D new RawChannel(this); /* constructor sets ClientCnt=3D1 */ pC->SetIndex(i); pC->SetSocketID(sockid); pChannel[i] =3D pC; ChannelCnt++; ChannelMode =3D mode; break; } } =20 bugout: return pC; } As you can see, 'mode' is indeed never initialised. What is meant to happen here? Tim. */ |
From: Peter L. <pet...@ti...> - 2005-09-22 06:54:46
|
Finally I've got my PSC 2410 printing and scanning. And the hp-toolbox is working too. When I configured the printer with hpoj printing and scanning worked, but hp-toolbox did not work. This seems to be a hplip-utility. So I uninstalled hpoj and installed hplip. One problem to overcome was a missing file (/usr/lib/sane/libsane-hpaio.so.1) in the hplip-package, but once I found out about that it was easy to obtain the file at rpmfind.net. In /sane.d/dll.conf I have only "hpaio" uncommented. Thanks again for your help. Peter. |
From: Bertrand C. <Ber...@et...> - 2005-09-20 06:58:40
|
Hello, The file /etc/sane.d/dll.conf might have a line thant stands like this: v4l It points to a device that is supposed to be a video grabbing but that in fact is not present in your computer. Just comment this line. In fact, if you have just your PSC4210 on line, the only line that should stay in your dll.conf should be hpaio, and so: $$more /etc/sane.d/dll.conf # enable the next line if you want to allow access through the network: #net #hp # # The following backends are not included in the sane-backends # distribution # If you want to use them, download them from their webpages and read # their # documentation # # HP OfficeJet backend homepage: http://hpoj.sf.net/ # Uncomment the following line if hpoj is installed: #hpoj #hp_rts88xx hpaio $$ Hope it will help. Bertrand |
From: Darragh B. <fe...@co...> - 2005-09-19 10:30:40
|
Quoting Peter Lesterhuis <pet...@ti...>: > Thank you for your reply. > In /etc/sane.d/dll.conf a line "hp" is uncommented. > When I issue the command scanimage -L it does not find the real device: > $ scanimage -L > device `v4l:/dev/video0' is a Noname Medion 7134 virtual device Check the same file for the existance of "hpoj", I checked my own setup at home and found the following section at the end of the file # # The following backends are not included in the sane-backends distribution # If you want to use them, download them from their webpages and read their # documentation # # HP OfficeJet backend homepage: http://hpoj.sf.net/ # Uncomment the following line if hpoj is installed: hpoj I uncommented the hpoj line previously, so it should start working if you either uncomment it or add it in. Looks like I was mistaken with the "hp", but I do know that to get hpoj + xsane working together I only had to make one change and then the scanimage -L command picked up the scanner. > So I guess you are right about the xsane back end being the problem. > When I do: xsane-preferences-load device settings, it seems to choose a > device from the directory /home/username/.sane/xsane. This directory > contains 4 items: hp:psc__2400__series.drc, xsane.mdf, > Noname:Medion7134.drc and xsane.rc. When I choose the first item and > confirm "ok" it comes up with a warning: "File > "home/peter/.sane/xsane/hp.psc__2400__series.drc" has been created for > device "hp:psc_2400_series", you want to use it for device > "Noname:Medion 7134", this may cause problems!" > How can I point xsane at the right device? > Peter. The "scanimage -L" needs to be returning the right information before continuing. Once the change above is made to the dll.conf file you should have proper access to the scanner ay which point I expect you will be given the option of which device to access. -- Darragh "Nothing's foolproof to a sufficently talented fool" |
From: Peter L. <pet...@ti...> - 2005-09-16 19:07:35
|
Thank you for your reply. In /etc/sane.d/dll.conf a line "hp" is uncommented. When I issue the command scanimage -L it does not find the real device: $ scanimage -L device `v4l:/dev/video0' is a Noname Medion 7134 virtual device So I guess you are right about the xsane back end being the problem. When I do: xsane-preferences-load device settings, it seems to choose a device from the directory /home/username/.sane/xsane. This directory contains 4 items: hp:psc__2400__series.drc, xsane.mdf, Noname:Medion7134.drc and xsane.rc. When I choose the first item and confirm "ok" it comes up with a warning: "File "home/peter/.sane/xsane/hp.psc__2400__series.drc" has been created for device "hp:psc_2400_series", you want to use it for device "Noname:Medion 7134", this may cause problems!" How can I point xsane at the right device? Peter. |
From: Bernd P. <be...@pr...> - 2005-09-16 15:31:08
|
Hi, I know it was on the list a while ago, but I'm not sure if it's still broken or if I missed it. Scanning to my HP OfficeJet generates following error: > scanimage -L device `hpaio:/net/OfficeJet__K60?ip=192.168.2.11' is a hp OfficeJet__K60 multi-function peripheral > scanimage scanimage: sane_start: Device busy > tail -1 /var/log/messages .Sep 16 11:27:14 localhost scanimage: warning HP-SCAN channel already closed: scan/sane/hpaio.c 518 Does anybody know what the problem is? Thanks, -- Bernd |