help in sysfs
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · [email protected] wrote:
Sorry if I'm being redundant
I spent a lot of time looking for it, and did not find, so I came here for help Perhaps anyone can help me, or point me to the right place to ask
Quoted 8 lines
I did not yet fully understand how sysfs works, and so, any docs would be welcome
My main problem is: I'm trying to use udev, but some devices for drivers that are compiled in the kernel does
not appear in. I searched for entries representing then in /sys, and found no one Specifically, no pts is found there
in my .config, I haveCONFIG_UNIX98_PTYS=y
What can I do in order to solve this problem?
Have you mounted /dev/pts?
$ mount -t devpts devpts /dev/pts
(Of course, /dev/pts needs to exist first). They should appear when you connect to a terminal.
Also, not all the supported devices have yet been ported to sysfs.
Signature · 2 lines
Ryan Reich [email protected]
It was mounted, as told me by mount(1)
but, I think it was a problem in the order of the mounts maybe it was mounted over the old /dev
I mounted it again, and it worked fine. (at least, the pts others things remais)
But, this brings me another doubt (an extension to the first one):
Why there is not any information about the pts in /sys ? There is only a directory entry called /sys/cdev/tty/pts
May I conclude that there is no info avaiable about chardevs?
One more to go:
I use PPPoE to connect to the net. When I loaded the modules, some entries apeared somewhere in /sys/udev, but the /dev entry was not created, and I had to mknod it
Does anyone knows why ?
I may be (very) wrong, but it seems to be a behaviour common to chardevs
Quoted 38 lines · Ryan Reich
Quoted 10 lines · [email protected] wrote:
Sorry if I'm being redundant
I spent a lot of time looking for it, and did not find, so I came here for help Perhaps anyone can help me, or point me to the right place to ask
I did not yet fully understand how sysfs works, and so, any docs would be welcome
Quoted 8 lines
My main problem is:
I'm trying to use udev, but some devices for drivers that are compiled in the kernel does not appear in. I searched for entries representing then in /sys, and found no one Specifically, no pts is found there
in my .config, I haveCONFIG_UNIX98_PTYS=yWhat can I do in order to solve this problem?Have you mounted
/dev/pts?$ mount -t devpts devpts /dev/pts(Of course,
/dev/ptsneeds to exist first). They should appear when you connect to a terminal.Also, not all the supported devices have yet been ported to sysfs.
Signature · 7 lines
Ryan Reich [email protected] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Signature · 13 lines
Fortune: If you can read this, you're too close. --- Software Livre Tecnologia para um mundo melhor ============================== Glauber de Oliveira Costa e-mail: [email protected] jabber: [email protected] ICQ # : 18419549 Phone: +55 19 32892120 ==============================
It was mounted, as told me by mount(1)
but, I think it was a problem in the order of the mounts maybe it was mounted over the old /dev
I mounted it again, and it worked fine. (at least, the pts others things remais)
But, this brings me another doubt (an extension to the first one):
Why there is not any information about the pts in /sys ? There is only a directory entry called /sys/cdev/tty/pts
May I conclude that there is no info avaiable about chardevs?
One more to go:
I use PPPoE to connect to the net. When I loaded the modules, some entries apeared somewhere in /sys/udev, but the /dev entry was not created, and I had to mknod it
Does anyone knows why ?
I may be (very) wrong, but it seems to be a behaviour common to chardevs
Quoted 38 lines · Ryan Reich
Quoted 10 lines · [email protected] wrote:
Sorry if I'm being redundant
I spent a lot of time looking for it, and did not find, so I came here for help Perhaps anyone can help me, or point me to the right place to ask
I did not yet fully understand how sysfs works, and so, any docs would be welcome
Quoted 8 lines
My main problem is:
I'm trying to use udev, but some devices for drivers that are compiled in the kernel does not appear in. I searched for entries representing then in /sys, and found no one Specifically, no pts is found there
in my .config, I haveCONFIG_UNIX98_PTYS=yWhat can I do in order to solve this problem?Have you mounted
/dev/pts?$ mount -t devpts devpts /dev/pts(Of course,
/dev/ptsneeds to exist first). They should appear when you connect to a terminal.Also, not all the supported devices have yet been ported to sysfs.
Signature · 7 lines
Ryan Reich [email protected] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Signature · 14 lines
Fortune: "What's the use of a good quotation if you can't change it?" -- The Doctor --- Software Livre Tecnologia para um mundo melhor ============================== Glauber de Oliveira Costa e-mail: [email protected] jabber: [email protected] ICQ # : 18419549 Phone: +55 19 32892120 ==============================