Using devfs to address device driver

From: TelkomNews (soemeone_at_microsft.com)
Date: 08/29/03


Date: Fri, 29 Aug 2003 14:57:43 +0200

Hi All
I am writing a device driver that should use the existing serial port +
custom hardware.
Problem is that I want to use loadable modules and need to talk with the
serial port driver via the devfs (is this the best way ?).
I can get a file handle , no problem, but when I want to call the
tty_open() procedure it requires parameters (inode, file *).
How do I get hold of them ?

Thanks in advance
reyems



Relevant Pages

  • Using devfs to address device driver
    ... I am writing a device driver that should use the existing serial port + ... custom hardware. ... Problem is that I want to use loadable modules and need to talk with the ...
    (comp.os.linux.embedded)
  • Using devfs to address device driver
    ... I am writing a device driver that should use the existing serial port + ... custom hardware. ... Problem is that I want to use loadable modules and need to talk with the ...
    (comp.os.linux.development.system)
  • Re: Programming hardware controls
    ... If the device has a fairly simple serial port or parallel port ... protocol you can do it from high level java. ... For anything else, you need to write a device driver, usually in C++ ... Roedy Green Canadian Mind Products ...
    (comp.lang.java.programmer)
  • Re: An issue about DriverUnload
    ... my device is a TouchScreen use serial port just like a mouse ... in AddDevice function. ... RegisterDeviceNotification) to device driver? ... Please do not send e-mail directly to this alias. ...
    (microsoft.public.development.device.drivers)
  • Intercepting drivers
    ... Do I have to become a device driver developer to intercept a device driver or ... is there a higher level available? ... the physical serial port by means of serial.sys. ... I have to filter/intercept ...
    (microsoft.public.win32.programmer.kernel)