IRIX and Software

CD Writer applet version 0.2 available for download - Page 1

Hi all,

This is the first public release of my CD Writer applet. It wraps mkisofs and cdrecord in a SGI Motif panel.

Read the README, learn the various DISCLAIMERS off by heart and get it here: http://www.sillypages.org/sgi/

Enjoy!

Avi

PS. Please make the effort to REPORT BUGS ! No bug reports, no fixes.
jimmer wrote:
Hi all,

This is the first public release of my CD Writer applet. It wraps mkisofs and cdrecord in a SGI Motif panel.

Read the README, learn the various DISCLAIMERS off by heart and get it here: http://www.sillypages.org/sgi/

Enjoy!

Avi

MOST EXCELLENT!
thanks
Avi. I've said it before.... You da man!
Looks cool. So what are you using for a cd writer... is it internal/external? Just curious...

-chris
cjones wrote:
Looks cool. So what are you using for a cd writer... is it internal/external? Just curious...

-chris

External SCSI Yamaha 8/4/24 for me, works like a charm! The CD burner that is as the cdwriter application doesn't seem to find (or look for?) any devices...
I also had to create $HOME/.cdwriter manually...

Also, the one I downloaded is not fully IRIXified like the snapshot on the download page: the check boxes are not the usual IRIX red check mark...
Thanks for the compliments everybody :)

cjones:

I'm developing/using a very plain vanilla OEM SCSI-II drive. Works fine.

unixmuseum:

Quote:
The CD burner that is as the cdwriter application doesn't seem to find (or look for?) any devices...


Are you saying that CD Writer isn't picking up any devices to display on the recorder tab? If so could you post/pm me the output of 'cdrecord -scanbus' on your system.

Quote:
Also, the one I downloaded is not fully IRIXified like the snapshot on the download page: the check boxes are not the usual IRIX red check mark...


Interesting, I get nice IRIX red checkmarks... Could you post/pm me a screenshot?

Oops... silly me :) I see that I have some cdwriter* resources set in my .Sgiresources that I forgot to include in the 0.2 distribution. Will include them in the 0.3 release.
jimmer wrote:
Are you saying that CD Writer isn't picking up any devices to display on the recorder tab? If so could you post/pm me the output of 'cdrecord -scanbus' on your system.


That's right, it's not picking anything... The cdrecord -scanbus returns (actually, the sgi freeware cdrecord is not returning anything, this one is from dev toolbox):

Quote:
scsibus0:
0) *
1) 'SEAGATE ' 'ST336752LC ' '0004' Disk
2) 'FUJITSU ' 'MAM3367MC ' '0107' Disk
3) 'FUJITSU ' 'MAM3367MC ' '0107' Disk
4) *
5) *
6) *
7) *
scsibus1:
100) *
101) *
102) *
103) 'YAMAHA ' 'CRW8424S ' '1.0j' Removable CD-ROM
104) *
105) *
106) *
107) *

Interestingly, it doesn't see my PCI card cage as shown in hinv:
Quote:
Integral SCSI controller 1: Version QL1040B (rev. 2), single ended
CDROM: unit 3 on SCSI controller 1
Integral SCSI controller 5: Version QL12160, single ended
CDROM: unit 2 on SCSI controller 5
Disk drive / removable media: unit 5 on SCSI controller 5
Integral SCSI controller 6: Version QL12160, single ended
Scanner: unit 3 on SCSI controller 6


You're running as root aren't you? cdrecord doesn't let a simple mortal scan the bus, needs to have root privileges for some reason...
Actually, little correction there: the cdrecord from sgi freeware seems to see everything:
Quote:
scsibus0:
0,0,0 0) *
0,1,0 1) 'SEAGATE ' 'ST336752LC ' '0004' Disk
0,2,0 2) 'FUJITSU ' 'MAM3367MC ' '0107' Disk
0,3,0 3) 'FUJITSU ' 'MAM3367MC ' '0107' Disk
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
1,0,0 100) *
1,1,0 101) *
1,2,0 102) *
1,3,0 103) 'YAMAHA ' 'CRW8424S ' '1.0j' Removable CD-ROM
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
scsibus5:
5,0,0 500) *
5,1,0 501) *
5,2,0 502) 'TOSHIBA ' 'CD-ROM XM-6401TA' '1009' Removable CD-ROM
5,3,0 503) *
5,4,0 504) *
5,5,0 505) 'IOMEGA ' 'ZIP 100 ' 'D.09' Removable Disk
5,6,0 506) *
5,7,0 507) *
scsibus6:
6,0,0 600) *
6,1,0 601) *
6,2,0 602) *
6,3,0 603) 'HP ' 'C5110A ' '3638' Processor
6,4,0 604) *
6,5,0 605) *
6,6,0 606) *
6,7,0 607) *

BUT, I still need to be root to get this... As simple user only gets this from a scanbus:
Quote:
Cdrecord 2.00.3 (mips-sgi-irix6.5) Copyright (C) 1995-2002 Jörg Schilling
Using libscg version 'schily-0.7'
scsibus6:
6,0,0 600) *
6,1,0 601) *
6,2,0 602) *
6,3,0 603) 'HP ' 'C5110A ' '3638' Processor
6,4,0 604) *
6,5,0 605) *
6,6,0 606) *
6,7,0 607) *
My my, you _do_ seem to have a lot of SCSI channels ;)

I just checked my cdrecord binary and yes, it's setuid root. I forgot about that... not good. I'll have a look at hooking cdrecord into the IRIX privilege system for the next version, that's probably a more elegant way of doing things.

Other ideas for solving the cdrecord root issue are welcome.
jimmer,

very nice work. It will do wonders on the girlie's R5k Indy with attached CDRW drive.

_________________
覇気元
Eroteme.org
Jimmers; very wonderful tool, has a pure style, is easy to use for daily work, and matchs perfect on IndigoMagic... really nice!

No problems with my own CD-R:

Quote:
scsicontrol -i /dev/scsi/sc2d1l0
/dev/scsi/sc2d1l0: CD-ROM PLEXTOR CD-R PX-R412C 1.04
ANSI vers 2, ISO ver: 0, ECMA ver: 0; supports: synch linkedcmds
Device is not ready

_________________
Oh!, let me write that!

Image
Octane / Dual Head

http://twitter.com/GeekTronixShop
very nice work!!

unfortunately i don't have any cdwriter attached to my sgi machines.

would you realse the source code in the future? I want to learn motif programming so that maybe i could make a graphical frontend to rdesktop. And your code is a perfect start for me :)
Wonderful piece, right look and feel. Great work!

BTW while I was playing with CD Writer I come to interesting idea to extend functionality of CD Writer.

Developer toolbox ( https://toolbox.sgi.com ), which I cannot acces right now (bad sign) had CD mastering tools, with make_efs, dvhfile etc... this is what I have using to create efs (bootable) CD-s for years, there was even GUI based on Tk Perl, I have it instaled in late nineties on few systems but later due to specific Perl version depedencies was broken.

Would be absolutely great to add option for creating efs discs. If you need stuf from toolbox send me mail / PM. Fortunately I have local copy of CD mastering tools directory.

best

z
Wow! Another great desktop addition. Thank you!

I too would like to browse the source if you are willing to make it available. Would be a very handy starting point for other similar projects.
This is very nice! I've always wanted to do something like this. I've tried it with the neko_dvdrtools package and a SCSI Yamaha CRW2100SZ. Although it said it burned a CD I haven't verified it yet.. A few questions for you.

1) Please, please please! Tell me how did you get your tabs to look so good!?! I'm using the Motif 2.1 Notebook widget but my tabs look this this

