USB Requirements

"Pieter Agten" <[email protected]> Thu, 27 Oct 2005 19:00:33 +0200
Newsgroups gmane.linux.drivers.hpofficejet.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.

------=_NextPart_000_000C_01C5DB28.B59346F0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello,

 

I want to compile HPOJ for a mipsel router so I can use this router to share
my HP Officejet G55 on my personal network. I have successfully cross
compiled hpoj after some major problems at first (configure script seems to
contain some major bugs, but I'll post on that at a later time). Now I
executed ptal-init setup on this router and it didn't probe for USB devices
because it wasn't compiled with USB-support. But I DID compile it with usb
support. I first cross compiled libusb and then pointed the configure script
to the right directory. I also used some other options like no SNMP support,
no parallel port support, no sane support (I will compile with this at a
later time) and no cups support.

 

Also, is libusb required to be on the router to run the driver? Or is it
only required for compiling?

 

Should I compile with cups support (thus
-with-cups-backend=/dir/to/cups/backend) to get usb support? Or is it a bug
that ptal-init setup claims that there is no USB support even though there
should be?

And if I should compile with cups support, do I have to copy cups to the
router or is cups only needed to compile and not to run the driver?

 

Thanks a lot in advance,

Pieter Agten


------=_NextPart_000_000C_01C5DB28.B59346F0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.E-mailStijl17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DNL link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Hello,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>I want to compile HPOJ for a mipsel router so =
I can
use this router to share my HP Officejet G55 on my personal network. I =
have
successfully cross compiled hpoj after some major problems at first =
(configure
script seems to contain some major bugs, but I&#8217;ll post on that at =
a later
time). Now I executed ptal-init setup on this router and it didn&#8217;t =
probe
for USB devices because it wasn&#8217;t compiled with USB-support. But I =
DID
compile it with usb support. I first cross compiled libusb and then =
pointed the
configure script to the right directory. I also used some other options =
like no
SNMP support, no parallel port support, no sane support (I will compile =
with
this at a later time) and no cups support.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Also, is libusb required to be on the router =
to run
the driver? Or is it only required for =
compiling?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Should I compile with cups support (thus =
&#8211;with-cups-backend=3D/dir/to/cups/backend)
to get usb support? Or is it a bug that ptal-init setup claims that =
there is no
USB support even though there should be?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>And if I should compile with cups support, do =
I have
to copy cups to the router or is cups only needed to compile and not to =
run the
driver?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Thanks a lot in =
advance,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Pieter Agten<o:p></o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_000C_01C5DB28.B59346F0--



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information