Device Drivers and Devices [closed]











up vote
0
down vote

favorite












Does the kernel have a device driver for each device type or for each different device?



What I mean is;



1) There are only four different types of device: Char devices, block devices, network interfaces, and clock-timers. Someone told me that there are only four device drivers for each device type. In this case, there is char device driver and it controls all char devices of the computer.



2) There are many devices, and for each different device, there is a device driver. For example, sda and sdb are different devices, but they are the same type of device (SCSI disk). Because they are the same type of device, they are controlled by the same device driver. However, vcs and sd are different types of character devices, so they are controlled by different kind of device drivers.



Which concept is true?



I think the second one is correct one.










share|improve this question













closed as off-topic by user535733, N0rbert, waltinator, Eric Carvalho, muru Nov 28 at 11:41


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – user535733, waltinator, muru

If this question can be reworded to fit the rules in the help center, please edit the question.

















    up vote
    0
    down vote

    favorite












    Does the kernel have a device driver for each device type or for each different device?



    What I mean is;



    1) There are only four different types of device: Char devices, block devices, network interfaces, and clock-timers. Someone told me that there are only four device drivers for each device type. In this case, there is char device driver and it controls all char devices of the computer.



    2) There are many devices, and for each different device, there is a device driver. For example, sda and sdb are different devices, but they are the same type of device (SCSI disk). Because they are the same type of device, they are controlled by the same device driver. However, vcs and sd are different types of character devices, so they are controlled by different kind of device drivers.



    Which concept is true?



    I think the second one is correct one.










    share|improve this question













    closed as off-topic by user535733, N0rbert, waltinator, Eric Carvalho, muru Nov 28 at 11:41


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – user535733, waltinator, muru

    If this question can be reworded to fit the rules in the help center, please edit the question.















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Does the kernel have a device driver for each device type or for each different device?



      What I mean is;



      1) There are only four different types of device: Char devices, block devices, network interfaces, and clock-timers. Someone told me that there are only four device drivers for each device type. In this case, there is char device driver and it controls all char devices of the computer.



      2) There are many devices, and for each different device, there is a device driver. For example, sda and sdb are different devices, but they are the same type of device (SCSI disk). Because they are the same type of device, they are controlled by the same device driver. However, vcs and sd are different types of character devices, so they are controlled by different kind of device drivers.



      Which concept is true?



      I think the second one is correct one.










      share|improve this question













      Does the kernel have a device driver for each device type or for each different device?



      What I mean is;



      1) There are only four different types of device: Char devices, block devices, network interfaces, and clock-timers. Someone told me that there are only four device drivers for each device type. In this case, there is char device driver and it controls all char devices of the computer.



      2) There are many devices, and for each different device, there is a device driver. For example, sda and sdb are different devices, but they are the same type of device (SCSI disk). Because they are the same type of device, they are controlled by the same device driver. However, vcs and sd are different types of character devices, so they are controlled by different kind of device drivers.



      Which concept is true?



      I think the second one is correct one.







      drivers devices






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 22 at 9:31









      Goktug

      1136




      1136




      closed as off-topic by user535733, N0rbert, waltinator, Eric Carvalho, muru Nov 28 at 11:41


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – user535733, waltinator, muru

      If this question can be reworded to fit the rules in the help center, please edit the question.




      closed as off-topic by user535733, N0rbert, waltinator, Eric Carvalho, muru Nov 28 at 11:41


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – user535733, waltinator, muru

      If this question can be reworded to fit the rules in the help center, please edit the question.



























          active

          oldest

          votes






















          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

          ComboBox Display Member on multiple fields

          Is it possible to collect Nectar points via Trainline?