Attachment:
notebook.jpg
notebook.jpg [ 86.96 KiB | Viewed 318 times ]


2) Do you plan to open source the app for collaboration?

3) IRIX has a method of setting user capabilities (man capabilities). If you put the user's name in /etc/capability such as

Quote:
squeen:CAP_DEVICE_MGT+eip:CAP_DEVICE_MGT+eip


a non-root user would be able to burn a CD. However, you also need to log in with privelages enables (e.g. su squeen -C "CAP_DEVICE_MGT+eip"). What I have done in the past is have the program check if capabilities are enabled and if not use a system() command to run itself in a capabilities enabled shell.

Again, awesome work. Thanks!
jimmer wrote:
Hi all,

This is the first public release of my CD Writer applet. It wraps mkisofs and cdrecord in a SGI Motif panel.

Read the README, learn the various DISCLAIMERS off by heart and get it here: http://www.sillypages.org/sgi/

Enjoy!

Avi

PS. Please make the effort to REPORT BUGS ! No bug reports, no fixes.


REALLY COOL Image

_________________
r-a-c.de
Thanks again for all your nice compliments, they're much appreciated!

I'm working on the various bugs and issues reported in this thread and I hope to have a 0.3 bugfix release out soon. As to releasing the sources as Free Software... I haven't made up my mind yet.

squeen:

The SGI style tabs in CDWriter are a function of using the ViewKit VkTabbedDeck component. 'man VkTabbedDeck' for all the information ;)

jimmer
jimmer wrote:
The SGI style tabs in CDWriter are a function of using the ViewKit VkTabbedDeck component. 'man VkTabbedDeck' for all the information ;)
jimmer

Thanks! Unfortunately I'm a C/Motif purist.

Thanks again for cdwriter. I am having some problems with it however. I have verified that nekoware dvdrecord works with my SCSI CD-R drive, but CDWriter thinks (I believe) that its a CD-ROM.

Quote:
dvdrecord -scanbus
dvdrtools v0.2.1
Portions (C) 2002-2005 Ark Linux <bero@arklinux.org>
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
Based on:
Cdrecord 1.11a15 (mips-sgi-irix6.5) Copyright (C) 1995-2001 Jörg Schilling
Using libscg version 'bero-0.5a'
dvdrecord: Warning: using inofficial version of libscg (bero-0.5a '@(#)scsitransp.c 1.81 01/04/20 Copyright 1988,1995,2000 J. Schilling').
scsibus0:
0,0,0 0) *
0,1,0 1) 'SEAGATE ' 'ST373405LC ' '0003' Disk
0,2,0 2) 'SEAGATE ' 'ST3146807LC ' '0007' Disk
0,3,0 3) 'SGI ' 'ST318404LC ' '3126' Disk
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
1,0,0 100) *
1,1,0 101) *
1,2,0 102) 'TOSHIBA ' 'CD-ROM XM-6401TA' '1015' Removable CD-ROM
1,3,0 103) 'YAMAHA ' 'CRW2100S ' '1.0K' Removable CD-ROM
1,4,0 104) 'MATSHITA' 'DVD-RAM SW-9581 ' 'B102' Removable CD-ROM
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *


So it grays out the bottom half of the first page (speed, etc.).
It will make me an iso image, but no burn.
Any thoughts?
Hello,

I'm having a problem on startup of scribus which gives this error:
Code:
durga(1001 ~)> scribus
2398:scribus: rld: Error: unresolvable symbol in scribus: inc__30QMapIterator__pt__10_7QStringiGv
2398:scribus: rld: Fatal Error: this executable has unresolvable symbols


I found a post here http://forums.nekochan.net/viewtopic.php?t=1826&postdays=0&postorder=asc&start=0
but I still haven't been able to get it working. On my machine I have Kate and Kdevelop working just fine

Am I missing a font library?

I am hoping to do my archery club newsletter on my Octane with scribus.

Cheers
Jessica