View previous topic :: View next topic |
Author |
Message |
SiaFhir n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_agent_smith.gif)
Joined: 11 Feb 2004 Posts: 4
|
Posted: Sun Feb 15, 2004 5:33 am Post subject: Problem installing HP PhotoSmart 1000 [RESOLVED] |
|
|
I'm new to Gentoo (only a week), and after several days fruitlessly searching the forums, I still can't install my HP PhotoSmart 1000 printer under USB. It worked great in Fedora and Windoze, but it doesn't seem to be detected in Gentoo. I have added USB Support and USB Printer Support in the kernel (2.4.22-gentoo-r5) as modules, recompiled it and then loaded the modules. I have followed the Printing Guide very carefully twice. The latest versions of Cups, Foomatic and hpijs are installed, but when I plug the printer in, rather than the detailed messages in the log, the most I get are:
Code: | Feb 14 22:40:46 localhost kernel: usb.c: registered new driver usblp
Feb 14 22:40:46 localhost kernel: printer.c: v0.11: USB Printer Device Class driver |
I think those are just the messages for the modprobes. Messages like that fail to show up when I unplug the usb cable and plug it back in. So I don't think it's being detected.
The printer doesn't get set up automatically in the CUPS Config page, so I tried adding it manually, and it says it's there and idle, but no print jobs ever get accepted.
Can anyone help me?
Thanks,
SiaFhir
Last edited by SiaFhir on Sun Feb 15, 2004 7:11 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54837 Location: 56N 3W
|
Posted: Sun Feb 15, 2004 3:21 pm Post subject: |
|
|
SiaFhir,
If you look in /dev/usb do you have a lp0 device when the printer is connected?
If so, the kernel is OK and its a CUPS Install/config problem.
Look in /etc/cups/printers.conf and check the DeviceURI line is
Quote: | DeviceURI usb:/dev/usb/lp0 |
I kept getting the "/" missing before lp0
Are you using the HP driver? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SiaFhir n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_agent_smith.gif)
Joined: 11 Feb 2004 Posts: 4
|
Posted: Sun Feb 15, 2004 3:55 pm Post subject: |
|
|
Nope, nothing in /dev/usb. Yes I installed hpijs, which is what I used to get my printer working in Red Hat. I also took a look at the readme file for hpijs, as the printer guide *highly* suggested. Nothing in there was of any help. All installation instructions assumed CUPS, Foomatic and Ghostscript are not installed, and starts installation from there.
In /etc/cups/printers.conf the DeviceURI line shows:
Quote: | DeviceURI usb:/dev/usblp0 |
usblp0 also doesn't exist in /dev.
So it's something in the kernel then. I recompiled it last night, this time with the USB, Printer and scanner as built-in support. No difference there. Still stuck.
I should note that I'm also fairly new to kernel recompiling. What I did is followed the Gentoo Guide as if it were first install. I mounted my boot partition to /boot, and then did the following:
Code: | make menuconfig
cp .config ~/
make mrproper
cp ~/.config ./
make dep && make bzImage modules modules_install
cp arch/i386/boot/bzImage /boot/kernel-2.4.22-gentoo-r5
cp System.map /boot/System.map-2.4.22-gentoo-r5
|
And then I unmounted /boot and rebooted. I hope I did that right.
Thanks,
SiaFhir |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54837 Location: 56N 3W
|
Posted: Sun Feb 15, 2004 4:44 pm Post subject: |
|
|
SiaFhir,
That kernel build looks OK but its serious overkill for a missing module.
Code: | make modules
make modules install | is enough. Its a lot faster too.
If you have X up and running make xconfig is much nicer than make menuconfig.
You need to choose at least the following
# USB support
CONFIG_USB=m
# Miscellaneous USB options
CONFIG_USB_DEVICEFS=y
# USB Host Controller Drivers
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_PRINTER=m
You can have other things too. If you don't like modules you can say 'Y' except to the Host Controller Drivers, where you must choose the right one from OHCI and UHCI to suit your hardware. EHCI is for USB 2.0 _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SiaFhir n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_agent_smith.gif)
Joined: 11 Feb 2004 Posts: 4
|
Posted: Sun Feb 15, 2004 7:11 pm Post subject: |
|
|
Yup, that was the problem. OHCI is what my printer needed (among the other options that you mentioned). lp0 and scanner0 now show up in /dev/usb, I got the correct log messages and the low-level test print worked. Then I had the problem that CUPS still insisted the printer was on /dev/usblp0. I changed it manually to /dev/usb/lp0 in printers.conf, restarted cupsd, and now everything works.
Thank you for you help NeddySeagoon.
SiaFhir |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|