Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: /proc/sys/kernel/hotplug non-existent directory
PostPosted: Fri Feb 22, 2008 9:43 pm 
Offline

Joined: Fri Feb 22, 2008 9:24 pm
Posts: 1
Hi,

Having problem with this error when trying to setup hotplug for request_firmware() with busybox 1.9.1 and linux 2.6.22.1 built under Buildroot.

When I issue:
echo /sbin/mdev >/proc/kernel/hotplug
I get
-sh: cannot create /proc/sys/kernel/hotplug: nonexistent directory.

Sure enough the directory isn't there. I think I have all the .config options set, ie:
CONFIG_EMBEDDED=y
CONFIG_HOTPLUG=y

My driver code compiles okay that uses request_firmware() call, but why isn't the /hotplug directory there, I must be missing some option, or has it been phased out, if so how do I get my firmware image into the driver without some horrible ioctl from userland ?

Any help will be fantastic, this is my first post too !

********** SOLVED

Also needed CONFIG_NET to compile basic netlink support which does kernel to user event messaging.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to: