Re: Anyone got an EPSON Perfection V33 scanner working?

2013-03-06 Thread Alejandro Imass
On Wed, Mar 6, 2013 at 4:25 PM, Jens Schweikhardt
 wrote:
> hello, world\n
>
> so I got an EPSON Perfection V33 scanner, needless to say it works
> under Win7 with the provided SW on the CD.
>
> Needless to say, it's one of those scanners unsupported by SANE
> according to their list, http://www.sane-project.org/sane-mfgs.html#Z-EPSON
>

On Sane Linux yes. Haven't tried on FBSD. It needs some binaries
provided with the scan and iscan plugins. I got the RPMs and alienated
to deb and it gets the Epson Perfection working on a Debian system.
Maybe you can do something with Sane on Linuxator on FBSD and the
binaries I have. I have the RPMs and I can send them to you or post
them somewhere for download.

Cheers,

-- 
Alejandro Imass
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Anyone got an EPSON Perfection V33 scanner working?

2013-03-06 Thread Jens Schweikhardt
hello, world\n

so I got an EPSON Perfection V33 scanner, needless to say it works
under Win7 with the provided SW on the CD.

Needless to say, it's one of those scanners unsupported by SANE
according to their list, http://www.sane-project.org/sane-mfgs.html#Z-EPSON

While it can be probed with
# sane-find-scanner -q
found USB scanner (vendor=0x04b8 [EPSON], product=0x0142 [EPSON Perfection 
V33/V330]) at libusb:/dev/usb:/dev/ugen3.3
that's about the end of it.

A lot of googling turned up that some company named Avasys/Seiko/Epson
provides an "Image Scan!" application for Linux, which, strangely enough,
also uses some sane-backend.

