USB scanner permissions

Okay, I'm totally confused.
I have a Canon Lide-30 USB scanner which I have used under Arch Linux many times--but not for 2 or 3 months. However, I was never able to configure hotplug to set the permissions automatically; I always had to become root and manually set the permissions in order to access the scanner as a regular user. Now, of course, the devices are all different (I mostly keep up with the latest release, don't really use testing packages, so I now have kernel 2.6.14).
Here's what's happening:
I plugged in the scanner's USB cable after booting (my machine's been up continuously for a few days, so I would have to shut down to do otherwise).
Loaded the uhci-hcd module ... now /proc/bus/usb is mounted, and it contains a node for my scanner.
Run sane-find-scanner as root:
found USB scanner (vendor=0x04a9 [Canon], product=0x220e [CanoScan], chip=LM9832/3) at libusb:001:002
Run sane-find-scanner as myself: same as above
Run xsane as root: OK.
Run xsane as myself: No devices found.
# chmod 777 /dev/usbdev1.2 (which I think represents the scanner)
# chmod 777 /dev/usbdev1.1
# chmod 777 /proc/bus/usb/001/002
# chmod 777 /proc/bus/usb/001/001
No change. I still can't access the scanner as myself.
By the way, it appears that the hotplug daemon won't start, though I'm not quite sure why. There are no files in /var/log/hotplug. In /var/log/errors, I see
    DEVPATH is not set (subsystem pci)
But according to a brief Google search, this is not a serious problem.
So what's the magic formula?

Have you read this?

Similar Messages

  • USB Scanner Permissions without hotplug

    After getting rid of hotplug, the permissions for my usb scanner aren't set to scanner:root anymore. Udev is supposed to take care of everything hotplug used to do, but it doesn't seem to do this automatically. Could anyone explain how I can make udev set the permissions correctly for my usb scanner?

    Oh, I'm sorry, I forgot I had made my own sane-package, since a former version broke the support for my scanner (Epson CX3200), but that's fixed now. I updated Sane, and everything works. (Still, I have to replug the scanner after booting, for the permissions to get set, though)

  • Usb scanner with root permissions only

    Hello
    When I open xsane with regular a user, the scanner does not get detected by it. Only when I open xsane as root.
    That's probably a permission issue. My user is added to the scanner group.
    How would I correct this?
    Thanks

    brebs wrote:
    Write a udev rule to identify the scanner and give it the right user group & permissions. Google search is your friend
    Just to confuse the hell out of us, different distros use different group names. Some have "scanner", some use "usb", some don't even have "usb".
    Example:  In /etc/udev/rules.d/91-local.rules
    # Scanner.
    # sane-find-scanner ; scanimage -L
    # From http://forums.gentoo.org/viewtopic-p-33 … ml#3311185
    # udevadm info -a --name /dev/usbdev5.3_ep00
    # "libusb:003:015" probably means /dev/bus/usb/003/015
    SUBSYSTEM=="usb", ATTRS{product}=="CanoScan", GROUP="usb", MODE="0660", SYMLINK+="lide25"
    I googled it quite a bit to find out this process is rather difficult for newbies. I even read udev wiki but I can't come up with a rule myself. The gentoo forum post you referenced has udevinfo command while it has been replaced with udevadm and the script wouldn't work.
    Would you give me more directions?
    Here's the output of sane-find-scanner as root.
    [root@myhost ~]# sane-find-scanner
    found USB scanner (vendor=0x03f0 [HP], product=0x2504 [Deskjet F4200 series]) at libusb:001:004
    found USB scanner (vendor=0x050d [Belkin], product=0x705c [USB2.0 WLAN]) at libusb:001:003
    [root@myhost ~]# scanimage -L
    device `hpaio:/usb/Deskjet_F4200_series?serial=CN83I3Y197052D' is a Hewlett-Packard Deskjet_F4200_series all-in-one
    device `v4l:/dev/video0' is a Noname Kworld ATSC110/115 virtual device
    [root@myhost ~]#
    I understand the device would be 001:004, but how would I write a rule for it?
    Thanks

  • Remote Desktop and remote USB scanner

    Hello, We currently use NeatWorks to scan our company receipts and docs. Several of our employees access the NeatWorks database remotely, via a locally installed NeatWorks application, the connection we use to the file is the simple Finder 'Connect to Server'. Because NeatWorks is not networkable, we access it one at a time.
    The problem is the Neatworks database is huge, it can take 20 minutes to load remotely.
    Our solution to this would be to use Remote Desktop to access our server that has the application and database for a quick load. The problem is scanning.
    Can Remote Desktop connect to the users local USB scanner so that the scans go directly to the remote database? If not, is there any other elegant solution to this remote scan problem?
    We were hoping to find a networkable program to replace NeatWorks that wouldn't load the entire database, just an index perhaps.
    Thanks a million for any input!
    John

    Can the NeatWorks application on the server, see, connect to the USB scanner device on the user end.
    That would not be a function of Apple Remote Desktop. The NeatWorks software would need to have code to access a remote scanner, either natively or using the Scanner Sharing feature of Mac OS X 10.6 (if that will support the USB scanner you're using).

  • Lightroom opens when I plug in USB scanner!

    I have an annoying problem with Lightroom opening whenever I plug in my USB scanner! [Canon LiDE 80 scanner.] Can this be fixed?

    http://www.adobeforums.com/cgi-bin/webx/.3bc351a6/4

  • USB scanner problems - it's there, then it's gone

    Ok, I've seen this problem on other distros too, so Arch must have something in common with them, but I'm on Arch right now, so I'll try my luck here.
    I have a Fujitsu USB scanner, sane installed, udev scanner rules file installed.  My user is in the scanner and wheel groups.
    lsusb finds it fine: Bus 004 Device 010: ID 04c5:10cf Fujitsu, Ltd
    USB device looks right: crw-rw-r--+ 1 root scanner 189, 392 Oct  9 15:33 ./bus/usb/004/010
    sane-find-scanner finds it fine: found USB scanner (vendor=0x04c5, product=0x10cf) at libusb:004:010
    "scanimage -L" works just fine the first time: device `fujitsu:libusb:004:010' is a FUJITSU fi-4340Cd scanner
    But only that time, then it fails to find one.  If I strace the scanimage binary, it shows me where it's failing: ioctl(12, USBDEVFS_SETCONFIGURATION, 0x7fff94199eac) = -1 ETIMEDOUT (Connection timed out)
    When it works the first time, that line of the strace output looks like this: ioctl(12, USBDEVFS_SETCONFIGURATION, 0x7fffc564cb3c) = 0
    I even tried compiling libusb 1.0 into /opt/libusb and pointed sane at it, but same problem.  I'm starting to think it's a kernel problem.
    Ideas?

    BTW, this is on a fresh install of Arch done yesterday: Linux groovy9 3.11.4-1-ARCH #1 SMP PREEMPT Sat Oct 5 21:22:51 CEST 2013 x86_64 GNU/Linux
    For a plan B, if there's a straightforward way to custom compile my own kernel, I'd like to try a slightly older one to see if I have better luck.  This same model of scanner is working fine on a 3.5 kernel, for example.
    Last edited by groovy9 (2013-10-09 21:34:22)

  • USB scanner and OSX (HP Scanjet G2410)

    Hi Everyone,
    I have a USB scanner (HP G2410) that works perfectly well on my old mac.
    Now I got a new iMac running Yosemite (OSX 10.10.3) and I cannot get my scanner to be recognized by the mac (Image Capture won't see it. Same thing if I try to add a scanner in system preferences). I even tried installing HP Scan Utility but the program won't launch since it cannot find a scanner driver.
    Actually it looks like I cannot find a driver for this device...
    I googled the issue but it seems like everyone is saying HP is full of **** and blame them for not supporting their own devices.
    There are tutorials on how to scan without HP software for network All-In-Ones, but I have a USB scanner here. No printer no Network...
    Some say I need to buy a new scanner that would be compatible with Yosemite. But actually that's exactly what I did last time!!! I had a funcional HP scanner that wasn't supported anymore for the last (at the time) version of OSX and thus I bought the G2410...  Do I need to buy a new scanner everytime I change my Mac? This seems ridiculous...
    Any advice? Except not buying from HP anymore...
    Best,
    -a-

    Says here that Photosmart C4200 series is supported, both print & scanning.
    http://support.apple.com/kb/ht3669#HP
    Scanjet driver will need to be downloaded directly from HP - if available. My 3970 isn't supported.
    (when the driver is available, and folks have trouble with printing or scanning, usually "Reset Printing System" fixes it:)
    http://support.apple.com/kb/PH14141

  • My Aztec 1236 USB scanner stumped Tiger.

    Hi. I bought an Aztec 1236 USB scanner used for five bucks. It came with nothing. I was lucky enough to find the model number. It's vintage but the price fit my post-buying-a-mac budget.
    I managed to dig up a Win XP driver for it w/ the accompanying photoshop bits (not a plugin, actually had an installer). The scanner works slow, but fine. But I want my PC free to do other things.
    But Tiger can't see it when I plug it in, let alone know what to do with it. I tried the Image Capture device browser TWAIN trick--and it ain't showing. I can't find a Mac OS X driver for it anywhere, not even w/ Google.
    Anybody know how I can save the hundred bucks and avoid buying a new scanner? Anybody found a Tiger driver for my classy, antique flatbed?

    I don't know where you get your information but Apple doesn't claim "it just works with everything." No computer can truly make that claim. Apple does, however, provide a list of known compatible devices. Consulting this available information would help you avoid making a mistake by purchasing incompatible hardware.
    It's up to the peripheral manufacturer to make compatible drivers. If your scanner doesn't work on a Mac then the problem is with its manufacturer not with Apple.
    You purchased a cheap used scanner without knowing in advance whether a driver would be available for the Mac. This is your oversight. Ranting at Apple (which, btw, is not appropriate here) is simply trying to shift the blame from where it really lies.

  • USB Scanner using SANE

    Has anyone been able to get a USB Scanner to work with either an Ultra 5/10 or the SunBlades, or other Sun hardware under Solaris 8 or 9? I'm trying to get the SANE backends to work with my Ultra 10 which has a generic USB card installed. The main problem is that there appears to be no device driver for a USB scanner, so no device such as /dev/usb/scanner0 is being created. I have other working USB devices such as a USB hub, a HP printer, and a memory key storage device that are recognized as /dev/usb/hub0, /dev/usb/printer0, & /dev/usb/storage0, respectively. The system does see this USB scanner at boot time as it complains there is no device driver for it.
    Thanks for any help given,
    Matt Evans

    Hi,
    I want to use sane on solaris 9 with a fujitsu ScanPartner 620C.
    I've already installed sane and changed /kernel/drv/sgen.conf. When I run sane-find-scanner, the following appears:
    found SCSI scanner "FCPA ScanPartner 620C 2.02" at /dev/scsi/scanner/c1t4d0
    # Your SCSI scanner was detected. It may or may not be supported by SANE. Try
    # scanimage -L and read the backend's manpage.
    # No USB scanners found. If you expected something different, make sure that
    # you have loaded a driver for your USB host controller and have installed a
    # kernel scanner module.
    # Not checking for parallel port scanners.
    # Most Scanners connected to the parallel port or other proprietary ports
    # can't be detected by this program.
    but when I run scanimage -L, the following error occurs:
    No scanners were identified. If you were expecting something different,
    check that the scanner is plugged in, turned on and detected by the
    sane-find-scanner tool (if appropriate). Please read the documentation
    which came with this software (README, FAQ, manpages).
    May you help-me with this problem?
    tks,
    Luis Falcao
    ([email protected])

  • Visioneer 7100 USB Scanner --- Need driver

    As the subject states, I need a driver for the Visioneer 7100 USB scanner. I just bought my first Mac this month, the 20" imac, and now I'm trying to hook everything together. The system profile scans the USB ports and find the Visioneer scanner. But when I use Vuescan or other software applications to use the scanner, the application comes back with scanner not found. Visioneer does not have a Mac driver. SANE shows the scanner as unsupported. I've done some searching on the internet but still am not having any luck. The kind people at Apple Help tried, but could not help and directed me to this forum. Any help would be greatly appreciated.
    THX

    1. The Visioneer 7100 is NOT supported by VueScan.
    http://www.hamrick.com/vuescan/vuescan.htm#visioneer
    2. Visioneer says: "This product is classified as END OF LIFE."
    3. The last update to the "OneTouch 7100 Scanner Installation and Configuration Guide" was over 7 years ago on April 16, 2002.
    http://support.visioneer.com/products/7100/downloads.asp
    4. I think you need to buy a new scanner. The Visioneer 9520 is $90 USD. But, it is not supported by VueScan.
    5. I would spend some time reading the posts in http://discussions.apple.com/forum.jspa?forumID=1344 to get an idea of what would be a good scanner to buy.
    6. I really like our MicroTek scanner, but certainly could not recommend it: http://www.microtekusa.com/
    7. You might want to consider a used scanner that is supported by VueScan.

  • Using usb scanner DSmobile 620

    I would like to utilize a Brother DSmobile 620 document scanner in Xfce 4.10. To that end, I downloaded the manufacturer's drivers as rpm, extracted via rpmextract.sh and copied the driver files to the respective root directories (etc, lib, usr). Thereafter, I installed sane 1.0.24. Upon plugging in the scanner, it is not recognized by sane.
    lsusb | grep Brother
    Bus 001 Device 004: ID 04f9:60e0 Brother Industries, Ltd
    sudo sane-find-scanner\
    # No USB scanners found. If you expected something different, make sure that
    # you have loaded a kernel driver for your USB host controller and have setup
    # the USB system correctly. See man sane-usb for details.
    scanimage -L
    # Only the webcam is identified
    Any suggestions on getting this usb scanner to work?

    Hi,
    I want to use sane on solaris 9 with a fujitsu ScanPartner 620C.
    I've already installed sane and changed /kernel/drv/sgen.conf. When I run sane-find-scanner, the following appears:
    found SCSI scanner "FCPA ScanPartner 620C 2.02" at /dev/scsi/scanner/c1t4d0
    # Your SCSI scanner was detected. It may or may not be supported by SANE. Try
    # scanimage -L and read the backend's manpage.
    # No USB scanners found. If you expected something different, make sure that
    # you have loaded a driver for your USB host controller and have installed a
    # kernel scanner module.
    # Not checking for parallel port scanners.
    # Most Scanners connected to the parallel port or other proprietary ports
    # can't be detected by this program.
    but when I run scanimage -L, the following error occurs:
    No scanners were identified. If you were expecting something different,
    check that the scanner is plugged in, turned on and detected by the
    sane-find-scanner tool (if appropriate). Please read the documentation
    which came with this software (README, FAQ, manpages).
    May you help-me with this problem?
    tks,
    Luis Falcao
    ([email protected])

  • Canon USB scanner

    I thought macs were supposed to just work with stuff like scanners.
    I have a Canon CanoScan N670U USB scanner and I plugged it into the Mac and nothing. It is supposed to get its power from the mac as well so its not lighting up or anything.
    I've tried the USB ports on the rear and the one on the keyboard and no difference.
    I also checked the Canon site for drivers for OS X but nothing stands out.
    Any ideas?

    That's right. the USB port on the keyboard is a secondary port that gets less power than the one directly on the computer. I've experienced this when using some types of USB flash memory pens. Some of them don't work when plugged into the keyboard but work fine plugged into the computer.
    Your scanner won't work at all unless you have downloaded and installed the latest drivers for your particular model, from the Canon website. I have to say Canon (unlike Epson) have been very good at updating all their drivers for the latest version of OSX including Intel.
    The one problem is that the Canon website is a bit of a labyrinth. You have to find your way through it until you've found EXACTLY the drivers you need for your particular model of scanner, in the correct language.
    You may then find that there are actually TWO components you need to download: one to drive the scanner itself, and another to use it (this is called Canoscan Toolbox, or something like that). You'll need to install both.
    Once you've done that you should be fine. Rather than low-powered USB sockets it's likely that you need these updated drivers.

  • USB Scanner integration

    I have recently inherited a POS web application. A client would like me to integrate a USB barcode scanner to do the following.
    1. Scan customer number from a barcode
    2. Automatically perform search for the customers information.
    This is easy to do if they simply wanted the data scanned into a textbox on a specific web page, However, they want to be able to do this from anywhere in the application. My thought was to build an applet that would monitor the USB scanner and upon scanning the barcode, it would automatically trigger the search no matter where the user was. The problem is I dont have a clue as to how I would do this and I have not found any helpful resources on the web. Any help/direction would be appreciated.

    metron9 wrote:
    I am a newbe at java but from what I have learned so far, it looks like THREADS are what you need. Assigning the scanner interrupt code as the highest level thread.
    On a microcontroller one would set up a hardware interrupt (pin change) and when the pin changed from high to low the interrupt code would be triggered. I think threads can do something similar.Nah

  • USB Scanner eject operation?

    Hello
    Sorry I'm newbie and don't know if We need to make any operation on Mac OSX before unplug a USB SCANNER...
    Could we simply disconnect the USB plug ? Is ther any mounting/unmounting process like pendrives?
    Thank you.

    Hi Kappy and eww, thanks for your replies!
    I need to hot-swap USB devices, without turn-off my MBP everytime and I don't know if this procedure will damage both sides if I repeat every time.
    For example, mouses aren't powered devices then I imagine it's ok to hot-swap.
    I made the same question to HP (I use HP 3570c scanner) and I'm waiting their answer.
    I like Apple Discussions because seems so friendly geek lounge! Congratulations for all members!

  • Wie kann ich einen USB Scanner (Canon Lide80) an der AirPort Extreme netzwerkfähig machen und so ins Netzwerk einbinden, dass mehrere PCs Zugriff auf alle Funktionen haben?

    Hallo zusammen,
    Ich hoffe ihr könnt mir helfen.
    Wie kann ich einen USB Scanner (Canon Lide80) an der AirPort Extreme netzwerkfähig machen und so ins Netzwerk einbinden, dass mehrere PCs Zugriff auf alle Funktionen haben?

    Sorry, aber der USB-Anschluss an der AirPort Basisstation unterstützt nur grundlegende Druckfunktionen. Es unterstützt nicht das Kopieren, Faxen oder Scannen.

Maybe you are looking for

  • FM to GET file listing of a UNIX directory.

    Hello everyone, Please can anyone provide me a function module that can return to me ALL the files found inside a UNIX directory. I have tried FM EPS_GET_DIRECTORY_LISTING but I can't seem to provide the correct parameter.

  • Configuring TP-Link TL-WR2543ND

    Can anyone help with configuring a TP-Link TL-WR2543ND Wifi Cable Router?   My BT hub has to go because it does not support Apple AirPlay. Issues I have are:  According to BT, the connection type should be PPPoA with VCI set to 38. But the router con

  • Gmail "Send Mail as" function in OS X Lion

    I have been using this feature in previous versions of mail and it has all worked fine.  However, once I update to Lion, the feature ceases to work.  The drop down menu is still visable with all my email addresses, but the email is still only sent fr

  • Workflow Triggering twice when executing transaction cj21n

    Hi Experts, when i am executing transaction cj21n my workflow is triggering twice but earlier  it was working fine .. please provide your input on the same Thanks Deepanker Dwivedi

  • How can I turn off Exposé F9-F12, so fcp F9-F12 work?

    Hello, I want to be able to use Apple's F9-F12 function keys in every program EXCEPT for Final Cut Pro. Is there an easy way to make this happen? Thanks for any help, Malcolm