You are not logged in.

#1 2004-05-31 20:58:41

Luis Q. R.
Member
Registered: 2003-02-20
Posts: 106

Problem after upgrading Sane.

I've got an HP PSC 2175 usb printer-scanner. The scanner was working fine with the hpoj-0.90 driver but this latest version of Sane doesn't detect the scanner anymore, though the ptal-init setup command does detect and configure it right. How could that be?

Offline

#2 2004-05-31 21:35:19

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Problem after upgrading Sane.

Check sane config files ....

HTH

Mr Green


Mr Green

Offline

#3 2004-06-01 18:31:54

Luis Q. R.
Member
Registered: 2003-02-20
Posts: 106

Re: Problem after upgrading Sane.

I've been searching... Were are those config files?

Offline

#4 2004-06-01 19:28:21

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,323

Re: Problem after upgrading Sane.

hi
/etc/sane are the config files
check dll.conf if your backend is enabled
and set your backend properly
and update sane to the latest version
to set up hotplug properly

Offline

#5 2004-06-01 19:29:26

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Problem after upgrading Sane.

mine are in /etc/sane.d/

you beat me to it smile

HTH

Mr Green


Mr Green

Offline

#6 2004-06-02 16:00:14

Luis Q. R.
Member
Registered: 2003-02-20
Posts: 106

Re: Problem after upgrading Sane.

To Tpowa:

Yep, hpoj was enabled. Now what?

Offline

#7 2004-06-02 16:20:54

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Problem after upgrading Sane.

A new build of sane was recently released, does it solve your problem?

Offline

#8 2004-06-02 16:30:33

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Problem after upgrading Sane.

just tried to upgrade sane it is still wiping over config files.....

Mr Green


Mr Green

Offline

#9 2004-06-02 16:35:34

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,323

Re: Problem after upgrading Sane.

if your backend is enabled than don't know how to go on
'sane-find-scanner' find it?
i don't know how to setup hpoj right now sorry
i don't have the time to check it at the moment

Offline

#10 2004-06-02 18:28:13

Luis Q. R.
Member
Registered: 2003-02-20
Posts: 106

Re: Problem after upgrading Sane.

I upgraded Sane again today. Sane-find-scanner still doesn't find the scanner not even specifying the device /dev/usb/lp0.

Offline

#11 2004-06-02 19:27:59

kakabaratruskia
Member
From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

Re: Problem after upgrading Sane.

Sane upgrade also screwed me up.


And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.

Offline

#12 2004-06-02 20:12:45

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Problem after upgrading Sane.

depending on how you are accessing the usb device you may have to restart hotplug or restore device permission for libusb devices that you may have in your rc.local. usb hotplugability in linux is still very tenuous i might remind you.


AKA uknowme

I am not your friend

Offline

#13 2004-06-02 22:02:07

kakabaratruskia
Member
From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

Re: Problem after upgrading Sane.

sarah31 wrote:

depending on how you are accessing the usb device you may have to restart hotplug or restore device permission for libusb devices that you may have in your rc.local. usb hotplugability in linux is still very tenuous i might remind you.

