[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: leds driver
PAtrick Gerber wrote:
> Hello,
>
> I am developping an embedded system based on a ARM PXA270. I am using 2.6.27 kernel.
>
> I have developped a tiny led driver for my embedded kernel based on leds class. My driver is almost identical as the leds-cm-x270.c driver. When I insert my driver in the kernel the probe function is never called. So I have nothing in /sys/class/leds. Do you have any idea why ?
Hmm, can't seem to locate leds-cm-x270.c in git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git GIT tree..
> Of course the leds class is activated in my .config (as part of the kernel not a module).
Good.
Probably the driver/device name mismatch which has for effect that driver probe function is not being called.
Can you post your driver for us to see what you did/are missing?
Thanks,
Hinko
--
Hinko Kočevar, OSS developer
ČETRTA POT, d.o.o.
Planina 3, 4000 Kranj, SI EU
tel ++386 (0) 4 280 66 03
e-mail hinko.kocevar@xxxxxxxxxxxx
http www.cetrtapot.si
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