WorkForce 310 Update

It turns out the problem was that I had the DPI setting too high for my scanner.

I dumped it down to 300 (From 600) and everything is okedokey

Posted in Uncategorized | Leave a comment

PCBSD 8.1 : Configuring Epson WorkForce 310 All In One

I havn’t been able to find any good free flowchart creation software for PCBSD (nor Windows) so what I’ve wound up doing is just using good ol’ peen(whops, pen, hi Mr.Freud) and paper.

Since I develop alone, I like communicating my ideas with my former college professors, bouncing off ideas, strengthening good ones and coming up with new.

Anyway, point is that I need to get my hand written flow charts into my collaborator’s email boxes. I picked up an Epson WorkForce 310 all in one device on sale from CompUSA during the holiday season (pretty happy with it) and would like to use it in development.

After a bit of Googling i found out that FreeBSD uses something called SANE to handle scan jobs.

After some more Googling I found that my device is supported by the sane-epson2 driver.

The FreeBSD handbook section 7.6.3 titled "SANE Configuration" states

The SANE system is split in two parts: the backends (graphics/sane-backends) and the frontends (graphics/sane-frontends). The backends part provides access to the scanner itself. The SANE’s supported devices list specifies which backend will support your image scanner. It is mandatory to determine the correct backend for your scanner if you want to be able to use your device. The frontends part provides the graphical scanning interface (xscanimage).

The first step is to install the graphics/sane-backends port or package. Then, use the sane-find-scanner command to check the scanner detection by the SANE system:

So with my new creed of using portmaster let us begin.

portmaster -g graphics/sane-backends

===>>> pkg-message for sane-backends-1.0.21_2


saned will log to the ‘daemon’ facility; this is a hard-coded

default. Also, saned has no support for SSL/TLS or cryptographic

authentication; you may wish to deploy security/stunnel to wrap

it if you have concerns about security.

If you are using a USB scanner, you should edit /etc/devd.conf to

allow saned access permissions. Currently, devfs.rules(5) has no

support for USB specific filters such as vendor, product and

serial number.

Here is an example devd.conf(5) entry for an Epson CX3650

multi-function scanner/printer device (assuming you are sharing

the printer function with cups):

attach 100 {

device-name "ugen[0-9].[0-9]";

match "vendor" "0x04b8";

match "product" "0x080e";

action "usb_devaddr=`echo $device-name | sed ‘s#^ugen##’` && \

chown cups:saned /dev/usb/${usb_devaddr}.* && \

chmod 660 /dev/usb/${usb_devaddr}.*";


Note: A backtick must be used above, due to how devd(8) performs

variable substitutions.

To determine which port your scanner is connected to, inspect the

output of ‘usbconfig list’ before and after connecting your scanner,

and note the numbers which appear after ‘ugen’ in the first column.

Then, use ‘usbconfig -d X.Y dump_device_desc’ to learn the idVendor

and idProduct fields, and plug them into the above example entry.

Finally, restart devd with the command:

# /etc/rc.d/devd restart

Please take /usr/local/etc/sane.d/dll.conf

as an example only; you may wish to enable only the ‘net’ backend

on client machines; be sure to point it at your scan server.

If you are setting up a scan server, you may also wish to edit


to only permit specific machines.




Gave me 3 possible choices

found USB scanner (vendor=0x04b8, product=0x0854) at libusb:/dev/usb:/dev/ugen2.5

found USB scanner (vendor=0x0bda, product=0x8187 [RTL8187_Wireless]) at libusb:/dev/usb:/dev/ugen2.3

found USB scanner (vendor=0x2040 [Hauppauge], product=0x7240 [WinTV HVR-850]) at libusb:/dev/usb:/dev/ugen2.2

I turned off my WorkForce 310 and ran it again, the first device dissapeared on the next issue of sane-find-scanner, turned it back on and it came back, so the actual scanner ID is

found USB scanner (vendor=0x04b8, product=0x0854) at libusb:/dev/usb:/dev/ugen2.5

The vendor and product IDs need to go inside of /usr/local/etc/sane.d/epson2.conf as follows (i have included my whole epson2.conf for reference)

# epson2.conf


# here are some examples for how to configure the EPSON2 backend


scsi EPSON

# for the GT-6500:

#scsi "EPSON SC"

# Parallel port

#pio 0x278

#pio 0x378

#pio 0x3BC



# For libusb support for unknown scanners use the following command

# usb <product ID> <device ID>

# e.g.:

usb 0x4b8 0x854

# Network


# net

net autodiscovery


scanimage -L


device `epson2:libusb:/dev/usb:/dev/ugen2.5′ is a Epson PID 0854 flatbed scanner

I loaded Skanlite from the App Launcher to be sure it worked, my computer froze during scanner, and stayed frozen until i turned off the WorkForce, however the image did scan, I’m going to try a reboot, it’s been a few days =D. More info to come.

Posted in Uncategorized | Leave a comment

Updating Port Tree

portsnap fetch update

Posted in Uncategorized | Leave a comment

Blogilo Client Test


Posted in Uncategorized | Leave a comment

My env is ready for the final piece.

I got it all ready, the MYSQL51 client and server, the latest PHP5 stack with Xdebug, Apache22 with the UserDir mod in place (and my home/public_html directory loaded with projects), the only thing left is to get the Eclipse PBi and load in the Aptana2, 3, and PDT plugins in 3 seperate PBi installs. I guess I’ll grab NetBeans as well since I’ll be on Barns N Noble’s high speed WiFi since I hear all four of those IDEs are great.


Posted in Uncategorized | Leave a comment

5.1 Surround With OSS4

ossmix vmix0-channels Multich

ossmix ext.routing.speaker-spread on


Posted in Uncategorized | Leave a comment

more php xdebug

phpinfo(); spat the warning


so i went in php.ini and changed it from




restarted apache and it QQ


Posted in Uncategorized | Leave a comment