kopia lustrzana https://gitlab.com/sane-project/website
508 wiersze
11 KiB
HTML
508 wiersze
11 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
||
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
||
<HTML>
|
||
<HEAD>
|
||
<TITLE>sane-devel: Re: HP5300C - USB-problems?</TITLE>
|
||
<META NAME="Author" CONTENT="j.steindlberger@gmx.de (j.steindlberger@gmx.de)">
|
||
<META NAME="Subject" CONTENT="Re: HP5300C - USB-problems?">
|
||
</HEAD>
|
||
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
||
<H1>Re: HP5300C - USB-problems?</H1>
|
||
<!-- received="Sat Feb 17 02:43:18 2001" -->
|
||
<!-- isoreceived="20010217104318" -->
|
||
<!-- sent="Sat, 17 Feb 2001 11:49:47 +0100 (MET)" -->
|
||
<!-- isosent="20010217104947" -->
|
||
<!-- name="j.steindlberger@gmx.de" -->
|
||
<!-- email="j.steindlberger@gmx.de" -->
|
||
<!-- subject="Re: HP5300C - USB-problems?" -->
|
||
<!-- id="9888.982406987@www26.gmx.net" -->
|
||
<!-- inreplyto="01021710031002.01507@idun" -->
|
||
<STRONG>From:</STRONG> <A HREF="mailto:j.steindlberger@gmx.de?Subject=Re:%20HP5300C%20-%20USB-problems?&In-Reply-To=<9888.982406987@www26.gmx.net>"><EM>j.steindlberger@gmx.de</EM></A><BR>
|
||
<STRONG>Date:</STRONG> Sat Feb 17 2001 - 02:49:47 PST
|
||
<P>
|
||
<!-- next="start" -->
|
||
<LI><STRONG>Next message:</STRONG> <A HREF="0172.html">j.steindlberger@gmx.de: "Re: HP5300C - USB-problems?"</A>
|
||
<UL>
|
||
<LI><STRONG>Previous message:</STRONG> <A HREF="0170.html">Andrew Williams: "Re: HP5300C - USB-problems?"</A>
|
||
<LI><STRONG>In reply to:</STRONG> <A HREF="0169.html">Oliver Neukum: "Re: HP5300C - USB-problems?"</A>
|
||
<!-- nextthread="start" -->
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0174.html">abel deuring: "Re: HP5300C - USB-problems?"</A>
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0172.html">j.steindlberger@gmx.de: "Re: HP5300C - USB-problems?"</A>
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0170.html">Andrew Williams: "Re: HP5300C - USB-problems?"</A>
|
||
<LI><STRONG>Reply:</STRONG> <A HREF="0174.html">abel deuring: "Re: HP5300C - USB-problems?"</A>
|
||
<!-- reply="end" -->
|
||
<LI><STRONG>Messages sorted by:</STRONG>
|
||
<A HREF="date.html#171">[ date ]</A>
|
||
<A HREF="index.html#171">[ thread ]</A>
|
||
<A HREF="subject.html#171">[ subject ]</A>
|
||
<A HREF="author.html#171">[ author ]</A>
|
||
</UL>
|
||
<HR NOSHADE><P>
|
||
<!-- body="start" -->
|
||
<P>
|
||
<EM>> > An out of memory failure during a sg device open
|
||
</EM><BR>
|
||
<EM>> > means the kernel couldn't find 4 KB . [Sg reduces
|
||
</EM><BR>
|
||
<EM>> > the requested reserved size buffer until the kernel
|
||
</EM><BR>
|
||
<EM>> > gets some memory or the size is <= 4KB.] This is
|
||
</EM><BR>
|
||
<EM>> > horrible. Sounds as if that usb-scsi patch has
|
||
</EM><BR>
|
||
<EM>> > 'unchecked_isa_dma' set to 1 thus restricting sg to
|
||
</EM><BR>
|
||
<EM>> > getting memory below the 16 MB level.
|
||
</EM><BR>
|
||
<EM>> >
|
||
</EM><BR>
|
||
<EM>> > Just checked the usb-scsi code and that is not the case.
|
||
</EM><BR>
|
||
<EM>> > Have you any idea why there would be such a shortage
|
||
</EM><BR>
|
||
<EM>> > of memory on your machine? If you have CONFIG_MAGIC_SYSRQ
|
||
</EM><BR>
|
||
<EM>> > selected in your kernel, what does Alt+SysRq+M output?
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> It isn't that serious. SANE reports "Out of memory" as soon as it can't
|
||
</EM><BR>
|
||
<EM>> get
|
||
</EM><BR>
|
||
<EM>> the buffer it wants and possibly on other conditions. Still you should
|
||
</EM><BR>
|
||
be
|
||
<BR>
|
||
<EM>> able to get 8K. How much RAM do you have ?
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> HTH
|
||
</EM><BR>
|
||
<EM>> Oliver
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
Hi Doug, hi Oliver (and all others),
|
||
<BR>
|
||
<P>only with the variable SANE_SG_BUFFERSIZE=32768 I can open a
|
||
<BR>
|
||
xscanimage-window. With 8k, 16k, 48k and 64k I get the "[avision] attach:
|
||
<BR>
|
||
open failed (Out of memory)"-message.
|
||
<BR>
|
||
<P>Using the 32k the xscanimage-window opens and I can click on scan. (I
|
||
<BR>
|
||
shouldn't click preview - previewing hangs my system.) Then it seams that
|
||
<BR>
|
||
the Driver does not work well: The scanhead moves like initializing, but
|
||
<BR>
|
||
after that it doesn't start scanning. The output from xscanimage is posted
|
||
<BR>
|
||
at the bottom.
|
||
<BR>
|
||
<P>(By the way, I have 384 MB of RAM - that shouldn't be the problem. But I
|
||
<BR>
|
||
have a very big kernel. Does that matter? If you need more data, tell me
|
||
<BR>
|
||
the "cat /proc/..." to let You know.)
|
||
<BR>
|
||
<P>And for those who like it, here's the output from
|
||
<BR>
|
||
# export SANE_SG_BUFFERSIZE=32768
|
||
<BR>
|
||
# xscanimage >>xscan.out 2>>xscan.out
|
||
<BR>
|
||
(clicking once onto the scan-button and closing the window after a while)
|
||
<BR>
|
||
<P>[sanei_debug] Setting debug level of avision to 10.
|
||
<BR>
|
||
[avision] sane_init: parsing config line "scsi HP"
|
||
<BR>
|
||
[avision] sane_init: config file line 1: trying to attach `scsi HP'
|
||
<BR>
|
||
[avision] attach
|
||
<BR>
|
||
[avision] attach: opening /dev/sg0
|
||
<BR>
|
||
[avision] attach: sending INQUIRY
|
||
<BR>
|
||
[avision] wait_ready: sending TEST_UNIT_READY
|
||
<BR>
|
||
[avision] attach: Inquiry gives mfg=HP , model=ScanJet 5300C ,
|
||
<BR>
|
||
product revision=6.00.
|
||
<BR>
|
||
[avision] attach: found AVISION scanner model ScanJet 5300C (flatbed
|
||
<BR>
|
||
scanner)[avision] X-Range: 203.199997mm, Y-Range: 279.399994mm
|
||
<BR>
|
||
(Raw-Range: 9, 248, 13, 179)
|
||
<BR>
|
||
[avision] RAW.Result:
|
||
<BR>
|
||
[avision] [0]:6->
|
||
<BR>
|
||
[avision] [1]:80-><EFBFBD>
|
||
<BR>
|
||
[avision] [2]:2->
|
||
<BR>
|
||
[avision] [3]:42->B
|
||
<BR>
|
||
[avision] [4]:5b->[
|
||
<BR>
|
||
[avision] [5]:0->
|
||
<BR>
|
||
[avision] [6]:0->
|
||
<BR>
|
||
[avision] [7]:0->
|
||
<BR>
|
||
[avision] [8]:48->H
|
||
<BR>
|
||
[avision] [9]:50->P
|
||
<BR>
|
||
[avision] [10]:20->
|
||
<BR>
|
||
[avision] [11]:20->
|
||
<BR>
|
||
[avision] [12]:20->
|
||
<BR>
|
||
[avision] [13]:20->
|
||
<BR>
|
||
[avision] [14]:20->
|
||
<BR>
|
||
[avision] [15]:20->
|
||
<BR>
|
||
[avision] [16]:53->S
|
||
<BR>
|
||
[avision] [17]:63->c
|
||
<BR>
|
||
[avision] [18]:61->a
|
||
<BR>
|
||
[avision] [19]:6e->n
|
||
<BR>
|
||
[avision] [20]:4a->J
|
||
<BR>
|
||
[avision] [21]:65->e
|
||
<BR>
|
||
[avision] [22]:74->t
|
||
<BR>
|
||
[avision] [23]:20->
|
||
<BR>
|
||
[avision] [24]:35->5
|
||
<BR>
|
||
[avision] [25]:33->3
|
||
<BR>
|
||
[avision] [26]:30->0
|
||
<BR>
|
||
[avision] [27]:30->0
|
||
<BR>
|
||
[avision] [28]:43->C
|
||
<BR>
|
||
[avision] [29]:20->
|
||
<BR>
|
||
[avision] [30]:20->
|
||
<BR>
|
||
[avision] [31]:20->
|
||
<BR>
|
||
[avision] [32]:36->6
|
||
<BR>
|
||
[avision] [33]:2e->.
|
||
<BR>
|
||
[avision] [34]:30->0
|
||
<BR>
|
||
[avision] [35]:30->0
|
||
<BR>
|
||
[avision] [36]:a0-><EFBFBD>
|
||
<BR>
|
||
[avision] [37]:6->
|
||
<BR>
|
||
[avision] [38]:c->
|
||
<BR>
|
||
<P>[avision] [39]:67->g
|
||
<BR>
|
||
[avision] [40]:4->
|
||
<BR>
|
||
[avision] [41]:b0-><EFBFBD>
|
||
<BR>
|
||
[avision] [42]:4->
|
||
<BR>
|
||
[avision] [43]:b0-><EFBFBD>
|
||
<BR>
|
||
[avision] [44]:9->
|
||
<BR>
|
||
[avision] [45]:60->`
|
||
<BR>
|
||
[avision] [46]:9->
|
||
<BR>
|
||
[avision] [47]:60->`
|
||
<BR>
|
||
[avision] [48]:0->
|
||
<BR>
|
||
[avision] [49]:0->
|
||
<BR>
|
||
[avision] [50]:f9-><EFBFBD>
|
||
<BR>
|
||
[avision] [51]:97-><EFBFBD>
|
||
<BR>
|
||
[avision] [52]:d3-><EFBFBD>
|
||
<BR>
|
||
[avision] [53]:18->?
|
||
<BR>
|
||
[avision] [54]:8->
|
||
<BR>
|
||
[avision] [55]:8->
|
||
<BR>
|
||
[avision] [56]:2->
|
||
<BR>
|
||
[avision] [57]:8->
|
||
<BR>
|
||
[avision] [58]:8->
|
||
<BR>
|
||
[avision] [59]:8->
|
||
<BR>
|
||
[avision] [60]:c0-><EFBFBD>
|
||
<BR>
|
||
[avision] [61]:d4-><EFBFBD>
|
||
<BR>
|
||
[avision] [62]:20->
|
||
<BR>
|
||
[avision] [63]:5->
|
||
<BR>
|
||
[avision] [64]:1->
|
||
<BR>
|
||
[avision] [65]:1->
|
||
<BR>
|
||
[avision] [66]:2->
|
||
<BR>
|
||
[avision] [67]:3->
|
||
<BR>
|
||
[avision] [68]:4->
|
||
<BR>
|
||
[avision] [69]:5->
|
||
<BR>
|
||
[avision] [70]:0->
|
||
<BR>
|
||
[avision] [71]:0->
|
||
<BR>
|
||
[avision] [72]:0->
|
||
<BR>
|
||
[avision] [73]:0->
|
||
<BR>
|
||
[avision] [74]:0->
|
||
<BR>
|
||
[avision] [75]:f->
|
||
<BR>
|
||
[avision] [76]:0->
|
||
<BR>
|
||
[avision] [77]:5->
|
||
<BR>
|
||
[avision] [78]:dc-><EFBFBD>
|
||
<BR>
|
||
[avision] [79]:5->
|
||
<BR>
|
||
[avision] [80]:dc-><EFBFBD>
|
||
<BR>
|
||
[avision] [81]:9->
|
||
<BR>
|
||
[avision] [82]:f8-><EFBFBD>
|
||
<BR>
|
||
[avision] [83]:d->
|
||
<BR>
|
||
[avision] [84]:b3-><EFBFBD>
|
||
<BR>
|
||
[avision] [85]:9->
|
||
<BR>
|
||
[avision] [86]:f8-><EFBFBD>
|
||
<BR>
|
||
[avision] [87]:10->
|
||
<BR>
|
||
[avision] [88]:68->h
|
||
<BR>
|
||
[avision] [89]:4->
|
||
<BR>
|
||
[avision] [90]:b0-><EFBFBD>
|
||
<BR>
|
||
[avision] [91]:3->
|
||
<BR>
|
||
[avision] [92]:4->
|
||
<BR>
|
||
[avision] [93]:c8-><EFBFBD>
|
||
<BR>
|
||
[avision] [94]:5->
|
||
<BR>
|
||
[avision] [95]:0->
|
||
<BR>
|
||
[avision] Inquiry x/y-range is vaild?!?
|
||
<BR>
|
||
[avision] sane_get_devices
|
||
<BR>
|
||
[avision] sane_open:
|
||
<BR>
|
||
[avision] init_options
|
||
<BR>
|
||
[avision] max_string_size
|
||
<BR>
|
||
[avision] make_mode
|
||
<BR>
|
||
[avision] sane_control_option
|
||
<BR>
|
||
[avision] sane_get_option_descriptor
|
||
<BR>
|
||
[avision] sane_get_option_descriptor
|
||
<BR>
|
||
[avision] sane_control_option
|
||
<BR>
|
||
(.......)
|
||
<BR>
|
||
[avision] sane_get_option_descriptor
|
||
<BR>
|
||
[avision] sane_get_option_descriptor
|
||
<BR>
|
||
[avision] sane_start
|
||
<BR>
|
||
[avision] sane_get_parameters
|
||
<BR>
|
||
[avision] wait_ready: sending TEST_UNIT_READY
|
||
<BR>
|
||
[avision] set_windows
|
||
<BR>
|
||
[avision] set_gamma
|
||
<BR>
|
||
[avision] brightness: 0.000000, contrast: 0.000000
|
||
<BR>
|
||
[avision] use custom gamma-table
|
||
<BR>
|
||
[avision] start_scan
|
||
<BR>
|
||
[avision] sane_get_parameters
|
||
<BR>
|
||
[avision] sane_set_io_mode
|
||
<BR>
|
||
[avision] sane_get_select_fd
|
||
<BR>
|
||
[avision] reader_process
|
||
<BR>
|
||
[avision] lines_per_buffer=2, bytes_per_line=7188
|
||
<BR>
|
||
[avision] read_data
|
||
<BR>
|
||
[avision] read_data: bytes 14376
|
||
<BR>
|
||
[avision] sense_handler
|
||
<BR>
|
||
[avision] sense_handler: got unknown sense code 22
|
||
<BR>
|
||
[avision] 0:[22]
|
||
<BR>
|
||
[avision] 1:[d9]
|
||
<BR>
|
||
[avision] 2:[8a]
|
||
<BR>
|
||
[avision] 3:[41]
|
||
<BR>
|
||
[avision] 4:[22]
|
||
<BR>
|
||
[avision] 5:[d9]
|
||
<BR>
|
||
[avision] 6:[8a]
|
||
<BR>
|
||
[avision] 7:[41]
|
||
<BR>
|
||
[avision] 8:[22]
|
||
<BR>
|
||
[avision] 9:[d9]
|
||
<BR>
|
||
[avision] 10:[8a]
|
||
<BR>
|
||
[avision] 11:[41]
|
||
<BR>
|
||
[avision] 12:[5f]
|
||
<BR>
|
||
[avision] 13:[87]
|
||
<BR>
|
||
[avision] 14:[95]
|
||
<BR>
|
||
[avision] 15:[41]
|
||
<BR>
|
||
[avision] 16:[9d]
|
||
<BR>
|
||
[avision] 17:[35]
|
||
<BR>
|
||
[avision] 18:[a0]
|
||
<BR>
|
||
[avision] 19:[41]
|
||
<BR>
|
||
[avision] 20:[da]
|
||
<BR>
|
||
[avision] reader_process: read_data failed with status=9
|
||
<BR>
|
||
[avision] sane_read
|
||
<BR>
|
||
[avision] sane_read:read 0 bytes
|
||
<BR>
|
||
[avision] do_eof
|
||
<BR>
|
||
[avision] sane_get_option_descriptor
|
||
<BR>
|
||
[avision] sane_get_option_descriptor
|
||
<BR>
|
||
[avision] sane_get_option_descriptor
|
||
<BR>
|
||
(........)
|
||
<BR>
|
||
[avision] sane_get_option_descriptor
|
||
<BR>
|
||
[avision] sane_get_option_descriptor
|
||
<BR>
|
||
[avision] sane_cancel
|
||
<BR>
|
||
[avision] sane_close
|
||
<BR>
|
||
[avision]
|
||
<BR>
|
||
[avision] sane_exit
|
||
<BR>
|
||
<P>Thank You for reading ;-)
|
||
<BR>
|
||
<P>J<EFBFBD>rg
|
||
<BR>
|
||
<P><PRE>
|
||
--
|
||
Sent through GMX FreeMail - <A HREF="http://www.gmx.net">http://www.gmx.net</A>
|
||
<P>--
|
||
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
||
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20HP5300C%20-%20USB-problems?&In-Reply-To=<9888.982406987@www26.gmx.net>">majordomo@mostang.com</A>
|
||
</PRE>
|
||
<P><!-- body="end" -->
|
||
<HR NOSHADE>
|
||
<UL>
|
||
<!-- next="start" -->
|
||
<LI><STRONG>Next message:</STRONG> <A HREF="0172.html">j.steindlberger@gmx.de: "Re: HP5300C - USB-problems?"</A>
|
||
<LI><STRONG>Previous message:</STRONG> <A HREF="0170.html">Andrew Williams: "Re: HP5300C - USB-problems?"</A>
|
||
<LI><STRONG>In reply to:</STRONG> <A HREF="0169.html">Oliver Neukum: "Re: HP5300C - USB-problems?"</A>
|
||
<!-- nextthread="start" -->
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0174.html">abel deuring: "Re: HP5300C - USB-problems?"</A>
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0172.html">j.steindlberger@gmx.de: "Re: HP5300C - USB-problems?"</A>
|
||
<LI><STRONG>Next in thread:</STRONG> <A HREF="0170.html">Andrew Williams: "Re: HP5300C - USB-problems?"</A>
|
||
<LI><STRONG>Reply:</STRONG> <A HREF="0174.html">abel deuring: "Re: HP5300C - USB-problems?"</A>
|
||
<!-- reply="end" -->
|
||
<LI><STRONG>Messages sorted by:</STRONG>
|
||
<A HREF="date.html#171">[ date ]</A>
|
||
<A HREF="index.html#171">[ thread ]</A>
|
||
<A HREF="subject.html#171">[ subject ]</A>
|
||
<A HREF="author.html#171">[ author ]</A>
|
||
</UL>
|
||
<!-- trailer="footer" -->
|
||
<HR NOSHADE>
|
||
<P>
|
||
<SMALL>
|
||
<EM>
|
||
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
|
||
: <EM>Sat Feb 17 2001 - 02:43:54 PST</EM>
|
||
</EM>
|
||
</SMALL>
|
||
</BODY>
|
||
</HTML>
|