Now before I try to make that pig fly by installing rpms in the
Linuxulator, (just to find out that for yet more obscure reason this
does't work so easily), has anyone gotten a V33 to successfully scan
under FreeBSD?


Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Wifi Scanner Gnome

2011-10-13 Thread Roland Smith
On Thu, Oct 13, 2011 at 02:41:44PM -0700, Michael Starr wrote:
> Hey,
> 
> I use multiple wireless networks on a daily basis and they are different
> each day. Is there a simple gnome wifi scanner that allows me to easily
> connect my laptop to the available network? I have been looking...
> 
> This would be very helpful. I want one similar to the one in Ubuntu where it
> lists available networks. This would be so great.
> 
> Thanks for any advice.

Have you tried the net-mgmt/wifimgr port?

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpLLuo9Wb3tF.pgp
Description: PGP signature


Wifi Scanner Gnome

2011-10-13 Thread Michael Starr
Hey,

I use multiple wireless networks on a daily basis and they are different
each day. Is there a simple gnome wifi scanner that allows me to easily
connect my laptop to the available network? I have been looking...

This would be very helpful. I want one similar to the one in Ubuntu where it
lists available networks. This would be so great.

Thanks for any advice.

Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: help setup an HP 3300C scanner

2011-08-04 Thread Marc Fonvieille
On Thu, Aug 04, 2011 at 10:38:27AM -0500, Antonio Olivares wrote:
> On Thu, Aug 4, 2011 at 9:54 AM, Marc Fonvieille  wrote:
> >
> > I'm curious, what is the output of the id(1) command as olivares?
> >
> > --
> > Marc
> >
> 
> [olivares@quadcore ~]$ whoami
> olivares
> [olivares@quadcore ~]$ id
> uid=1001(olivares) gid=1001(olivares)
> groups=1001(olivares),0(wheel),5(operator),194(saned)
>

Ok, thanks.  I'm a bit puzzled about the reasons why the scanner wasn't
seen.

Hmm in devfs.rules:
[Removable Media] should be [Removable_Media=10], I think, to match your
rc.conf

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: help setup an HP 3300C scanner

2011-08-04 Thread Antonio Olivares
On Thu, Aug 4, 2011 at 9:54 AM, Marc Fonvieille  wrote:
> On Thu, Aug 04, 2011 at 12:26:55AM -0500, Antonio Olivares wrote:
>>
> [...]
>>
>> I added scanbuttond from ports to be safe :), I just copied your
>> example (not looking that it was customized for epson :(
>> libscanbtnd-backend_epson.so, but I have removed that and left it as
>> you have suggested :)  I was glad that it worked and I did not notice
>> that.   The good thing is that it* scanner is working and thanks to
>> your kind example/suggestion.
>>
>
> I'm curious, what is the output of the id(1) command as olivares?
>
> --
> Marc
>

[olivares@quadcore ~]$ whoami
olivares
[olivares@quadcore ~]$ id
uid=1001(olivares) gid=1001(olivares)
groups=1001(olivares),0(wheel),5(operator),194(saned)

Regards,

Antonio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: help setup an HP 3300C scanner

2011-08-04 Thread Marc Fonvieille
On Thu, Aug 04, 2011 at 12:26:55AM -0500, Antonio Olivares wrote:
> 
[...]
>
> I added scanbuttond from ports to be safe :), I just copied your
> example (not looking that it was customized for epson :(
> libscanbtnd-backend_epson.so, but I have removed that and left it as
> you have suggested :)  I was glad that it worked and I did not notice
> that.   The good thing is that it* scanner is working and thanks to
> your kind example/suggestion.
>

I'm curious, what is the output of the id(1) command as olivares?

-- 
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: help setup an HP 3300C scanner

2011-08-03 Thread Antonio Olivares
On Thu, Aug 4, 2011 at 12:09 AM, Warren Block  wrote:
> On Wed, 3 Aug 2011, Antonio Olivares wrote:
>
>> Thank you for your message.  I have added the following:
>>
>> # AAO
>> # detect HP ScanJet 3300C
>> attach 20 {
>>      device-name "ugen[0-9].[0-9]";
>>      match "vendor" "0x03f0";
>>      match "product" "0x0205";
>>      action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
>>              chown root:saned /dev/usb/${usb_devaddr}.* && \
>>              chmod 0660 /dev/usb/${usb_devaddr}.* && \
>>              su saned -c '/usr/local/bin/scanbuttond \
>>              -s /usr/local/etc/scanbuttond/buttonpressed.sh \
>>              -S /usr/local/etc/scanbuttond/initscanner.sh \
>>              -b /usr/local/lib/libscanbtnd-backend_epson.so'";
>> };
>
> The last part of the action tries to run scanbuttond when the scanner is
> turned on.  That can be removed if you don't use scanbuttond.
>
>       action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
>               chown root:saned /dev/usb/${usb_devaddr}.* && \
>               chmod 0660 /dev/usb/${usb_devaddr}.*";
>
>> # AAO
>> # remove HP ScanJet 3300C
>> detach 20 {
>>      device-name "ugen[0-9].[0-9]";
>>      match "vendor" "0x03f0";
>>      match "product" "0x0205";
>>      action "/usr/bin/pkill scanbuttond";
>> };
>
> Similarly, the detach isn't needed if you're not running scanbuttond.
>

I added scanbuttond from ports to be safe :), I just copied your
example (not looking that it was customized for epson :(
libscanbtnd-backend_epson.so, but I have removed that and left it as
you have suggested :)  I was glad that it worked and I did not notice
that.   The good thing is that it* scanner is working and thanks to
your kind example/suggestion.

Regards,

Antonio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: help setup an HP 3300C scanner

2011-08-03 Thread Warren Block

On Wed, 3 Aug 2011, Antonio Olivares wrote:


Thank you for your message.  I have added the following:

# AAO
# detect HP ScanJet 3300C
attach 20 {
  device-name "ugen[0-9].[0-9]";
  match "vendor" "0x03f0";
  match "product" "0x0205";
  action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
  chown root:saned /dev/usb/${usb_devaddr}.* && \
  chmod 0660 /dev/usb/${usb_devaddr}.* && \
  su saned -c '/usr/local/bin/scanbuttond \
  -s /usr/local/etc/scanbuttond/buttonpressed.sh \
  -S /usr/local/etc/scanbuttond/initscanner.sh \
  -b /usr/local/lib/libscanbtnd-backend_epson.so'";
};


The last part of the action tries to run scanbuttond when the scanner is 
turned on.  That can be removed if you don't use scanbuttond.


   action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
   chown root:saned /dev/usb/${usb_devaddr}.* && \
   chmod 0660 /dev/usb/${usb_devaddr}.*";


# AAO
# remove HP ScanJet 3300C
detach 20 {
  device-name "ugen[0-9].[0-9]";
  match "vendor" "0x03f0";
  match "product" "0x0205";
  action "/usr/bin/pkill scanbuttond";
};


Similarly, the detach isn't needed if you're not running scanbuttond.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: help setup an HP 3300C scanner

2011-08-03 Thread Antonio Olivares
On Wed, Aug 3, 2011 at 11:16 PM, Antonio Olivares
 wrote:
> Warren,
>
> On Wed, Aug 3, 2011 at 10:48 PM, Warren Block  wrote:
>> On Wed, 3 Aug 2011, Antonio Olivares wrote:
>>
>>> This as root though, but as simple user cannot do much :(, again xsane
>>> tells me that no devices were found :(
>>>
>>> Suggestions/Advice/comments are welcome and appreciated.
>>
>> To hit some relevant points...
>>
>> The uscanner device is gone, no longer needed with FreeBSD-8.
>>
>> devfs.conf hasn't been effective for dynamic devices for me.  Copying the
>> clever technique from sysutils/scanbuttond/pkg-message.in, I use devd.conf
>> to detect the scanner attach and detach devices and change permissions and
>> do whatever else is necessary.  Scanner users are a member of the saned
>> group.
>>
>> # WB
>> # detect Epson Perfection 1640SU scanner and start scanbuttond
>> attach 20 {
>>        device-name "ugen[0-9].[0-9]";
>>        match "vendor" "0x04b8";
>>        match "product" "0x010a";
>>        action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
>>                chown root:saned /dev/usb/${usb_devaddr}.* && \
>>                chmod 0660 /dev/usb/${usb_devaddr}.* && \
>>                su saned -c '/usr/local/bin/scanbuttond \
>>                -s /usr/local/etc/scanbuttond/buttonpressed.sh \
>>                -S /usr/local/etc/scanbuttond/initscanner.sh \
>>                -b /usr/local/lib/libscanbtnd-backend_epson.so'";
>> };
>>
>> # WB
>> # remove Epson Perfection 1640SU uscanner0 link and stop scanbuttond
>> detach 20 {
>>        device-name "ugen[0-9].[0-9]";
>>        match "vendor" "0x04b8";
>>        match "product" "0x010a";
>>        action "/usr/bin/pkill scanbuttond";
>> };
>>
>>
>
> Thank you for your message.  I have added the following:
>
> # AAO
> # detect HP ScanJet 3300C
> attach 20 {
>       device-name "ugen[0-9].[0-9]";
>       match "vendor" "0x03f0";
>       match "product" "0x0205";
>       action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
>               chown root:saned /dev/usb/${usb_devaddr}.* && \
>               chmod 0660 /dev/usb/${usb_devaddr}.* && \
>               su saned -c '/usr/local/bin/scanbuttond \
>               -s /usr/local/etc/scanbuttond/buttonpressed.sh \
>               -S /usr/local/etc/scanbuttond/initscanner.sh \
>               -b /usr/local/lib/libscanbtnd-backend_epson.so'";
> };
>
> # AAO
> # remove HP ScanJet 3300C
> detach 20 {
>       device-name "ugen[0-9].[0-9]";
>       match "vendor" "0x03f0";
>       match "product" "0x0205";
>       action "/usr/bin/pkill scanbuttond";
> };
>
>
>
> to file /etc/devd.conf and xsane still tells me that I do not have any 
> devices?
>
> I restarted devd service
> # /etc/rc.d/devd restart
> and I get :
>
> quadcore# /etc/rc.d/devd restart
> devd not running?
> Starting devd.
> devd: devd already running, pid: 801
> /etc/rc.d/devd: WARNING: failed to start devd
>
> I have also added myself to the "saned" group:
>
> quadcore# cat /etc/group | grep 'saned'
> saned:*:194:olivares
>
> What else do I need to do?
>
> Thank you for your help & suggestions.
>
> Regards,
>
> Antonio
>

Warren,

I have rebooted to see if it* would make a difference, and it worked :)
I am happy!  Thank you very much for your assistance.

Regards,

Antonio

* made the big difference, scanner was detected by xsane!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: help setup an HP 3300C scanner

2011-08-03 Thread Antonio Olivares
Warren,

On Wed, Aug 3, 2011 at 10:48 PM, Warren Block  wrote:
> On Wed, 3 Aug 2011, Antonio Olivares wrote:
>
>> This as root though, but as simple user cannot do much :(, again xsane
>> tells me that no devices were found :(
>>
>> Suggestions/Advice/comments are welcome and appreciated.
>
> To hit some relevant points...
>
> The uscanner device is gone, no longer needed with FreeBSD-8.
>
> devfs.conf hasn't been effective for dynamic devices for me.  Copying the
> clever technique from sysutils/scanbuttond/pkg-message.in, I use devd.conf
> to detect the scanner attach and detach devices and change permissions and
> do whatever else is necessary.  Scanner users are a member of the saned
> group.
>
> # WB
> # detect Epson Perfection 1640SU scanner and start scanbuttond
> attach 20 {
>        device-name "ugen[0-9].[0-9]";
>        match "vendor" "0x04b8";
>        match "product" "0x010a";
>        action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
>                chown root:saned /dev/usb/${usb_devaddr}.* && \
>                chmod 0660 /dev/usb/${usb_devaddr}.* && \
>                su saned -c '/usr/local/bin/scanbuttond \
>                -s /usr/local/etc/scanbuttond/buttonpressed.sh \
>                -S /usr/local/etc/scanbuttond/initscanner.sh \
>                -b /usr/local/lib/libscanbtnd-backend_epson.so'";
> };
>
> # WB
> # remove Epson Perfection 1640SU uscanner0 link and stop scanbuttond
> detach 20 {
>        device-name "ugen[0-9].[0-9]";
>        match "vendor" "0x04b8";
>        match "product" "0x010a";
>        action "/usr/bin/pkill scanbuttond";
> };
>
>

Thank you for your message.  I have added the following:

# AAO
# detect HP ScanJet 3300C
attach 20 {
   device-name "ugen[0-9].[0-9]";
   match "vendor" "0x03f0";
   match "product" "0x0205";
   action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
   chown root:saned /dev/usb/${usb_devaddr}.* && \
   chmod 0660 /dev/usb/${usb_devaddr}.* && \
   su saned -c '/usr/local/bin/scanbuttond \
   -s /usr/local/etc/scanbuttond/buttonpressed.sh \
   -S /usr/local/etc/scanbuttond/initscanner.sh \
   -b /usr/local/lib/libscanbtnd-backend_epson.so'";
};

# AAO
# remove HP ScanJet 3300C
detach 20 {
   device-name "ugen[0-9].[0-9]";
   match "vendor" "0x03f0";
   match "product" "0x0205";
   action "/usr/bin/pkill scanbuttond";
};



to file /etc/devd.conf and xsane still tells me that I do not have any devices?

I restarted devd service
# /etc/rc.d/devd restart
and I get :

quadcore# /etc/rc.d/devd restart
devd not running?
Starting devd.
devd: devd already running, pid: 801
/etc/rc.d/devd: WARNING: failed to start devd

I have also added myself to the "saned" group:

quadcore# cat /etc/group | grep 'saned'
saned:*:194:olivares

What else do I need to do?

Thank you for your help & suggestions.

Regards,

Antonio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: help setup an HP 3300C scanner

2011-08-03 Thread Warren Block

On Wed, 3 Aug 2011, Antonio Olivares wrote:


This as root though, but as simple user cannot do much :(, again xsane
tells me that no devices were found :(

Suggestions/Advice/comments are welcome and appreciated.


To hit some relevant points...

The uscanner device is gone, no longer needed with FreeBSD-8.

devfs.conf hasn't been effective for dynamic devices for me.  Copying 
the clever technique from sysutils/scanbuttond/pkg-message.in, I use 
devd.conf to detect the scanner attach and detach devices and change 
permissions and do whatever else is necessary.  Scanner users are a 
member of the saned group.


# WB
# detect Epson Perfection 1640SU scanner and start scanbuttond
attach 20 {
device-name "ugen[0-9].[0-9]";
match "vendor" "0x04b8";
match "product" "0x010a";
action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
chown root:saned /dev/usb/${usb_devaddr}.* && \
chmod 0660 /dev/usb/${usb_devaddr}.* && \
su saned -c '/usr/local/bin/scanbuttond \
-s /usr/local/etc/scanbuttond/buttonpressed.sh \
-S /usr/local/etc/scanbuttond/initscanner.sh \
-b /usr/local/lib/libscanbtnd-backend_epson.so'";
};

# WB
# remove Epson Perfection 1640SU uscanner0 link and stop scanbuttond
detach 20 {
device-name "ugen[0-9].[0-9]";
match "vendor" "0x04b8";
match "product" "0x010a";
action "/usr/bin/pkill scanbuttond";
};

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: help setup an HP 3300C scanner

2011-08-03 Thread Antonio Olivares
On Wed, Aug 3, 2011 at 7:30 PM, Antonio Olivares
 wrote:
> On Wed, Aug 3, 2011 at 6:58 PM, Antonio Olivares
>  wrote:
>> Dear folks,
>>
>> I am sorry to bother you guys, but I need your help.  I have a scanner
>> HP 3300C scanner that is connected to one of my freebsd 8.2 amd
>> machines.
>>
>> I have done my homework:
>> read section scanners on FreeBSD Handbook:
>>
>> http://www.freebsd.org/doc/handbook/scanners.html
>>
>> looked at other threads:
>>
>> http://www.daemonforums.org/showthread.php?t=2057&page=1
>>
>> http://www.dslreports.com/forum/remark,12037990
>>
>> As root user, I can find the device name:
>>
>> quadcore# sane-find-scanner -q
>> found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0205 [HP
>> ScanJet 3300C]) at libusb:/dev/usb:/dev/ugen4.2
>> found USB scanner (vendor=0x0bda, product=0x8187 [RTL8187_Wireless])
>> at libusb:/dev/usb:/dev/ugen3.3
>>
>> but as myself(regular user) not :(
>>
>> [olivares@quadcore /usr/home/olivares]$ sane-find-scanner -q
>> [olivares@quadcore /usr/home/olivares]$
>>
>> I try to run simplescan -L but can't get it to work.  I run xsane and
>> it tells me that it can't find devices.  I looked in /etc/sane.d/ and
>> found hp.conf and edited it to handbook scanners section, see hp.conf
>> below:
>>
>> quadcore# pwd
>> /usr/local/etc/sane.d
>> quadcore# ls -l
>> total 166
>> -r--r--r--  1 root  wheel    25 Aug  3 17:46 abaton.conf
>> -r--r--r--  1 root  wheel    14 Aug  3 17:46 agfafocus.conf
>> -r--r--r--  1 root  wheel    24 Aug  3 17:46 apple.conf
>> -r--r--r--  1 root  wheel    26 Aug  3 17:46 artec.conf
>> -r--r--r--  1 root  wheel  4188 Aug  3 17:46 artec_eplus48u.conf
>> -r--r--r--  1 root  wheel   543 Aug  3 17:46 avision.conf
>> -r--r--r--  1 root  wheel    29 Aug  3 17:46 bh.conf
>> -r--r--r--  1 root  wheel    35 Aug  3 17:46 canon.conf
>> -r--r--r--  1 root  wheel   193 Aug  3 17:46 canon630u.conf
>> -r--r--r--  1 root  wheel  2834 Aug  3 17:46 canon_dr.conf
>> -r--r--r--  1 root  wheel   509 Aug  3 17:46 cardscan.conf
>> -r--r--r--  1 root  wheel    34 Aug  3 17:46 coolscan.conf
>> -r--r--r--  1 root  wheel   754 Aug  3 17:46 coolscan2.conf
>> -r--r--r--  1 root  wheel   754 Aug  3 17:46 coolscan3.conf
>> -r--r--r--  1 root  wheel   984 Aug  3 17:46 dc210.conf
>> -r--r--r--  1 root  wheel   984 Aug  3 17:46 dc240.conf
>> -r--r--r--  1 root  wheel   704 Aug  3 17:46 dc25.conf
>> -r--r--r--  1 root  wheel   492 Aug  3 17:46 dell1600n_net.conf
>> drwxr-xr-x  2 root  wheel  1536 Aug  3 17:46 dist
>> -r--r--r--  1 root  wheel   682 Aug  3 17:46 dll.conf
>> drwxr-xr-x  2 root  wheel   512 Aug  3 17:46 dll.d
>> -r--r--r--  1 root  wheel    12 Aug  3 17:46 dmc.conf
>> -r--r--r--  1 root  wheel  1402 Aug  3 17:46 epjitsu.conf
>> -r--r--r--  1 root  wheel   793 Aug  3 17:46 epson.conf
>> -r--r--r--  1 root  wheel   376 Aug  3 17:46 epson2.conf
>> -r--r--r--  1 root  wheel  1679 Aug  3 17:46 fujitsu.conf
>> -r--r--r--  1 root  wheel  1157 Aug  3 17:46 genesys.conf
>> -r--r--r--  1 root  wheel  7798 Aug  3 17:46 gt68xx.conf
>> -r--r--r--  1 root  wheel   589 Aug  3 18:44 hp.conf
>> -r--r--r--  1 root  wheel   396 Aug  3 17:46 hp3900.conf
>> -r--r--r--  1 root  wheel    76 Aug  3 17:46 hp4200.conf
>> -r--r--r--  1 root  wheel   238 Aug  3 17:46 hp5400.conf
>> -r--r--r--  1 root  wheel    24 Aug  3 17:46 hs2p.conf
>> -r--r--r--  1 root  wheel    38 Aug  3 17:46 ibm.conf
>> -r--r--r--  1 root  wheel   367 Aug  3 17:46 kodak.conf
>> -r--r--r--  1 root  wheel   113 Aug  3 17:46 leo.conf
>> -r--r--r--  1 root  wheel    96 Aug  3 17:46 lexmark.conf
>> -r--r--r--  1 root  wheel   187 Aug  3 17:46 ma1509.conf
>> -r--r--r--  1 root  wheel   666 Aug  3 17:46 matsushita.conf
>> -r--r--r--  1 root  wheel   268 Aug  3 17:46 microtek.conf
>> -r--r--r--  1 root  wheel   279 Aug  3 17:46 microtek2.conf
>> -r--r--r--  1 root  wheel  2125 Aug  3 17:46 mustek.conf
>> -r--r--r--  1 root  wheel   809 Aug  3 17:46 mustek_usb.conf
>> -r--r--r--  1 root  wheel    13 Aug  3 17:46 nec.conf
>> -r--r--r--  1 root  wheel   573 Aug  3 17:46 net.conf
>> -r--r--r--  1 root  wheel   365 Aug  3 17:46 p5.conf
>> -r--r--r--  1 root  wheel    75 Aug  3 17:46 pie.conf
>> -r--r--r--  1 root  wheel   492 Aug  3 17:46 pixma.conf
>> -r--r--r--  1 root  wheel  4142 Aug  3 17:46 plustek.conf
>> -r--r--r--  1 root  wheel   943 Aug  3 17:46 plustek_pp.conf
>> -r--r--r--  1 root  wheel    29 Aug  3 17:46 ricoh.conf
>> -r--r--r--  1 root  whee

Re: help setup an HP 3300C scanner

2011-08-03 Thread Antonio Olivares
On Wed, Aug 3, 2011 at 6:58 PM, Antonio Olivares
 wrote:
> Dear folks,
>
> I am sorry to bother you guys, but I need your help.  I have a scanner
> HP 3300C scanner that is connected to one of my freebsd 8.2 amd
> machines.
>
> I have done my homework:
> read section scanners on FreeBSD Handbook:
>
> http://www.freebsd.org/doc/handbook/scanners.html
>
> looked at other threads:
>
> http://www.daemonforums.org/showthread.php?t=2057&page=1
>
> http://www.dslreports.com/forum/remark,12037990
>
> As root user, I can find the device name:
>
> quadcore# sane-find-scanner -q
> found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0205 [HP
> ScanJet 3300C]) at libusb:/dev/usb:/dev/ugen4.2
> found USB scanner (vendor=0x0bda, product=0x8187 [RTL8187_Wireless])
> at libusb:/dev/usb:/dev/ugen3.3
>
> but as myself(regular user) not :(
>
> [olivares@quadcore /usr/home/olivares]$ sane-find-scanner -q
> [olivares@quadcore /usr/home/olivares]$
>
> I try to run simplescan -L but can't get it to work.  I run xsane and
> it tells me that it can't find devices.  I looked in /etc/sane.d/ and
> found hp.conf and edited it to handbook scanners section, see hp.conf
> below:
>
> quadcore# pwd
> /usr/local/etc/sane.d
> quadcore# ls -l
> total 166
> -r--r--r--  1 root  wheel    25 Aug  3 17:46 abaton.conf
> -r--r--r--  1 root  wheel    14 Aug  3 17:46 agfafocus.conf
> -r--r--r--  1 root  wheel    24 Aug  3 17:46 apple.conf
> -r--r--r--  1 root  wheel    26 Aug  3 17:46 artec.conf
> -r--r--r--  1 root  wheel  4188 Aug  3 17:46 artec_eplus48u.conf
> -r--r--r--  1 root  wheel   543 Aug  3 17:46 avision.conf
> -r--r--r--  1 root  wheel    29 Aug  3 17:46 bh.conf
> -r--r--r--  1 root  wheel    35 Aug  3 17:46 canon.conf
> -r--r--r--  1 root  wheel   193 Aug  3 17:46 canon630u.conf
> -r--r--r--  1 root  wheel  2834 Aug  3 17:46 canon_dr.conf
> -r--r--r--  1 root  wheel   509 Aug  3 17:46 cardscan.conf
> -r--r--r--  1 root  wheel    34 Aug  3 17:46 coolscan.conf
> -r--r--r--  1 root  wheel   754 Aug  3 17:46 coolscan2.conf
> -r--r--r--  1 root  wheel   754 Aug  3 17:46 coolscan3.conf
> -r--r--r--  1 root  wheel   984 Aug  3 17:46 dc210.conf
> -r--r--r--  1 root  wheel   984 Aug  3 17:46 dc240.conf
> -r--r--r--  1 root  wheel   704 Aug  3 17:46 dc25.conf
> -r--r--r--  1 root  wheel   492 Aug  3 17:46 dell1600n_net.conf
> drwxr-xr-x  2 root  wheel  1536 Aug  3 17:46 dist
> -r--r--r--  1 root  wheel   682 Aug  3 17:46 dll.conf
> drwxr-xr-x  2 root  wheel   512 Aug  3 17:46 dll.d
> -r--r--r--  1 root  wheel    12 Aug  3 17:46 dmc.conf
> -r--r--r--  1 root  wheel  1402 Aug  3 17:46 epjitsu.conf
> -r--r--r--  1 root  wheel   793 Aug  3 17:46 epson.conf
> -r--r--r--  1 root  wheel   376 Aug  3 17:46 epson2.conf
> -r--r--r--  1 root  wheel  1679 Aug  3 17:46 fujitsu.conf
> -r--r--r--  1 root  wheel  1157 Aug  3 17:46 genesys.conf
> -r--r--r--  1 root  wheel  7798 Aug  3 17:46 gt68xx.conf
> -r--r--r--  1 root  wheel   589 Aug  3 18:44 hp.conf
> -r--r--r--  1 root  wheel   396 Aug  3 17:46 hp3900.conf
> -r--r--r--  1 root  wheel    76 Aug  3 17:46 hp4200.conf
> -r--r--r--  1 root  wheel   238 Aug  3 17:46 hp5400.conf
> -r--r--r--  1 root  wheel    24 Aug  3 17:46 hs2p.conf
> -r--r--r--  1 root  wheel    38 Aug  3 17:46 ibm.conf
> -r--r--r--  1 root  wheel   367 Aug  3 17:46 kodak.conf
> -r--r--r--  1 root  wheel   113 Aug  3 17:46 leo.conf
> -r--r--r--  1 root  wheel    96 Aug  3 17:46 lexmark.conf
> -r--r--r--  1 root  wheel   187 Aug  3 17:46 ma1509.conf
> -r--r--r--  1 root  wheel   666 Aug  3 17:46 matsushita.conf
> -r--r--r--  1 root  wheel   268 Aug  3 17:46 microtek.conf
> -r--r--r--  1 root  wheel   279 Aug  3 17:46 microtek2.conf
> -r--r--r--  1 root  wheel  2125 Aug  3 17:46 mustek.conf
> -r--r--r--  1 root  wheel   809 Aug  3 17:46 mustek_usb.conf
> -r--r--r--  1 root  wheel    13 Aug  3 17:46 nec.conf
> -r--r--r--  1 root  wheel   573 Aug  3 17:46 net.conf
> -r--r--r--  1 root  wheel   365 Aug  3 17:46 p5.conf
> -r--r--r--  1 root  wheel    75 Aug  3 17:46 pie.conf
> -r--r--r--  1 root  wheel   492 Aug  3 17:46 pixma.conf
> -r--r--r--  1 root  wheel  4142 Aug  3 17:46 plustek.conf
> -r--r--r--  1 root  wheel   943 Aug  3 17:46 plustek_pp.conf
> -r--r--r--  1 root  wheel    29 Aug  3 17:46 ricoh.conf
> -r--r--r--  1 root  wheel   183 Aug  3 17:46 rts8891.conf
> -r--r--r--  1 root  wheel    13 Aug  3 17:46 s9036.conf
> -r--r--r--  1 root  wheel  1052 Aug  3 17:46 saned.conf
> -r--r--r--  1 root  wheel    48 Aug  3 17:46 sceptre.conf
> -r--r--r--  1 root  wheel  1464 Aug  3 17:46 sharp.conf
> -r--r--r--  1 root  wheel   115 Aug  3 17:46 sm3840.conf
> -r--r--r--  1 root  wheel  2245 Aug  3 17:46 snapscan.conf
> -r--r--r--  1 roo

help setup an HP 3300C scanner

2011-08-03 Thread Antonio Olivares
Dear folks,

I am sorry to bother you guys, but I need your help.  I have a scanner
HP 3300C scanner that is connected to one of my freebsd 8.2 amd
machines.

I have done my homework:
read section scanners on FreeBSD Handbook:

http://www.freebsd.org/doc/handbook/scanners.html

looked at other threads:

http://www.daemonforums.org/showthread.php?t=2057&page=1

http://www.dslreports.com/forum/remark,12037990

As root user, I can find the device name:

quadcore# sane-find-scanner -q
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0205 [HP
ScanJet 3300C]) at libusb:/dev/usb:/dev/ugen4.2
found USB scanner (vendor=0x0bda, product=0x8187 [RTL8187_Wireless])
at libusb:/dev/usb:/dev/ugen3.3

but as myself(regular user) not :(

[olivares@quadcore /usr/home/olivares]$ sane-find-scanner -q
[olivares@quadcore /usr/home/olivares]$

I try to run simplescan -L but can't get it to work.  I run xsane and
it tells me that it can't find devices.  I looked in /etc/sane.d/ and
found hp.conf and edited it to handbook scanners section, see hp.conf
below:

quadcore# pwd
/usr/local/etc/sane.d
quadcore# ls -l
total 166
-r--r--r--  1 root  wheel25 Aug  3 17:46 abaton.conf
-r--r--r--  1 root  wheel14 Aug  3 17:46 agfafocus.conf
-r--r--r--  1 root  wheel24 Aug  3 17:46 apple.conf
-r--r--r--  1 root  wheel26 Aug  3 17:46 artec.conf
-r--r--r--  1 root  wheel  4188 Aug  3 17:46 artec_eplus48u.conf
-r--r--r--  1 root  wheel   543 Aug  3 17:46 avision.conf
-r--r--r--  1 root  wheel29 Aug  3 17:46 bh.conf
-r--r--r--  1 root  wheel35 Aug  3 17:46 canon.conf
-r--r--r--  1 root  wheel   193 Aug  3 17:46 canon630u.conf
-r--r--r--  1 root  wheel  2834 Aug  3 17:46 canon_dr.conf
-r--r--r--  1 root  wheel   509 Aug  3 17:46 cardscan.conf
-r--r--r--  1 root  wheel34 Aug  3 17:46 coolscan.conf
-r--r--r--  1 root  wheel   754 Aug  3 17:46 coolscan2.conf
-r--r--r--  1 root  wheel   754 Aug  3 17:46 coolscan3.conf
-r--r--r--  1 root  wheel   984 Aug  3 17:46 dc210.conf
-r--r--r--  1 root  wheel   984 Aug  3 17:46 dc240.conf
-r--r--r--  1 root  wheel   704 Aug  3 17:46 dc25.conf
-r--r--r--  1 root  wheel   492 Aug  3 17:46 dell1600n_net.conf
drwxr-xr-x  2 root  wheel  1536 Aug  3 17:46 dist
-r--r--r--  1 root  wheel   682 Aug  3 17:46 dll.conf
drwxr-xr-x  2 root  wheel   512 Aug  3 17:46 dll.d
-r--r--r--  1 root  wheel12 Aug  3 17:46 dmc.conf
-r--r--r--  1 root  wheel  1402 Aug  3 17:46 epjitsu.conf
-r--r--r--  1 root  wheel   793 Aug  3 17:46 epson.conf
-r--r--r--  1 root  wheel   376 Aug  3 17:46 epson2.conf
-r--r--r--  1 root  wheel  1679 Aug  3 17:46 fujitsu.conf
-r--r--r--  1 root  wheel  1157 Aug  3 17:46 genesys.conf
-r--r--r--  1 root  wheel  7798 Aug  3 17:46 gt68xx.conf
-r--r--r--  1 root  wheel   589 Aug  3 18:44 hp.conf
-r--r--r--  1 root  wheel   396 Aug  3 17:46 hp3900.conf
-r--r--r--  1 root  wheel76 Aug  3 17:46 hp4200.conf
-r--r--r--  1 root  wheel   238 Aug  3 17:46 hp5400.conf
-r--r--r--  1 root  wheel24 Aug  3 17:46 hs2p.conf
-r--r--r--  1 root  wheel38 Aug  3 17:46 ibm.conf
-r--r--r--  1 root  wheel   367 Aug  3 17:46 kodak.conf
-r--r--r--  1 root  wheel   113 Aug  3 17:46 leo.conf
-r--r--r--  1 root  wheel96 Aug  3 17:46 lexmark.conf
-r--r--r--  1 root  wheel   187 Aug  3 17:46 ma1509.conf
-r--r--r--  1 root  wheel   666 Aug  3 17:46 matsushita.conf
-r--r--r--  1 root  wheel   268 Aug  3 17:46 microtek.conf
-r--r--r--  1 root  wheel   279 Aug  3 17:46 microtek2.conf
-r--r--r--  1 root  wheel  2125 Aug  3 17:46 mustek.conf
-r--r--r--  1 root  wheel   809 Aug  3 17:46 mustek_usb.conf
-r--r--r--  1 root  wheel13 Aug  3 17:46 nec.conf
-r--r--r--  1 root  wheel   573 Aug  3 17:46 net.conf
-r--r--r--  1 root  wheel   365 Aug  3 17:46 p5.conf
-r--r--r--  1 root  wheel75 Aug  3 17:46 pie.conf
-r--r--r--  1 root  wheel   492 Aug  3 17:46 pixma.conf
-r--r--r--  1 root  wheel  4142 Aug  3 17:46 plustek.conf
-r--r--r--  1 root  wheel   943 Aug  3 17:46 plustek_pp.conf
-r--r--r--  1 root  wheel29 Aug  3 17:46 ricoh.conf
-r--r--r--  1 root  wheel   183 Aug  3 17:46 rts8891.conf
-r--r--r--  1 root  wheel13 Aug  3 17:46 s9036.conf
-r--r--r--  1 root  wheel  1052 Aug  3 17:46 saned.conf
-r--r--r--  1 root  wheel48 Aug  3 17:46 sceptre.conf
-r--r--r--  1 root  wheel  1464 Aug  3 17:46 sharp.conf
-r--r--r--  1 root  wheel   115 Aug  3 17:46 sm3840.conf
-r--r--r--  1 root  wheel  2245 Aug  3 17:46 snapscan.conf
-r--r--r--  1 root  wheel10 Aug  3 17:46 sp15c.conf
-r--r--r--  1 root  wheel  2224 Aug  3 17:46 st400.conf
-r--r--r--  1 root  wheel   178 Aug  3 17:46 stv680.conf
-r--r--r--  1 root  wheel28 Aug  3 17:46 tamarack.conf
-r--r--r--  1 root  wheel   355 Aug  3 17:46 teco1.conf
-r--r--r--  1 root  wheel   636 Aug  3 17:46 teco2.conf
-r--r--r--  1 root  wheel   217 Aug  3 17:46 teco3.conf
-r--r--r--  1 root  wheel  1807 Aug  3 17:46 test.conf
-r--r--r--  1 root  wheel  1495 Aug  3 17:46 u12.conf
-r--r--r--  1 root  wheel  3094 Aug  3 17:46 umax

Benq Scanner 5000 works from time to time

2011-06-03 Thread Oleg
Hi all!

I use:
Benq Scanner 5000
sane-backends-1.0.21 
FreeBSD 7.4-STABLE
'firmware /home/user/ftp/20F8V119.bin' in snapscan.conf

The problem is scanner works unstable (from time to time). It takes multiple 
attepts of 'scanimage > file.ppm' to get the scan. Only 'lsusb' can always see 
the scanner while 'sane-find-scanner' and 'scanimage -L' can see it from time 
to time.
I've tried changing firmware to 20F8V116.bin, 20F8V114.bin, 20F8V112.bin - the 
problem repeats.
The scanner works fine under Windows 7 and Linux (Slax 6.1.2 LiveCD, sane 
1.0.20), so the hardware is ok, probably it is OS-related problem. In sane's 
[sane-devel] mailing list i got recommendation to ask on some freebsd forums.

All my actions have been tested in 2 cases:
1. with libusb (kernel without 'device uscanner') 
2. with uscanner:
(echo 'product ACERP ACERSCAN_5000 0x20f8 Benq 5000' >> 
/usr/src/sys/dev/usb/usbdevs 
echo '{{ USB_VENDOR_ACERP, USB_PRODUCT_ACERP_ACERSCAN_5000 }, 0 },' >> 
/usr/src/sys/dev/usb/uscanner.c
recompiled kernel with 'device uscanner')

Case1: 
Benq 5000 powered on first time:

# lsusb
Bus /dev/usb2 Device /dev/ugen0: ID 04a5:20f8 Acer Peripherals Inc. (now BenQ 
Corp.) Benq 5000

sane-find-scanner found the scanner on the fourth attempt:

# sane-find-scanner -q
# sane-find-scanner -q
# sane-find-scanner -q
# sane-find-scanner -q
found USB scanner (vendor=0x04a5 [Color], product=0x20f8 [ FlatbedScanner 22]) 
at libusb:/dev/usb2:/dev/ugen0

and scanimage found it on the third attempt:

# scanimage -L

No scanners were identified. ....
.
.
.

# scanimage -L
device `snapscan:libusb:/dev/usb2:/dev/ugen0' is a Acer FlatbedScanner42 
flatbed scanner

after 6 attempts of:
# scanimage --quality-cal=no > image-7.ppm
scanimage: no SANE devices found

we got the scan:
# scanimage --quality-cal=no > image-7.ppm
#

and next:
# scanimage -L

No scanners were identified.

And i have to wait several minutes getting this errors to get the next scan.

Case2: 
Benq 5000 powered on first time it is found by sane-find-scanner and scanimage 
successfully:

# sane-find-scanner -q
found USB scanner (vendor=0x04a5, product=0x20f8) at /dev/uscanner0

# scanimage -L
device `snapscan:/dev/uscanner0' is a Acer FlatbedScanner22 flatbed scanner

# scanimage --quality-cal=no > image-1.ppm
[snapscan] Scanner warming up - waiting 31 seconds.
#

OK. We got the scan.
After 3 minutes:

# scanimage --quality-cal=no > image-2.ppm

hangs forever...

If i kill scanimage and use sane-find-scanner:
# sane-find-scanner -q
# sane-find-scanner -q
.
.
.
i have nothing.


I would be very grateful if anybody points me on the root of this instability.
Thanks for your time!

-- 
Oleg

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Scanner recommendation

2011-02-11 Thread Peter Vereshagin
Nothing to do oh, freebsd-questions stay in bat!
2011/02/03 18:02:09 -0800 Rem P Roberti  => To FreeBSD :
RPR> Now that I understand how to get a scanner working, if there are any 
RPR> photographers out there who are using scanners with FreeBSD for 
RPR> negatives or slides I would love to hear a recommendation.  I have an 
RPR> Epson V500, but it is unsupported, and the only scanner that I have that 
RPR> is supported is an old HP Scanjet 3970, which is a poor scanner for 
RPR> doing negatives or slides.

epson perfection 3490 scans my 35mm negatives from xsane.

73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB  12F8 0CE1 4AAC A0E2 6627)
--
http://vereshagin.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Scanner recommendation

2011-02-05 Thread Robert Huff
Sergio de Almeida Lenzi writes:


>  As FreeBSD comes out with a new version about a year (or two..)
>  7.x -> 8.x -> 9.x a version of the sofware needs to be done
>  (compiled) seldom.

If the program is well-written, it may well be that
re-compiling is all that needs to be done.
(And I believe tha goal for new .0 versions is more like 18-24
months.)

>  2) Found an org, and using tax reduction program to finance
>  software: here is is possible...
>  
>  Any new ideas???

Yes: skip phase 2.  Have a person with s good reputation agree
to do the work - accept pledges, talk to the author, then collect
and transfer money.  In the U.S., there's no reason not to ... but
there's no strong reason to, either. 

Respectfully,


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Scanner recommendation

2011-02-05 Thread Sergio de Almeida Lenzi
Em Sáb, 2011-02-05 às 00:53 -0800, per...@pluto.rain.com escreveu:

> Robert Bonomi  wrote:
> 
> > Somebody saying "I'll buy it, if it supports _this_ scanner"
> > is motivation.
> 
> So perhaps what is needed is for N FreeBSD users to say "I'll buy
> it, if it runs on FreeBSD."  Any guesses on how large an N would
> be needed to provide sufficient motivation?

My experience (many, many years) says that the question is something
different:
How much $$$ do you need to produce (compile) a FreeBSD version???
300, 500, 5000???   Money talks.

If ou make this question to Adobe, they will never hear you, but a small
company (Ed) 
may be he will.

As FreeBSD comes out with a new version about a year (or two..) 7.x ->
8.x -> 9.x
a version of the sofware needs to be done (compiled) seldom.

Let's say the ammount of money that interests Ed is US$5000.00

I am considering this kind of approach,  various:
1) collect money in the freebsd community US$10 each you would need only
500 persons
2) Found an org, and using tax reduction program to finance software:
here is is possible...


Any new ideas???

Sergio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Scanner recommendation

2011-02-05 Thread Gour
On Sat, 05 Feb 2011 00:53:00 -0800
per...@pluto.rain.com wrote:

> So perhaps what is needed is for N FreeBSD users to say "I'll buy
> it, if it runs on FreeBSD."  Any guesses on how large an N would
> be needed to provide sufficient motivation?

Heh...when I asked Ed about support for 64-bit version of VueScan,
his reply was that number of Linux users is so low that he is
considering whether to even support the OS.

Fortunately, in the meantime, he added 64bit Linux support, but I'm
not sure what he would say to add FreeBSD support considering general
popularity of Linux vs. BSD. :)


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: CDBF17CA


-- 

Gour  | Hlapicina, Croatia  | GPG key: CDBF17CA



signature.asc
Description: PGP signature


Re: Scanner recommendation

2011-02-05 Thread perryh
Robert Bonomi  wrote:

> Somebody saying "I'll buy it, if it supports _this_ scanner"
> is motivation.

So perhaps what is needed is for N FreeBSD users to say "I'll buy
it, if it runs on FreeBSD."  Any guesses on how large an N would
be needed to provide sufficient motivation?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Scanner recommendation

2011-02-04 Thread Gour
On Fri, 4 Feb 2011 17:03:35 -0600 (CST)
Robert Bonomi  wrote:

> Money *IS* a poweful incentive.  
> 
> Somebody saying "I'll buy it, if it supports _this_ scanner" is
> motivation.

Well, I'm not astonished that he does it, but amazed that the whole
open-source community behind SANE is so much behind one-man-shop. :-/


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: CDBF17CA



signature.asc
Description: PGP signature


Re: Scanner recommendation

2011-02-04 Thread Warren Block

On Fri, 4 Feb 2011, Rem P Roberti wrote:


On Linux I'm very satisfied with VueScan (having Epson V700) which is,
imho, much better than all the free-source tools, but wonder whether
it works via Linux emulation?



I use Vuescan with Windoze, and you are right, it is infinitely better than 
any free source software.  However, it is not available for use with FreeBSD.


If the Linux version won't run on FreeBSD, the Windows version may run 
in Wine.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Scanner recommendation

2011-02-04 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Fri Feb  4 11:26:25 2011
> To: freebsd-questions@freebsd.org
> From: Gour 
> Date: Fri, 4 Feb 2011 18:24:10 +0100
> Subject: Re: Scanner recommendation
>
> --Sig_/7ESsfH/1RtQF54bxqA=NpSI
> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 
> quoted-printable
>
> On Fri, 04 Feb 2011 08:53:05 -0800 Rem P Roberti  
> wrote:
>
> > I use Vuescan with Windoze, and you are right, it is infinitely better 
> > than any free source software. =20
>
> It's really puzzling how one-man shop can support write software which is 
> so much better than any free software with support for so many scanners.

Money *IS* a poweful incentive.  

Somebody saying "I'll buy it, if it supports _this_ scanner" is motivation.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Scanner recommendation

2011-02-04 Thread Bill Campbell
On Fri, Feb 04, 2011, Gour wrote:
>On Fri, 04 Feb 2011 08:53:05 -0800
>Rem P Roberti  wrote:
>
>> I use Vuescan with Windoze, and you are right, it is infinitely
>> better than any free source software.  
>
>It's really puzzling how one-man shop can support write software which
>is so much better than any free software with support for so many
>scanners.

Possibly because the author, Ed Hamrick, has more incentive than
people writing free software?  He has always been extremely good
responding to my questions and requests regarding VueScan which I
got originally for my Mac Mini when HP stopped supporting my old
ScanJet.

FWIW, I have been extremely disappointed with HP's driver
support, particularly for older scanners.  I had purchased a new
ScanJet 5590 in April 2009 which worked fine with VueScan on top
of HP's low-end drivers on my PPC Mac Mini running Leopard.  When
I got a new Macbook Pro in August 2009 running Snow Leopard, HP
didn't have drivers for it, and their older drivers didn't work.
Their web site said they would have Snow Leopard drivers in
September or October of 2009, but they didn't come out until
sometime in the 2nd quarter of 2010.

For that reason, I will be looking at other hardware vendors the
next time I'm in the market for a scanner.

Bill
-- 
INTERNET:   b...@celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186  Skype: jwccsllc (206) 855-5792

It does not require a majority to prevail, but rather an irate,
tireless minority keen to set brushfires of freedom in the minds
of men. -- Samuel Adams
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Scanner recommendation

2011-02-04 Thread Gour
On Fri, 04 Feb 2011 08:53:05 -0800
Rem P Roberti  wrote:

> I use Vuescan with Windoze, and you are right, it is infinitely
> better than any free source software.  

It's really puzzling how one-man shop can support write software which
is so much better than any free software with support for so many
scanners.

 
> However, it is not available for use with FreeBSD.

I would not like to keep Windoze for one app, but curious if it would
be possible to use VueScan via linux emulation on FreeBSD?


Sincerely,
Gour

p.s. U+I've found some posts that VueScan might be working under
Virtualbox, so if everything else fails, we'll keep Archlinux as guest
OS. :-)

-- 

Gour  | Hlapicina, Croatia  | GPG key: CDBF17CA


-- 

Gour  | Hlapicina, Croatia  | GPG key: CDBF17CA



signature.asc
Description: PGP signature


Re: Scanner recommendation

2011-02-04 Thread Rem P Roberti



Now that I understand how to get a scanner working, if there are any
photographers out there who are using scanners with FreeBSD for
negatives or slides I would love to hear a recommendation.  I have an
Epson V500, but it is unsupported, and the only scanner that I have
that is supported is an old HP Scanjet 3970, which is a poor scanner
for doing negatives or slides.

On Linux I'm very satisfied with VueScan (having Epson V700) which is,
imho, much better than all the free-source tools, but wonder whether
it works via Linux emulation?



I use Vuescan with Windoze, and you are right, it is infinitely better 
than any free source software.  However, it is not available for use 
with FreeBSD.


Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Scanner recommendation

2011-02-04 Thread Gour
On Thu, 03 Feb 2011 18:02:09 -0800
Rem P Roberti  wrote:

> Now that I understand how to get a scanner working, if there are any 
> photographers out there who are using scanners with FreeBSD for 
> negatives or slides I would love to hear a recommendation.  I have an 
> Epson V500, but it is unsupported, and the only scanner that I have
> that is supported is an old HP Scanjet 3970, which is a poor scanner
> for doing negatives or slides.

On Linux I'm very satisfied with VueScan (having Epson V700) which is,
imho, much better than all the free-source tools, but wonder whether
it works via Linux emulation?


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: CDBF17CA



signature.asc
Description: PGP signature


Scanner recommendation

2011-02-03 Thread Rem P Roberti
Now that I understand how to get a scanner working, if there are any 
photographers out there who are using scanners with FreeBSD for 
negatives or slides I would love to hear a recommendation.  I have an 
Epson V500, but it is unsupported, and the only scanner that I have that 
is supported is an old HP Scanjet 3970, which is a poor scanner for 
doing negatives or slides.


Cheers...

Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-30 Thread Marco Beishuizen

On Fri, 30 Apr 2010, Warren Block wrote:


On Thu, 29 Apr 2010, Marco Beishuizen wrote:


On Thu, 29 Apr 2010, Warren Block wrote:


One more problem: there should be a quote at the end of the last line.

attach 100 {
device-name "ugen[0-9].[0-9]";
match "vendor" "0x04b8";
match "product" "0x010a";
action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
chown root:saned /dev/usb/${usb_devaddr}.* && \
chmod 0660 /dev/usb/${usb_devaddr}.*"


Shouldn't there be a ; at the end of the action line also? Because every 
line above ends with it too. I also ended the total attach 100 statement 
with }; because that seems the case in the rest of devd.conf.


Yes, sorry about that.  Next time I'm going to post the whole section instead 
of trying to edit it down.


To see if these changes work I'll have to reboot later because I'm updating 
my ports, and this can take a while...


There's '/etc/rc.d/devd restart', but it's probably not something to 
experiment with during updates.


After the changes in devd.conf the scanner now works as user! It has the 
user as owner and saned as group.

Thanks for the help.

Regards,
Marco
--
The Poems, all three hundred of them,
may be summed up in one of their phrases:
"Let our thoughts be correct".
-- Confucius
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Warren Block

On Fri, 30 Apr 2010, Roland Smith wrote:

On Thu, Apr 29, 2010 at 03:09:02PM -0600, Warren Block wrote:


One other difference I found in my /etc/devfs.rules:

add path 'ugen*' mode 0660 group operator
add path 'usb/*' mode 0770 group operator


Mode 0660 should be sufficient.


Just tried, and you're right, it is.

Just make sure there is a newline at the end of the last rule! 
Otherwise the shell script that processes them will not see them.


Seems like it ought to append a newline to devfs.rules before processing 
to avoid that type of surprise.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Warren Block

On Thu, 29 Apr 2010, Marco Beishuizen wrote:


On Thu, 29 Apr 2010, Warren Block wrote:


One more problem: there should be a quote at the end of the last line.

attach 100 {
device-name "ugen[0-9].[0-9]";
match "vendor" "0x04b8";
match "product" "0x010a";
action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
chown root:saned /dev/usb/${usb_devaddr}.* && \
chmod 0660 /dev/usb/${usb_devaddr}.*"


Shouldn't there be a ; at the end of the action line also? Because every line 
above ends with it too. I also ended the total attach 100 statement with }; 
because that seems the case in the rest of devd.conf.


Yes, sorry about that.  Next time I'm going to post the whole section 
instead of trying to edit it down.


To see if these changes work I'll have to reboot later because I'm updating 
my ports, and this can take a while...


There's '/etc/rc.d/devd restart', but it's probably not something to 
experiment with during updates.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Roland Smith
On Thu, Apr 29, 2010 at 03:09:02PM -0600, Warren Block wrote:
> On Thu, 29 Apr 2010, Marco Beishuizen wrote:
> 
> > On Thu, 29 Apr 2010, Warren Block wrote:
> >
> >> For the sake of completeness: devd has to be restarted after changes to 
> >> devd.conf, and the code above is only executed when the scanner is 
> >> detected 
> >> (USB cable plugged in or scanner powered on).
> >
> > I rebooted and plugged in the scanner but no changes.
> 
> One other difference I found in my /etc/devfs.rules:
> 
> add path 'ugen*' mode 0660 group operator
> add path 'usb/*' mode 0770 group operator

Mode 0660 should be sufficient. Just make sure there is a newline at the end
of the last rule! Otherwise the shell script that processes them will not see
them. The command 'devfs rule show' will tell you which rules have actually
been created.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp5KkfDzykSQ.pgp
Description: PGP signature


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Marco Beishuizen

On Thu, 29 Apr 2010, Warren Block wrote:


One more problem: there should be a quote at the end of the last line.

attach 100 {
device-name "ugen[0-9].[0-9]";
match "vendor" "0x04b8";
match "product" "0x010a";
action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
chown root:saned /dev/usb/${usb_devaddr}.* && \
chmod 0660 /dev/usb/${usb_devaddr}.*"


Shouldn't there be a ; at the end of the action line also? Because every 
line above ends with it too. I also ended the total attach 100 statement 
with }; because that seems the case in the rest of devd.conf.


To see if these changes work I'll have to reboot later because I'm 
updating my ports, and this can take a while...


Marco

--
I was in this prematurely air conditioned supermarket and there were all
these aisles and there were these bathing caps you could buy that had these
kind of Fourth of July plumes on them that were red and yellow and blue and
I wasn't tempted to buy one but I was reminded of the fact that I had been
avoiding the beach.
-- Lucinda Childs "Einstein On The Beach"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Warren Block

On Thu, 29 Apr 2010, Warren Block wrote:


On Wed, 28 Apr 2010, Warren Block wrote:

You can use devd.conf for this:

attach 100 {
   device-name "ugen[0-9].[0-9]";
   match "vendor" "0x04b8";
   match "product" "0x010a";
   action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
   chown root:saned /dev/usb/${usb_devaddr}.* && \
   chmod 0660 /dev/usb/${usb_devaddr}.*


One more problem: there should be a quote at the end of the last line.

attach 100 {
device-name "ugen[0-9].[0-9]";
match "vendor" "0x04b8";
match "product" "0x010a";
action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
chown root:saned /dev/usb/${usb_devaddr}.* && \
chmod 0660 /dev/usb/${usb_devaddr}.*"

(My fault, my script does other stuff after that.)

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Warren Block

On Thu, 29 Apr 2010, Marco Beishuizen wrote:


On Thu, 29 Apr 2010, Warren Block wrote:

For the sake of completeness: devd has to be restarted after changes to 
devd.conf, and the code above is only executed when the scanner is detected 
(USB cable plugged in or scanner powered on).


I rebooted and plugged in the scanner but no changes.


One other difference I found in my /etc/devfs.rules:

add path 'ugen*' mode 0660 group operator
add path 'usb/*' mode 0770 group operator

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Warren Block

On Thu, 29 Apr 2010, David DEMELIER wrote:

2010/4/28 Warren Block :

devfs.rules don't apply to devices that are created dynamically after
boot-up.  Or I guess they might be if you reload the ruleset with applyset
after the device is created, but devd is a lot more capable.


from devfs.rules(5) :

NAME
devfs.rules ? devfs configuration information

DESCRIPTION
The devfs.rules file provides an easy way to create and apply devfs(8)
rules, *even for devices that are not available at boot.*

But devfs.rules is specially made for device not available at boot
such as usb keys.


Apparently I was thinking of devfs.conf.  But I have had difficulties 
with devfs.rules and USB devices.


-Warren Block * Rapid City, South Dakota USA___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Marco Beishuizen

On Thu, 29 Apr 2010, Warren Block wrote:

For the sake of completeness: devd has to be restarted after changes to 
devd.conf, and the code above is only executed when the scanner is detected 
(USB cable plugged in or scanner powered on).


I rebooted and plugged in the scanner but no changes.

Marco

--
I have more hit points that you can possible imagine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Warren Block

On Thu, 29 Apr 2010, Marco Beishuizen wrote:


On Wed, 28 Apr 2010, Warren Block wrote:


You can use devd.conf for this:

attach 100 {
   device-name "ugen[0-9].[0-9]";
   match "vendor" "0x04b8";
   match "product" "0x010a";
   action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
   chown root:saned /dev/usb/${usb_devaddr}.* && \
   chmod 0660 /dev/usb/${usb_devaddr}.*

Copied from a post on -current or similar; apologies to the author, who 
I've forgotten.  I thought this was in the default devd.conf as an example, 
but it appears not.


devfs.rules don't apply to devices that are created dynamically after 
boot-up.  Or I guess they might be if you reload the ruleset with applyset 
after the device is created, but devd is a lot more capable.


Unfortunately this didn't help either (I replaced the vendor and product with 
the correct digits for my scanner, and the chown with the user name). The usb 
devices are still owned by root and not accessible as user.


For the sake of completeness: devd has to be restarted after changes to 
devd.conf, and the code above is only executed when the scanner is 
detected (USB cable plugged in or scanner powered on).


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread David DEMELIER
2010/4/28 Warren Block :
> On Wed, 28 Apr 2010, Marco Beishuizen wrote:
>
>> On Wed, 28 Apr 2010, Roland Smith wrote:
>>
>>> Are the permissions correct? Check with 'ls -l /dev/usb/ /dev/ugen*'.
>>> Is your user-id in the usb group? Check by running 'id' as the normal
>>> user.
>>>
>>> If all that is in order, remove all lines except the three above from
>>> /etc/devfs.rules, and try again.
>>
>> Running id as user looks ok:
>>
>> uid=1001(marco) gid=0(wheel) groups=0(wheel),5(operator),1001(usb)
>>
>> But the permissions are not:
>>
>> ls -l /dev/usb/ /dev/ugen*
>> lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen0.1 -> usb/0.1.0
>> lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen1.1 -> usb/1.1.0
>> lrw-rw-r--  1 root  usb  9 Apr 28 21:05 /dev/ugen1.2 -> usb/1.2.0
>> lrw-rw-r--  1 root  usb  9 Apr 28 21:05 /dev/ugen1.3 -> usb/1.3.0
>> lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen2.1 -> usb/2.1.0
>>
>> /dev/usb/:
>> total 0
>> crw---  1 root  operator    0,  87 Apr 28 19:05 0.1.0
>> crw---  1 root  operator    0,  93 Apr 28 19:05 0.1.1
>> crw---  1 root  operator    0,  89 Apr 28 19:05 1.1.0
>> crw---  1 root  operator    0,  94 Apr 28 19:05 1.1.1
>> crw---  1 root  operator    0, 104 Apr 28 21:05 1.2.0
>> crw---  1 root  operator    0, 105 Apr 28 21:05 1.2.1
>> crw---  1 root  operator    0, 117 Apr 28 21:05 1.3.0
>> crw---  1 root  operator    0, 119 Apr 28 21:05 1.3.1
>> crw---  1 root  operator    0,  91 Apr 28 19:05 2.1.0
>> crw---  1 root  operator    0,  95 Apr 28 19:05 2.1.1
>
> You can use devd.conf for this:
>
> attach 100 {
>        device-name "ugen[0-9].[0-9]";
>        match "vendor" "0x04b8";
>        match "product" "0x010a";
>        action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
>                chown root:saned /dev/usb/${usb_devaddr}.* && \
>                chmod 0660 /dev/usb/${usb_devaddr}.*
>
> Copied from a post on -current or similar; apologies to the author, who I've
> forgotten.  I thought this was in the default devd.conf as an example, but
> it appears not.
>
> devfs.rules don't apply to devices that are created dynamically after
> boot-up.  Or I guess they might be if you reload the ruleset with applyset
> after the device is created, but devd is a lot more capable.
>
from devfs.rules(5) :

NAME
 devfs.rules — devfs configuration information

DESCRIPTION
 The devfs.rules file provides an easy way to create and apply devfs(8)
 rules, *even for devices that are not available at boot.*

But devfs.rules is specially made for device not available at boot
such as usb keys.

> -Warren Block * Rapid City, South Dakota USA
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>



-- 
Demelier David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Marco Beishuizen

On Wed, 28 Apr 2010, Warren Block wrote:


You can use devd.conf for this:

attach 100 {
   device-name "ugen[0-9].[0-9]";
   match "vendor" "0x04b8";
   match "product" "0x010a";
   action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
   chown root:saned /dev/usb/${usb_devaddr}.* && \
   chmod 0660 /dev/usb/${usb_devaddr}.*

Copied from a post on -current or similar; apologies to the author, who I've 
forgotten.  I thought this was in the default devd.conf as an example, but it 
appears not.


devfs.rules don't apply to devices that are created dynamically after 
boot-up.  Or I guess they might be if you reload the ruleset with applyset 
after the device is created, but devd is a lot more capable.


Unfortunately this didn't help either (I replaced the vendor and product 
with the correct digits for my scanner, and the chown with the user name). 
The usb devices are still owned by root and not accessible as user.


Marco
--
You have the capacity to learn from mistakes.
You'll learn a lot today.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-28 Thread Roland Smith
On Wed, Apr 28, 2010 at 09:00:40PM +0200, Marco Beishuizen wrote:
> On Wed, 28 Apr 2010, Roland Smith wrote:
> 
> > Are the permissions correct? Check with 'ls -l /dev/usb/ /dev/ugen*'.
> > Is your user-id in the usb group? Check by running 'id' as the normal user.
> >
> > If all that is in order, remove all lines except the three above from
> > /etc/devfs.rules, and try again.
> 
> Running id as user looks ok:
> 
> uid=1001(marco) gid=0(wheel) groups=0(wheel),5(operator),1001(usb)
> 
> But the permissions are not:
> 
> ls -l /dev/usb/ /dev/ugen*
> lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen0.1 -> usb/0.1.0
> lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen1.1 -> usb/1.1.0
> lrw-rw-r--  1 root  usb  9 Apr 28 21:05 /dev/ugen1.2 -> usb/1.2.0
> lrw-rw-r--  1 root  usb  9 Apr 28 21:05 /dev/ugen1.3 -> usb/1.3.0
> lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen2.1 -> usb/2.1.0
> 
> /dev/usb/:
> total 0
> crw---  1 root  operator0,  87 Apr 28 19:05 0.1.0
> crw---  1 root  operator0,  93 Apr 28 19:05 0.1.1
> crw---  1 root  operator0,  89 Apr 28 19:05 1.1.0
> crw---  1 root  operator0,  94 Apr 28 19:05 1.1.1
> crw---  1 root  operator0, 104 Apr 28 21:05 1.2.0
> crw---  1 root  operator0, 105 Apr 28 21:05 1.2.1
> crw---  1 root  operator0, 117 Apr 28 21:05 1.3.0
> crw---  1 root  operator0, 119 Apr 28 21:05 1.3.1
> crw---  1 root  operator0,  91 Apr 28 19:05 2.1.0
> crw---  1 root  operator0,  95 Apr 28 19:05 2.1.1

In that case I think that there is something wrong with your rules. Running
'devfs rule show' should show the current active ruleset.

Make sure that there is a newline at the end of your 'usb/*' rule! Otherwise
the shell script that parses /etc/devfs.rules will not spot the last line.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpn7ALzF82Vj.pgp
Description: PGP signature


Re: Using a scanner (USB) as user and not as root

2010-04-28 Thread Warren Block

On Wed, 28 Apr 2010, Marco Beishuizen wrote:


On Wed, 28 Apr 2010, Roland Smith wrote:


Are the permissions correct? Check with 'ls -l /dev/usb/ /dev/ugen*'.
Is your user-id in the usb group? Check by running 'id' as the normal user.

If all that is in order, remove all lines except the three above from
/etc/devfs.rules, and try again.


Running id as user looks ok:

uid=1001(marco) gid=0(wheel) groups=0(wheel),5(operator),1001(usb)

But the permissions are not:

ls -l /dev/usb/ /dev/ugen*
lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen0.1 -> usb/0.1.0
lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen1.1 -> usb/1.1.0
lrw-rw-r--  1 root  usb  9 Apr 28 21:05 /dev/ugen1.2 -> usb/1.2.0
lrw-rw-r--  1 root  usb  9 Apr 28 21:05 /dev/ugen1.3 -> usb/1.3.0
lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen2.1 -> usb/2.1.0

/dev/usb/:
total 0
crw---  1 root  operator0,  87 Apr 28 19:05 0.1.0
crw---  1 root  operator0,  93 Apr 28 19:05 0.1.1
crw---  1 root  operator0,  89 Apr 28 19:05 1.1.0
crw---  1 root  operator0,  94 Apr 28 19:05 1.1.1
crw---  1 root  operator0, 104 Apr 28 21:05 1.2.0
crw---  1 root  operator0, 105 Apr 28 21:05 1.2.1
crw---  1 root  operator0, 117 Apr 28 21:05 1.3.0
crw---  1 root  operator0, 119 Apr 28 21:05 1.3.1
crw---  1 root  operator0,  91 Apr 28 19:05 2.1.0
crw---  1 root  operator0,  95 Apr 28 19:05 2.1.1


You can use devd.conf for this:

attach 100 {
device-name "ugen[0-9].[0-9]";
match "vendor" "0x04b8";
match "product" "0x010a";
action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
chown root:saned /dev/usb/${usb_devaddr}.* && \
chmod 0660 /dev/usb/${usb_devaddr}.*

Copied from a post on -current or similar; apologies to the author, who 
I've forgotten.  I thought this was in the default devd.conf as an 
example, but it appears not.


devfs.rules don't apply to devices that are created dynamically after 
boot-up.  Or I guess they might be if you reload the ruleset with 
applyset after the device is created, but devd is a lot more capable.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-28 Thread Marco Beishuizen

On Wed, 28 Apr 2010, Roland Smith wrote:


Are the permissions correct? Check with 'ls -l /dev/usb/ /dev/ugen*'.
Is your user-id in the usb group? Check by running 'id' as the normal user.

If all that is in order, remove all lines except the three above from
/etc/devfs.rules, and try again.


Running id as user looks ok:

uid=1001(marco) gid=0(wheel) groups=0(wheel),5(operator),1001(usb)

But the permissions are not:

ls -l /dev/usb/ /dev/ugen*
lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen0.1 -> usb/0.1.0
lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen1.1 -> usb/1.1.0
lrw-rw-r--  1 root  usb  9 Apr 28 21:05 /dev/ugen1.2 -> usb/1.2.0
lrw-rw-r--  1 root  usb  9 Apr 28 21:05 /dev/ugen1.3 -> usb/1.3.0
lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen2.1 -> usb/2.1.0

/dev/usb/:
total 0
crw---  1 root  operator0,  87 Apr 28 19:05 0.1.0
crw---  1 root  operator0,  93 Apr 28 19:05 0.1.1
crw---  1 root  operator0,  89 Apr 28 19:05 1.1.0
crw---  1 root  operator0,  94 Apr 28 19:05 1.1.1
crw---  1 root  operator0, 104 Apr 28 21:05 1.2.0
crw---  1 root  operator0, 105 Apr 28 21:05 1.2.1
crw---  1 root  operator0, 117 Apr 28 21:05 1.3.0
crw---  1 root  operator0, 119 Apr 28 21:05 1.3.1
crw---  1 root  operator0,  91 Apr 28 19:05 2.1.0
crw---  1 root  operator0,  95 Apr 28 19:05 2.1.1

Regards,
Marco
--
Be braver -- you can't cross a chasm in two small jumps.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-28 Thread Roland Smith
On Wed, Apr 28, 2010 at 07:50:04PM +0200, Marco Beishuizen wrote:
> Hi,
> 
> I have a flatbed scanner (a HP ScanJet 4400c) that works with SANE (and 
> Xsane), but only as root and I want to access it as user. After some 
> googling and reading the handbook I copied the default file 
> /etc/defaults/devfs.rules to /etc/ and added the lines:
> 
> [system=5]
> add path 'ugen*' mode 0664 group usb
> add path 'usb/*' mode 0666 group usb
> 
> and also made the group usb with root and the user in /etc/group.
> I also added devfs_system_ruleset="system" to /etc/rc.conf.
> 
> After a reboot, USB and the scanner are still only accessible as root and 
> not as user. What am I doing wrong?

Are the permissions correct? Check with 'ls -l /dev/usb/ /dev/ugen*'.
Is your user-id in the usb group? Check by running 'id' as the normal user.

If all that is in order, remove all lines except the three above from
/etc/devfs.rules, and try again.

-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpv3hIRSjxM7.pgp
Description: PGP signature


Using a scanner (USB) as user and not as root

2010-04-28 Thread Marco Beishuizen

Hi,

I have a flatbed scanner (a HP ScanJet 4400c) that works with SANE (and 
Xsane), but only as root and I want to access it as user. After some 
googling and reading the handbook I copied the default file 
/etc/defaults/devfs.rules to /etc/ and added the lines:


[system=5]
add path 'ugen*' mode 0664 group usb
add path 'usb/*' mode 0666 group usb

and also made the group usb with root and the user in /etc/group.
I also added devfs_system_ruleset="system" to /etc/rc.conf.

After a reboot, USB and the scanner are still only accessible as root and 
not as user. What am I doing wrong?


Thanks in advance.

Marco
--
Alan Turing thought about criteria to settle the question of whether
machines can think, a question of which we now know that it is about
as relevant as the question of whether submarines can swim.
-- Edsger W. Dijkstra
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Microvision ROV scanner and FreeBSD

2009-08-03 Thread Kurt Buff
On Mon, Aug 3, 2009 at 11:54, Roland Smith wrote:
> On Mon, Aug 03, 2009 at 11:29:23AM -0700, Kurt Buff wrote:
>> All,
>>
>> I just purchased one of the units mentioned in the subject line
>> (http://www.microvision.com/store/ROV-Scanner-p-1.html), and want to
>> use it under FreeBSD.
>
> According to https://help.ubuntu.com/community/BarcodeReaders it can
> work as a virtual USB keyboard.
>
> Roland
> --
> R.F.Smith                                   http://www.xs4all.nl/~rsmith/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Yeah, I'm looking at that, but it doesn't support batch use, just the
equivalent of tethered use. Kinda negates the usefulness of the thing,
I think.

After a bit more searching, I see that there's a BlackBerry interface
written in Java mentioned on the Microvision web site, but don't know
what its capabilities are. I've also found a pay Java program called
Readerware (http://www.readerware.com/rwJava2.html) that might be able
to run under FreeBSD, but was hoping for something open source.

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Microvision ROV scanner and FreeBSD

2009-08-03 Thread Roland Smith
On Mon, Aug 03, 2009 at 11:29:23AM -0700, Kurt Buff wrote:
> All,
> 
> I just purchased one of the units mentioned in the subject line
> (http://www.microvision.com/store/ROV-Scanner-p-1.html), and want to
> use it under FreeBSD.

According to https://help.ubuntu.com/community/BarcodeReaders it can
work as a virtual USB keyboard.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpfKBwRl92uB.pgp
Description: PGP signature


Microvision ROV scanner and FreeBSD

2009-08-03 Thread Kurt Buff
All,

I just purchased one of the units mentioned in the subject line
(http://www.microvision.com/store/ROV-Scanner-p-1.html), and want to
use it under FreeBSD.

See this link:
http://www.microvision.com/store/ROV-Scanner-p-1.html


I've found a couple of packages that might work, but either don't see
them in the ports tree, or don't know if they support batch
downloading from a scanner:

Alexandria
http://alexadria.rubyforge.org

datacrow
http://www.datacrow.net

Koha
http://koha.org

Open-ILS
http://open-ils.org

Has anyone on this list worked with this scanner, or will this be a
rather complete learning experience?

Thanks,

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: local security scanner for vulnerable common opensource www projects

2009-05-05 Thread Mel Flynn
On Wednesday 06 May 2009 00:01:12 Jeroen Hofstee wrote:
> Mel Flynn schreef:
> > You can do that, the issue is plugins:
> > 0) SuperCMS v 1.0 installed
> > 1) CoolStuff via webinterface, by SuperCMSNr1Fan, version 0.1.0.1beta
> > 2) SuperCMS v 1.0.1 security release, changes some issues with plugin
> > handling 3) CoolStuff's maintainer is now known as CompetitorCMSNr1Fan
> > 4) CoolStuff still works, because of backwards compatibility, but now is
> > insecure.
> >
> > Stuff like this goes back to the phpNukeYourSite days.
>
> I understand that there are allot of caveats and that is quite some work
> to create a full blown checker, especially with
> plugins. But as far as I am corcerned, finding the easy to locate
> vultnerable script is already better then doing nothing.

Agreed, as long as the client does not assume you are responsible. Portaudit 
will go a long way then. Which version of a plugin is installed is not always 
available in the file system, some store that in the database.
To ease your work, you may want to replace custom installed software with the 
corresponding port if available. This will go for a lot of stuff, including 
joomla and the various nuke forks. 
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: local security scanner for vulnerable common opensource www projects

2009-05-05 Thread Jeroen Hofstee

Mel Flynn schreef:

You can do that, the issue is plugins:
0) SuperCMS v 1.0 installed
1) CoolStuff via webinterface, by SuperCMSNr1Fan, version 0.1.0.1beta
2) SuperCMS v 1.0.1 security release, changes some issues with plugin 
handling

3) CoolStuff's maintainer is now known as CompetitorCMSNr1Fan
4) CoolStuff still works, because of backwards compatibility, but now 
is insecure.


Stuff like this goes back to the phpNukeYourSite days.
  
I understand that there are allot of caveats and that is quite some work 
to create a full blown checker, especially with
plugins. But as far as I am corcerned, finding the easy to locate 
vultnerable script is already better then doing nothing.


Jeroen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: local security scanner for vulnerable common opensource www projects

2009-05-05 Thread Mel Flynn
On Tuesday 05 May 2009 22:04:27 Jeroen Hofstee wrote:
> Mel Flynn schreef:
> > On Saturday 02 May 2009 14:50:14 Jeroen Hofstee wrote:
> >> I tried to find a program which could scan the local filesystem and
> >> extract a lists of well known web projects (joomla, wordpress etc)
> >
> > Not that I'm aware of and it's hell to write and keep current.
>
> k, pitty. Although user can be jailed, it is still a bit unconfortable
> experience for users if their website looks
> somewhat different then they are used to; or their message board
> suddenly contains 2 additional post,
> albeit due to their own lack of maintaining the scripts behind it. A
> reminder that their script has known
> vulnerabities would therefore be nice, even if it doesn't pose a direct
> risk to the system as a whole.

I understand the problem.

> Most of these open source projects are in the ports, so the portaudit db
> will contain vulnerability information
> for them. If I find time, I will have a look if it is possible to match
> against that db.

You can do that, the issue is plugins:
0) SuperCMS v 1.0 installed
1) CoolStuff via webinterface, by SuperCMSNr1Fan, version 0.1.0.1beta
2) SuperCMS v 1.0.1 security release, changes some issues with plugin handling
3) CoolStuff's maintainer is now known as CompetitorCMSNr1Fan
4) CoolStuff still works, because of backwards compatibility, but now is 
insecure.

Stuff like this goes back to the phpNukeYourSite days.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: local security scanner for vulnerable common opensource www projects

2009-05-05 Thread Jeroen Hofstee

Mel Flynn schreef:

On Saturday 02 May 2009 14:50:14 Jeroen Hofstee wrote:
 

I tried to find a program which could scan the local filesystem and
extract a lists of well known web projects (joomla, wordpress etc)

Not that I'm aware of and it's hell to write and keep current.
  
k, pitty. Although user can be jailed, it is still a bit unconfortable 
experience for users if their website looks
somewhat different then they are used to; or their message board 
suddenly contains 2 additional post,
albeit due to their own lack of maintaining the scripts behind it. A 
reminder that their script has known
vulnerabities would therefore be nice, even if it doesn't pose a direct 
risk to the system as a whole.


Most of these open source projects are in the ports, so the portaudit db 
will contain vulnerability information
for them. If I find time, I will have a look if it is possible to match 
against that db.


Jeroen



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: local security scanner for vulnerable common opensource www projects

2009-05-05 Thread Mel Flynn
On Saturday 02 May 2009 14:50:14 Jeroen Hofstee wrote:
> I tried to find a program which could scan the local filesystem and
> extract a lists of well known
> web projects (yoomla, wordpress etc), extract the installed version
> number and match it against
> a database of known vulnerabilities. Similiar to portaudit, but then for
> the standard scripts users
> install themselves. I was unable to find such a program in the ports.
>
> Does such an utilities exists for FreeBSD ?

Not that I'm aware of and it's hell to write and keep current.
There's 2 good policies for this kind of thing:
- Don't allow any plugins of any kind to be installed via CMS/Gallery software 
etc. and deal with the complaints
- Put them in a seperate jail and make sure client understands he's 
responsible for getting hacked and loosing hours of work by installing unsafe 
plugins.

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


local security scanner for vulnerable common opensource www projects

2009-05-02 Thread Jeroen Hofstee
I tried to find a program which could scan the local filesystem and 
extract a lists of well known
web projects (yoomla, wordpress etc), extract the installed version 
number and match it against
a database of known vulnerabilities. Similiar to portaudit, but then for 
the standard scripts users

install themselves. I was unable to find such a program in the ports.

Does such an utilities exists for FreeBSD ?

Jeroen


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: scanner setup question

2008-12-31 Thread stan
On Wed, Dec 31, 2008 at 12:52:40PM -0500, stan wrote:
> I am trying to set up a new machine that has an HP scanner atached to it. I
> am a bit confused at the moment.
> 
> I am trying to set up to allow users to acess this scanner. I have added
> this to /etc/devfs.conf
> 
> perm pass0 0660
> 
> And that seesm to work:
> 
> # ls -l /dev/pas*
> crw-rw  1 root  operator0, 104 Dec 31 12:07 /dev/pass0
> 
> I have added my suer to the operator group
> 
> # grep stan /etc/gro*
> wheel:*:0:root,stan
> operator:*:5:root,stan
> network:*:69:stan
> stan:*:210:
> 
> Running san-find-scanner as me finds the sacnner:
> 
> 
> found SCSI processor "HP C2520A 3503" at /dev/pass0
> 
> But, 
> 
> $  scanimage -L
> 
> 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).
> 
> What am I doing wrong?
> 
> 
> BTW as root:
> 
> # scanimage -L
> device `hp:/dev/pass0' is a Hewlett-Packard C2520A flatbed scanner
> 
I did finally resolve this, although I am not certain whu this works. I
woulnd up putting the following 3 lines in /etc/devfs.conf

own pass0   root:operator
permpass0 0660
linkpass0   scanner

The one I did not have in here, when it was not working was the link.
Strange that tunning as root sane checks the pass0 device, but noot when
running as an ordianry user.

-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: scanner setup question

2008-12-31 Thread Mel
On Wednesday 31 December 2008 08:52:40 stan wrote:
> I am trying to set up a new machine that has an HP scanner atached to it. I
> am a bit confused at the moment.
>
> I am trying to set up to allow users to acess this scanner. I have added
> this to /etc/devfs.conf
>
> perm pass0 0660
>
> And that seesm to work:
>
> # ls -l /dev/pas*
> crw-rw  1 root  operator0, 104 Dec 31 12:07 /dev/pass0
>
> I have added my suer to the operator group
>
> # grep stan /etc/gro*
> wheel:*:0:root,stan
> operator:*:5:root,stan
> network:*:69:stan
> stan:*:210:
>
> Running san-find-scanner as me finds the sacnner:
>
>
> found SCSI processor "HP C2520A 3503" at /dev/pass0
>
> But,
>
> $  scanimage -L
>
> 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).
>
> What am I doing wrong?

No experience with a scanner, but for a CD writer you also need access to the 
xpt device. It's worth a shot.


-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


scanner setup question

2008-12-31 Thread stan
I am trying to set up a new machine that has an HP scanner atached to it. I
am a bit confused at the moment.

I am trying to set up to allow users to acess this scanner. I have added
this to /etc/devfs.conf

perm pass0 0660

And that seesm to work:

# ls -l /dev/pas*
crw-rw  1 root  operator0, 104 Dec 31 12:07 /dev/pass0

I have added my suer to the operator group

# grep stan /etc/gro*
wheel:*:0:root,stan
operator:*:5:root,stan
network:*:69:stan
stan:*:210:

Running san-find-scanner as me finds the sacnner:


found SCSI processor "HP C2520A 3503" at /dev/pass0

But, 

$  scanimage -L

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).

What am I doing wrong?


BTW as root:

# scanimage -L
device `hp:/dev/pass0' is a Hewlett-Packard C2520A flatbed scanner



-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Scanner

2008-10-01 Thread Roland Smith
On Wed, Oct 01, 2008 at 07:28:29PM +0300, John Vliouras wrote:
> I wonder if this is the right place to ask a question regarding FreeBsd7
> and the Handbook.

> The problem is my scanner a Canon Lide 60. Running #scanimage -L I get
> "device `genesys:libusb:/dev/usb1:/dev/ugen0' is a Canon Lide 60 flatbed
> scanner" which is right and it shows up with xsane as root (when I am
> lucky to use xsane as root in gnome)

> I cannot find "/etc/devfs.rules" file, it does not exist. I tried to
> make one adding what I was instructed, to no avail. I tried to put
> "[system=5]" etc in the "/etc/defaults/devfs.rules" file, which exists,
> but it did not work either.

A new install doesn't have a devfs.rules file. You must create it.

What I did to get my scanner and other devices working is the following;

- Use pw(8) to create a group named usb, adding my user-id to the group:

 pw groupadd -n usb -m my_user_id

- Write /etc/devfs.rules to give the usb group access:

 [customruleset=10]
 add path 'da*' mode 0660 group usb
 add path 'msdosfs/*' mode 0660 group usb
 add path 'uscanner*' mode 0660 group usb
 add path 'usb*' mode 0660 group usb
 add path 'ugen*' mode 0660 group usb

  (The third 'add' line is for the scanner.)

- Activate the ruleset in /etc/rc.conf:

 devfs_system_ruleset="customruleset"

- Now either reboot the machine, or restart devfs using 
  '/etc/rc.d/devfs restart'

- Then plug in the scanner and switch it on. You should see
  /dev/uscanner appear with the right permissions.

For the scanner to work in sane, you might need to edit its
configuration files. You should edit /usr/local/etc/sane.d/dll.conf to
make it load the genesys backend. (just add a line 'genesys' if not
present.) The LiDE 60 is listed in /usr/local/etc/sane.d/genesys.conf,
but if it doesn't work, add a line 'usb /dev/uscanner0' to genesys.conf.

On my FreeBSD page[1] I documented the system configuration that I did
on my machine. You might find it usefull.

Roland

[1] http://www.xs4all.nl/~rsmith/freebsd/index.html
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpRWQaMjgnmV.pgp
Description: PGP signature


Re: Scanner

2008-10-01 Thread Kevin Kinsey

John Vliouras wrote:

I wonder if this is the right place to ask a question regarding FreeBsd7
and the Handbook.


It is, unless you have a specific "fix" (patch) for the handbook, in which
case you send a PR and/or discuss it on the doc@ list (generally send a PR
is correct; doc@ is a list for use by the doc writers, so it should be pretty
important before we bother them).


I have installed FreeBsd7 both i386 and amd64 architectures in two
macines, one celeron dual core with 1GB, the other amd64x2 3800+ ,and I
have problem with my scanner.





The problem is my scanner a Canon Lide 60. Running #scanimage -L I get
"device `genesys:libusb:/dev/usb1:/dev/ugen0' is a Canon Lide 60 flatbed
scanner" which is right and it shows up with xsane as root (when I am
lucky to use xsane as root in gnome)

Now trying to: "7.6.4 Giving Other Users Access to the Scanner

All previous operations have been done with root privileges. You may
however, need other users to have access to the scanner. The user will
need read and write permissions to the device node used by the scanner.
As an example, our USB scanner uses the device node /dev/uscanner0 which
is owned by the operator group. Adding the user joe to the operator
group will allow him to use the scanner:

# pw groupmod operator -m joe

For more details read the pw(8) manual page. You also have to set the
correct write permissions (0660 or 0664) on the /dev/uscanner0 device
node, by default the operator group can only read the device node. This
is done by adding the following lines to the /etc/devfs.rules file:

[system=5]
add path uscanner0 mode 660


Since your device is "ugen0" instead of "uscanner0", you
might try adjusting the line to fit that.


Then add the following to /etc/rc.conf and reboot the machine:

devfs_system_ruleset="system"

More information regarding these lines can be found in the devfs(8)
manual page.

Note: Of course, for security reasons, you should think twice before
adding a user to any group, especially the operator group."

I cannot find "/etc/devfs.rules" file, it does not exist. I tried to
make one adding what I was instructed, to no avail. I tried to put
"[system=5]" etc in the "/etc/defaults/devfs.rules" file, which exists,
but it did not work either.


Well, you didn't find /etc/devfs.rules because it's not created by default,
but only is used if additional local configuration is needed (for example,
to change permissions on a scanners /dev/ node).  :-)

Creating the file in /etc/ is the way to go.  Perhaps if you note what
I said above it will work for you this time.  However, IANAE, some it
may not, (YMMV, #include "disclaimer.h" and all that).


I suppose I must be doing something wrong. Please bear in mind that this
is my first time that I am using the command line. I have been able to
thanks to the very easy and instructive FreeBSD's handbook.


It is nice, isn't it?  :-)


Thank you,

John Vliouras


Kevin Kinsey
--
Don't despise your poor relations, they may become suddenly rich one day.
-- Josh Billings
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Scanner

2008-10-01 Thread John Vliouras
I wonder if this is the right place to ask a question regarding FreeBsd7
and the Handbook.

I have installed FreeBsd7 both i386 and amd64 architectures in two
macines, one celeron dual core with 1GB, the other amd64x2 3800+ ,and I
have problem with my scanner.

I repeat here my thread to DaemonForums-BSD forum, which is self
expanatory. Please bear in mind that I am new to computing and know a
little bit only about Linux. I have not used any other operating system.

Here it is:

hello everybody,

I am a computer newby, learning Linux and started with FreeBSD lately.
The only OSs I know about.

I am struggling with FreeBSD7 both as an i386 and amd64 architecture.

The problem is my scanner a Canon Lide 60. Running #scanimage -L I get
"device `genesys:libusb:/dev/usb1:/dev/ugen0' is a Canon Lide 60 flatbed
scanner" which is right and it shows up with xsane as root (when I am
lucky to use xsane as root in gnome)

Now trying to: "7.6.4 Giving Other Users Access to the Scanner

All previous operations have been done with root privileges. You may
however, need other users to have access to the scanner. The user will
need read and write permissions to the device node used by the scanner.
As an example, our USB scanner uses the device node /dev/uscanner0 which
is owned by the operator group. Adding the user joe to the operator
group will allow him to use the scanner:

# pw groupmod operator -m joe

For more details read the pw(8) manual page. You also have to set the
correct write permissions (0660 or 0664) on the /dev/uscanner0 device
node, by default the operator group can only read the device node. This
is done by adding the following lines to the /etc/devfs.rules file:

[system=5]
add path uscanner0 mode 660

Then add the following to /etc/rc.conf and reboot the machine:

devfs_system_ruleset="system"

More information regarding these lines can be found in the devfs(8)
manual page.

Note: Of course, for security reasons, you should think twice before
adding a user to any group, especially the operator group."

I cannot find "/etc/devfs.rules" file, it does not exist. I tried to
make one adding what I was instructed, to no avail. I tried to put
"[system=5]" etc in the "/etc/defaults/devfs.rules" file, which exists,
but it did not work either.

I suppose I must be doing something wrong. Please bear in mind that this
is my first time that I am using the command line. I have been able to
thanks to the very easy and instructive FreeBSD's handbook.

If you know why "/etc/devfs.rules" file is missing from both i386 and
amd64 installations and what I can do if anything, please inform me.

Thank you very much for your efort,


borgibo
Edit/Delete Message
<http://daemonforums.org/editpost.php?do=editpost&p=15181>

If this is the wrong place to ask please correct me.


Thank you,

John Vliouras
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to test an unsupported scanner (CanoScan LiDe 90)?

2008-09-14 Thread Peter Ulrich Kruppa

Hello!
Polytropon schrieb:

Hi!

On Sun, 14 Sep 2008 11:40:54 +0200, Peter Ulrich Kruppa
<[EMAIL PROTECTED]> wrote:

Peter Ulrich Kruppa schrieb:
I have purchased a scanner yet unsupported by sane 
(CanoScan LiDe 90).


Mayve the SANE team will get this scanner to work later on.
But at this point in time, the scanner will be outdated. :-)

Perhaps they can get it running before my WinXP laptop is
outdated :-)
Actually I wonder if I have got a general communication problem
between FreeBSD and the scanner or if the sane-backend itself is 
unusable. If I could make the scanner react somehow I could ask 
people on sane-devel list for good ideas.


Greetings,

Uli.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to test an unsupported scanner (CanoScan LiDe 90)?

2008-09-14 Thread Polytropon
Hi!

Seems that the CanoScan LiDe 90 is one of the scanners built by
Canon that are not supported well. That's a reason to avoid them. :-)
I had similar issues with a LiDE 45 (I think it was), and I did
soon replace it with a SCSI scanner that worked out of the box
without problems.

On Sun, 14 Sep 2008 11:40:54 +0200, Peter Ulrich Kruppa <[EMAIL PROTECTED]> 
wrote:
> Peter Ulrich Kruppa schrieb:
> > I have purchased a scanner yet unsupported by sane
> > (CanoScan LiDe 90).

Mayve the SANE team will get this scanner to work later on. But
at this point in time, the scanner will be outdated. :-)


> In the meantime I have played around a little bit:
> I put vendor and product id's into
> /usr/src/sys/dev/usb/uscanner.c and usbdevs and rebuilt
> my kernel.
> So now I get
># dmesg | grep uscanner
>uscanner0: addr 2> on uhub1
> which changes:
># sane-find-scanner -q
>found USB scanner (vendor=0x04a9, product=0x1900) at
>/dev/uscanner0
> Also I tried an appropriate entry in
> /usr/local/etc/sane/genesys.conf  
> but the result of
># scanimage -L
> remains the same (not identified) and
># scanimage -d genesys:/dev/uscanner0 > image.pnm
>scanimage: open of device genesys:/dev/uscanner0 failed:
>Invalid argument

This indicates that this scanner works differently than those
usually supported by the genesys backend. I "love" Canon for
making things complicated exactly this way.

Maybe this scanner is compatible to another driver, but that's
only a guess. Maybe it's not compatible to anything that exists.



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to test an unsupported scanner (CanoScan LiDe 90)?

2008-09-14 Thread Peter Ulrich Kruppa

Peter Ulrich Kruppa schrieb:

I have purchased a scanner yet unsupported by sane
(CanoScan LiDe 90). It is at least detected by

  # sane-find-scanner -q
  found USB scanner (vendor=0x04a9 [Canon], product=0x1900
  [CanoScan], chip=GL842) at libusb:/dev/usb1:/dev/ugen0

- No /dev/uscanner0 is produced.
-  # scanimage -L
  says no scanners were identified.

I would like to test if it might work with sane-genesys
backend.
How can I do this?
I am running FreeBSD 7.1-PRERELEASE amd64 .

In the meantime I have played around a little bit:
I put vendor and product id's into
/usr/src/sys/dev/usb/uscanner.c and usbdevs and rebuilt
my kernel.
So now I get
  # dmesg | grep uscanner
  uscanner0:  on uhub1
which changes:
  # sane-find-scanner -q
  found USB scanner (vendor=0x04a9, product=0x1900) at
  /dev/uscanner0
Also I tried an appropriate entry in
/usr/local/etc/sane/genesys.conf
but the result of
  # scanimage -L
remains the same (not identified) and
  # scanimage -d genesys:/dev/uscanner0 > image.pnm
  scanimage: open of device genesys:/dev/uscanner0 failed:
  Invalid argument

Greetings,

Uli.








Thanks for your answers, comments, help, etc..

Greetings,

Uli.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to test an unsupported scanner (CanoScan LiDe 90)?

2008-09-13 Thread Peter Ulrich Kruppa

Hello list,

I have purchased a scanner yet unsupported by sane
(CanoScan LiDe 90). It is at least detected by

  # sane-find-scanner -q
  found USB scanner (vendor=0x04a9 [Canon], product=0x1900
  [CanoScan], chip=GL842) at libusb:/dev/usb1:/dev/ugen0

- No /dev/uscanner0 is produced.
-  # scanimage -L
  says no scanners were identified.

I would like to test if it might work with sane-genesys
backend.
How can I do this?
I am running FreeBSD 7.1-PRERELEASE amd64 .



Thanks for your answers, comments, help, etc..

Greetings,

Uli.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: devfs and scanner

2008-05-23 Thread Glyn Millington
Sébastien Morand <[EMAIL PROTECTED]> writes:

>> Is the uscanner0 device  also dealt with in /etc/devfs.rules ?
>>
>
> I don't have such a file, is devd.conf the same purpose?

No it isn't.


/etc/devfs.conf deals with devices avaiable at boot time - cdrom drives
etc

devices that are plugged in and unplugged - usb gadgets like scanners :-)
- are handled by /etc/devfs.rules


So get rid of that entry in /etc/devfs.conf and insert the right thing in
/etc/devfs.rules

Mine looks like this:-


[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups
## Glyn added these below
add path 'da*'  mode 0660 group operator
add path 'uscanner*' mode 0660 group operator
add path 'tap*' mode 0660 group operator

You will want to change operator to scanner for your scanner group. 




That first line gives the ruleset a name and a number; then in
/etc/rc.conf you should put the line

devfs_system_ruleset="system"

That should work after a reboot.

atb


Glyn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: devfs and scanner

2008-05-23 Thread Sébastien Morand

Is the uscanner0 device  also dealt with in /etc/devfs.rules ?



I don't have such a file, is devd.conf the same purpose?

Sebastien
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: devfs and scanner

2008-05-22 Thread Roland Smith
On Thu, May 22, 2008 at 09:26:59PM +, Sébastien Morand wrote:
> Hi
> 
> a would like to up my scanner automatically ofr regular user, so I create 
> theses lines in devfs.conf:
> link  uscanner0   scanner
> perm  uscanner0   0660
> own   uscanner0   root:scanner
> 
> I create the group scanner and add the user in it, but it doesn't work. 
> When I plug the scanner I get:
> $ ls -l /dev/uscanner0
> crw-r--r--  1 root  operator0, 124 May 22 21:25 /dev/uscanner0
> 
> And what I would like is:
> crw-rw-r--  1 root  scanner0, 124 May 22 21:25 /dev/uscanner0
> 
> How can I achieve this?

Devfs.conf only deals with devices available at boot. For hotpluggable
devices like USB, use devfs.rules. See the devfs.rules manual page.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpDIzAb8oiNC.pgp
Description: PGP signature


Re: devfs and scanner

2008-05-22 Thread Glyn Millington
Sébastien Morand <[EMAIL PROTECTED]> writes:

> Hi
>
> a would like to up my scanner automatically ofr regular user, so I
> create theses lines in devfs.conf:
> link  uscanner0   scanner
> perm  uscanner0   0660
> own   uscanner0   root:scanner
>
> I create the group scanner and add the user in it, but it doesn't
> work. When I plug the scanner I get:
> $ ls -l /dev/uscanner0
> crw-r--r--  1 root  operator0, 124 May 22 21:25 /dev/uscanner0
>
> And what I would like is:
> crw-rw-r--  1 root  scanner0, 124 May 22 21:25 /dev/uscanner0
>
> How can I achieve this?

Is the uscanner0 device  also dealt with in /etc/devfs.rules ?

atb

Glyn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


devfs and scanner

2008-05-22 Thread Sébastien Morand

Hi

a would like to up my scanner automatically ofr regular user, so I create theses 
lines in devfs.conf:

linkuscanner0   scanner
permuscanner0   0660
own uscanner0   root:scanner

I create the group scanner and add the user in it, but it doesn't work. When I 
plug the scanner I get:

$ ls -l /dev/uscanner0
crw-r--r--  1 root  operator0, 124 May 22 21:25 /dev/uscanner0

And what I would like is:
crw-rw-r--  1 root  scanner0, 124 May 22 21:25 /dev/uscanner0

How can I achieve this?

Thanks
Sebastien
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: usb scanner

2008-03-04 Thread Wojciech Puchar

ugen0: setting configuration index 0 failed
device_attach: ugen0 attach returned 6
ugen0: at uhub0 port 1 (addr 2) disconnected


and even /dev/ugen* doesn't exist so sane-find-scanner is unable to find 
anything


FreeBSD usually uses /dev/uscanner0  as a device node for scanners (and 
driver uscanner)unless you are using HPLIP driver.
It is true though that in OpenBSD some scanners has to be seen as /dev/ugen0 
since uscanner driver for OpenBSD

does not support receiving vendor name and product.


this device is not detected as uscanner, and attaching ugen fails - no 
/dev/.. for it exist.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: usb scanner

2008-03-04 Thread Wojciech Puchar
Usually that means the USB vendor and product IDs need to be added to 
uscanner.c (/usr/src/sys/dev/usb).  Scanners that require a firmware download 
may be different.


thank you very much i will test it



There are two variants of the ST12, and unfortunately, the 0x0600 version is 
not currently supported by SANE:


http://www.sane-project.org/unsupported/plustek-opticpro-st12.html
http://www.meier-geinitz.de/sane/gt68xx-backend/

-Warren Block * Rapid City, South Dakota USA



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: usb scanner

2008-03-04 Thread Predrag Punosevac

Wojciech Puchar wrote:

tried plustek  opticpro st12

got:

ugen0: vendor 0x07b3 product 0x0600, rev 1.10/0.00, addr 2
ugen0: setting configuration index 0 failed
device_attach: ugen0 attach returned 6
ugen0: at uhub0 port 1 (addr 2) disconnected


and even /dev/ugen* doesn't exist so sane-find-scanner is unable to 
find anything


FreeBSD usually uses /dev/uscanner0  as a device node for scanners (and 
driver uscanner)unless you are using HPLIP driver.
It is true though that in OpenBSD some scanners has to be seen as 
/dev/ugen0 since uscanner driver for OpenBSD

does not support receiving vendor name and product.

Are you sure you have right permissions? Also for plustek backend you 
have to add your-self into _saned group.

Did you reboot (I hope not server:- the thing after you plug the scanner

What is the output of sane-find-scanner ? Which version of SANE-backends 
do you have. They came up 2 weeks ago with 1.19 release which I use on 
4.3 beta OpenBSD but on my FreeBSD machines the version is 1.17.


Did you check if the scanner is listed in the sane data base.

Cheers,

Predrag



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: usb scanner

2008-03-04 Thread Warren Block

On Tue, 4 Mar 2008, Wojciech Puchar wrote:


tried plustek  opticpro st12

got:

ugen0: vendor 0x07b3 product 0x0600, rev 1.10/0.00, addr 2
ugen0: setting configuration index 0 failed
device_attach: ugen0 attach returned 6
ugen0: at uhub0 port 1 (addr 2) disconnected


and even /dev/ugen* doesn't exist so sane-find-scanner is unable to find 
anything


Usually that means the USB vendor and product IDs need to be added to 
uscanner.c (/usr/src/sys/dev/usb).  Scanners that require a firmware 
download may be different.


There are two variants of the ST12, and unfortunately, the 0x0600 
version is not currently supported by SANE:


http://www.sane-project.org/unsupported/plustek-opticpro-st12.html
http://www.meier-geinitz.de/sane/gt68xx-backend/

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


usb scanner

2008-03-04 Thread Wojciech Puchar

tried plustek  opticpro st12

got:

ugen0: vendor 0x07b3 product 0x0600, rev 1.10/0.00, addr 2
ugen0: setting configuration index 0 failed
device_attach: ugen0 attach returned 6
ugen0: at uhub0 port 1 (addr 2) disconnected


and even /dev/ugen* doesn't exist so sane-find-scanner is unable to find 
anything


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Scanner Compatibility

2007-12-09 Thread Michaël Grünewald
Predrag Punosevac <[EMAIL PROTECTED]> writes:

>> If I do understand, this seems a close analogue of PPL files in the
>> printing world, right?
> You meant PPD files?

Yes that's what I meant!

>> In fact, I have no serious reason to run amd64 since I use my amd64
>> computer as a ``user workstation'' and the main benefit from running
>> amd64 is to manage huge amounts of RAM --- as far as I can tell from
>> the various docs I have read. My reasons to run amd64 are mainly geeky
>> or childish :)
>>   
> I hope you do not have 32 Gb of RAM as my neighbor who is a gamer  and
> passionately in love with
> Windows Vista:-) On another hand those gamers are the reason that I
> can go to junk yard and get a
> PIII with 512 Mb of RAM and 10Gb Hard-drive for $5. I am a happy
> camper!

