User Tools

Site Tools


developersguide:driverprogramming

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
developersguide:driverprogramming [2017/05/24 16:16]
e_szabados Added required option to specify device node.
developersguide:driverprogramming [2017/05/24 16:18] (current)
e_szabados old revision restored (2017/05/24 14:54)
Line 88: Line 88:
  
 <code bash> <code bash>
-#​minix-service up /service/hello -dev /dev/hello+#​minix-service up /​service/​hello
 Hello, World! Hello, World!
 RS: restarting /​service/​hello,​ restarts 0 RS: restarting /​service/​hello,​ restarts 0
 </​code>​ </​code>​
-And what a surprise, it displays the //Hello, World!// message :-). If you are working in the terminal, the message appears in the console and in the kernel log as well. If you work in an X terminal, the message may appear only in the kernel log. Check by dumping ​the contents of /​var/​log/​messages. Stop the driver with:+And what a surprise, it displays the //Hello, World!// message :-) in the kernel log. Check with writing ​the contents of /​var/​log/​messages. Stop the driver with:
  
 <code bash> <code bash>
developersguide/driverprogramming.txt · Last modified: 2017/05/24 16:18 by e_szabados