Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hpoj - HP OfficeJet - howto
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
nadamsieee
Guru
Guru


Joined: 30 May 2003
Posts: 340
Location: Atlanta, GA, USA

PostPosted: Wed Nov 17, 2004 10:39 pm    Post subject: Reply with quote

hello,

I had a working install for my hp pcs 1201xi all-in-one until I upgraded my kernel to version 2.6.9 from 2.4.x. I can print from CUPS, but the scanner is not detected. What are the kernel dependencies for this to work?

Here is what happens when I try to add the scanner (I deleted it earlier):
Code:
# ptal-init setup

Stopping the HP OfficeJet Linux driver.

----------------------------------------------------------------------

This program manages devices controlled by the HP OfficeJet Linux
driver (hpoj).  It attempts to probe your computer for local parallel-
and USB-connected devices, and allows you to specify network addresses
for remote JetDirect-connected devices.

If you experience any difficulties in detecting your device(s), then
refer to the hpoj documentation for troubleshooting information.

----------------------------------------------------------------------

Currently defined device names ([*]=default):
    (none)

----------------------------------------------------------------------

Probe for parallel-connected devices ([y]/n)?  n

----------------------------------------------------------------------

Probe for USB-connected devices ([y]/n)?  y

Probing "/dev/usblp0"...
    No device found.

Probing "/dev/lp0"...
    No device found.

----------------------------------------------------------------------

Press <Enter> alone to continue, or if you would like to add a
JetDirect-connected device, then enter its dotted-decimal
IP address or hostname here --->

----------------------------------------------------------------------

Done updating device configuration files stored under /etc/ptal.
If you make manual changes to those files, then be sure to run
"/usr/sbin/ptal-init start" so they will take effect.

----------------------------------------------------------------------

Starting the HP OfficeJet Linux driver.
    No hpoj devices have been configured.
    As root, run "/usr/sbin/ptal-init setup".

_________________
nadams (at) ieee (dot) org
Back to top
View user's profile Send private message
nadamsieee
Guru
Guru


Joined: 30 May 2003
Posts: 340
Location: Atlanta, GA, USA

PostPosted: Thu Nov 18, 2004 3:59 am    Post subject: Reply with quote

OK, the problem was that I had both uhci-hcd and ohci-hcd compiled as modules, but my particular motherboard only need the uhci-hcd module. After I modprobed uhci-hcd, all of my usb stuff started working again.
_________________
nadams (at) ieee (dot) org
Back to top
View user's profile Send private message
Shiven
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2003
Posts: 97
Location: Victoria, Australia

PostPosted: Thu Nov 18, 2004 11:29 pm    Post subject: Reply with quote

sweet! thanks guys!

i've been trying to set my scanner up for probably three months now, but could never get it to display under scanimage -L, currently undergoing a reinstall on my desktop so i'll try this out later!
Back to top
View user's profile Send private message
soulfire
n00b
n00b


Joined: 09 Apr 2004
Posts: 70
Location: Italy

PostPosted: Sun Dec 12, 2004 1:11 am    Post subject: Reply with quote

i followed the howto and the tips given in the thread but i still can't get my psc2510 working :( :(
when i run

Code:
# ptal-init setup


the result is
Code:
Starting the HP OfficeJet Linux driver.
    No hpoj devices have been configured.


the device is correctly recognized, infact

Code:
#dmesg
....
usb 4-1: new full speed USB device using address 3
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x03F0 pid 0x3711
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor: HP        Model: psc 2510          Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0,  type 0
USB Mass Storage device found at 3


any suggestion ?
_________________
I can divide by zero
Back to top
View user's profile Send private message
greap
n00b
n00b


Joined: 05 Aug 2004
Posts: 13

PostPosted: Sun Dec 12, 2004 6:35 pm    Post subject: Reply with quote

If you're using an HP PSC1210 or somthing similar, and none of the
above tips have worked so far...

Here's something to keep in mind.
Make sure you have the 'usb' use-flag in your make.conf before you
emerge hpoj! Oh, and once it finishes emerging get ready to hit the
cancel button on your printer once for each time you tried to print
and it failed.

>.> (I've got a sore finger now)
Back to top
View user's profile Send private message
soulfire
n00b
n00b


Joined: 09 Apr 2004
Posts: 70
Location: Italy

PostPosted: Sun Dec 12, 2004 6:48 pm    Post subject: Reply with quote

the usb flag is set , and i recompiled hpoj at least 5 times without succeeding in making my printer/scanner work :( :(
_________________
I can divide by zero
Back to top
View user's profile Send private message
coutts99
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 171
Location: Sunderland, UK

PostPosted: Wed Dec 15, 2004 8:59 pm    Post subject: Reply with quote

greap wrote:
If you're using an HP PSC1210 or somthing similar, and none of the
above tips have worked so far...

Here's something to keep in mind.
Make sure you have the 'usb' use-flag in your make.conf before you
emerge hpoj! Oh, and once it finishes emerging get ready to hit the
cancel button on your printer once for each time you tried to print
and it failed.

>.> (I've got a sore finger now)


i see what you mean about pressing cancel!!
Back to top
View user's profile Send private message
beastmaster
Apprentice
Apprentice


Joined: 24 May 2004
Posts: 230

PostPosted: Mon Jan 10, 2005 8:21 am    Post subject: Reply with quote

For those who get this new error https://bugs.gentoo.org/show_bug.cgi?id=77346
Code:

ptal-mlcd: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
hpoj not compiled for parallel-port support; skipping parallel device probe.


Somehow the library naming is changed after some system upgrade.

A temperary solution:
Code:

cd /usr/lib/
ln -s libusb-0.1.4.4.0 libusb-0.1.so.4

:roll:

Hope it helps..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum