[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
char driver and sysfs
Hi all,
I'm writing a char device driver for an embedded system, and i need to
create some attributes in sysfs. But before i get there, here are some
of my (numerous) wonderings :
- the registration of the driver through cdev does not create anything
under /sys, right ?
- what about the kojects it creates then ? should i reuse them in a
larger device registration ?
- the device is a smart card reader, should i create my own virtual
bus for it or could get to some other apropriate place ?
Any help on any of these points will be much apreciate !
Thanks in advance
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/