Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-23-2005, 02:01 PM   #1
LQ Newbie
Registered: Mar 2005
Location: Aurora, Colorado
Posts: 3

Rep: Reputation: 0
Angry Line Discipline creation in driver

I am struggling with a specialized driver. I have created a modified char driver that looks like a tty. I have used segments from tty_io.c and tty_ioctl.c. My driver needs to work with PPP. I have gotten past the termio and other ioctls but am having problem with how to create the line discipline and channel correctly. When PPP tries to connect to my channel it fails. I have been hacking at my code but can not find any good sample code anywhere. I am using modifications of the tty_set_ldisc and tty_register_ldisc code in the char directory. Clearly there is something I am missing or something missing from this code. Any help will be greatly appreciated.
Old 03-23-2005, 02:03 PM   #2
Senior Member
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
moving to programming
Old 03-23-2005, 02:23 PM   #3
LQ Newbie
Registered: Mar 2005
Location: Aurora, Colorado
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for moving to appropriate group


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
speedtouch problems (Unable to set line discipline to N_HDLC) ttilt Linux - Networking 1 01-15-2005 09:55 AM
PPP discipline: Invalid argument svar Slackware 0 08-24-2004 08:47 AM
could not set tty to ppp discipline ABID4321 Debian 0 07-21-2004 06:18 AM
Couldnt set tty to PPP discipline edM Slackware 4 07-16-2004 12:08 AM
Driver Creation bluseychris Linux - Networking 2 07-07-2004 03:27 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration