Page 1 of 2

CD Writer applet version 0.2 available for download

Posted: Thu Jun 09, 2005 1:06 pm
by jimmer
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.

Re: CD Writer applet version 0.2 available for download

Posted: Thu Jun 09, 2005 1:24 pm
by unixmuseum
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!

Posted: Thu Jun 09, 2005 7:09 pm
by incognito
thanks

Posted: Fri Jun 10, 2005 4:42 am
by zafunk
Avi. I've said it before.... You da man!

Posted: Fri Jun 10, 2005 7:28 am
by cjones
Looks cool. So what are you using for a cd writer... is it internal/external? Just curious...

-chris

Posted: Fri Jun 10, 2005 8:13 am
by unixmuseum
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...

Posted: Fri Jun 10, 2005 8:43 am
by jimmer
Thanks for the compliments everybody :)

cjones:

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

unixmuseum:

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.

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.

Posted: Fri Jun 10, 2005 9:06 am
by unixmuseum
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):

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:
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...

Posted: Fri Jun 10, 2005 9:10 am
by unixmuseum
Actually, little correction there: the cdrecord from sgi freeware seems to see everything:
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:
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) *

Posted: Fri Jun 10, 2005 9:54 am
by jimmer
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.

Posted: Fri Jun 10, 2005 11:47 am
by Hakimoto
jimmer,

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

CD-R

Posted: Fri Jun 10, 2005 12:54 pm
by GeneratriX
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:

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

Posted: Fri Jun 10, 2005 2:31 pm
by voidfoo
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 :)

Re: CD Writer applet version 0.2 available for download

Posted: Sat Jun 11, 2005 6:27 am
by zone
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

Posted: Sun Jun 12, 2005 11:26 pm
by colin
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.