[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [MiNT] Detecting dialup connections



> -----Original Message-----
> From: Michael Schwingen [mailto:rincewind@discworld.dascon.de]
> Sent: Thursday, September 30, 1999 6:51 PM
> To: mint@fishpool.com
> Subject: Re: [MiNT] Detecting dialup connections
> 
> > 1. Is this device a serial device?
> 
> > 2. Retrieve a list of supported baudrates for this device (a simple
> > FIRST/NEXT approach would be fine).
> > 3. Does this device support hardware handshake?
> > 4. Does this device support DTR?
> 
> IIRC, HSMODEM offers 2.-4. via an IOCTL on the file 
> descriptor. We might
> first want to look if we can use a compatible method, before creating
> something new.

I've discussed this with Frank Naumann. It's true, there are HS-Modem IOCTLs
that *can* be used for this. This is done by configuring the device and see
what fails (not supported) and what works (supported). I don't like this
approach much though, you shouldn't have to change any parameters just to
see if you can...

Jo Even Skarstein