LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-27-2011, 09:57 AM   #1
chiendarret
Member
 
Registered: Mar 2007
Posts: 208

Rep: Reputation: 15
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
 
Old 06-28-2011, 04:39 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
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
 
Old 06-28-2011, 09:48 AM   #3
chiendarret
Member
 
Registered: Mar 2007
Posts: 208

Original Poster
Rep: Reputation: 15
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
 
Old 06-29-2011, 09:30 AM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
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.)
 
Old 07-15-2011, 02:48 AM   #5
chiendarret
Member
 
Registered: Mar 2007
Posts: 208

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Wheezy fails to boot into GUI after POST sj061 Debian 16 05-31-2011 07:45 PM
Debian Wheezy hangs on EeePC Changes Linux - General 10 04-20-2011 09:10 AM
Info: Debian Wheezy on the way jdkaye Debian 14 09-17-2010 09:36 PM
Scanner Umax 2200 (USB,SCSI) with AHA2940U scsi card problem in Suse 9.2 Pro nathanv117 Suse/Novell 5 02-22-2005 02:06 PM
Hotplug SCSI scanner or How to write to /proc/scsi/scsi from within a shell script. samac Linux - Hardware 1 08-30-2004 02:28 PM


All times are GMT -5. The time now is 12:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration