View previous topic :: View next topic |
Author |
Message |
Boinky Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/122601560244801ea65ff7c.jpg)
Joined: 03 Dec 2004 Posts: 256 Location: Almere
|
Posted: Wed Dec 15, 2004 8:22 pm Post subject: CONFIG_HOTPLUG [resolved] |
|
|
Hello there,
I compiled 2.6.9-gentoo-r9 and it gives me:
Code: | * CONFIG_HOTPLUG not enabled for this kernel |
When I type:
Code: | # /etc/init.d/cupsd restart |
it says:
Code: | * CONFIG_HOTPLUG not enabled for this kernel |
although .config reads:
I have printed with this printer using Xandros (2.4 kernel), so there is something wrong with this kernel, I presume.
Any ideas?
Cheers,
R
Last edited by Boinky on Tue Dec 21, 2004 10:04 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
/dev/random l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/19399785604be4823ea8b41.jpg)
Joined: 26 Nov 2004 Posts: 704 Location: Austin, Texas, USA
|
Posted: Wed Dec 15, 2004 8:45 pm Post subject: |
|
|
Maybe...?
Just a guess I doubt its that simple. Also, I presume you've compiled your kernel since you've added this support into your config and changed your boot loader's config to have it point to the new kernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Boinky Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/122601560244801ea65ff7c.jpg)
Joined: 03 Dec 2004 Posts: 256 Location: Almere
|
Posted: Wed Dec 15, 2004 10:00 pm Post subject: No go ... I've already done that ... ;-( |
|
|
Hello there,
thank you for your reply, but I already emerged hotplug after bootstrapping and added it to the boot runlevel.
And yes, I changed my /etc/grub/grub.conf after compiling a new kernel. I've tried 2.6.9-gentoo-r9 and development sources ...
Still the same error and still no printing possible ...
Is there something wrong with 2.6 sources?
Cheers,
R |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
/dev/random l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/19399785604be4823ea8b41.jpg)
Joined: 26 Nov 2004 Posts: 704 Location: Austin, Texas, USA
|
Posted: Wed Dec 15, 2004 10:11 pm Post subject: |
|
|
No cups works fine for me and I'm using gentoo-dev-sources-2.6.9-r6
Oh also if /etc/grub/grub.conf wasn't a typo you need to edit /boot/grub/grub.conf |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Boinky Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/122601560244801ea65ff7c.jpg)
Joined: 03 Dec 2004 Posts: 256 Location: Almere
|
Posted: Wed Dec 15, 2004 10:16 pm Post subject: Extra info |
|
|
- /usr/src/linux/.config:
Code: |
# /etc/init.d/hotplug start
* CONFIG_HOTPLUG not enabled for this kernel!
|
Yet, dmesg says:
usb 1-2: new full speed USB device using address 2
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x03F0 pid 0x7204 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Boinky Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/122601560244801ea65ff7c.jpg)
Joined: 03 Dec 2004 Posts: 256 Location: Almere
|
Posted: Wed Dec 15, 2004 10:17 pm Post subject: Typo |
|
|
Yeah, yeah, I'm in a hurry. /boot/grub/ ... I know, I know. This is not the first time I've recompiled a kernel and I know how to load it afterwards. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Boinky Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/122601560244801ea65ff7c.jpg)
Joined: 03 Dec 2004 Posts: 256 Location: Almere
|
Posted: Wed Dec 15, 2004 10:19 pm Post subject: Any ideas? |
|
|
In stead of reminding me of typos I would appreciate a sensible answer to solve this printing problem.
![Laughing :lol:](images/smiles/icon_lol.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
/dev/random l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/19399785604be4823ea8b41.jpg)
Joined: 26 Nov 2004 Posts: 704 Location: Austin, Texas, USA
|
Posted: Wed Dec 15, 2004 11:00 pm Post subject: |
|
|
Yeah sorry I was helping my idiot friend solve a basic Windows problem so I was assuming the worst. Post the portion of your kernel config dealing with USB. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Boinky Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/122601560244801ea65ff7c.jpg)
Joined: 03 Dec 2004 Posts: 256 Location: Almere
|
Posted: Thu Dec 16, 2004 1:50 pm Post subject: USB stuff in my .config |
|
|
Code: |
# ALSA USB devices
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set
# USB support
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
# Miscellaneous USB options
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
CONFIG_USB_DYNAMIC_MINORS=y
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set
# USB Host Controller Drivers
# CONFIG_USB_EHCI_HCD is not set
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_UHCI_HCD=y
# USB Device Class drivers
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=y
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_RW_DETECT is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# USB Human Interface Devices (HID)
# CONFIG_USB_HID is not set
# USB HID Boot Protocol drivers
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_MTOUCH is not set
# CONFIG_USB_EGALAX is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# USB Imaging devices
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set
# USB Multimedia devices
# CONFIG_USB_DABUSB is not set
# Video4Linux support is needed for USB Multimedia device support
# USB Network adaptors
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# USB port drivers
# USB Serial Converter support
# CONFIG_USB_SERIAL is not set
# USB Miscellaneous drivers
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGETSERVO is not set
# CONFIG_USB_TEST is not set
# USB Gadget Support
# CONFIG_USB_GADGET is not set
|
_________________ "RTFM!", the Gentoo Guru said, "although you shouldn't pay too much attention to the guides because they're all extremely outdated..." -- I like that kind of absurd humour! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
/dev/random l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/19399785604be4823ea8b41.jpg)
Joined: 26 Nov 2004 Posts: 704 Location: Austin, Texas, USA
|
Posted: Thu Dec 16, 2004 3:01 pm Post subject: |
|
|
I'm assuming it doesn't say:
Code: |
* CONFIG_HOTPLUG not enabled for this kernel
|
When you do /etc/init.d/hotplug restart
Also is it a USB 2.0 printer because if it is you need to set CONFIG_EHCI_HCD to yes. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Boinky Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/122601560244801ea65ff7c.jpg)
Joined: 03 Dec 2004 Posts: 256 Location: Almere
|
Posted: Thu Dec 16, 2004 3:25 pm Post subject: Extra info |
|
|
This command:
# /etc/init.d/hotplug (re)start
results in this output:
* CONFIG_HOTPLUG not enabled for this kernel!
Does a USB 2.0 printer connected to a USB 1.1 port need EHCI?
Cheers,
R _________________ "RTFM!", the Gentoo Guru said, "although you shouldn't pay too much attention to the guides because they're all extremely outdated..." -- I like that kind of absurd humour! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
/dev/random l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/19399785604be4823ea8b41.jpg)
Joined: 26 Nov 2004 Posts: 704 Location: Austin, Texas, USA
|
Posted: Thu Dec 16, 2004 5:43 pm Post subject: |
|
|
I'm bumping this thread up but I can't help you because I have to leave. Best of luck to you. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Boinky Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/122601560244801ea65ff7c.jpg)
Joined: 03 Dec 2004 Posts: 256 Location: Almere
|
Posted: Fri Dec 17, 2004 7:38 am Post subject: Bumping up ...?! |
|
|
Hi there,
couldn´t you have said this earlier? This isn´t really a nice way of dealing with people, you know. Then again, what else could one expect from someone who calls his own friend a Windows idiot?
Cheers,
R _________________ "RTFM!", the Gentoo Guru said, "although you shouldn't pay too much attention to the guides because they're all extremely outdated..." -- I like that kind of absurd humour! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mdshort Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/56714117941d37865279fb.gif)
Joined: 06 Dec 2004 Posts: 157
|
Posted: Tue Dec 21, 2004 12:38 am Post subject: |
|
|
Have you tried enabling it in your kernel.
Just instinct but try adding hotplugs as a module. _________________ "With every rise, there is a fall." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Boinky Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/122601560244801ea65ff7c.jpg)
Joined: 03 Dec 2004 Posts: 256 Location: Almere
|
Posted: Tue Dec 21, 2004 10:02 am Post subject: I´ve already done this |
|
|
I already said that:
* CONFIG_HOTPLUG=y in .config _________________ "RTFM!", the Gentoo Guru said, "although you shouldn't pay too much attention to the guides because they're all extremely outdated..." -- I like that kind of absurd humour! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Epikuros n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Aug 2003 Posts: 56 Location: Helsinki, Finland
|
Posted: Wed Dec 22, 2004 11:35 pm Post subject: Re: I´ve already done this |
|
|
Boinky wrote: | I already said that:
* CONFIG_HOTPLUG=y in .config |
Yeah but he's instict was telling to build it as a module:
CONFIG_HOTPLUG=m
[edit: then you have to command: modprobe hotplug of course] _________________ ---
Epikuros |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fitzsimmons Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1348444184419eba6fc1d67.gif)
Joined: 01 Jan 2003 Posts: 415 Location: Waterloo, Ontario, Canada
|
Posted: Fri Dec 31, 2004 4:05 am Post subject: |
|
|
You say it is resolved, but how did you do it? CONFIG_HOTPLUG can't be set to module. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hoerbe n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Sep 2004 Posts: 51 Location: Switzerland
|
Posted: Tue Feb 08, 2005 8:01 pm Post subject: |
|
|
I don't know which one to setup. try:
CONFIG_SYSCTL=y or/and
CONFIG_KOBJECT_UEVENT=y
and it will work... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|