This is something really pisses me off about Linux. Usb is not new anymore (in fact it's pretty old), and it does not work fine.


And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.

Offline

#14 2004-06-02 22:26:13

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Problem after upgrading Sane.

kakabaratruskia wrote:

This is something really pisses me off about Linux. Usb is not new anymore (in fact it's pretty old), and it does not work fine.

I presume you're working on the hotplug source or Linux device drivers to correct this?

Offline

#15 2004-06-03 00:27:49

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Problem after upgrading Sane.

kakabaratruskia wrote:

This is something really pisses me off about Linux. Usb is not new anymore (in fact it's pretty old), and it does not work fine.

Well, how do you want it to work?  Hotplug is there, it also has all the tools to have every permission issue with usb fixed.  I use it to make my camera accessible to a specific group.  Maybe you should look at that.

It all comes down to permissions.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#16 2004-06-03 00:34:52

kakabaratruskia
Member
From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

Re: Problem after upgrading Sane.

Nop, it doesn't work either as root. But It's not usb that fails in my case, it's xsane, I was just pointing something that pisses me off often about linux. I was just giving an opinion...


And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.

Offline

#17 2004-06-03 00:40:56

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Problem after upgrading Sane.

kakabaratruskia wrote:

I was just pointing something that pisses me off often about linux. I was just giving an opinion...

That's fair enough.  All I was saying is that the problem you have with linux is something that's been solved and it's an unfounded opinion.  Specifically that voicing it shows your lack of knowledge on the subject.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#18 2004-06-03 00:46:42

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Problem after upgrading Sane.

Xentac wrote:

That's fair enough.  All I was saying is that the problem you have with linux is something that's been solved and it's an unfounded opinion.  Specifically that voicing it shows your lack of knowledge on the subject.

I'm glad you said it because I didn't know how to word it so politely...

Offline

#19 2004-06-03 00:48:56

kakabaratruskia
Member
From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

Re: Problem after upgrading Sane.

I'm not karakabadabadabadoo. I'm not blasted. Okay, I know I am not a Linux expert, but I think that usb doesn't work as it should (mmm....better). At least plug-n-pray is known to be hard to setup and conflictive.


And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.

Offline

#20 2004-06-03 11:10:27

farphel
Forum Fellow
From: New Hampshire - USA
Registered: 2003-09-18
Posts: 250
Website

Re: Problem after upgrading Sane.

kakabaratruskia wrote:

Nop, it doesn't work either as root. But It's not usb that fails in my case, it's xsane, I was just pointing something that pisses me off often about linux. I was just giving an opinion...

The upstream author of xsane recommends removing your xsane config files when upgrading.  I added this message to the most recent xsane release, but you might have missed it.

rm -rf ~/.sane/xsane

Follow the link below, sign up, and accept one promotional offer.  If I can get five suckers (err... friends) to do this, I'll get a free iPod.  Then you too can try to get a free iPod. Thanks! http://www.freeiPods.com/?r=11363142

Offline

#21 2004-06-03 16:18:23

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Problem after upgrading Sane.

This is gonna sound real dumb but... do you remove .sane files before upgrade or after..... :?

Mr Green

(Waiting for the Flaming to start)


Mr Green

Offline

#22 2004-06-03 16:20:09

farphel
Forum Fellow
From: New Hampshire - USA
Registered: 2003-09-18
Posts: 250
Website

Re: Problem after upgrading Sane.

I don't know if the same holds true for 'sane'.  The trick to get 'xsane' to work is to remove the the config files from your user's home dir.  It doesn't matter if you do it before or after upgrading, but you _may_ see problems using xsane if you do not remove them.


Follow the link below, sign up, and accept one promotional offer.  If I can get five suckers (err... friends) to do this, I'll get a free iPod.  Then you too can try to get a free iPod. Thanks! http://www.freeiPods.com/?r=11363142

Offline

#23 2004-06-03 17:09:21

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Problem after upgrading Sane.

farphel wrote:

I don't know if the same holds true for 'sane'.  The trick to get 'xsane' to work is to remove the the config files from your user's home dir.  It doesn't matter if you do it before or after upgrading, but you _may_ see problems using xsane if you do not remove them.

it sounds as though this is not a concrete fact. is this just a recent suggestion? i have all the most recent sane and sane related versions installed and have nary an issue with them nor have i ever had to remove dot files.


AKA uknowme

I am not your friend

Offline

#24 2004-06-03 17:22:43

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Problem after upgrading Sane.

Well then if that the case should it be reported as a bug ...a quick google shows that the problem is not just Arch's .....

In my case after last update of sane I backed up config files then its just a case of moving them...

Mr Green


Mr Green

Offline

#25 2004-06-03 17:38:25

farphel
Forum Fellow
From: New Hampshire - USA
Registered: 2003-09-18
Posts: 250
Website

Re: Problem after upgrading Sane.

Yeah, it's not an Arch problem.  When I packaged up the latest xsane, there was a warning issued from the makefile about potential problems upgrading and using your old configs.  Since there were issues with Arch users, I just put the warning/solution in the install scriptlet hoping to save our users the headaches.


Follow the link below, sign up, and accept one promotional offer.  If I can get five suckers (err... friends) to do this, I'll get a free iPod.  Then you too can try to get a free iPod. Thanks! http://www.freeiPods.com/?r=11363142

Offline

Board footer

Powered by FluxBB