dgsmith Posted February 6, 2010 Posted February 6, 2010 With the scanners in our school, the setup we have is that each scanner has a host PC which when the button is pressed on the scanner, the scan will save in a shared area (thanks to dhicks for suggesting this some time back)! Whilst this is all good, it does mean we have to have an unattended PC by each scanner, not only wasting power but also prone to being "knocked" or turned off/unplugged and then people wonder why it doesn't work! I have thought about buying some USB extenders over cat5, which in theory would allow me to connect these USB scanners to this extenders, and for them all to terminate in at our cab, where just a single host PC would handle all the scan requests. Is this doable? Before money is spent on these extenders, I want to know whether it is possible to have multiple scanners attached via USB to a single PC and for each to operate independantly (each scanner has different config and saves its scans to a different folder and can also scan if another scan is happening). It would save us some money in power and mean the computer won't be the cause of the problems we sometimes see now. For ref, the scanners are all Canon Lide 20 (quite an old model).
smadison Posted February 6, 2010 Posted February 6, 2010 We have networked photocopiers set-up to scan to a network share and it works better than having scanners all over the place. If your photocopiers can be set-up for network scaning it may be worth a go.
dgsmith Posted February 6, 2010 Author Posted February 6, 2010 Our photocopiers are in 1 place and students aren't allowed to use them. Our scanners are in each ICT room and students are encouraged to use them. The setup we have now is simple, however I always thought there was room for improvement without changing the setup entirely. I've read a little into SANE (alternative to TWAIN driver), however i've no idea how that works or how relavant it is..
dhicks Posted February 7, 2010 Posted February 7, 2010 Before money is spent on these extenders, I want to know whether it is possible to have multiple scanners attached via USB to a single PC and for each to operate independantly (each scanner has different config and saves its scans to a different folder and can also scan if another scan is happening). Hmm. You could potentially check by plugging two scanners in to one PC and giving it a go. However, I'm guessing that the scanners draw near the top level of power available from the USB port (they do have to power a bulb and scanning hardware, after all), and plugging two in to one USB hub might give power issues. The Cat5 extenders, no doubt, provide power to each individual USB device anyway, so power shouldn't be a problem for the actual solution you have in mind. You might want to plug each scanner in to one PC via separate, powered USB hubs. -- David Hicks
Arthur Posted February 8, 2010 Posted February 8, 2010 (edited) Those Canon LiDE 20 scanners are USB 2.0 Full Speed devices a.k.a. USB 1.1, so scanning is going to be extremely slow particularly if they are all being used at the same time. Before you do this, I would check Device Manager and find out how many USB "root hubs" you have on the computer you intend to use for this task (the more the better). While each root hub is capable of supplying the full bandwidth to a device regardless of what the other root hubs are up to (in your case 12Mbps* because the scanners are USB 1.1), almost all motherboards still only have two EHCI controllers and each controller has to share its bandwidth amongst all devices attached to it. Another thing to consider is the fact that almost all USB hubs only have a single transaction translator (TT) - because they are much cheaper to manufacturer - which means the bandwidth is again shared amongst all the ports on the hub. You can get Multi-TT hubs (like this one) but they are quite rare. As David mentioned above you will definitely need to power the USB hubs themselves. Without this they will only be able to draw a maximum of 100mA from the USB port it is connected to. I don't think a scanner would be able to work with this amount of power. I've not checked myself, but you may also find that the scanner driver/software saves the settings for the button on the front to a single key in the registry. If this is the case, then I don't see how you could configure multiple scanners to save to different locations because they would all be reading the same registry value. I may be wrong on this though. By the way, this article is quite interesting since it explains much of the above better than I can. * Due to the overhead of the USB protocol you will never get the full 12Mbs. You will also notice that Windows reserves some of the total bandwidth too (upto 20%). Edited February 8, 2010 by Arthur 2
dhicks Posted February 8, 2010 Posted February 8, 2010 I've not checked myself, but you may also find that the scanner driver/software saves the settings for the button on the front to a single key in the registry. If this is the case, then I don't see how you could configure multiple scanners to save to different locations because they would all be reading the same registry value. I suppose you could run multiple Windows XP VMs on one machine, assign them each a separate USB port with a scanner attached? -- David Hicks
dgsmith Posted February 8, 2010 Author Posted February 8, 2010 (edited) However, I'm guessing that the scanners draw near the top level of power available from the USB port (they do have to power a bulb and scanning hardware, after all), and plugging two in to one USB hub might give power issues. Those Canon LiDE 20 scanners are USB 2.0 Full Speed devices a.k.a. USB 1.1, so scanning is going to be extremely slow particularly if they are all being used at the same time. Before you do this, I would check Device Manager and find out how many USB "root hubs" you have on the computer you intend to use for this task (the more the better). While each root hub is capable of supplying the full bandwidth to a device regardless of what the other root hubs are up to (in your case 12Mbps* because the scanners are USB 1.1), almost all motherboards still only have two EHCI controllers and each controller has to share its bandwidth amongst all devices attached to it. Another thing to consider is the fact that almost all USB hubs only have a single transaction translator (TT) - because they are much cheaper to manufacturer - which means the bandwidth is again shared amongst all the ports on the hub. You can get Multi-TT hubs (like this one) but they are quite rare. As David mentioned above you will definitely need to power the USB hubs themselves. Without this they will only be able to draw a maximum of 100mA from the USB port it is connected to. I don't think a scanner would be able to work with this amount of power. Thanks for the input chaps. I'm not sure in which context you mean "hub"? If this method worked, the plan would be to plug each scanner into its own USB port on the motherboard, rather than using 1 port and splitting with a hub. I can see in the device manager that each port is assigned 500mA and that is exactly the amount these scanners use, so I am hoping that power shouldn't be of concern. The usb extenders over cat5 I have my eye on unfortunately don't have an external power supply (the expensive ones do), however as cat5 can transmit power easily, and these devices are designed to imitate a single USB cable, I hope this shouldn't be an issue. I've not checked myself, but you may also find that the scanner driver/software saves the settings for the button on the front to a single key in the registry. If this is the case, then I don't see how you could configure multiple scanners to save to different locations because they would all be reading the same registry value. I may be wrong on this though. That is a good point and besides the fact that the standard windows TWAIN driver may not be capable to operate two scanning devices at the same time, I hadn't thought of registry config. I suppose any probllems in attempting this approach would be down to software limitations as opposed to hardware limitations. I've even considered virtual computers within the host PC but that is starting to seem overkill for a solution that does already work now. Then again, I suppose once it is setup, it can just be left.. As I said before, I see there is a SANE project to allow many scanners to be shared/used over the network, however I barely know anything about it and alot of it involves the *nix platform to which my knowledge is scarce. Edited February 8, 2010 by dgsmith
p858snake Posted February 8, 2010 Posted February 8, 2010 What about using thin terminals/dumb clients for managing them?
jamesreedersmith Posted February 8, 2010 Posted February 8, 2010 Just watch as the longer the cable the greater the voltage drop and therfore a long run may not power the scanner suuficently to work. Thanks James
dgsmith Posted February 8, 2010 Author Posted February 8, 2010 What about using thin terminals/dumb clients for managing them? How would this differ from using standalone XP stations we have now? My two aims are to remove the machines into an attended environment (our office) and reduce the amount of them so as to cut down on wasted power. Just watch as the longer the cable the greater the voltage drop and therfore a long run may not power the scanner suuficently to work. I thought about this, however as the runs aren't too long (we're next door to the ICT areas practically) this shouldn't be too much of a problem. We also run IP cameras over PoE which have distances around 50m - these scanners will be nowhere near that distance from the cab though!
jamesreedersmith Posted February 8, 2010 Posted February 8, 2010 I thought about this, however as the runs aren't too long (we're next door to the ICT areas practically) this shouldn't be too much of a problem. We also run IP cameras over PoE which have distances around 50m - these scanners will be nowhere near that distance from the cab though! The problem comes that usb is only 5v and most POE is 12-48v therfore a small voltage drop is a greater percentage of a starting usb voltage as opposed to full POE - only way to be sure is to try it though!
dgsmith Posted February 8, 2010 Author Posted February 8, 2010 I'm hoping it won't be a problem - i'd understand if the distance was long but the distance really won't be too long at all (12m max). The extenders I am looking to use are these from BT Business which are cheap but hopefully would do the job. I'm thinking maybe using virtual machines may be the best way of achieving this, especially if the scanner config in the registry is only setup for 1 scanner!
Arthur Posted February 9, 2010 Posted February 9, 2010 I'm not sure in which context you mean "hub"? If this method worked, the plan would be to plug each scanner into its own USB port on the motherboard, rather than using 1 port and splitting with a hub. For some reason, I imagined you were going to have eight (or more) scanners connected to multiple USB hubs. That is a good point and besides the fact that the standard windows TWAIN driver may not be capable to operate two scanning devices at the same time, I hadn't thought of registry config. If you do have this problem you should be able to get around it using the registry redirection feature of Microsoft's Application Compatibility Toolkit.
srochford Posted February 9, 2010 Posted February 9, 2010 I really like the VM idea - I can't see why it wouldn't work (but that doesn't mean it will!) I'd definitely try it - it would be quick to set up a machine with a couple of VMs and connect a couple of scanners. Once you know the technique works you can then look at using USB extenders. Again, for the distance you're thinking of, I think it ought to work.
Arthur Posted February 10, 2010 Posted February 10, 2010 The VM idea does sound good. However, what would happen if a student disconnected a scanner? When it was plugged back in would it get automatically reconnected to the correct VM?
MatthewL Posted February 10, 2010 Posted February 10, 2010 If funds will allow look at purchasing a network scanner, plug it into the network and then no PC needed, scan direct to user folders, we use Fujitsu scanners for this purpose.
dgsmith Posted February 10, 2010 Author Posted February 10, 2010 For some reason, I imagined you were going to have eight (or more) scanners connected to multiple USB hubs. Not at all, there are enough standard USB ports on computers these days (even those from several years ago) to accomodate the quantity of scanners i'd be looking to use I really like the VM idea - I can't see why it wouldn't work (but that doesn't mean it will!) I'd definitely try it - it would be quick to set up a machine with a couple of VMs and connect a couple of scanners. Once you know the technique works you can then look at using USB extenders. The VM idea does sound good. However, what would happen if a student disconnected a scanner? When it was plugged back in would it get automatically reconnected to the correct VM? I suppose the only way to know is to try it as already said.. I may just buy the extenders and hope for the best; if all else fails, at least the computers will be centralised. I can't see any reason for students to unplug the scanner though (not like a computer where they don't like "being monitored" - the scanner isn't any threat to them) I suppose the same problem could arise in event of a power cut, would the scanners know which VM to go back to, or even if the host PC is rebooted manually? I read on the Canoscan guide that there seems to be a dropdown where you can select which scanner you want to configure. The obvious reason for this seems to be because you can choose separate config for each scanner; either that or so the program knows not to configure any other non-canon scanner device that may also be attached. Even if I get round that problem, I fear I may still have a driver limitation issue to deal with (this is in the non-VM scenerio). If funds will allow look at purchasing a network scanner That's the thing - funds do not allow at all, hence why i'd be looking at the "value" (cheapest) USB extender I can find, simply because anything that costs anymore is outside of our financial reach. This is also the reason why we adopted this setup in the first place as it meant we could use existing hardware at no extra cost to achieve essentially the same setup as one which is achieved using an actual network scanner. Plus, there are only 3 buttons on this setup, and nothing that can become "unconfigured" or messed with
srochford Posted February 10, 2010 Posted February 10, 2010 Don't think unplugging will be a problem - that only seems to occur if you plug a device into a different USB socket. Given that pupils will only be able to get at the scanner end, the reconnect should be fine.
dgsmith Posted February 18, 2010 Author Posted February 18, 2010 Right, 1 week later I have the extenders. I move the host computer into our room and plug the extenders in as necessary, so I have scanner>usb cable>usb extender>ethernet link to our room>usb extender (reciever)>host computer. All seems to look well - scanner picks up at host computer and asks to reinstall drivers. Scanner seems fine - is detected in device manager and a nice icon appears in "My Computer". If I unplug any cable this link, the scanner disappears (as expected) and reappears when I rejoin the link (again, as you would expect). Unfortunately, computer seems to think scanner isn't connected when I try to scan something (front buttons or windows interface). This is odd as it picks it up fine and I reinstalled it fine, and the tests I did above obviously prove the computer knows it is there. So, unless I can get this USB extender to work, it seems the computers will have to stay put! From scanner to PC, the entire length is about 15-20m (including USB and patch cables); much less than the quoted 50m for these devices. Any suggestions?
jamesreedersmith Posted February 18, 2010 Posted February 18, 2010 Not wishing to be a stuck record but its the voltage drop - theres enough to power the basic im a scanner electronic but not enough for the please scan electronics.
SYNACK Posted February 18, 2010 Posted February 18, 2010 (edited) My suggestions would be to try hooking up a powered USB device to one of the extenders like a printer and see if that talks. If it does it is the voltage drop and should be solvable by hooking up a powered USB hub to the scanner end of the extender then plugging the scanner into that. I'd also try a different, more simple bit of hardware such as a usb stick to see it that interfaces correctly. I'd also try on another of the extender links as it could be a faulty extender box or cat5e install as there can be deviation in the lengths of copper in a cable run that could be causing issues to. Edited February 18, 2010 by SYNACK
dgsmith Posted February 18, 2010 Author Posted February 18, 2010 Not wishing to be a stuck record but its the voltage drop - theres enough to power the basic im a scanner electronic but not enough for the please scan electronics. My suggestions would be to try hooking up a powered USB device to one of the extenders like a printer and see if that talks. If it does it is the voltage drop and should be solvable by hooking up a powered USB hub to the scanner end of the extender then plugging the scanner into that. I'll try and find one and give it a try (I haven't any to hand at the moment, quite frustratingly). It says scanner disconnected when it isn't even trying to scan anything though (when you load the config, it checks for the presence of the scanner, which it then says it can't find it, even though it still happily shows in My Computer and device manager). How much of a voltage drop are we talking about over the distance? Would the same be true if I just tested over a length of a couple of metres too? I'd also try a different, more simple bit of hardware such as a usb stick to see it that interfaces correctly. I'd also try on another of the extender links as it could be a faulty extender box or cat5e install as there can be deviation in the lengths of copper in a cable run that could be causing issues to. Plugged in a USB pen drive where the scanner was plugged in, and this worked fine (could browse through files and open them up without issue). I guess this proves the extenders are working ok and the link hasn't got any breaks in it.
SYNACK Posted February 18, 2010 Posted February 18, 2010 (edited) How much of a voltage drop are we talking about over the distance? Would the same be true if I just tested over a length of a couple of metres too? No the drop is proportional to the cable length so 2m would not be a valid test, does sound like a powered USB hub will solve it though which is good news. It could be worth plugging the scanner in directly via USB to its assigned port on the host machine to make sure it is not a software issue. Edited February 18, 2010 by SYNACK
powdarrmonkey Posted February 18, 2010 Posted February 18, 2010 Not that's it's as helpful now that you've already bought extenders, but I have a netgear print server that can take a scanner too. You 'capture' the scanner in the software on a workstation, do your scanning and then release it again. Might be worth looking into.
dgsmith Posted March 19, 2010 Author Posted March 19, 2010 Well a month later we eventually managed to get USB hubs with power. Took us 3 weeks from BT Business as they kept shipping ones without power (labelling error) but got them in the end. All works fine! It does seem like it was a power issue and now that is sorted, and fairly cheap as well (extenders £10 each, hubs /w power £4 each). Just got to figure out if I go virtual or SANE driver now. The host machines are fairly old (Celeron 2.4 on Northwood core) so I don't know if running virtual machines is doable on them! Still, I think the major hurdle is over.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now