Messages in this thread | | | Date | Wed, 12 Jul 2000 12:35:07 +0200 | From | Pauline Middelink <> | Subject | Re: isdn driver (direct line access without using ttyI) |
| |
On Wed, 12 Jul 2000 around 00:16:34 +0200, Henner Eisen wrote: > >>>>> "Michael" == Michael Mess <michael@michaelmess.de> writes: > > Michael> There should be an ioctl for hook up. After using it you > Michael> "hear" the dialtone with read() from the device or giving > Michael> keypad commands by sending audio data of DTMF-tones with > Michael> write() to the device. > > The current isdn LL-HL interface does not provide for accessing > b-channel data while no isdn connection is established. Thus, it won't > be possible to implement such a driver on top of the current LL-HL driver > interface. You would either need to extend the LL-HL-interface and modify > all HL drivers accordingly or to bypass the LL-HL-interface and hook directly > in a HL-driver of choice (i.e. HiSax).
Nobody said the data should come from the LL-HL layer, it can come from the isdn-tty driver itself when it detects read access on an disconnect/not-yet-connected line. Only when the line is in connected state the reads will pass data from the LL-HL layers.
I however won't like to see this, it all sounds suspusiously to userland solutions. The ioctls command/status operations are neat, polling for AT stuff is a capital offence :)
If I make another suggestion, what about a nice ioctl for access to the control bus on ISDN?
Met vriendelijke groet, Pauline Middelink -- PGP Key fingerprint = DE 6B D0 D9 19 AD A7 A0 58 A3 06 9D B6 34 39 E2 For more details look at my website http://www.polyware.nl/~middelink
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |