> According to Alan Cox: > > Given a file handle 'X' how do I find out what ioctl groups I should > > apply to it. > > Wouldn't it be better just to *try* ioctls and see which ones work and > which ones don't? You can do this with the tty layer. Just open /dev/tty and try tioclinux. On my serial console it fails and when I run the exact same program works on my VT. It is the only way to see if these ioctl calls work. No other way to see if your on a serial console or a VT. - 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/
- Re: LANANA: To Pending Device Number Registrants Chip Salzenberg
- Re: LANANA: To Pending Device Number Registrants H. Peter Anvin
- Re: LANANA: To Pending Device Number Registrants Alan Cox
- Re: LANANA: To Pending Device Number Registrants Chip Salzenberg
- Re: LANANA: To Pending Device Number Registrants Alan Cox
- Re: LANANA: To Pending Device Number Registrants H. Peter Anvin
- Re: LANANA: To Pending Device Number Registrants Alan Cox
- Re: LANANA: To Pending Device Number Registrants H. Peter Anvin
- Re: LANANA: To Pending Device Number Registrants Chip Salzenberg
- Re: LANANA: To Pending Device Number Registrants Alan Cox
- Re: LANANA: To Pending Device Number Registrants James Simmons
- Re: LANANA: To Pending Device Number Registrants Kenneth Johansson
- Re: LANANA: To Pending Device Number Registrants Alan Cox
- Re: LANANA: To Pending Device Number Registrants Linus Torvalds
- Re: LANANA: To Pending Device Number Registrants Jeff Garzik
- Re: LANANA: To Pending Device Number Registrants Linus Torvalds
- Re: LANANA: To Pending Device Number Registrants James Simmons
- Re: LANANA: To Pending Device Number Registrants Linus Torvalds
- Re: LANANA: To Pending Device Number Registrants James Simmons
- Re: LANANA: To Pending Device Number Registrants Jeff Garzik
- Re: LANANA: To Pending Device Number Registrants Linus Torvalds