Sponsored Content
Operating Systems Linux Ubuntu Can Scanner be Initialized from the Terminal Post 302959986 by klrman on Monday 9th of November 2015 04:24:46 AM
Old 11-09-2015
Yes, it is plugged into a USB port on my Linux machine and my Linux machine is not connected to any network.

Yes, works all the time, every time when plugged into a USB port on my Windows pc. The one thing I have noticed
is that on the Windows box, when I boot up, the scanner is making sounds, which seems to be Windows setting it.
But when it is connected to the Linux machine and I boot, no scanner sounds.
 

9 More Discussions You Might Find Interesting

1. Programming

Will we get SEGV if we try to “delete []” un-initialized integer pointer variable.

I have a class with an integer pointer, which I have not initialized to NULL in the constructor. For example: class myclass { private: char * name; int *site; } myclass:: myclass(....) : name(NULL) { ..... } other member function “delete “ the variable before... (2 Replies)
Discussion started by: sureshreddi_ps
2 Replies

2. Solaris

log file scanner

anyone know of a FREE logfile checker that they would recommend? looking to scan thru syslog, sulog, messages, etc... looking for security type related entries., thanks, brian (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

3. UNIX for Dummies Questions & Answers

scanner does not support UFS? Help needed!

Hello, I hope somebody can help me. I have a new scanner, that says this: "EPSON Scan does not support the UNIX File System (UFS) for Mac OS X. You must install EPSON Scan on a disk or in a partition that does not use UFS." I have UFS.. is there anything I can do? How do I create/find such a... (0 Replies)
Discussion started by: Hannako
0 Replies

4. Shell Programming and Scripting

Need some help with shell content scanner

Just started to create my own small content scanner that searches all the visible files on my server, but now I got stuck. It should be used to scan the files for phrases like in the following example. What I tried is the following code: #!/bin/bash find /home/userid*/public_html/ -size... (18 Replies)
Discussion started by: medic
18 Replies

5. Programming

swing not getting initialized when the DISPLAY is not set

I have a batch programme which will load the Spreadsheet into database.. When the DISPLAY is set and X11 window server is running, there is no issue in reading the spreadsheet and loading into database without lauching UI. But if the display is not set, then there is an issue... Any ideas... (3 Replies)
Discussion started by: shafi2all
3 Replies

6. UNIX for Dummies Questions & Answers

.zshrc not initialized

Hi, I just updated /etc/passwd so that my default shell is zsh. After I save and make a new connection I can echo $SHELL and see /usr/bin/zsh, but my prompt still looks like bash and some env var that I setup in my local .zshrc file are not set. If I type zsh, then my prompt changes and I have my... (7 Replies)
Discussion started by: yankee428
7 Replies

7. Linux

micro film scanner

epson microfilm 500 scsi: Is there any way to make this work under linux ? I'm using pclinuxos, it shows the machine in the device panel as sg2 and lists the machine , so Im guessing the kernel knows what it is, but I can't view it as a scanner or capture or input device . What catagory does... (4 Replies)
Discussion started by: tom1200
4 Replies

8. Red Hat

IP Scanner tool

Hey guys.. What is the best tool that can be used on Linux for IP scanning tool that can bring ping status, hostname, and any other open service. I wish I can find a tool like "The Dude" from Mikrotik, but that works only under Windows. Thanks (4 Replies)
Discussion started by: leo_ultra_leo
4 Replies

9. Hardware

Epson Scanner

Running Debian 8.5 on a Dell Laptop I have an Epson V39 scanner. Simple scan cannot detect it. Here is what I have: root@server1:/home/server1# sane-find-scanner # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first... (2 Replies)
Discussion started by: Meow613
2 Replies
sane-usb(5)						   SANE Scanner Access Now Easy 					       sane-usb(5)

NAME
sane-usb - USB configuration tips for SANE DESCRIPTION
This manual page contains information on how to access scanners with a USB interface. It focusses on two main topics: getting the scanner detected by the operating system kernel and using it with SANE. This page applies to USB most backends and scanners, as they use the generic sanei_usb interface. However, there is one exceptions: USB Scanners supported by the microtek2 backend need a special USB kernel driver, see sane-microtek2(5) for details. QUICK START
This is a short HOWTO-like section. For the full details, read the following sections. The goal of this section is to get the scanner detected by sane-find-scanner(1). Run sane-find-scanner. If it lists your scanner with the correct vendor and product ids, you are done. See section SANE ISSUES for details on how to go on. sane-find-scanner doesn't list your scanner? Does it work as root? If yes, there is a permission issue. See the LIBUSB section for details. Nothing is found even as root? Check that your kernel supports USB and that libusb is installed (see section LIBUSB). USB ACCESS METHODS
For accessing USB devices, the USB library libusb is used. There used to exist another method to access USB devices: the kernel scanner driver. The kernel scanner driver method is deprecated and shouldn't be used anymore. It may be removed from SANE at any time. In Linux, the kernel scanner driver has been removed in the 2.6.* kernel series. Only libusb access is documented in this manual page. LIBUSB
SANE can only use libusb 0.1.6 or newer. It needs to be installed at build-time. Modern Linux distributions and other operating systems come with libusb. Libusb can only access your scanner if it's not claimed by the kernel scanner driver. If you want to use libusb, unload the kernel driver (e.g. rmmod scanner under Linux) or disable the driver when compiling a new kernel. For Linux, your kernel needs support for the USB filesystem (usbfs). For kernels older than 2.4.19, replace "usbfs" with "usbdevfs" because the name has changed. This filesystem must be mounted. That's done automatically at boot time, if /etc/fstab contains a line like this: none /proc/bus/usb usbfs defaults 0 0 The permissions for the device files used by libusb must be adjusted for user access. Otherwise only root can use SANE devices. For Linux, the devices are located in /proc/bus/usb/ or in /dev/bus/usb, if you use udev. There are directories named e.g. "001" (the bus name) con- taining files "001", "002" etc. (the device files). The right device files can be found out by running scanimage -L as root. Setting per- missions with "chmod" is not permanent, however. They will be reset after reboot or replugging the scanner. Usually udev or for older distributions the hotplug utilities are used, which support dynamic setting of access permissions. SANE comes with udev and hotplug scripts in the directory tools/udev and tools/hotplug. They can be used for setting permissions, see /usr/share/doc/packages/sane-backends/README.linux, tools/README and the README in the tools/hotplug directory for more details. For the BSDs, the device files used by libusb are named /dev/ugen*. Use chmod to apply appropriate permissions. SANE ISSUES
This section assumes that your scanner is detected by sane-find-scanner. It doesn't make sense to go on, if this is not the case. While sane-find-scanner is able to detect any USB scanner, actual scanning will only work if the scanner is supported by a SANE backend. Informa- tion on the level of support can be found on the SANE webpage (http://www.sane-project.org/), and the individual backend manpages. Most backends can detect USB scanners automatically using "usb" configuration file lines. This method allows to identify scanners by the USB vendor and product numbers. The syntax for specifying a scanner this way is: usb VENDOR PRODUCT where VENDOR is the USB vendor id, and PRODUCT is the USB product id of the scanner. Both ids are non-negative integer numbers in decimal or hexadecimal format. The correct values for these fields can be found by running sane-find-scanner, looking into the syslog (e.g., /var/log/messages) or under Linux by issuing the command "cat /proc/bus/usb/devices". This is an example of a config file line: usb 0x055f 0x0006 would have the effect that all USB devices in the system with a vendor id of 0x55f and a product id of 0x0006 would be probed and recog- nized by the backend. If your scanner is not detected automatically, it may be necessary to edit the appropriate backend configuration file before using SANE for the first time. For a detailed description of each backend's configuration file, please refer to the relevant backend manual page (e.g. sane-mustek_usb(5) for Mustek USB scanners). Do not create a symlink from /dev/scanner to the USB device because this link is used by the SCSI backends. The scanner may be confused if it receives SCSI commands. ENVIRONMENT
SANE_DEBUG_SANEI_USB If the library was compiled with debug support enabled, this environment variable controls the debug level for the USB I/O subsys- tem. E.g., a value of 128 requests all debug output to be printed. Smaller levels reduce verbosity. Values greater than 4 enable libusb debugging (if available). Example: export SANE_DEBUG_SANEI_USB=4. SEE ALSO
sane(7), sane-find-scanner(1), sane-"backendname"(5), sane-scsi(5) AUTHOR
Henning Meier-Geinitz <henning@meier-geinitz.de> 14 Jul 2008 sane-usb(5)
All times are GMT -4. The time now is 10:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy