Skip to contentSkip to conversation

can udev-100 be used in kernel-2.6.26 ?

DISCUSSION Bily 2 participants 2 messages Oct 15, 2008

lore
Share & tools
lore

Bily

author
#0 lore raw

hi,all
I am using the kernel-2.6.26 to my AT91RM9200,and as we know kernel 2.6.26 has deprecated class_device_create and class_device_destroy. now I do not know if udev-100 could be used in kernel-2.6.26 because of this. for when I insmod a driver module, I could not see the node created by udev.I am not sure if this was the reason of deprecated class_device_create and class_device_destroy. so could anyone help me ?

Bily
2008-10-15

#1 lore raw
Quoted 2 lines · Bily

I am using the kernel-2.6.26 to my AT91RM9200,and as we know kernel 2.6.26 has deprecated class_device_create and class_device_destroy.

The internal kernel API is not visible outside.

Quoted 2 lines

now I do not know if udev-100 could be used in kernel-2.6.26 because of this.

I can't tell, if that works correctly, but I would expect basic functionality to work. I guess there are several unfixed bugs though, in a 2 years old udev version.

Quoted 2 lines

for when I insmod a driver module, I could not see the node created by udev.

Run:
udevmonitor
and check if you see events.

Do you see devices in /sys beeing created, after loading the module?

Quoted 2 lines

I am not sure if this was the reason of deprecated class_device_create and class_device_destroy.

No.

Kay