[sane-devel] Re: [PATCH] generate hal fdi file

2007-03-17 Thread David Zeuthen

Hi again,

Is it possible anyone can apply / comment on this? Thanks!

 David

On Fri, 2007-03-02 at 20:27 -0500, David Zeuthen wrote:
> On Fri, 2007-03-02 at 20:22 -0500, David Zeuthen wrote:
> > Hi,
> 
> And since my original message is being held for being too big, here's
> the full text. Thanks.
> 
> > 
> > There's been various threads about this on both this and the hal list
> > and SUSE got something in their SRPM that does something vaugely
> > similar. Basically the attached patch generates a hal fdi file for
> > identifying the devices that the userspace drivers in the sane-backends
> > package can drive. This is useful for a number of things
> > 
> >  - it's easy to discover supported scanners through HAL
> > 
> >  - distros can use the new ACL framework in HAL to manage permissions
> >(which in particular is useful for fast-user-switching and, in the
> > future, things like multi-seat) and migrate from udev-based
> >permission settings schemes
> > 
> > The generated file tools/hal/10-libsane.fdi should be installed
> > into /usr/share/hal/fdi/information/20thirdparty/. That's something that
> > vendors want to do in the %install part of the RPM or similar.
> > 
> > Now, on my Fedora system I see that hplip is also providing a libsane
> > backend. My next mission is to make a patch for them as well (plus fix
> > up the fact that any user, even remote, can use the scanner which some
> > people might consider a security bug). That's going to be, uh, well, fun
> > since it involves parsing /usr/share/hplip/data/models/models.dat. Btw,
> > does anyone know why HP just didn't submit patches to this project? The
> > whole hplip thing reminds me a bit of Windows
> > 
> > Anyway, thanks for considering this patch!
> > 
> >  David
> > 
> > 
> 
> 



[sane-devel] lexmark X1150

2007-03-17 Thread Mark Fonnemann
Hello-

i'm trying to get my lexmark x1150 to scan but when i use scanimage i get the
following error message "scanimage: no SANE devices found". i'm using the
latest sane-libs package from FC6 i.e. "xsane-0.991-4.fc6". any suggestions on
how to make this work? here's the debug output from /proc/bus/usb/devices:

T:  Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 8
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor= ProdID= Rev= 2.06
S:  Manufacturer=Linux 2.6.20-1.2925.fc6 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=:00:1d.7
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=05 Lev=01 Prnt=01 Port=06 Cnt=01 Dev#=  6 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=13fe ProdID=1a00 Rev= 1.00
S:  Manufacturer=
S:  Product=USB DISK 28X
S:  SerialNumber=076411943A90
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc= 93/900 us (10%), #Int=  1, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor= ProdID= Rev= 2.06
S:  Manufacturer=Linux 2.6.20-1.2925.fc6 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=:00:1d.3
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=045e ProdID=0040 Rev= 3.00
S:  Manufacturer=Microsoft
S:  Product=Microsoft 3-Button Mouse with IntelliEye(TM)
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=10ms

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor= ProdID= Rev= 2.06
S:  Manufacturer=Linux 2.6.20-1.2925.fc6 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=:00:1d.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc= 11/900 us ( 1%), #Int=  1, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor= ProdID= Rev= 2.06
S:  Manufacturer=Linux 2.6.20-1.2925.fc6 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=:00:1d.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 2
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=043d ProdID=007a Rev= 1.00
S:  Manufacturer=Lexmark
S:  Product=USB Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  8mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=255ms

T:  Bus=02 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=043d ProdID=007c Rev= 1.00
S:  Manufacturer=Lexmark
S:  Product=X1100 Series
S:  SerialNumber=7046095
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=   8 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=250ms

T:  Bus=02 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=043d ProdID=007b Rev= 1.00
S:  Manufacturer=Lexmark 
S:  Product=Lexmark X1100 Series
S:  SerialNumber=7046095
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  4mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=(none)
E:  Ad=05(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS=  16 Ivl=0ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor= ProdID= Rev= 2.06
S:  Manufacturer=Linux 2.6.20-1.2925.fc6 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=:00:1d.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

thanks in advance...
mark.




 

Need Mail bonding?
Go to the Yahoo!

[sane-devel] (no subject)

2007-03-17 Thread Yury Tarasievich
Hi guys,

I own the OpticPro st28 and would like to have a SANE support for it.

I've already started copy-and-pasting the source, taking the
mechanicals from the existing GL841 models, and optical s from the
other OpticPro's present.

I also tried to approach the Plustek asking for the info on the
components' composition of the ST28.

I presume I have a reasonable understanding of the matters involved to
attempt a copy-and-paste extension of the cvs snapshot sources, but
obviously I don't have an in-depth knowledge, so I'd need some
coaching along.

--regards