How to work with sysfs for a tty driver?
From: Casper Yang (casper_yang_at_moxa.com.tw)
Date: 02/28/05
- Next message: Tony: "Modem emulator"
- Previous message: Josef Moellers: "Re: read vs fread"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Feb 2005 00:08:31 -0800
Hi, All:
I'm writing tty driver for PCI Multiple-serial board. I use "mknod" to
create device node before, but now it will disappear at next boot
under sysfs. I want to know what is the right procedure to create
device node under /sys (class/xxx, bus/xxx...) and /dev.
I found several internet document but still can not understand how to
work with /sys. Ex: Should I need to register a "driver"? Shoule I
need to register a "device"? Should I need to write some rule for
"udev"?
Can somebody tell me where to find some document or sample code?
Thanks.
Casper Yang
- Next message: Tony: "Modem emulator"
- Previous message: Josef Moellers: "Re: read vs fread"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|