View previous topic :: View next topic |
Author |
Message |
grepcomputers Guru
Joined: 16 Sep 2003 Posts: 375
|
Posted: Tue Oct 07, 2003 9:42 pm Post subject: USB hp 3820 not being seen, I'm not very good with USB |
|
|
I'm a windows loser when it comes to USB. Slap it in and bang (usually...)
So, I've got the Gentoo printing guide right here, all printed (haha) out...(from a windows machine, I admit it)
I followed the guide, loaded the correct modules (printer and usbcore):
Code: | Module Size Used by Tainted: P
snd-seq-midi 4160 0 (autoclean)
snd-seq-oss 30240 0 (autoclean)
snd-seq-midi-event 3496 0 (autoclean) [snd-seq-midi snd-seq-oss]
snd-seq 39920 2 (autoclean) [snd-seq-midi snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 40164 0 (autoclean)
snd-mixer-oss 13880 0 (autoclean) [snd-pcm-oss]
printer 7744 0 (unused)
eepro100 20116 1
mii 2544 0 [eepro100]
fglrx 161320 6
agpgart 14352 4 (autoclean)
snd-cs46xx 69716 3
snd-rawmidi 14592 0 [snd-seq-midi snd-cs46xx]
snd-seq-device 4384 0 [snd-seq-midi snd-seq-oss snd-seq snd-rawmidi]
snd-pcm 62112 1 [snd-pcm-oss snd-cs46xx]
snd-timer 15656 0 [snd-seq snd-pcm]
snd-ac97-codec 37536 0 [snd-cs46xx]
snd 31108 2 [snd-seq-midi snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-cs46xx snd-rawmidi snd-seq-device snd-pcm snd-timer snd-ac97-codec]
soundcore 4196 8 [snd]
gameport 1692 0 [snd-cs46xx]
snd-page-alloc 5164 0 [snd-cs46xx snd-pcm]
usbcore 71744 2 [printer] |
"tail /var/log/messages" doesn't work because the file doesn't exist. "cat /proc/bus/usb/devices" and usbview work, but there is nothing in the file. The printer is plugged into the USB port on my computer and turned on. Tried unplugging and replugging. Started "/etc/init.d/usbd"...
2x USB1.1 back of mobo (this is where the printer is)
2x USB1.1 front of case (extension connectors on mobo)
2x USB2.0 on a PCI card, which I am not particularly worried about right now...
Ugh, and I have to get my USB digicam working at some point too...
So, the computer doesn't seem to see the printer, so I don't even know if cups, foomatic and gimp-print even work...
cheers...
...grep |
|
Back to top |
|
|
qwkbrnfox Apprentice
Joined: 05 Nov 2002 Posts: 231 Location: Vancouver, BC, Canada
|
Posted: Tue Oct 07, 2003 10:21 pm Post subject: |
|
|
Try looking in /var/log/everything/current. Remember that the logger may have a delay in writing, so nothing may show for a couple of minutes. Try running dmesg, too. Those two things should reveal a lot. Hopefully. |
|
Back to top |
|
|
GTVincent Tux's lil' helper
Joined: 26 Oct 2002 Posts: 91 Location: Las Vegas, NV
|
Posted: Tue Oct 07, 2003 10:56 pm Post subject: |
|
|
You would also have to compile and/or load uhci-hcd, ohci-hcd or ehci-hcd (depending on your system) and the usb-printer modules. I don't see those in your list above. |
|
Back to top |
|
|
grepcomputers Guru
Joined: 16 Sep 2003 Posts: 375
|
Posted: Tue Oct 07, 2003 11:25 pm Post subject: |
|
|
This is what I get when trying to load uhci:
Code: | bash-2.05b# modprobe uhci
/lib/modules/2.4.20-gentoo-r6/kernel/drivers/usb/uhci.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-gentoo-r6/kernel/drivers/usb/uhci.o: insmod /lib/modules/2.4.20-gentoo-r6/kernel/drivers/usb/uhci.o failed
/lib/modules/2.4.20-gentoo-r6/kernel/drivers/usb/uhci.o: insmod uhci failed |
Don't the printer modules come from gimp-print or foomatic or something? I do have printers.o installed, which, according to the gentoo print guide, is the usb print driver I need...
And I've waited a while, and there is still nothing in /proc/bus/usb/devices
/var/log/everything/current mentions USB:
Code: |
Oct 7 12:44:24 [kernel] usb.c: registered new driver usblp
...
Oct 7 17:35:32 [kernel] uhci.c: USB Universal Host Controller Interface driver v1.1
|
thanks...
...grep |
|
Back to top |
|
|
GTVincent Tux's lil' helper
Joined: 26 Oct 2002 Posts: 91 Location: Las Vegas, NV
|
Posted: Tue Oct 07, 2003 11:51 pm Post subject: |
|
|
grepcomputers wrote: | This is what I get when trying to load uhci:
Code: | bash-2.05b# modprobe uhci
/lib/modules/2.4.20-gentoo-r6/kernel/drivers/usb/uhci.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-gentoo-r6/kernel/drivers/usb/uhci.o: insmod /lib/modules/2.4.20-gentoo-r6/kernel/drivers/usb/uhci.o failed
/lib/modules/2.4.20-gentoo-r6/kernel/drivers/usb/uhci.o: insmod uhci failed |
Don't the printer modules come from gimp-print or foomatic or something? I do have printers.o installed, which, according to the gentoo print guide, is the usb print driver I need...
And I've waited a while, and there is still nothing in /proc/bus/usb/devices
/var/log/everything/current mentions USB:
Code: |
Oct 7 12:44:24 [kernel] usb.c: registered new driver usblp
...
Oct 7 17:35:32 [kernel] uhci.c: USB Universal Host Controller Interface driver v1.1
|
thanks...
...grep |
OK, gimp-print and foomatic and the like only provide you the printer protocol drivers, not the hardware drivers. On a more basic level you'll need to first have the computer to be able to see the printer. You're using the 2.4 kernel, so you can choose from the uhci, usb-uhci and usb-ohci modules. I haven't used the 2.4 kernel for a while (and I did give you the module names as they are now in 2.6 kernels), but I believe the first two to be mutual exclusive. Since uhci obviously doesn't work for you, maybe one of the others will.
And you're right, the module for usb-printers is printer. Did you compile all your usb stuff as modules? Or is there some built into your kernel as well? |
|
Back to top |
|
|
grepcomputers Guru
Joined: 16 Sep 2003 Posts: 375
|
Posted: Wed Oct 08, 2003 2:15 am Post subject: |
|
|
Ok, thanks for the info on the usb modules in the kernel. I got it working, I had the wrong driver compiled. Got it fixed and my printer was detected. (Next re-compile I gotta try it with my USB2 card...)
Followed the printer guide from gentoo, got printer working!
I can print in openoffice (at least, in oowriter), and in firebird (and, I assume, mozilla), but I *can't* print from Evolution. I print in firebird to the generic postscript printer, but printing to that in evolution doesn't do anything.
Also, I added the USE flags cups and usb to make.conf (as suggested in the printing guide)...so should I recompile evolution and mozilla/firebird to get cups support or something (openoffice seems to have it built in already...)?
Actually, openoffice only seems to detect the hp3820, but not actually have the cups interface or, at least, all the nifty options I get in windows...ack, I really don't want to have to recompile openoffice...
cheers...
...grep |
|
Back to top |
|
|
GTVincent Tux's lil' helper
Joined: 26 Oct 2002 Posts: 91 Location: Las Vegas, NV
|
Posted: Wed Oct 08, 2003 2:06 pm Post subject: |
|
|
grepcomputers wrote: |
I can print in openoffice (at least, in oowriter), and in firebird (and, I assume, mozilla), but I *can't* print from Evolution. I print in firebird to the generic postscript printer, but printing to that in evolution doesn't do anything. |
Good that you got things (at least partially) working. Printing on unix/linux can still be one of the most complicated things using those OSes. I'm not sure why you can't print from Evolution while you can print from other programs. As far as I know, an application just sends the data to be printed to the printer driver (the protocol driver, that is) and from there on it's out of the app's hands. Maybe the logfile will give you more information: /var/logs/cups/error-log. If that's not specific enough, you can try and set the loglevel to debug so you get more information in this logfile (or even to debug2, but I doubt that you'd want THAT much information!) in /etc/cups/cupsd.conf. |
|
Back to top |
|
|
grepcomputers Guru
Joined: 16 Sep 2003 Posts: 375
|
Posted: Wed Oct 08, 2003 7:39 pm Post subject: |
|
|
Well, I certainly was foolish this time.
I *think* all I had to do was restart evolution...doh!
If not...well, I rebooted for something else, and when I opened evolution it could see my printer and cups...
cheers!
...grep |
|
Back to top |
|
|
|
|
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
|
|