The only reason I disregarded my K2-400 with 128 Mo (from'97) in favor
to a somewhat new material was that PostScript/PDF rendering was way
too slow on the former machine. I am mainly working with Emacs,
producing TeX documents and OCaml programs. For these activities $5
computers are excellent!
-- 
All the best,
Michaël
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Scanner Compatibility

2007-12-08 Thread Predrag Punosevac

Michaël Grünewald wrote:

Predrag Punosevac <[EMAIL PROTECTED]> writes:

  

Let me clarify firstly some things.



Thank you very much for this very detailed answer, it's very nice
from you!

  [SNIP]

  

In essence your scanner uses this file to explain the Sane the page
layout and graphics. So it is not a driver!



If I do understand, this seems a close analogue of PPL files in the
printing world, right?

[SNAP]
  



You meant PPD files? (Of course there is subtitle difference between 
CUPS-PPD files and generic PPD files used by LPD).
My hunch is yes but I have not read enough documentation to say yes or 
no. I would really like to hear from some Sane developers or

IT professional who works on scanners who will give us more explanation.
So far my understanding is following. The kernel recognizes your 
scanning device using the  uscanner0 driver and usb daemon as it is 
attached to USB.
Sane-backhands and Sane-fronthands is a collection of drivers that speak 
scanner language. As a mater of fact it used to be that you need one 
driver per application  per scanner (like printing in old times) but I 
think that one of chef achievements of Sane project is to automatize 
writing drivers so that you need to write one driver per application and 
then hack it to work on all supported scanners.  Firmware is dictionary 
which teach sane backhand to speak proprietary language of a particular 
scanner. So it is  something like this
      
scanner<---> uscanner0<>sane-backhands<> Xsane

 ^
  |
   firmware

  

I see no reason why should sane-backhands work any different on
amd64.



Now you made clear that these binary blobs consist of data (and not
of a cpu program), I do not see either. I will soon be able to tell :)

  
Does the generic kernel on for amd64 contains the same drivers as for 
i386? Also kernel driver like uscanner and  even  usb daemon  might
be on the different level of the development than in i386 as they really 
need to interact to  different amd64 kernel.

A kernel developer could easily clarify this for us.



On another hand if you are using amd64 that tells me that you
are running serious production servers so why would you want to attach
a scanner to  such  machine is not really clear to me.



In fact, I have no serious reason to run amd64 since I use my amd64
computer as a ``user workstation'' and the main benefit from running
amd64 is to manage huge amounts of RAM --- as far as I can tell from
the various docs I have read. My reasons to run amd64 are mainly geeky
or childish :)

  
I hope you do not have 32 Gb of RAM as my neighbor who is a gamer  and 
passionately in love with
Windows Vista:-) On another hand those gamers are the reason that I can 
go to junk yard and get a

PIII with 512 Mb of RAM and 10Gb Hard-drive for $5. I am a happy camper!


As I said before the handbook is excellent but here is my quick and
dirty step by step how to for scanners.



[SNIP]

Thanks a lot for this con tribution,
  
I realized that Handbook article about scanner could be appended but 
there are people on this mailing lists who are qualified to do so

unlike me.

Cheers,
Predrag
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Scanner Compatibility

2007-12-08 Thread Michaël Grünewald
Predrag Punosevac <[EMAIL PROTECTED]> writes:

> Let me clarify firstly some things.

Thank you very much for this very detailed answer, it's very nice
from you!

  [SNIP]

> In essence your scanner uses this file to explain the Sane the page
> layout and graphics. So it is not a driver!

If I do understand, this seems a close analogue of PPL files in the
printing world, right?

[SNAP]

> I see no reason why should sane-backhands work any different on
> amd64.

Now you made clear that these binary blobs consist of data (and not
of a cpu program), I do not see either. I will soon be able to tell :)

> On another hand if you are using amd64 that tells me that you
> are running serious production servers so why would you want to attach
> a scanner to  such  machine is not really clear to me.

In fact, I have no serious reason to run amd64 since I use my amd64
computer as a ``user workstation'' and the main benefit from running
amd64 is to manage huge amounts of RAM --- as far as I can tell from
the various docs I have read. My reasons to run amd64 are mainly geeky
or childish :)

> As I said before the handbook is excellent but here is my quick and
> dirty step by step how to for scanners.

[SNIP]

Thanks a lot for this con tribution,
-- 
Cheers,
Michaël
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Scanner Compatibility

2007-12-08 Thread Warren Block

On Sat, 8 Dec 2007, Micha?l Gr?newald wrote:


Predrag Punosevac <[EMAIL PROTECTED]> writes:


I use Epson Perfection 1670 and it works like a charm. Unfortunately
it does require binary blob which might be something you want to
avoid.


What is that binary blob stuff? Do you mean by this a binary image
that should be loaded in kernel --- after being correctly wrapped just
like some wifi card drivers? If this is the case, there is no chance
to make the blob work under amd64, is there?


Some scanners have no built-in firmware.  The driver downloads the 
firmware to the scanner on initialization.


The best way to avoid problems with a firmware download is to avoid 
equipment that uses it.  The SANE documentation should help you identify 
scanners that require a firmware download; my Epson 1640SU doesn't, for 
example.


-Warren Block * Rapid City, South Dakota USA___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Scanner Compatibility

2007-12-08 Thread Predrag Punosevac

Michaël Grünewald wrote:

Predrag Punosevac <[EMAIL PROTECTED]> writes:

  

I use Epson Perfection 1670 and it works like a charm. Unfortunately
it does require binary blob which might be something you want to
avoid.



What is that binary blob stuff? Do you mean by this a binary image
that should be loaded in kernel --- after being correctly wrapped just
like some wifi card drivers? If this is the case, there is no chance
to make the blob work under amd64, is there?

  

Ok,
Let me clarify firstly some things. Firmware is a binary file which you 
extract in this case from the M$ .cab  file supplied to you by
scanner manufacturer. You place this file on proper file 
/usr/local/share/sane/snapscan. (So it is different than a kernel module 
for Wi drivers that you kldload into your kernel) I have never bothered 
to understand scanning as much as I tried to understand Unix printing 
but I believe that this file is used by sane to speak proprietary 
language of your particular scanner. In essence your scanner uses this 
file to explain the Sane the page layout and graphics. So it is not a 
driver! I am not sure if there is such thing as Command  Scanner 
Language (you are probably familiar with Command Printer Language) and 
something equivalent to Postscript language in world of printers.



Anyhow, if you are serious about security you should never use any type 
of binaries supported by hardware vendors. (I sound if I have been using 
too much OpenBSD lately :-) )


I see no reason why should sane-backhands work any different on amd64. 
On another hand if you are using amd64 that tells me that you are 
running serious production servers so why would you want to attach a 
scanner to  such  machine is not really clear to me.
You may attach a scanner to a workstation running i386 and possibly make 
scanning available  on the local network but never to serious production 
server.





If you need step by step instructions how to install scanner you
might contact me via private mail.



I am very interested in this kind of technical information, since I do
foreplan to buy a scanner. If you really think[1] this discussion would
be a nuisance for the list, would you be kind enough to CC me?

[1] One can consider that even if the discussion topic does not hit
most of its members, it can be useful to contribute here these
technical details because they will be archived and could then be
referenced in future discussions, searched, etc.
  
As I said before the handbook is excellent but here is my quick and 
dirty step by step how to for scanners.



For the purposes of this how to I will assume that your scanner is 
attached via USB to your workstation. (You can read the handbook about 
SCSI scanners)



Step 1  Make sure  your  kernel  contains  the  following (Generic 
Kernel will contain it!!!)


device usb
device uhci
device ohci
device uscanner

Step 2 Edit /etc/devfs.conf with the permissions

perm ugen* 0666
perm uscanner* 0666

This is of course huge security risk and there are much better ways to 
give access to sane-backhands and common users to device nodes.




Step 3 Reboot the computer

Step 4 Type $ scanimage -L as a common user to get a list of detected 
scanners. You should get something as


