Newest Files

Date iconOct.02

This is a 10gb expanding VMWare disk image. I plan t...

Date iconSep.26

This is a Virtual Box disk image of the popular Senr...

Date iconSep.13

The Filer is a powerful, flexible automatic file org...

Date iconAug.29

HaikuPorts is a single package containing all of the...

Date iconAug.29

About Photograbber:PhotoGrabber has already a long h...

Date iconAug.23

Wput is a command-line ftp-client that looks like wg...

Date iconAug.22

A quick command launcher originally inspired by Run ...

Date iconAug.15

InDepth is the ultimate file-manager, go give it a t...

Date iconAug.12

About Snap: Snap is a windows' style Run command....

Date iconAug.11

About AddressBook: This is a prototy...

Date iconAug.11

Displays 191 colors by name, and rgb value (either i...

Date iconAug.11

Description: Launches files into commandline apps. ...

Date iconAug.05

An easy way to update Haiku, would be to use this di...

Date iconJul.29

Niue is a basic, easy to use but powerful developmen...

Date iconJul.25

VICE is the Versatile Commodore Emulator. It emulate...

AGMSDeviceTest download_trans.gif Download

Thumbnails:

Description:
BeOS/Haiku Logo
About AGMSDeviceTest:

GUI utility for testing device driver IOCtl operations.

Short: GUI utility for testing device driver operations.
Author: agmsmith@achilles.net (Alexander G. M. Smith)
Uploader: agmsmith@achilles.net (Alexander G. M. Smith)
Website: http://www.achilles.net/~agmsmith/
Version:1.0
Type: development/debugging, system files/drivers/miscellaneous
Requires: BeOS 5.0+

AGMSDeviceTest was simple program for trying out various device commands. Now it has a fancy user interface. Besides the usual reading and writing of data, you can issue standard device control messages.

The user interface consists of a hierarchy of parts: device name, action choices (read / write / ioctl), arguments, subarguments, and results display. For example, if you want to eject the CD-ROM you would click on the Browse button, select your CD-ROM device (mine is /dev/disk/ide/atapi/1/master/0/raw, yours depends on which drive controller hardware it is plugged into), and click the Open button. A subview will appear offering you the choice of reading, writing or controlling the device. Click on the Control radio button, since Eject is done with an IOCtl system call. The display will change to show the control operation choice (defaulting to B_GET_ICON) and various parameters relevant to that control operation. Change the B_GET_ICON to B_EJECT_DEVICE by using the pop-up menu or by typing 12 into the Opcode box (hit TAB after typing to make the number change take effect). The display will change to show a verbose description of the eject operation. Next, hit the Execute button to actually do it. Your CD-ROM drive should pop out the CD. You can try B_LOAD_MEDIA to do the opposite operation. When you are done, you can quit the application the usual way or use the Close button and try another device.

Put a checkmark in the Write checkbox if you want to write data to the device, otherwise it will be opened in read only mode (though IOCtl operations like Format can still be done - depending on the device).

The Create checkbox creates the file rather than opening it. This is only useful for creating logical partition devices, where you then use the B_SET_PARTITION operation.

Why am I writing this? I'm just trying to see how the floppy and CD-ROM work so that I can get my removeable RAM disk mounted on the desktop without using DriveSetup. It's also an exercise in writing a BeOS GUI.

AGMSDeviceTest is released to the public domain. You can do whatever you want with it. However, all benefits and loses are yours, not mine. You can erase all the information on your hard drive quite easily with this program, so be careful.

- Alex (Ottawa, December 2000)

   
Details about this version:

This is version 1.0, the initial version. Standard IOCtl operations (and associated data structure displays) are implemented, but special ones (like SCSI or printer) are not implemented.
Submitted On:
28 Oct 2007
Submitted By:
Karl vom Dorff (karl)
File Date:
28 Oct 2007
File Author:
Alexander G. M. Smith
File Version:
1.0
File Size:
73.97 Kb
File Type:
zip
File HomePage:
Click to visit site
Downloads:
3
Rating:
stars/0.gifTotal Votes:0
Comments (0)add comment

Write comment
You must be logged in to a comment. Please register if you do not have an account yet.

busy

Login

File Search

Search For: 
File Titles: 
File Description: 

Most Popular Files

Oct.02
Downloads
File iconSenryu Personal Edition Vmware Image - Weekly
6498
Sep.26
Downloads
File iconSenryu Virtual Box Edition
1450
Nov.23
Downloads
File iconOpera
897
Jul.09
Downloads
File iconAbiWord
855
Jun.27
Downloads
File iconSenryu Developer Edition Vmware Image
729
Jul.08
Downloads
File iconBeOS 5 PE Max Edition
440
Aug.15
Downloads
File iconICH AC97 Driver
426
Aug.24
Downloads
File iconAti Radeon Graphics Driver
360
Apr.25
Downloads
File iconSenryu Qemu Edition
297
Jun.06
Downloads
File iconHaikuPC-Info
247
Jul.29
Downloads
File iconNiue
243
Oct.28
Downloads
File iconHaikuLiveCDScript
171
Oct.04
Downloads
File iconHaiku Radeon Driver
159
May.21
Downloads
File iconLinks
157
Apr.25
Downloads
File iconSenryu Parallels Edition
121
Jul.21
Downloads
File iconFirefox
121
Sep.15
Downloads
File iconAural Illusion
115
Jun.06
Downloads
File iconJammin
112

Who's Online

Guests: 2
Members: 1