[linux-minidisc] using libusal for scsi access
- From: manner.moe@gmx.de
- To: linux-minidisc@lists.fu-berlin.de
- Date: Thu, 22 Apr 2010 21:15:44 +0200
- Reply-to: manner.moe@gmx.de
- Subject: [linux-minidisc] using libusal for scsi access
Hello,
now i´ve tested scsi acces with libusal(included in cdrkit package) on
windows.
windows port of libusal is limited to drives of type DRIVE_CDROM only so I
had to make a small patch.
Instructions for building libusal.dll (MingW, MSYS and cmake must be
installed) :
1. download latest cdrkit package from http://cdrkit.org/releases/
2. use patch for MinGW support as described here: http://lists.alioth.debian.org/pipermail/debburn-devel/2009-July/000647.html
(download and install additional dependencies from MingW download site if
needed)
3. use libusal_use_drive_removables.patch
4. use libusal_make_shared_lib.patch to make a dll with statically linked
librols
5. type "cmake -G "MSYS Makefiles" in cdrkit root directory
6 change to cdrkit/include subdirectory and type "make"
7 change to cdrkit/librols subdirectory an type "make"
8 change to cdrkit/libusal subdirectory and type "make"
now we have libusal.dll and libusal.dll.a
To use it we need following headers from cdrkit/include:
- complete usal directory
- schily.h, standard.h and ccomdefs.h
Ask me for win32 binary of libusal if you don´t want to compile it yourself.
I´ve tested formatting a himd and it works fine.
The sample code is not complete yet, checking sense has to be added.
Thomas
Attachment:
himdformat_lusal.c
Description: Binary data
Attachment:
libusal_make_shared_lib.patch
Description: Binary data
Attachment:
libusal_use_drive_removables.patch
Description: Binary data
- Follow-Ups:
- Re: [linux-minidisc] using libusal for scsi access
- From: Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
- Re: [linux-minidisc] using libusal for scsi access
-
linux-minidisc - April 2010 - Archives indexes sorted by:
[ thread ] [ subject ] [ author ] [ date ] - Complete archive of the linux-minidisc mailing list
- More info on this list...

