FW: [SLUG] USB dilemma

2004-09-13 Thread Elliott-Brennan
All Hail to James :)

(sorry for the length of this one)

James suggested that I check my BIOS - which prompted me to recall that
I had loaded Mandrake on *another* machine. A quick check and there it
was 'usb disabled'. Should have checked first, I know (mea culpa, mea
culpa)

"Enabled" and there is my printer - now working - and my scanner - not
working.

So... Should I uninstall SANE (which I installed using
sane-backends-1.0.14.tar.gz) and re-install from my Mandrake 10 discs?
Or keep what I've got?

I ran 'which scanimage' and it shows /usr/bin/scanimage

[blah blah]$ sane-find-scanner

found USB scanner (vendor=0x04a5 [Color], product=0x2060 [
FlatbedScanner 13])t libusb:001:003
  # Your USB scanner was (probably) detected. It may or may not be
supported b
  # SANE. Try scanimage -L and read the backend's manpage.

 # You may want to run this program as root to find all devices. Once
you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

[blah blah]$ scanimage -l
[snapscan] Cannot open firmware file /path/to/your/firmware/file.bin.
[snapscan] Edit the firmware file entry in snapscan.conf.
scanimage: open of device snapscan:libusb:001:003 failed: Invalid
argument


[blah blah]$ locate snapscan.conf
/etc/sane.d/snapscan.conf

[blah blah]$ su
Password:
[blah blah]# which scanimage
/usr/bin/scanimage
[blah blah] # sane-find-scanner

found USB scanner (vendor=0x04a5 [Color], product=0x2060 [ Flatbe
t libusb:001:003
  # Your USB scanner was (probably) detected. It may or may not b
  # SANE. Try scanimage -L and read the backend's manpage.

I went through HardDrake and that seemed fine. When I boot up Xsane it
says "failed to open device 'snapscan:libusb:001:003' invalid argument.

SANE site talks about editing config files but not what to actually put
in there. By the way, this is a Diamond View DV648U which is apparently
a clone of the Acer flatbed 13.

Any suggestions or directions gratefully acknowledged.

Patrick


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


FW: [SLUG] USB dilemma

2004-09-12 Thread Elliott-Brennan

Hi again,

Too late. I'd already got a copy of the latest SANE tar.gz and loaded it
(unload it???) and installed Libusb.

This is what I got when I tried what James suggested:

[EMAIL PROTECTED] patrick]$ su
Password:
[EMAIL PROTECTED] patrick]# tail -f/var/log/messages
tail: invalid option -- /
Try `tail --help' for more information.
[EMAIL PROTECTED] patrick]# tail -f /var/log/messages
Sep 13 01:03:47 localhost nmbd[2937]:   Unable to find the Domain Master
Browser name PATRICK<1b> for the workgroup PATRICK.
Sep 13 01:03:47 localhost nmbd[2937]:   Unable to sync browse lists in
this workgroup.
Sep 13 01:05:22 localhost automount[2627]: attempting to mount entry
/net/.directory Sep 13 01:05:22 localhost automount[5096]: >> showmount:
can't get address for .directory Sep 13 01:05:22 localhost
automount[5096]: lookup(program): lookup for .directory failed Sep 13
01:05:22 localhost automount[2599]: attempting to mount entry
/misc/.directory Sep 13 01:05:22 localhost automount[5101]:
lookup(file): lookup for .directory failed Sep 13 01:05:22 localhost
su(pam_unix)[4907]: session closed for user root Sep 13 01:05:26
localhost kernel: VFS: Can't find ext2 filesystem on dev fd0. Sep 13
01:09:49 localhost su(pam_unix)[5181]: session opened for user root by
(uid=501)

Then nothing after this... Doesn't even come back to root or login.

I'm quite perplexed as, like I said, the printer had worked first time
and really impressed me (I gather are scanners more difficult).

Now this said, I'm using Mandrake more and more and finding lots of
nifty little things (I'd never used a text only browser before - Lynx -
really like it)

Thanks,

Patrick


-Original Message-
From: James Gregory [mailto:[EMAIL PROTECTED] 
Sent: Monday, 13 September 2004 12:54 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [SLUG] USB dilemma


On Sun, 2004-09-12 at 23:59 +1000, Elliott-Brennan wrote:
> Hi,
> 
> Well, I've tended to find solutions (or ways around) with the help
> I've received, so...
> 
> When I initially loaded Linux, it was a freebie on a magazine
> "Australian Linux Journal": Mandrake 10.0 Community. USB worked find -

> I was pleasantly surprised; printer worked first go, "out of the box" 
> as they say. My current distro is Mandrake 10 Official and... 
> N. No USB? Very weird. Found this out when trying to config 
> the scanner and printer. Downloaded and installed SANE (I find their 
> instructions very
> unclear) and found out that when I tried USBview it tells me there's
no
> file:
> 'cannot open the file /proc/bus/USB/devices' 
> I looked and could find /proc/bus/USB/ but no 'devices' ???

Ok, when you're using a modern distro, you can generally ignore any
advice that starts with "go to http://, download blah
and install it". It's probably about to walk you through the hardest way
to do what you want to do. Sane is packaged for mandrake, so the easiest
thing to do is to use the "Software installation" thing in "mandrake
control centre". It will be somewhere in there and you can install it
with a few mouse clicks.

> 
> Cat /proc/bus/USB/devices comes up with the same 'no such file or
> directory'.

That sounds distinctly like the USB drivers have not been loaded. I
think just loading 'usbcore' is enough (can anyone verify this?). Try
typing 'modprobe usbcore' as root and see if that file suddenly appears.
Post back when you've tried that and let us know what happened.

Also, run 'tail -f /var/log/messages' as root and plug one of your
devices in. You should see a bunch of stuff go past when you plug your
device in.

HTH,

James.

-- 
James Gregory <[EMAIL PROTECTED]>


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html