Scanning problem in 9.1
Version 9.0 worked almost "out of the box" with very few tweaks required. However, I have been trying 9.1 and am having all sorts of problems with it. For example, a clean install gives me the error message: bash: /dev/nul: permission denied (this line three times) whenever I run a terminal. This has been sorted by my altering the dev/nul permissions. However, there are still several error messages whenever I try to run anything from the terminal. Not had this happen before! However, the main problem I have found is that I can't get my Epson 1240U scanner to work. SUSE 9.0 found it and it worked perfectly. If I run xsane or xscanimage, they can't find the scanner. So I have set it up with YAST (installation didn't find it!). If I run xsane as a user, it still can't find the scanner. However, using a terminal and ignoring all the error messages, if I run xsane as ROOT, it runs and scans. After that, I can run it as a user until I shut down the computer. When I start the computer again, I have to run xsane as ROOT again before I can run it as a user. Very frustrating! I have re-installed 9.1 three times, and each time I get the same problems. I then did a clean installation of 9.0. Everything (including the scanner) worked. But after an upgrade, the scanner had disappeared again and I was back to manually installing it and running ROOT first. I have checked and re-checked permissions in xsane, sane.d and the epson config file in sane.d. They are all OK. Also, I have installed all the patches. I'm lost! Has anyone else come across this problem, please? Many thanks Keith
Keith Powell wrote:
Version 9.0 worked almost "out of the box" with very few tweaks required. However, I have been trying 9.1 and am having all sorts of problems with it.
For example, a clean install gives me the error message:
bash: /dev/nul: permission denied (this line three times)
whenever I run a terminal.
This has been sorted by my altering the dev/nul permissions. However, there are still several error messages whenever I try to run anything from the terminal. Not had this happen before!
However, the main problem I have found is that I can't get my Epson 1240U scanner to work. SUSE 9.0 found it and it worked perfectly.
If I run xsane or xscanimage, they can't find the scanner. So I have set it up with YAST (installation didn't find it!). If I run xsane as a user, it still can't find the scanner. However, using a terminal and ignoring all the error messages, if I run xsane as ROOT, it runs and scans. After that, I can run it as a user until I shut down the computer. When I start the computer again, I have to run xsane as ROOT again before I can run it as a user. Very frustrating!
I have re-installed 9.1 three times, and each time I get the same problems. I then did a clean installation of 9.0. Everything (including the scanner) worked. But after an upgrade, the scanner had disappeared again and I was back to manually installing it and running ROOT first.
I have checked and re-checked permissions in xsane, sane.d and the epson config file in sane.d. They are all OK.
Also, I have installed all the patches.
I'm lost! Has anyone else come across this problem, please?
Many thanks
Keith
Oh boy! this sounds very strange. When you said clean install, I take it that it included reformatting the partitions. If it weren't for the 9.0 install being fine, I'd have said it was hardware as I recently had similar problems when I changed CPU/mobo/mem and it turned out to be a bad CPU. The suspicion has to fall on the install media, with 9.0 I found I couldn't install from the DVD and I had some problems with CD2 till with a struggle I got it to make a copy which worked OK. It also could be my CD-RW/DVD on this box, however, I shall see what happens when I get around to upgrading the 32-bit laptop (CD-only) and this 32-bit box. Yesterday I successfully upgraded one laptop from 9.0 x86_64 Pro to 9.1 x86_64 Pro with only one funny where grub is looking in /usr/lib for the stage files, I copied them from /boot/grub into /usr/lib and that fixed it, I shall have a look at "man/info grub" for clues. I am also running on the kernel.org 2.6.5-mm2 kernel which I was using previous to the upgrade. Have you tried both the CD's and the DVD's? Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer Linux Only Shop.
On Sunday 09 May 2004 13:41, Sid Boyce wrote:
Keith Powell wrote:
Version 9.0 worked almost "out of the box" with very few tweaks required. However, I have been trying 9.1 and am having all sorts of problems with it.
For example, a clean install gives me the error message:
bash: /dev/nul: permission denied (this line three times)
whenever I run a terminal.
This has been sorted by my altering the dev/nul permissions. However, there are still several error messages whenever I try to run anything from the terminal. Not had this happen before!
However, the main problem I have found is that I can't get my Epson 1240U scanner to work. SUSE 9.0 found it and it worked perfectly.
If I run xsane or xscanimage, they can't find the scanner. So I have set it up with YAST (installation didn't find it!). If I run xsane as a user, it still can't find the scanner. However, using a terminal and ignoring all the error messages, if I run xsane as ROOT, it runs and scans. After that, I can run it as a user until I shut down the computer. When I start the computer again, I have to run xsane as ROOT again before I can run it as a user. Very frustrating!
I have re-installed 9.1 three times, and each time I get the same problems. I then did a clean installation of 9.0. Everything (including the scanner) worked. But after an upgrade, the scanner had disappeared again and I was back to manually installing it and running ROOT first.
I have checked and re-checked permissions in xsane, sane.d and the epson config file in sane.d. They are all OK.
Also, I have installed all the patches.
Oh boy! this sounds very strange. When you said clean install, I take it that it included reformatting the partitions. If it weren't for the 9.0 install being fine, I'd have said it was hardware as I recently had similar problems when I changed CPU/mobo/mem and it turned out to be a bad CPU. The suspicion has to fall on the install media, with 9.0 I found I couldn't install from the DVD and I had some problems with CD2 till with a struggle I got it to make a copy which worked OK. It also could be my CD-RW/DVD on this box, however, I shall see what happens when I get around to upgrading the 32-bit laptop (CD-only) and this 32-bit box. Yesterday I successfully upgraded one laptop from 9.0 x86_64 Pro to 9.1 x86_64 Pro with only one funny where grub is looking in /usr/lib for the stage files, I copied them from /boot/grub into /usr/lib and that fixed it, I shall have a look at "man/info grub" for clues. I am also running on the kernel.org 2.6.5-mm2 kernel which I was using previous to the upgrade. Have you tried both the CD's and the DVD's? Regards Sid.
I agree, it's a "good one", Sid. What seems strange, is that no one else has mentioned scanner or terminal error message problems. I had no scanner problems at all with 9.0. Installation just found it - unlike 9.1. Can't try the DVD as I don't have a DVD drive. For the various installs, I both let SUSE partition the drive and did it myself. So the partitions varied each time. Cheers Keith
Keith Powell wrote:
On Sunday 09 May 2004 13:41, Sid Boyce wrote:
Keith Powell wrote:
Version 9.0 worked almost "out of the box" with very few tweaks required. However, I have been trying 9.1 and am having all sorts of problems with it.
For example, a clean install gives me the error message:
bash: /dev/nul: permission denied (this line three times)
whenever I run a terminal.
This has been sorted by my altering the dev/nul permissions. However, there are still several error messages whenever I try to run anything from the terminal. Not had this happen before!
However, the main problem I have found is that I can't get my Epson 1240U scanner to work. SUSE 9.0 found it and it worked perfectly.
If I run xsane or xscanimage, they can't find the scanner. So I have set it up with YAST (installation didn't find it!). If I run xsane as a user, it still can't find the scanner. However, using a terminal and ignoring all the error messages, if I run xsane as ROOT, it runs and scans. After that, I can run it as a user until I shut down the computer. When I start the computer again, I have to run xsane as ROOT again before I can run it as a user. Very frustrating!
I have re-installed 9.1 three times, and each time I get the same problems. I then did a clean installation of 9.0. Everything (including the scanner) worked. But after an upgrade, the scanner had disappeared again and I was back to manually installing it and running ROOT first.
I have checked and re-checked permissions in xsane, sane.d and the epson config file in sane.d. They are all OK.
Also, I have installed all the patches.
Oh boy! this sounds very strange. When you said clean install, I take it that it included reformatting the partitions. If it weren't for the 9.0 install being fine, I'd have said it was hardware as I recently had similar problems when I changed CPU/mobo/mem and it turned out to be a bad CPU. The suspicion has to fall on the install media, with 9.0 I found I couldn't install from the DVD and I had some problems with CD2 till with a struggle I got it to make a copy which worked OK. It also could be my CD-RW/DVD on this box, however, I shall see what happens when I get around to upgrading the 32-bit laptop (CD-only) and this 32-bit box. Yesterday I successfully upgraded one laptop from 9.0 x86_64 Pro to 9.1 x86_64 Pro with only one funny where grub is looking in /usr/lib for the stage files, I copied them from /boot/grub into /usr/lib and that fixed it, I shall have a look at "man/info grub" for clues. I am also running on the kernel.org 2.6.5-mm2 kernel which I was using previous to the upgrade. Have you tried both the CD's and the DVD's? Regards Sid.
I agree, it's a "good one", Sid.
What seems strange, is that no one else has mentioned scanner or terminal error message problems.
I had no scanner problems at all with 9.0. Installation just found it - unlike 9.1.
Can't try the DVD as I don't have a DVD drive.
For the various installs, I both let SUSE partition the drive and did it myself. So the partitions varied each time.
Cheers
Keith
I have had scanner problems due to the 2.6 kernels. They took out support for all ecept one HP scsi scanner, saying that they should be supported by libusb and scanimage, on the kernel mailing list one of the main kernel guys told someone to take it up with the libusb list. I tried installing the latest libusb etc., but couldn't get my Epson 610 to work, so I happened on "vuescan" via google, installed their free version which saw my scanner and does the business. I would think that SuSE would have made certain their 2.6.x kernels worked with scanners. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer Linux Only Shop.
With all these apparent problems would I be better off leaving one box as 8.2 until the patch comes out for 9.1 so I can use a scanner without issues? CWSIV
Thanks to all who have replied with suggestions on getting my scanner working with 9.1. I am slowly working through them all, but no success so far. I'm getting more and more frustrated and annoyed with SUSE that a major piece of equipment which worked with earlier versions does not work with the latest. If I have no luck soon, I am going back to 9.0 and waiting for SUSE to sort themselves out. Cheers Keith
On Sunday 09 May 2004 07:53 am, Keith Powell wrote:
If I run xsane or xscanimage, they can't find the scanner. So I have set it up with YAST (installation didn't find it!). If I run xsane as a user, it still can't find the scanner. However, using a terminal and ignoring all the error messages, if I run xsane as ROOT, it runs and scans. After that, I can run it as a user until I shut down the computer. When I start the computer again, I have to run xsane as ROOT again before I can run it as a user. Very frustrating!
Check the suse data base for this one. THere was a bug in 9.0 with 'losing' the scanner and it may still be there since you did an upgrade... The fix is really simple.... A symbolic link. Fixed my problem with it on 9.0. -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 05/09/04 09:55 + +----------------------------------------------------------------------------+ "Almonds are a member of the peach family."
On Sunday 09 May 2004 14:56, Bruce Marshall wrote:
On Sunday 09 May 2004 07:53 am, Keith Powell wrote:
If I run xsane or xscanimage, they can't find the scanner. So I have set it up with YAST (installation didn't find it!). If I run xsane as a user, it still can't find the scanner. However, using a terminal and ignoring all the error messages, if I run xsane as ROOT, it runs and scans. After that, I can run it as a user until I shut down the computer. When I start the computer again, I have to run xsane as ROOT again before I can run it as a user. Very frustrating!
Check the suse data base for this one. THere was a bug in 9.0 with 'losing' the scanner and it may still be there since you did an upgrade... The fix is really simple.... A symbolic link.
Fixed my problem with it on 9.0.
Bruce, All the entries in the database refer to older versions. There's none for 9.1. As I have had no scanner trouble with 9.0, I didn't follow up any of the advice there. However, if no one comes up with a definite solution, I'll try things from the database. Cheers Keith
On Sunday 09 May 2004 12:50 pm, Keith Powell wrote:
On Sunday 09 May 2004 14:56, Bruce Marshall wrote:
On Sunday 09 May 2004 07:53 am, Keith Powell wrote:
If I run xsane or xscanimage, they can't find the scanner. So I have set it up with YAST (installation didn't find it!). If I run xsane as a user, it still can't find the scanner. However, using a terminal and ignoring all the error messages, if I run xsane as ROOT, it runs and scans. After that, I can run it as a user until I shut down the computer. When I start the computer again, I have to run xsane as ROOT again before I can run it as a user. Very frustrating!
Check the suse data base for this one. THere was a bug in 9.0 with 'losing' the scanner and it may still be there since you did an upgrade... The fix is really simple.... A symbolic link.
Fixed my problem with it on 9.0.
Bruce,
All the entries in the database refer to older versions. There's none for 9.1. As I have had no scanner trouble with 9.0, I didn't follow up any of the advice there.
I understand that..... but what I was suggesting was that the fix for 9.0 might also work for 9.1. Worth a try.
However, if no one comes up with a definite solution, I'll try things from the database.
Cheers
Keith
-- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 05/09/04 15:32 + +----------------------------------------------------------------------------+ "What is wanted is not the will-to-believe, but the wish-to-find-out, which are exact opposites."
Hi, Sorry about the longish reply, but I've just been through this with trying to get my film scanner working as a normal user. Strangely my Epson 1640SU works fine configured using YaST, and survives the reboot. On Sunday 09 May 2004 12:53, Keith Powell wrote: <snip>
However, the main problem I have found is that I can't get my Epson 1240U scanner to work. SUSE 9.0 found it and it worked perfectly.
The scanner kernel module is no more -- I've been having a few fun and games getting my head around how things are done in 9.1, kernel 2.6...
If I run xsane or xscanimage, they can't find the scanner. So I have set it up with YAST (installation didn't find it!). If I run xsane as a user, it still can't find the scanner. However, using a terminal and ignoring all the error messages, if I run xsane as ROOT, it runs and scans. After that, I can run it as a user until I shut down the computer. When I start the computer again, I have to run xsane as ROOT again before I can run it as a user. Very frustrating!
This is most likely a permissions problem in the /sys/bus/usb virtual filesystem managed by hotplugging - permissions aren't set when the scanner is detected by hotplug. Root only has read/write access to the 'file' that's created there. There's some info about how this works at: http://www.freecolormanagement.com/sane/libusb.html
I have re-installed 9.1 three times, and each time I get the same problems. I then did a clean installation of 9.0. Everything (including the scanner) worked. But after an upgrade, the scanner had disappeared again and I was back to manually installing it and running ROOT first.
I have a Minolta film scanner that's supported by Vuescan, and had this problem with it not being accessible to ordinary user. To solve this I put a variant of what was discussed in the link above in /etc/hotplug/usb ... a file I called minolta-ds5400.usermap with the following line in it: minolta-ds5400 0x0003 0x0686 0x400e 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x0 (ignore wrapping). The third and fourth entry: 0x0686 0x400e are the manufacturer and model codes obtained by running sane-find-scanner as root. The first entry minolta-ds5400 is the name of the config script to call -- this script is also placed in /etc/hotplug/usb/ -- make sure it's chmodded executable: #!/bin/bash if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ] then chown root.users "${DEVICE}" chmod 660 "${DEVICE}" fi This works for me -- when the scanner is switched on or plugged in the script runs, setting permissions so all users can access the scanner.
I have checked and re-checked permissions in xsane, sane.d and the epson config file in sane.d. They are all OK.
It is counterintuitive, but it's done using the hotplugging system. There is a file called sane-hardcoded.usermap in /etc/hotplug/usb which I think is a list of all the scanners supported by Sane -- and calls a script called desktopdev which does the necessary voodoo to set permissions -- but I couldn't get it to work with the Minolta, by adding the usermap codes to this file. I think it may link somehow with YaST which doesn't recognise my Minolta as a scanner!
I'm lost! Has anyone else come across this problem, please?
Hope this helps! Now I can scan with both scanners using Vuescan, or with the 1640 using xsane. Jason
On Sunday 09 May 2004 12:53, Keith Powell wrote (edited version):
Version 9.0 worked almost "out of the box" with very few tweaks required. However, I have been trying 9.1 and am having all sorts of problems with it.
The main problem I have found is that I can't get my Epson 1240U scanner to work. SUSE 9.0 found it and it worked perfectly.
If I run xsane or xscanimage, they can't find the scanner. So I have set it up with YAST (installation didn't find it!), but the scanner still isn't found
I installed all the patches yesterday with YOU, and the scanner now works. Thanks SUSE and all who tried to help me on the list. Cheers Keith
participants (5)
-
Bruce Marshall
-
Carl William Spitzer IV
-
Jason
-
Keith Powell
-
Sid Boyce