Re: [sane-devel] root can scan, user not...

2015-10-20 Thread Thomas Dahlén
On 2015-10-20 15:34, Olaf Meeuwissen wrote: Thomas Dahlén writes: hi, i have a Fujitsu fi -7160 and the latest version of Debian jessie installed. [snip] thomas@ws2:~$ sudo chmod 666 /dev/bus/usb/003/002 [sudo] password for thomas: thomas@ws2:~$ scanimage --device-name=fujitsu --format tiff >

[sane-devel] Replacing u_char and friends (was Re: [PATCH] Port to OS X)

2015-10-20 Thread Olaf Meeuwissen
Hi Luiz, Devs, Luiz Angelo Daros de Luca writes: > Olaf and Yurii, > > The sys/type.h problem is the same I face while compiling with musl > instead of glibc. There are just some files that miss it. I have a > patch for them but it still misses the ifdef around it. Check the > other patches

Re: [sane-devel] root can scan, user not...

2015-10-20 Thread Yury Tarasievich
You could check also if my post to the list on September 12 helps any. Yury On 10/20/2015 05:09 PM, Thomas Dahlén wrote: ... I am already in the scanner group: "I check /etc/group lp:x:7:thomas saned:x:120: scanner:x:105:saned,thomas" -- sane-devel mailing list:

Re: [sane-devel] root can scan, user not...

2015-10-20 Thread m. allan noah
Probably the scanner is not owned by scanner group. You need to check the udev/hal/whatever rules and make sure this scanner is listed. allan On Tue, Oct 20, 2015 at 10:09 AM, Thomas Dahlén wrote: > On 2015-10-20 15:34, Olaf Meeuwissen wrote: > > Thomas Dahlén

Re: [sane-devel] root can scan, user not...

2015-10-20 Thread Thomas Dahlén
On 2015-10-20 17:48, m. allan noah wrote: Probably the scanner is not owned by scanner group. You need to check the udev/hal/whatever rules and make sure this scanner is listed. allan I am not sure that I understand...I can't find any library udev/hal/ I thought that hal was deprecated by all

Re: [sane-devel] root can scan, user not...

2015-10-20 Thread Yury Tarasievich
Do your udev rules generate the device node with correct permissions? Did you check for udev rules leftovers from older SANE versions, like in my case? -Yury On 10/20/2015 11:56 PM, Thomas Dahlén wrote: ... I tested to create /etc/udev/rules.d/40-scanner.rules ... -- sane-devel mailing

Re: [sane-devel] Portbility problems with sane 1.0.25

2015-10-20 Thread Olaf Meeuwissen
Hi Luiz, Luiz Angelo Daros de Luca writes: > Hello, > > Thanks for the new release! It merged most of the patches I kept in order > to compile for OpenWRT. However, I still faced some new and old problems: > > a) backend/pieusb_buffer.c (most of the problems) This file was only added a good

Re: [sane-devel] root can scan, user not...

2015-10-20 Thread Olaf Meeuwissen
Thomas Dahlén writes: > hi, > i have a Fujitsu fi -7160 and the latest version of Debian jessie installed. > [snip] > thomas@ws2:~$ sudo chmod 666 /dev/bus/usb/003/002 > [sudo] password for thomas: > thomas@ws2:~$ scanimage --device-name=fujitsu --format tiff > > testimage6.tiff > now it works