LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-31-2004, 11:44 AM   #1
drogers8
LQ Newbie
 
Registered: May 2004
Location: NY
Distribution: FC2
Posts: 4

Rep: Reputation: 0
Question USB Printer Problems


I recently install Fedora C2 on a dual boot system. Xp prints to my HP Office Jet G55 printer connected on my USB port,. On the fedora side I installed hpoj-0.91-7 rpm and libsane-hpoj-0.91-7 rpm with the LANG=C. When the system boots up I see that hpoj is running. As su I run /usr/sbin/ptal-init setup. Ptal does not see any usb devices connected. I assume this needs to happen before I can successfully run the printer config gui.

I also download a USBVIEWER program an it sees the usb hubs.

What causes ptal to not see any USB devices?

I really world like to get this working because I HATE windows and want to get completely on Linux based system for all my programming projects.
 
Old 05-31-2004, 12:53 PM   #2
TroelsSmit
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223

Rep: Reputation: 30
This is how I see attached USB devices:

cat /proc/bus/usb/devices | less

I hope this helps...
 
Old 06-01-2004, 06:16 AM   #3
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 540

Rep: Reputation: 32
I installed some days ago the hpoj driver for my HP PSC 2110 on Slackware.
I did that compiling the driver from sources, so I cannot report any detail installing it by binaries.
You must also be noticed hpoj driver works fine with cups spooling system. According to instruction lpd system is not fully compatible.
Anyway this is what I did

Uncompressed the tar.gz archive
then from the installation directory
./configure --with-usblib=/lib/modules/2.4.22/kernel/drivers/usb *
this is mandatory since the driver needs to be compiled with the usb transporter interface you're using. May be you have a different path. What you should check is that path leads to /.../.. /usb/printer.o.gz finally
make
make install
*This will install hpoj into /usr/local that is usually OK. If a different installation path is required add --prefix=/usr or --prefix=/opt
At this point hpoj deriver should be correctly installed and you should be able to configure it by
ptal-init setup
Once finished configuring you have to restart cups in order it can recognize the new ptal device.
On slackware this can be done by
/etc/rc.d/rc.cups stop
/etc/rc.d/rc.cups start
Please note on fedora this should be different as it uses SystemV init scripts.
If I'm not wrong it should be something like,
/etc/rc.d/init.d/cups(d)
but I strongly suggest you check first
Wait a couple of minutes to make sure cups is actually enabled
At this point you should be able to configure your printer (cups) by the web interface opening a web browser (ie konqueror) at
localhost:631
and follow instructions. Take care when asked what connection/transporter you want to be used, you choose ptal + something.
For you it could be "ptal:hp office jet series" or something similar. Do not choose usb_lp as it doesn't work.
As the configuration step is finished you should be able to print a test page.
Now the problem is to enable ptal device at boot possibly before the cups spooling system in order it can properly recognize it.
For the purpose I created a soft link by
ln -s /usr/local/sbin/ptal-init /etc/rc.d/ptal-init
and added
if [ -x /etc/rc.d/ptal-init ]; then
/etc/rc.d/ptal-init start
fi
just before the cups section to my /etc/rc.d/rc.M file.
I'm not experienced at all with fedora System V init scripts, so I cannot give some good suggestions.
Try posting to fedora forum section, I'm sure you'll find someone experienced.
Hope this helps
Ciao
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with USB printer (and webcam too) darksmiley Linux - Hardware 7 10-11-2004 08:50 PM
Still having problems with my USB Printer linuxnewbie24 Linux - Hardware 1 10-03-2004 08:37 AM
JDS with SuSe, usb/printer problems GoinEasy9 Linux - General 0 02-22-2004 02:32 PM
Problems with USB Printer in 2.6 batkins Linux - Hardware 0 11-02-2003 11:31 PM
USB printer problems LILLY4117 Linux - Hardware 0 08-28-2003 08:14 PM


All times are GMT -5. The time now is 08:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration