Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hotplug with 2.6.7
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mim
n00b
n00b


Joined: 06 Jul 2004
Posts: 6
Location: Denmark

PostPosted: Wed Jul 07, 2004 11:14 am    Post subject: Hotplug with 2.6.7 Reply with quote

Hi, I've installed hotplug to mount my USB key(s) automatic when I plug the key to my computer.

It works fine when I plug it in, but the script that should be run when I unplug the key doesn't execute.

I first thought I had made a error in my scripts but then I tried to install the 2.4.26 kernel and then it worked perfectly. Does hotplug not work with 2.6.x or have I forgotten something?

Any suggestions?
Back to top
View user's profile Send private message
teilo
Apprentice
Apprentice


Joined: 20 Jun 2003
Posts: 276
Location: Minneapolis, MN

PostPosted: Wed Jul 07, 2004 2:55 pm    Post subject: Reply with quote

Which kernel, exactly, are you using?

There have been a number of issues with hotplug in kernels past 2.6.5. I know that mm-sources has had this problem lately, but others may as well. I am not sure about vanilla-sources.

It is not so much that the script does not excute, but that it hangs when it tries to execute.
_________________
Teilo who is called Teilo
Back to top
View user's profile Send private message
mim
n00b
n00b


Joined: 06 Jul 2004
Posts: 6
Location: Denmark

PostPosted: Wed Jul 07, 2004 3:12 pm    Post subject: Reply with quote

I'm pretty sure it's gentoo-dev-sources (2.6.7).

uname -r says 2.6.7-gentoo-r8.

Do you think it would help if I used vanilla instead?
Back to top
View user's profile Send private message
mim
n00b
n00b


Joined: 06 Jul 2004
Posts: 6
Location: Denmark

PostPosted: Wed Jul 07, 2004 4:04 pm    Post subject: Reply with quote

I've just tried development-sources (vanilla 2.6) but it doesn't work.

But I used the same .config as in my gentoo-dev-source.
Back to top
View user's profile Send private message
mim
n00b
n00b


Joined: 06 Jul 2004
Posts: 6
Location: Denmark

PostPosted: Wed Jul 07, 2004 4:29 pm    Post subject: Reply with quote

Never mind. It works now.

I created a /var/run/usb directory which solved the problem. Strange since the dir was there just yesterday and the script didn't work... :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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