LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 04-28-2006, 09:05 PM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
HP PSC 1315 USB Printer on CUPS (DesktopBSD)


I tried this question at bsdforums.org and don't seem to have got a response...

The CUPS interface doesn't seem to allow me to configure a USB printer. How do I get to configure my USB printer (HP PSC 1315) from DesktopBSD (FreeBSD 5.5 based)?
 
Old 04-29-2006, 12:09 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
I have noticed that sometimes you have to wait for ages to get a reply on bsdforums.org.

Do you have the following usbd_enable="YES" in /etc/rc.conf? Can you access other USB devices? Also have you installed hplip or hpijs?
 
Old 04-29-2006, 12:41 AM   #3
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Rep: Reputation: 30
Time zone thing

Quote:
Originally Posted by reddazz
I have noticed that sometimes you have to wait for ages to get a reply on bsdforums.org.

Do you have the following usbd_enable="YES" in /etc/rc.conf? Can you access other USB devices? Also have you installed hplip or hpijs?
i believe its a time zone thing. Sometimes when im up around 2am - 5am i get responces fast.
 
Old 04-29-2006, 01:03 AM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
Thanks for the suggestion. Will try it out soon...

Also I didn't get a reply even after 24 hours at BSD forums, that's why I posted here. (as of this post I've not got an answer yet).

Is hpijs and hplip on ports / packages?
 
Old 04-29-2006, 01:14 AM   #5
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Rep: Reputation: 30
Quote:
Originally Posted by Harishankar
Thanks for the suggestion. Will try it out soon...

Also I didn't get a reply even after 24 hours at BSD forums, that's why I posted here. (as of this post I've not got an answer yet).

Is hpijs and hplip on ports / packages?
To checkout what the ports has go to

httpd://www.freebsd.org/ports

I dont use a hp printer but isnt the port you should be looking for hpoj?
both are in the ports tree howerver.

Also can you see if your computer is able to see your printer with usbdevs

Last edited by Fredstar; 04-29-2006 at 01:23 AM.
 
Old 04-29-2006, 03:32 AM   #6
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by Fredstar
i believe its a time zone thing. Sometimes when im up around 2am - 5am i get responces fast.
The community is a lot smaller than most Linux forums, so I think this is part of the reason why reponses can take a long time.
 
Old 04-29-2006, 06:22 AM   #7
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
In Linux I use the hpijs for the printing functionality and hpoj for scanning. I guess that's how it should work in FreeBSD?
 
Old 04-29-2006, 06:26 AM   #8
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by Harishankar
In Linux I use the hpijs for the printing functionality and hpoj for scanning. I guess that's how it should work in FreeBSD?
Yes thats the way it should work. I use the hpijs with my photosmart 7660 printer and it works fine.
 
Old 04-29-2006, 09:57 AM   #9
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
The comments in the /etc/rc.conf file says I should not add overrides here. However, the setting is correct, so I didn't need to change anything... For future reference where do I add the overrides? I says ${rc_conf_files} but what is this exactly?

Secondly

Now I installed the hpijs driver, but the CUPS interface still doesn't show any USB connected devices? Show the printer be switched on while configuring?

In other words what should be the device URI for a USB connected printer?

Note: DesktopBSD displays a "device connected" message when I switch on the printer?

Last edited by vharishankar; 04-29-2006 at 10:00 AM.
 
Old 04-29-2006, 11:33 AM   #10
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Yes you should have the printed switched on during configuration so that cups knows exactly where it is connected. I think the uri depends on the number of usb ports on your machine and number of devices you already have connected to those ports. I usually edit /etc/rc.conf but you can create an /etc/rc.conf.local that overrides /etc/rc.conf.

Last edited by reddazz; 04-29-2006 at 11:34 AM.
 
Old 04-29-2006, 11:48 PM   #11
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
I have the printer switched on but it still doesn't show the device URI in CUPS. There doesn't seem to be a detected device, but

dmesg | grep uhub
says:
Code:
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
 
Old 04-30-2006, 02:39 AM   #12
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
It seems like other people have had problems with this particular printer on FreeBSD. I googled for "freebsd HP PSC 1315" and lots of results came up but I couldn't find a possible solution.
 
Old 04-30-2006, 02:47 AM   #13
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
I have a feeling that it's just one step to configure this printer on FreeBSD/DesktopBSD. Everything about BSD looks neat and well organized. The only thing I cannot seem to determine is what that step is...

Even on Linux this is an easy printer to configure thanks to the hpijs driver.

The big issue is that I'm still lost when it comes to devices, device names and config locations on BSD.

Last edited by vharishankar; 04-30-2006 at 02:49 AM.
 
Old 04-30-2006, 02:49 AM   #14
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Rep: Reputation: 30
Quote:
Originally Posted by Harishankar
I have the printer switched on but it still doesn't show the device URI in CUPS. There doesn't seem to be a detected device, but

dmesg | grep uhub
says:
Code:
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
What does usbdevs give you when the power is on?
 
Old 04-30-2006, 02:51 AM   #15
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
Quote:
What does usbdevs give you when the power is on?
I'll let you know when I boot DesktopBSD. Thanks for the suggestion.

A small thing: I actually couldn't configure this printer right in Linux when it was switched on because the device URI was detected wrong in the CUPS interface. Only when I used the generic URI it worked. In BSD no URI is shown for the USB device even when it's switched on.
 
  


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
[SOLVED] HP PSC 1315 - Printer detected under CUPs but not working (hplip/hpijs driver) vharishankar Linux - Hardware 19 09-01-2009 02:26 PM
Setup HP PSC 1315 / 1310 - Scanner zparihar Linux - General 26 06-06-2007 12:12 AM
Cups configuration, hp psc 1315 printer ArchArael Linux - Hardware 0 05-13-2005 04:18 AM
HP psc 1315 freezes in Slackware fader Slackware 0 10-15-2004 11:43 AM
CUPS with Samba and the HP PSC 1200 printer, help! ateam Linux - Hardware 0 09-24-2004 05:21 PM


All times are GMT -5. The time now is 06:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration