How to use SANE / USB scanners on Solaris 10?

I would like to use a SANE-enabled USB scanner (Mustek BearPaw 1200F) on Solaris 10, but haven't yet managed to make it work.
I gather that on Solaris 10, there's a "libusb" library in "/opt/sfw/lib" and a "sane-find-scanner" program in "/opt/sfw/bin", that seems to look for USB scanners. It finds the "libusb", but doesn't find my scanner.
My scanner is on a USB hub connected to a USB port on the mainboard. The "usba" driver is running, and other USB devices seem to work.
I looked on the Internet and found some descriptions using the "ugen" kernel driver. I added a driver descriptor for the interface node that I suspected to be the scanner, and indeed, dmesg and prtconf report a valid "ugen0" device, and ugen creates various driver nodes for the USB interface node.
But how do I go from there? I have not the slightest clue.

This is a real old post, however I got a very similar scanner (Mustek 1200 UB) which I got working on Solaris 10, so I thought I'd list what I did in order to get it to work (I also managed to get an Epson Perfection 1250 to work using the same method). I used the sane packages available on the Solaris companion cd, and installed them prior to getting started. So, first off we need to see if Solaris is recognizing the scanner so in a terminal as root (su -) :
prtconf -D -v
you'll be looking for some reference to usb,device and note the value (I had to modify the profile of the terminal for scrolling from 500 lines to 2000 in order to see it). The value of the Mustek 1200 UB was usb55f,6.100
next we need to remove the old usb driver:
rem_drv ugen
now we'll add the driver with the Mustek values:
add_drv -i 'usb55f,6.100' ugen
now we want to ensure that there was an new entry created in /etc/driver_aliases for ugen with the Musktek info (note you need to ensure that " 's are used, for example, so you will need to edit the file. Example: ugen "usb55f,6.100"
Now we need to make a link from the Mustek to /dev/usbscanner (since sane uses either /dev/usbscanner or dev/usb/scanner), So:
ln -s /dev/usb/55f.6/0 /dev/usbscanner
then reboot the machine
Once rebooted in a terminal as root as root (su -):
/opt/sfw/bin/sane-find-scanner
you should see a reference to found usb scanner (vendor=0x055f, product=0x0006, chip=MA-1017) at libusb:/dev/usb:55f.6/0
you can then confirm it by :
/opt/sfw/bin/scanimage -L
you'll see a reference device 'mustek_usb:libusb:/dev/usb:55f.6/0' is a Mustek 1200 UB flatbed scanner
Finally it's time to do a test scan, so:
/opt/sfw/bin/xscanimage
I really suggest using xscanimage on the Mustek, as just using scanimage will give you a high pitch squealing noise. xscanimage does not. Also be advised that if you close xscanimage and then try to scan again, you get an i/o error. The solution to that is to simply hotplug the Mustek, by unplugging it from the usb port and plugging it back in.
Hope this helps some folks out.
Message was edited by:
mrmdls
corrected line concerning ad_drv ugen, as I had written the value for an epson 1250 scanner

Similar Messages

  • Req any examples of how to use a USB midi controller​/keyboards with Labview TIA

    Req any examples of how to use a USB midi controller/keyboards with Labview TIA

    Hi,
    To access the MIDI ports you will need to call the Windows SDK. To send MIDI commands is relatively easy, here is an example that shows you how to send data to a MIDI controller or keyboard.
    As far as input goes, this is the hard part. There are a series of functions that you need to call to open up the device, set some buffers and and possibly a callback to get notifications on the incoming data.
    Reading MIDI data will not be an easy task, your best bet will be to implement this in a DLL and call that DLL in LabVIEW, there should be some code available o the web.
    = "http://msdn.microsoft.com/library/default.asp?url​=/library/en-us/multimed/htm/_win32_multimedia_... is a link to the Windows multimedia functions that you could use for MIDI input.
    Let me know if you have any further questions.
    Regards,
    Juan Carlos
    N.I.

  • How to use a USB-to-par​allel adapter to communicat​e with my switch device?

    My computer doesn't have a parallel port, so I must use the USB port and a USB-to-parallel adapter to communicate with my switch device. Unfortunately in WindowsXP printer configure that show USB001 Virtual printer for USB. How should I control my USB-to-Parallel converter to send the Pin1 and Pin3 high? How should I decide that I/O address in Labview (traditional LPT1 is 378AH) ?

    Hi Kelvin,
    I understand that you want to control pins on your serial port using LabVIEW. Since you are using Windows XP, only LabVIEW version 7.0 will be able to control the pins. The pins can be controlled by modifying the values of the access registers that windows associates with each pin. If you are using LabVIEW 7.0, then the VI's located on the Funtions >> Advanced >> Port I/O palette should help you assign values to the proper pins.
    This information can also be found on another discussion forum thread located at the following url:
    http://exchange.ni.com/servlet/ProcessRequest?RHIV​EID=101&RPAGEID=135&HOID=506500000008000000438A000​0&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    Thanks for contacting NI, and I hope this helps.
    Marcus G.
    National Instruments

  • How to use iPhone USB tethering / Personal Hotspot without iTunes

    I have a corporate laptop so didn't want to install the whole of iTunes to enable USB tethering / Personal Hotspot.
    Here's how you can enable USB tethering / Personal Hotspot without installing iTunes.
    1. Download iTunes from https://www.apple.com/itunes/download/
    2. Extract the contents of the downloaded file using winRAR or 7zip. In particular you want the following files:
    For 32 bit systems:
    - AppleApplicationSupport.msi
    - AppleMobileDeviceSupport.msi
    For 64 bit systems:
    - AppleApplicationSupport64.msi
    - AppleMobileDeviceSupport6464.msi
    Note: If you don't have either winRAR or 7zip you can do the following instead:
    Start the iTunes installation, then on reaching the first screen, the required files will be extracted to your machine, perform a search for one of the files above on your C drive whilst the iTunes installation window is open, it should find them in a temp folder somewhere, you can then copy and paste them somewhere and close the iTunes installation.
    3. Before continuing, ensure your iphone is not connected to the computer. Then, install AppleApplicationSupport.msi (or AppleApplicationSupport64.msi for 64 bit machine)
    4. Install AppleMobileDeviceSupport.msi (or AppleMobileDevice6464.msi)
    5. Restart your computer
    6. After your computer has restarted, enable Personal Hotspot on your iPhone (select USB only option) and plug in your iPhone using the USB cable. Some device drivers will install and then your computer should automatically connect to the iPhone internet connection.

        Hi kveille,
    Using the personal hotspot can become tricky as there are three different options available. Based on your details, it sounds like you've been trying the option to connect using WiFi on your computer and iPad. We have the steps needed for iOS 6 to activate and use WiFi so I encourage to use these exact steps to get it to work http://bit.ly/SFLD2b. You will need to check that the MacBook Pro is setup to pick up the network the right way. Check by following http://bit.ly/PJkOWZ. Step 9 demonstrates how to find the network name that you can look for on your computer. Try these steps and keep us posted to the status of the connection.
    Thank you,
    MariaC_VZW
    Please follow us on Twitter @VZWSupport

  • How to use A USB enclosure to transfer data from my old SSD to my new SSD?

    So i have a mid-2012 Macbook Pro with a 120 gb ssd, and i recently bought 240gb Kingston HyperX 3K SSD(With the upgrade kit). In the kit i have the USB enclousre with a CD for transferring my data from the old SSD to the newer. The problem is i got no idea how to do it. I tried youtubeing it but most of them were on a Windows PC. Can somebody Please tell me how to transfer my data using the USB enclousre.
    Thank you for your time.

    Put the new drive in the external enclosure. Connect it to the computer. Partition and format the drive:
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND-R keys until the Main Utilities menu appears on the screen..
    Partition and Format the hard drive:
    1. Select Disk Utility from the main menu and click on the Continue button.
    2. After DU loads select your external SSD drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed. Quit DU and return to the main menu.
    Clone Lion/Mountain Lion using Restore Option of Disk Utility
         1. Select the destination volume from the left side list.
         2. Click on the Restore tab in the DU main window.
         3. Select the destination volume from the left side list and drag it
             to the Destination entry field.
         4. Select the source volume from the left side list and drag it to
             the Source entry field.
         5. Double-check you got it right, then click on the Restore button.
    Destination means the external SSD drive. Source means the internal startup drive.

  • How to use a usb with bootcamp on a computer with a cd drive

    I have a macbook pro late 2011 and I want to install windows on it. I dont have any cds or dvds that I can burn and I want to be able to use a usb instead. I found another post which lets me make a bootable windows 8 usb but when I try to install it with bootcamp it just says no bootable device instert boot disk and press any key to try again and I cant install it even if i remove the usb and try again. I then powered off my computer and held down option and got the operating system chooser page and I saw efi boot. I selected that and I was able to boot into the setup for windows when it asks me where I want to install Windows, I choose Partition 4, the Bootcamp partition. It shows the error message that Windows cannot be installed because the selected disk is of the GPT partititon style so i try to format it in the setup but that fails and gives me the same error message. I dont know what to do. Can anyone help me?

    Have you used Bootcamp Assistant to create the partition for Windows?
    If your Mac came with a cd drive then you'll almost certainly need to use that cd drive to install Windows. Some have published workarounds by changing a .plist file but it is not always successful.

  • Qosmio F30-140 - How to use Flash USB boot option?

    Dears,
    After I update my laptop BIOS, when I start my laptop I find new boot method, it is from Flash USB ?:| How can I use it and what type of file must be in it? I mean .iso or what?
    Thanks

    Hi
    I dont have Qosmio F30 so I cant test it for you but I think this options means that you can boot from an USB stick for example. Have you checked this?
    You cant boot from an iso file because you must create a bootable media. For example a Windows start disc or a Linux version that you can boot from USB stick.

  • How to use JRC SDK on UNIX/Solaries

    Hi,
    i am using the crystal report XI with JRC on windows platform, i am able write the desktop applications on windows uinsg JRC. As i know that we dont have crystal report installer for unix or for Solaries.
    can you tell me how can i use the JRC SDK in UNIX? i need only the JRC sdk which i can intall on unix or windows.
    kindly provide some links on this.
    Thanks!
    Prabhakar J.

    The JRC app is pure Java.  So you'd deploy a Java desktop app as you would to any other platform.
    Sincerely,
    Ted Ueda

  • Can you tell me how to use a USB Flash Drive

    Not familiar with USB flash drive.  Anyone tell me how it operates?

    ...but don't expect even close to the access speeds you would get with a hard drive!  That's fine of course since you should use it for example, as an emergency boot drive, or transporting stuff to and from other locations, or backups for selected stuff.

  • How to use cRIO USB mass storage?

    Hi,
    I am using the NI9215 as an analog input port and want to write the data into an external USB mass storage which is connected in the
    cRIo-9012 USB port.  I do not have any idea how to write the data into USB mass storage, does anyone can give me some help?       

    Differences among brands and models are due to the fact that certain devices take greater liberties with the USB mass storage device specification than others.  A venerable operating system like Windows (or even Linux) is shot through with workarounds for device- and manufacturer-specific issues that are not present (as much) in VxWorks, which is the OS used on the cRIO-9012.  Therefore only devices that adhere very rigorously to the specification are going to work properly.
    Unfortunately, degree of adherence to the USB spec is not something that's generally published about a device, nor is there any sort of official certification process.  So to some extent it's trial and error.  I am working with our support enginners currently to develop a list of devices that NI certifies as interoperable with VxWorks, and also VxWorks is increasing the robustness of their USB support with every release.
    EDIT: And the advice about reformatting the device is very sound.  The cRIO-9012 does not support the NTFS file system, only FAT 12, 16, and 32.  If the USB device is formatted for NTFS, it will not function properly.
    Finally, if anyone sees a storage device that fails to work properly despite all these suggestions, please post as much information as possible (model number, manufacturer, capacity).  Having this information will allow us to work with the manufacturers of VxWorks to improve USB support.
    Message Edited by CharlesC on 02-22-2007 12:12 PM

  • How to use JDBC database connection in Solaris

    Hi all,
    I am new to Solaris and i want to create an application using JDBC database connection.
    I want a small piece of code, probably a login page code that verifies the username from a OpenOffice database (.odb) file. I am particular to know the driver name, etc. If possible give the code using JNDI loopkup.
    Thanks in advance,
    Parasou.

    Sure no problem.
    Please stand by while I do your work for you.

  • Cant use targus mouse which has a little usb thing that plugs in but does not in the settings say how to use a usb mouse but it works with my macbook pro

    hello i have a imac running mountain lion and a macbook pro running leopard it works with the usb mouse from targus and works with a mac but for some reason it appears as a keyboard and ive heard of select type but they do not have that in my imac it just went automatically with my macbook pro please help

    Hi, I've not heard of such a thing happening!???
    Hopefuly my posting & bringing it to the top will get some more helpers in here.

  • How to use usb flash drive

    So i tried to use a usb flash drive to save a word document on my macbook, but i couldnt find the flash drive, or even where to find the usb port. can somebody tell me how to use a usb flash drive on macbooks?

    The USB ports are on the left side.
    Just plug in the drive, and it should show up on your desktop (or in the Finder - click the happy face icon in your dock). Drag and drop the files into the drive. Or, select the drive as the save location when you pick Save or Save As in Word.
    When you're done, drag the drive's icon to the trash (it will change to an eject symbol), or click the little eject symbol next to it's icon in the Finder. You can then safely unplug the drive.

  • How to use an external hard drive on a MacBook Air?

    Hi there.
    Recently I bought a portable USB external hard drive for my MacBook Air due to my full startup disk. I also bought multiple disks for the hard drive. I inserted the disk, hooked up the USB, and did everything properly. When I first hooked it up, I lost all internet files that I had saved. All images, videos and downloads (such as Minecraft and other gaming downloads) from the internet were gone and unable to find.
    Now, I don't want to make the wrong move and lose all of my internet files again, so I am asking how to transfer files SAFELY to the USB without any files being deleted. I tranfered files before, but they were just short cuts to the original file, so I am also asking how to fix that as well. My Dad was a computer technician, although he didn't work for Apple, so he doesn't know how to use the USB.
    I've tried everything to find my internet files, but nothing. If there is a way to get them back, I'd be glad if you shared that with me. My dock files aren't working due to this insanely full startup disk, so I'd appreciate it if you could tell me ASAP how to use the USB, how to SAFELY transfer files without them turning into shortcuts, and how to get my internet files back.
    Thank you very much.
    P.s My OS X version is 10.8.3 (Not with Mountain Lion)

    You cannot format a drive so that files will be automatically put on that drive when you run out of room on another drive. Transferring the files must be done specifically by you. You will need to learn how to manage free space on the SSD because 64 GBs is a bit small for much more than OS X.
    Drive Partition and Format
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.

  • BIOS Recovery using a USB stick for S10-3t

    im from south africa and am having trouble contacting my support center. 
    i tried to flash my bios and my netbook won't start up now, and i need to recover my bios manually.
    please help me with the following:
    1. procedure to use my usb stick as a recovery disk, what files need to be on it, and how to make it bootable from my s10-3t.
    2. how to use the usb stick to recover my bios and boot my netbook.
    please help :-)

    Hi thanks yigit.
    I managed to contact the service provider, but they have a lead time of about 4 weeks for a simple repair like flashing the bios...
    I have an estimate of around $70 from a reputable repair center to do the flashing, with a lead time of a few hours as they do the repair on-site.
    My question: does the warranty that comes with the s10-3t cover flashing the bios? If not, would it be wise for me to have the flashing done by the other repair center, and not your local service provider?
    (Its actually very inconvenient, as you only have the one company being a Lenovo partner in SA, with 2 branches. And they do not collect the device for repair...
    Maybe if I explained exactly what I did to land in my situation it would be best to get the best help:
    I wanted to use a PCI-E modem I had already, instead of purchasing a new one at around $200. My modem is a Sierra MC8755 with PID/VID of 1199:6804.
    I upgraded from Windows 7 Starter to Ultimate, updated bios from lenovo's site, then tried to install only to get the error message "Unauthorized device installed. Please shut down and remove device"
    I then found online forums saying to edit the bios.
    I edited my bios (24CN62WW) at MOD5100.ROM, adding my modem ID where the Ericsson F3607gw:  0BDB_1905 ID's were with Hex editor. I switched the values as required, ie "99 11 04 68"
    I flashed those successfully, but still got the error message.
    I then read a post that stated that you may edit the POST with the phoenix bios editor, by checking and unchecking certain sectors to stop the checking of whitelisted devices on startup. After doing this, the bios was created successfully, the system restarted but failed to boot. It starts up, and then stops after the LED's come on, and the processor light flashes once.

Maybe you are looking for

  • Can we call a method in stateless session bean ?

    Can we call a method in stateless session bean in onMessage method?

  • /ecp /owa not work for different users, error 500, redirect/owa/auth.owa

    installed Exchange 2013, upgrade to sp1 and clean as possible start use in production. All work fine for 2 weeks, when after last weekend go back to work and see what ecp and owa login broken. 1. it broke for some users, not all users. some users cou

  • Subscription Denmark, cant call

    Hello, A few months ago I purchased a subscription for mobile and landline to Denmark. At first it worked perfectly but now it doesn't. When I try to call my moms mobile (I've only called mobiles when it worked) it says that I need to buy more credit

  • Removing line item dimention from info cube

    Hi All Experts, Early watch report has suggested us to remove line item dimention and high cardinality from some cubes. bur our cubes are having data , and when I tried to chekc this in our Dev server, Line Item dimention is disabled when it is fille

  • Error in BAPI_SALESORDER_CHANGE -- Enter The Profit Center

    Hi All, Am Creating Sales Order using BDC and getting Sales order number and uploading it's  Item text using BAPI_SALESORDER_CHANGE , But am getting error as please enter profit center for last record in Bapireturn and text is not getting updated. Ev