[pedja@ /usr/home/Pedja]$ scanimage -L
device `snapscan:/dev/uscanner0' is a EPSON EPSON Scanner flatbed scanner


Step 5 Type $ scanimage -T as a common user to test the installation. 
You should get something like this if your

scanner does not need binary blob.

[pedja@ /usr/home/Pedja]$ scanimage -T
scanimage: scanning image of size 2552x3507 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 7656 bytes...  PASS
scanimage: reading one byte...  PASS
scanimage: stepped read, 2 bytes... PASS
scanimage: stepped read, 4 bytes... PASS
scanimage: stepped read, 8 bytes... PASS
scanimage: stepped read, 16 bytes...PASS
scanimage: stepped read, 32 bytes...PASS
scanimage: stepped read, 64 bytes...PASS
scanimage: stepped read, 128 bytes...   PASS
scanimage: stepped read, 256 bytes...   PASS
scanimage: stepped read, 512 bytes...   PASS
scanimage: stepped read, 1024 bytes...  PASS
scanimage: stepped read, 2048 bytes...  PASS
scanimage: stepped read, 4096 bytes...  PASS
scanimage: stepped read, 8192 bytes...  PASS
scanimage: stepped read, 8191 bytes...  PASS
scanimage: stepped read, 4095 bytes...  PASS
scanimage: stepped read, 2047 bytes...  PASS
scanimage: stepped read, 1023 bytes...  PASS
scanimage: stepped read, 511 bytes...   PASS
scanimage: stepped read, 255 bytes...   PASS
scanimage: stepped read, 127 bytes...   PASS
scanimage: stepped read, 63 bytes...PASS
scanimage: stepped read, 31 bytes...PASS
scanimage: stepped read, 15 bytes...PASS
scanimage: stepped read, 7 bytes... PASS
scanimage: stepped read, 3 bytes... PASS


Note: All of the above is very well explained in man scanimage



Re: Scanner Compatibility

2007-12-07 Thread Michaël Grünewald
Predrag Punosevac <[EMAIL PROTECTED]> writes:

> I use Epson Perfection 1670 and it works like a charm. Unfortunately
> it does require binary blob which might be something you want to
> avoid.

What is that binary blob stuff? Do you mean by this a binary image
that should be loaded in kernel --- after being correctly wrapped just
like some wifi card drivers? If this is the case, there is no chance
to make the blob work under amd64, is there?

> If you need step by step instructions how to install scanner you
> might contact me via private mail.

I am very interested in this kind of technical information, since I do
foreplan to buy a scanner. If you really think[1] this discussion would
be a nuisance for the list, would you be kind enough to CC me?

[1] One can consider that even if the discussion topic does not hit
most of its members, it can be useful to contribute here these
technical details because they will be archived and could then be
referenced in future discussions, searched, etc.
-- 
Cheers,
Michaël
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Scanner Compatibility

2007-12-06 Thread Predrag Punosevac

Jason C. Wells wrote:

Does this represent the state of the art in scanners under FreeBSD?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/scanners.html

Any other up to the minute tips on purchasing a scanner?  Does 
7.0-RELEASE present any new issues?


Thanks,
Jason C. Wells
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
That article is very well written. The only thing that is not emphasized 
enough is that lots of scanners do require firmware (binary blobs)
that you have to extract from M$ .cab files.  (You will need to use 
/usr/ports/archievers/cabextract program to do so).

You definitely want to look very carefully the list of supported devices

http://www.sane-project.org/sane-supported-devices.html

before you make a purchase.

I do believe that Epson scanners are probably best solutions for 
Unix/Linux scanning.


I use Epson Perfection 1670 and it works like a charm. Unfortunately it 
does require binary blob which might be something you want to avoid.


The another option is to look the list of devices supported by HPLIP 
drivers. HPLIP drivers  enable  full functionality of many all-in-one HP 
products and  also HPLIP can unlock some HP flat bad scanners that where 
problematic in the past.


Bottom line is that you have to do your homework.

If you need step by step instructions how to install scanner you might 
contact me via private mail.


Best,
Predrag
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Scanner Compatibility

2007-12-05 Thread Jason C. Wells

Does this represent the state of the art in scanners under FreeBSD?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/scanners.html

Any other up to the minute tips on purchasing a scanner?  Does 
7.0-RELEASE present any new issues?


Thanks,
Jason C. Wells
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Software Vulnerability Scanner

2007-10-25 Thread Ghirai
On Thu, 25 Oct 2007 14:29:40 +0330
"Bahman M." <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I'm starting my career as a security analyst and I'd like to know if
> there are any vulnerability scanners -Blackbox or Whitebox- available for 
> FreeBSD, in
> particular for Java applications.
> 
> There are some softwares out there, e.g. HailStorm or SourceScope
> however most of them are commercial and AFAIK there are only Windoze
> versions.
> 
> Any suggestion or pointer is highly appreciated.  TIA,
> 

In lack of a more specific question, i'd say
start with /usr/ports/security/nessus.

Generally these tools perform poorly on windows,
mostly because of the crappy network stack.

-- 
Regards,
Ghirai.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Software Vulnerability Scanner

2007-10-25 Thread Bahman M.
Hi all,

I'm starting my career as a security analyst and I'd like to know if
there are any vulnerability scanners -Blackbox or Whitebox- available for 
FreeBSD, in
particular for Java applications.

There are some softwares out there, e.g. HailStorm or SourceScope
however most of them are commercial and AFAIK there are only Windoze
versions.

Any suggestion or pointer is highly appreciated.  TIA,

-- 
Bahman Movaqar

The Moving Finger writes; and, having writ,
Moves on: nor all your Piety nor Wit
Shall lure it back to cancel half a Line,
Nor all your Tears wash out a Word of it.
-Khayyam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


a suggestion for a good multifunction (printer, scanner, copier, fax ) solution?

2007-07-13 Thread eculp
Does anyone have a suggestion for a good multifunction (printer,  
scanner, copier, fax ) solution that is supported, out of the  box on  
up to date FreeBSD Current and/or FreeBSD STABLE preferably using  
cupsd w/gutenprint?  Epson - Lexmark - HP ?


I need a scanner and a printer so it sounds like a better deal to get  
two in one but suggestions from folks who have "been there and done  
that" are greatly appreciated.


Thanks,

ed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Scanner w/ feeder

2007-07-09 Thread Duane Winner

Hello,

Is there anybody out there who is using a scanner w/ a document feeder 
on FreeBSD?


Preferably a new model that we can buy w/ our existing budget (as 
opposed to an older used model).


Mac OS X support in addition to FreeBSD would be nice too.

Thanks for any feedback,
DW

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


xsane scsi scanner "Error during device I/O"

2006-10-25 Thread Per olof Ljungmark

Hi,

6.1-STABLE
xsane & xsane-backends
slide scanner Microtek 35 (supported according to docs)

pass3:  Fixed Scanner SCSI-CCS device

on

ahc1:  port 0x1400-0x14ff mem 
0xf0901000-0xf0901fff irq 22 at device 11.0 on pci5


The brief "Error during device I/O" is the only message I get, nothing 
else anywhere.

What can I do to try to solve this?

Thanks,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Scanner Canon Canoscan Lide 60 not found.

2006-05-27 Thread FreeBSD User Giacomo
Hi,
I have a problem with the scanner Canoscan Lide 60 with FreeBSD 6.1. 
This is sopported in sane but scanimage -L not find it.
If I try whith sane-find-scanner I read:
---
searching for USB scanners:
checking /dev/uscanner... failed to open (Invalid argument)
checking /dev/uscanner0... failed to open (Invalid argument)
checking /dev/uscanner1... failed to open (Invalid argument)
checking /dev/uscanner2... failed to open (Invalid argument)
checking /dev/uscanner3... failed to open (Invalid argument)
checking /dev/uscanner4... failed to open (Invalid argument)
checking /dev/uscanner5... failed to open (Invalid argument)
checking /dev/uscanner6... failed to open (Invalid argument)
checking /dev/uscanner7... failed to open (Invalid argument)
checking /dev/uscanner8... failed to open (Invalid argument)
checking /dev/uscanner9... failed to open (Invalid argument)
checking /dev/uscanner10... failed to open (Invalid argument)
checking /dev/uscanner11... failed to open (Invalid argument)
checking /dev/uscanner12... failed to open (Invalid argument)
checking /dev/uscanner13... failed to open (Invalid argument)
checking /dev/uscanner14... failed to open (Invalid argument)
checking /dev/uscanner15... failed to open (Invalid argument)
found USB scanner (vendor=0x04a9 [Canon], product=0x221c [CanoScan], 
chip=GL841) at libusb:/dev/usb4:/dev/ugen0
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.
done
---
I try to enable the usbd at startup but where isn't change.
In FreBSD 6.0 I was succeed to use this scanner upgrading the sane-backend and
xsane version.  
Thanks.
Regard.
-- 
Isaia Luciano
FreeBSD user
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP OfficeJet 4215 Scanner question

2006-03-30 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]>
Danny Pansters <[EMAIL PROTECTED]> writes:
: On Friday 31 March 2006 02:45, M. Warner Losh wrote:
: > [[ please CC me on any reply, I'm not on this list ]]
: >
: > Greetings,
: >
: > I was wondering if anybody had any luck getting an HP OfficeJet 4125
: > working on FreeBSD.  I plugged it into my 6.1-beta4 system, and it was
: > recognized as a printer.  However, my attempts to get sane to access
: > the scanner portion have have failed.  What am I doing worng?
: >
: > It looks like I might need the hpijs for printing, but I need hplip
: > for scanning.  The hpijs appears to be a FreeSBD port, but I don't see
: > a hplip port.  Is there one?  Is this what I need?  Is there something
: > else that would work?
: >
: > Warner
: >
: > P.S.  Keywords for searches:
: >
: > Office Jet OfficeJet Series 4200 xsane
: 
: You tried the hpoj port? It uses the ptal low level driver and cups for 
: printing, others for scanning or faxing or photo camera flash card.

It failed on a different machine running -current.  I'll give hjop a
try.

Warner
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP OfficeJet 4215 Scanner question

2006-03-30 Thread Danny Pansters
On Friday 31 March 2006 02:45, M. Warner Losh wrote:
> [[ please CC me on any reply, I'm not on this list ]]
>
> Greetings,
>
> I was wondering if anybody had any luck getting an HP OfficeJet 4125
> working on FreeBSD.  I plugged it into my 6.1-beta4 system, and it was
> recognized as a printer.  However, my attempts to get sane to access
> the scanner portion have have failed.  What am I doing worng?
>
> It looks like I might need the hpijs for printing, but I need hplip
> for scanning.  The hpijs appears to be a FreeSBD port, but I don't see
> a hplip port.  Is there one?  Is this what I need?  Is there something
> else that would work?
>
> Warner
>
> P.S.  Keywords for searches:
>
> Office Jet OfficeJet Series 4200 xsane

You tried the hpoj port? It uses the ptal low level driver and cups for 
printing, others for scanning or faxing or photo camera flash card.


Dan


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


HP OfficeJet 4215 Scanner question

2006-03-30 Thread M. Warner Losh
[[ please CC me on any reply, I'm not on this list ]]

Greetings,

I was wondering if anybody had any luck getting an HP OfficeJet 4125
working on FreeBSD.  I plugged it into my 6.1-beta4 system, and it was
recognized as a printer.  However, my attempts to get sane to access
the scanner portion have have failed.  What am I doing worng?

It looks like I might need the hpijs for printing, but I need hplip
for scanning.  The hpijs appears to be a FreeSBD port, but I don't see
a hplip port.  Is there one?  Is this what I need?  Is there something
else that would work?

Warner

P.S.  Keywords for searches:

Office Jet OfficeJet Series 4200 xsane
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: scanner problems: I/O error/scanner application hangs

2006-02-27 Thread Ian Dowse
In message <[EMAIL PROTECTED]>, =?ISO-8859-1?Q?Erik_N=F8rgaard?= wr
ites:
>I had my scanner, Epson 2480, working half a year ago on FBSD 6.0, now 
>it's been a while since I used it, I have upgraded to FBSD 6.1-PREREL as 
>well as upgrading applications, and now it doesn't work.

Sorry about the breakage - this has been fixed now in -CURRENT and
should be merged into 6-stable in the next few days. In the meantime
you could apply this patch in /usr/scr/sys/dev/usb:

http://people.freebsd.org/~iedowse/savedtoggle.diff

Hopefully that should fix the issue - let me know if it doesn't.

Ian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


scanner problems: I/O error/scanner application hangs

2006-02-24 Thread Erik Nørgaard

Hi:

I had my scanner, Epson 2480, working half a year ago on FBSD 6.0, now 
it's been a while since I used it, I have upgraded to FBSD 6.1-PREREL as 
well as upgrading applications, and now it doesn't work.


First scanner probe gives an I/O error, second hangs:

charm# date && scanimage -L && date && scanimage -T || date
Fri 24 Feb 2006 23:07:28 CET
device `snapscan:/dev/uscanner0' is a EPSON EPSON Scanner flatbed scanner
Fri 24 Feb 2006 23:07:29 CET
scanimage: open of device snapscan:/dev/uscanner0 failed: Error during 
device I/O

Fri 24 Feb 2006 23:07:29 CET
charm# date && scanimage -L && date && scanimage -T || date
Fri 24 Feb 2006 23:07:33 CET
Killed
Fri 24 Feb 2006 23:09:09 CET

I need to turn off the scanner in order to repeat, it is not enough to 
unplug the usb port.


The scanner is found correctly after applying the patches I submitted 
(pr usb/86094), otherwise it appears as a ugen device.


My system is:
FreeBSD charm 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #3: Fri Feb 24 
22:25:37 CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLIENT6  i386


No difference whether uscanner is compiled in kernel or loadable module.

Sane:

sane-backends-1.0.17
sane-frontends-1.0.14_1
xsane-0.991

I believe I had it working with sane-backends 1.0.15 and xsane 0.80

Any ideas?

Thanks, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Scanner in FBSD

2005-12-27 Thread Bernt Hansson

Micah wrote:

Bernt Hansson wrote:


Hello?!

I have a scanner that is on the list at sane and it is connected to 
ppc0 which I belive is the first parallelport.



Anyone got a scanner attached to ppc0 to funktion? How?



Scanner:
Primax 4800 Direct
Driver:
plustek_pp
OS:
FreeBSD 5.4


The last time I tried, plustek_pp required libieee1284 for parallel port 
access.  


> Libieee1284 is unsupported in FreeBSD (at least the 5 series
FreeBSD). 


I've noticed that.

/Frustation

A

Frustration/


Your best bet is to go out and get a supported USB or SCSI


Vell i've been looking at some agfa skanners.


scanner or install your scanner on a Linux SANE server.


That's a no op


HTH,
Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Scanner in FBSD

2005-12-27 Thread Micah

Bernt Hansson wrote:

Hello?!

I have a scanner that is on the list at sane and it is connected to ppc0 
which I belive is the first parallelport.


Anyone got a scanner attached to ppc0 to funktion? How?


Scanner:

Primax 4800 Direct

Driver:

plustek_pp

OS:

FreeBSD 5.4




The last time I tried, plustek_pp required libieee1284 for parallel port 
access.  Libieee1284 is unsupported in FreeBSD (at least the 5 series 
FreeBSD).  Your best bet is to go out and get a supported USB or SCSI 
scanner or install your scanner on a Linux SANE server.


HTH,
Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Scanner in FBSD

2005-12-27 Thread Bernt Hansson

Hello?!

I have a scanner that is on the list at sane and it is connected to ppc0 
which I belive is the first parallelport.


Anyone got a scanner attached to ppc0 to funktion? How?


Scanner:

Primax 4800 Direct

Driver:

plustek_pp

OS:

FreeBSD 5.4


--
NB. This is NOT a life supporting system
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP Scanner:: zilch

2005-12-24 Thread Warren Block

On Sat, 24 Dec 2005, Gary Kline wrote:


Hm, this is strange. I have two hp files in sane.d, both sseem
oriented toward Linux.  There is an entry for the 4100c in
"hp.conf", but it wants to create /dev/scanner.


That line tells sane which device to use.  In FreeBSD, that's
/dev/uscanner0.


How do I tell sane to use hp.conf (or my new hp4100.conf)?


AFAIK, sane just looks through all the conf files for something that 
matches the scanner devices found.  sane-find-scanner would be where it 
does that.



My rational against hp.conf is the ^/dev/scanner line as
well as the first SCSI line.  What does "scsi HP" do?
I don't use SCSI in this FBSD server.


Just comment that line out.


AFAIK, three of my USB modules are builtins.  Would you please
grep "usb" your KERNEL file?  gotta be something like this
why uscanner0 isn't there.


I have:

uhci
ohci
ehci
usb
ugen
uhid
ukbd
ulpt
umass
ums
uscanner

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Best Scanner recs, please?

2005-12-24 Thread Martin P. Hansen
On Fri, 23 Dec 2005, Gary Kline wrote:
>   Thanks; this model is on my list.   Do you have USB 2.0
>   defined (uncommented) in your KERNEL config file (and thus
>   built into your kernel)??  I'm trying to figure out howto
>   create /dev/uscanner0.

I have the ehci device defined, but since I don't any USB 2 ports
it probably doesn't matter. I'm running with a GENERIC conf for
6.0-STABLE with usb built-in.

As I see it the uscanner device will probe the generic usbdevice
and recognize the scanner and create a devfs entry. This happens
for me when I plug it in.

Somewhere around the 5.3-RELEASE it was necessary to modify
/usr/src/sys/dev/usb/uscanner.c to include the LiDE 30 scanner.

Perhaps it is interesting to see whether the scanner appears in
`usbdevs -v` if you don't get a /dev/uscanner0. Mine shows as:

port 2 addr 3: full speed, power 500 mA, config 1, CanoScan(0x220e),
Canon(0x04a9), rev 1.00

-- 
Martin P. Hansen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP Scanner:: zilch

2005-12-24 Thread Gary Kline
On Fri, Dec 23, 2005 at 09:57:57PM -0700, Warren Block wrote:
> On Thu, 22 Dec 2005, Gary Kline wrote:
> 
> >>My Epson requires this line in epson.conf:
> >>
> >>usb /dev/uscanner0
> >>
> >>The hp.conf file kind of implies something similar, but I can't tell
> >>whether it would want the line above or this:
> >>
> >>/dev/uscanner0
> >>  option connect-device
> >
> > Hm, this is strange. I have two hp files in sane.d, both sseem
> > oriented toward Linux.  There is an entry for the 4100c in
> > "hp.conf", but it wants to create /dev/scanner.
> 
> That line tells sane which device to use.  In FreeBSD, that's 
> /dev/uscanner0.

How do I tell sane to use hp.conf (or my new hp4100.conf)?
Do I need to put something in /etc/rc.conf, eg, or what?
This is what I have the seems apropos:

[EMAIL PROTECTED]:/usr/local/etc/sane.d# cat hp4100.conf
#
##MODELED AFTER: ma1509.conf: see sane-ma1509(5)
##hp4100.conf: 
#

#Warm-up time for the lamp in seconds
###option warmup-time 30

#
# USB-scanners supported by the hp-backend
# HP ScanJet 4100C
usb 0x03f0 0x0101

#Manual setting (e.g. for FreeBSD)
/dev/uscanner0

My best shot; round #1.
> 
> >[EMAIL PROTECTED]:/usr/local/etc/sane.d# ll hp*
> >-r--r--r--  1 root  wheel  497 Dec 22 16:40 hp.conf
> >-r--r--r--  1 root  wheel  238 Oct  9 23:09 hp5400.conf
> >
> >>From "hp.conf"::
> >
> >[EMAIL PROTECTED]:/usr/local/etc/sane.d# more hp.conf
> >scsi HP
> ># Uncomment the following if you have "Error during device I/O" on SCSI
> >#   option dumb-read
> >#
> ># The usual place for a SCSI-scanner on Linux
> >/dev/scanner
> >#
> ># USB-scanners supported by the hp-backend
> ># HP ScanJet 4100C
> >usb 0x03f0 0x0101
> > .
> > .
> > .
> >
> >Would it make sense to create an "hp4100.conf" with your epson line
> >"usb /dev/uscanner0" as a first line?
> 
> It looks like all HP scanners other than the HP5400 are defined in 
> hp.conf, so use that one.

My rational against hp.conf is the ^/dev/scanner line as 
well as the first SCSI line.  What does "scsi HP" do?
I don't use SCSI in this FBSD server.

> 
> >I am missing /dev/uscanner0.  How is this /dev created?
> 
> When the kernel detects the USB scanner, it should create 
> /dev/uscanner0.  

Should I uncomment the USB 2.0 device in my KERNCONF file?


> Back in 5.4 or so, my Thinkpad would not detect the 
> scanner unless I hot-plugged the USB cable (leaving the scanner 
> connected and just powering it on did not work).  On a desktop system, 
> just turning on the scanner with the USB cable works.
> 
> All of this may have changed with 6.0, to which you should upgrade 
> unless you have a very compelling reason to stick with the obsolete 5.3.


I built my 5.4 upgrades a week+ ago.  Installed kernel and 
world Thursday mornng.  I'm using a desktop in office for this;
my ThinkPad has no USB.  Anyway, some part of the scanner 
hardware is trashed; part(s) being replaced.  When I see 
/dev/uscanner0, things should look lots brighter.  I hope.


> 
> >q2 16:27  [5015] kldstat
> >Id Refs AddressSize Name
> >1   11 0xc040 5e7530   kernel
> >2   14 0xc09e8000 537f0acpi.ko
> >31 0xc1aaf000 2000 blank_saver.ko
> >41 0xc1ad1000 17000linux.ko
> >51 0xc2352000 3000 uscanner.ko
> >
> >Does this output look right?  This may be right the scanner
> >wasn't seen.  I figured that by kldloading uscanner.ko,
> >/dev/uscanner0 would be auto-created.  I need some other
> >magic.
> 
> I have the USB modules in my kernel, so I don't see it in kldstat.


AFAIK, three of my USB modules are builtins.  Would you please 
grep "usb" your KERNEL file?  gotta be something like this
why uscanner0 isn't there.

thanks much,

gary


> 
> -Warren Block * Rapid City, South Dakota USA

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   3   >