Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel 2.6 usbcore?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
downed
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2004
Posts: 115
Location: Staten Island, NY

PostPosted: Wed Apr 07, 2004 5:19 pm    Post subject: kernel 2.6 usbcore? Reply with quote

I'm trying to setup my usb printer according to the gentoo printing guide but where the hell is the usbcore module I get this when trying to modprobe usbcore

modprobe usbcore
Segmentation fault

usblp loads fine but doesn't find a printer when i tail -f /var/log/message I'm using kernel 2.6.5 anyone know what I'm missing?
Back to top
View user's profile Send private message
diastelo
Guru
Guru


Joined: 23 Feb 2004
Posts: 521

PostPosted: Wed Apr 07, 2004 6:04 pm    Post subject: Reply with quote

The module "usbcore" only applies if you didn't compile USB support directly into your kernel. If you have hotplug enabled in your kernel and you plug in your printer, dmesg should show that your printer is dynamically installed.

Are you using udev or devfs?
_________________
"No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw
Back to top
View user's profile Send private message
downed
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2004
Posts: 115
Location: Staten Island, NY

PostPosted: Thu Apr 08, 2004 3:21 am    Post subject: Reply with quote

Alright I got hotplug enabled and started up at boot but I don't see a /dev entry for my printer do I have to create one? Its a usb hp deskjet 3820
Back to top
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Thu Apr 08, 2004 3:25 am    Post subject: Reply with quote

Which guide are you following? The Gentoo Printing How-To is good about telling you which packages to get, but you should find specific instructions at [url]hpinkjet.sourceforge.net[/url]
Back to top
View user's profile Send private message
downed
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2004
Posts: 115
Location: Staten Island, NY

PostPosted: Thu Apr 08, 2004 4:05 am    Post subject: Reply with quote

Yes I am following the gentoo printing guide however I've gotton printing to work on gentoo before as well as freebsd I have a feeling I'm missing something =\
Back to top
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Thu Apr 08, 2004 4:11 am    Post subject: Reply with quote

HP is weird. Assuming you have a usb printer, you might not be able to access it at all without the drivers properly configured. Is there a /dev/lp0 or /dev/usb/lp0 entry at all? If not, show us your usb bus with this command:

Code:
cat /proc/bus/usb/devices

Your printer should appear somewhere in there. If not, you have a USB connectivity issue.
Back to top
View user's profile Send private message
diastelo
Guru
Guru


Joined: 23 Feb 2004
Posts: 521

PostPosted: Thu Apr 08, 2004 12:13 pm    Post subject: Reply with quote

Are you running the latest version of hpijs and ghostscript? You'll also need to worry about what print manager to use, though most people, including myself, go with CUPS.
_________________
"No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw
Back to top
View user's profile Send private message
downed
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2004
Posts: 115
Location: Staten Island, NY

PostPosted: Thu Apr 08, 2004 5:06 pm    Post subject: Reply with quote

cat /proc/bus/usb/devices
cat: /proc/bus/usb/devices: No such file or directory


No there is no /dev/lp or /dev/usb/lp device listed which is where I have the problem =\
Back to top
View user's profile Send private message
diastelo
Guru
Guru


Joined: 23 Feb 2004
Posts: 521

PostPosted: Thu Apr 08, 2004 5:22 pm    Post subject: Reply with quote

Have you been able to get any usb devices to work? Please consider recompiling your kernel. You can find usbcore under Device Drivers->USB Support. Select "Support for Host-side USB", "USB device filesystem", one of "EHCI", "OHCI", or "UHCI" support, and, of course, "USB Printer support". I recommend compiling each of these into the kernel except for "USB Printer support", but that's a personal preference. Then the only module you will have to load is usblp. Of course, you can compile printer support into the kernel anyway and have no modules at all to worry about.

Are you using udev or devfs? If you don't understand the difference, one is a separate program, while the other is compiled into the kernel. The Gentoo Handbook currently still recommends devfs.
_________________
"No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw
Back to top
View user's profile Send private message
downed
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2004
Posts: 115
Location: Staten Island, NY

PostPosted: Thu Apr 08, 2004 5:42 pm    Post subject: Reply with quote

Well its working now after using genkernel apparently I missed something that genkernel picked up don't know what that might be as I checked and doublechecked I had everything related to usb enabled...weird but its working now so thats good
Back to top
View user's profile Send private message
diastelo
Guru
Guru


Joined: 23 Feb 2004
Posts: 521

PostPosted: Thu Apr 08, 2004 5:48 pm    Post subject: Reply with quote

If you had your printer plugged in when you ran genkernel, it might have discovered it for you.
_________________
"No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
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