LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   No scsi scanner with debian wheezy gnome2.30.2 (https://www.linuxquestions.org/questions/linux-software-2/no-scsi-scanner-with-debian-wheezy-gnome2-30-2-a-888580/)

chiendarret 06-27-2011 09:57 AM

No scsi scanner with debian wheezy gnome2.30.2
 
Dist-upgrading to debian wheezy (gnome2.30.2) prevents me using a scsi HP 6200C scanner.

I tried both

startx
gnome-session

and startx
exec ck-launch-session gnome-session

In both cases:

$ ls -l /dev/sg*
crw------- 1 root root 21, 0 Jun 27 16:21 /dev/sg0
crw------- 1 root root 21, 1 Jun 27 16:21 /dev/sg1
crw-rw----+ 1 root cdrom 21, 2 Jun 27 16:21 /dev/sg2
crw-rw----+ 1 root root 21, 3 Jun 27 16:21 /dev/sg3

instead of the expected "root scanner" to which affording permission (as it occurred with previous gnome in sqeeze).

Incidentally, a flash card is not automatically mounted (no permission) but was solved by manual mounting as vfat.

Thanks for suggestions as to making the scanner available (not seen by either sane or vuescan).

chiendarret

Simon Bridge 06-28-2011 04:39 AM

you mean you don't see anything with owner/group = root/scanner?
is sane-utils installed?
did you try

sane-find-scanner

scanimage --list-devices

http://tldp.org/HOWTO/Scanner-HOWTO/testing.html

chiendarret 06-28-2011 09:48 AM

No scsi scsi scanner with debian wheezy gnome2.30.2 SOLVED
 
Scanjet 6200C (scsi, no suitable usb port) has never worked with sane, unless a driver has been provided recently; i did not check. Anyway, not seen by sane. I solved the matter as follows (which is no invention, trivial unix):

While "ls -l /dev/sg*" in my wheezy installation did not assign any sg* to the scsi scanner (while it should, or at least it did with squeeze), "dmesg | grep -i scsi" identified the Adaptec card and the HP processor and assigned sg3 to the scsi. Then "chown /dev/sg3" to me let the scsi scanner work perfectly.

I found no way to have gnome2 automatically mount the usb flash card. "no permission" and I did not bother further to understand where the permission has to be set. Surely i did some error in my dist-upgrading, as other amd64 wheezy installations in multi GTX470 machines of mine do mount the same flash card. Therefore, with my venerable desktop i now use to mount the flash card manually as something not in the fstab. An exercise before forgetting unix completely with all these GUIs.

chiendarret

Simon Bridge 06-29-2011 09:30 AM

scanner never worked in sane - could have done with that earlier.
You would really want to chgrp /dev/sg3 scanner to get the entry how you are used to - do you still have a "scanner" group? What did you change the ownership to? (This helps others understand your problem.) Basically all that happened is that the scsi scanner did not get assigned to the "scanner" group. As you discovered, going through each scsi device separately to work out which is the scanner is the fix. scanimage --list-devices also reveals scsi scanners.

mounting flash card:
Is this *all* removable drives or just flash cards?

... in ubuntu you open gconf-editor and look for /apps/nautilus/preferences/media_automount and set the automount key to "true". set /apps/nautilus/preferences/media_automount_open to true to if you want nautilus to open a window for the device.
... but for debian-wheezy, there is sometimes a problem:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623496 - I know it says xfce but neither issue in there turned out to be an xfce problem.
... do you have a default install (eg. what were your install options?)
... check you have udisks, gvfs and libpam-ck-connector installed... also look for the command= line in the gdm configuration.
(eg. read through the whole bug report.)

chiendarret 07-15-2011 02:48 AM

in debian wheezy there is ~/.gconf/apps/gconf-editor/%gconf.xml

no /gconf-editor/nautilus

rather

/.gconf/apps/nautilus

where no media_automount_open, or anything similar, appears. Nor elsewhere in my limited search. As debian does not answer, i stick to mounting manually the flashcard and cdrom when needed.

As to cuda, i suspect that the latest nvidia driver in wheezy is faulty.

Really i am planning, once i am free from duties with editors, to change to more primitive OS, like slackware for example. In particular gnome, in debian, is now irritating. He wants to do, fails to do, and would require so much study at its setting that it is not in my interests.

chiendarret


All times are GMT -5. The time now is 05:05 PM.