Actions

Difference between revisions of "Temp"

From RonWareWiki

 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre>
+
dcop kdesktop KScreensaverIface lock
pushl $42 #l ength
+
 
lea output, %eax
+
http://www.youtube.com/watch?v=06pk-CyFArw&NR=1
pushl %eax # string address
+
 
pushl $1 # file descriptor number
+
/etc/udev/rules.d/pilot.rules:
mov $4,%eax # system call number
+
 
push %eax
+
<tt>SUBSYSTEM=="usb", ATTRS{product}=="Palm Handheld*|Handsprint *", KERNEL=="ttyUSB*", NAME="ttyUSB%n",SYMLINK="pilot",GROUP="users", MODE="0666"</tt>
int $0x80 # make the system call
 
</pre>
 
You can see mach/i386/syscall_sw.h for the different software interrupts available, and sys/syscall.h for the different system call numbers.
 

Latest revision as of 13:29, 26 January 2010

dcop kdesktop KScreensaverIface lock

http://www.youtube.com/watch?v=06pk-CyFArw&NR=1

/etc/udev/rules.d/pilot.rules:

SUBSYSTEM=="usb", ATTRS{product}=="Palm Handheld*|Handsprint *", KERNEL=="ttyUSB*", NAME="ttyUSB%n",SYMLINK="pilot",GROUP="users", MODE="0666"