Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hotplug problems
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
Haifen
n00b
n00b


Joined: 14 Aug 2005
Posts: 37

PostPosted: Tue Jan 24, 2006 3:31 am    Post subject: hotplug problems Reply with quote

Hi-
I'm currently using a kernel unsupported by Gentoo (2.6.16-rc1-mm2), but I've had this problem with earlier kernels, and will verify that the fixes people suggest do or do not work with a kernel that is supported by Gentoo. My problem is that when I boot up, my USB devices don't seem to be recognized by udev/hotplug. i.e. if I plug a USB serial converter in it gets detected and /dev/tts/USB0 gets created. However, after a reboot the device isn't detected and I have to unplug and replug the device to get it detected. Is there a known fix for this problem?

-Robin K.
Back to top
View user's profile Send private message
IQgryn
l33t
l33t


Joined: 05 Sep 2005
Posts: 764
Location: WI, USA

PostPosted: Tue Jan 24, 2006 5:18 am    Post subject: Reply with quote

Code:
# emerge coldplug
# rc-update add coldplug boot

Coldplug is the new "hotplug" that's run at boot; it configures whatever hotplug normally would, but doesn't need the device to be freshly plugged in.
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1630
Location: indiana

PostPosted: Tue Dec 26, 2006 5:43 pm    Post subject: Reply with quote

IQgryn wrote:
Code:
# emerge coldplug
# rc-update add coldplug boot

Coldplug is the new "hotplug" that's run at boot; it configures whatever hotplug normally would, but doesn't need the device to be freshly plugged in.


i got a similar problem, my wireless usb stick only works after reboot when i plug it out then "modprobe -r prism2_usb" and then plug in again (it was working fine before kernel update) but coldplug isnt a real solution because of this :

Code:
emerge -av coldplug

These are the packages that would be merged, in order:

Calculating dependencies... done!
[blocks B     ] >=sys-fs/udev-089 (is blocking sys-apps/coldplug-20040920-r1)
[ebuild  N    ] sys-apps/coldplug-20040920-r1  0 kB


why the prism2_usb module is loaded even its not in /etc/modules.autoload.d/ ?
_________________
I do not have a Superman complex, for I am God not Superman :D

Ryzen9 7950x (powersave governor) ; Radeon 7900XTX ; kernel 6.11.3 ; XFCE
Back to top
View user's profile Send private message
IQgryn
l33t
l33t


Joined: 05 Sep 2005
Posts: 764
Location: WI, USA

PostPosted: Wed Dec 27, 2006 7:02 am    Post subject: Reply with quote

Coldplug has been deprecated now that udev handles everything it used to. The module is being loaded because udev is able to figure out that the hardware needs that module, and loads it for you. Theoretically, it shouldn't matter whether it was plugged in during the boot or not, but apparently it does. Does it work properly if you leave it unplugged until after the boot is finished?
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1630
Location: indiana

PostPosted: Thu Dec 28, 2006 12:53 am    Post subject: Reply with quote

yes when i plugin the stick after starting the computer everything works fine. what i dont understand is that before the last kernel update it was working always. i was able to turn on the computer with the stick already plugged in and it was working now, for an unknown reason i have to unplug the stick remove the module from memory and plugin the stick again.. ? strange or what ...

i didnt even changed kernel options for the stick, i just enabled some midi related settings...
_________________
I do not have a Superman complex, for I am God not Superman :D

Ryzen9 7950x (powersave governor) ; Radeon 7900XTX ; kernel 6.11.3 ; XFCE
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