Re: Ultra1, printing via serial port? (Solved)

2005-08-02 Thread F. Kappen
"F. Kappen" wrote:

> Jan-Benedict Glaw wrote:
>
> > On Fri, 2005-07-29 15:13:45 +0200, F. Kappen <[EMAIL PROTECTED]> wrote:
> > > The serial port of my Ultra1 is configured like this:
> > >
> > > myUltra1: # eeprom ttyb-mode
> > > ttyb-mode=9600,8,n,1,-
> >
> > That's how the OBP will use the serial port. This is totally different
> > to the options that may be set by the Linux kernel. You can query (and
> > set) these with the stty program:
> >
> > $ stty -F /dev/ttyS0 -a
> > speed 9600 baud; rows 0; columns 0; line = 0;
> > intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ;
> > eol2 = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
> > lnext = ^V; flush = ^O; min = 1; time = 0;
> > -parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
> > -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon 
> > -ixoff
> > -iuclc -ixany -imaxbel
> > opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 
> > ff0
> > isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
> > echoctl echoke
> >
> > If your printer uses 9k6 8N1, you can try this (disables handshake):
> >
> > $ stty -F /dev/ttyS1 raw speed 9600 -crtscts cs8 -parenb -cstopb
> >
> > However, I admit that stty isn't easy to use if you don't know a lot
> > about how serial transmissions work...
> >
> > > --
> > > The tty-section of my "/etc/inittab" looks like this:
> > >
> > > #1:2345:respawn:/sbin/getty 38400 tty1
> > > #2:23:respawn:/sbin/getty 38400 tty2
> > > #3:23:respawn:/sbin/getty 38400 tty3
> > > #4:23:respawn:/sbin/getty 38400 tty4
> > > #5:23:respawn:/sbin/getty 38400 tty5
> > > #6:23:respawn:/sbin/getty 38400 tty6
> >
> > Irrelevant, as long as there's not a console configured to the same port
> > (and for sure, you won't directly connect your console to a printer, do
> > you?)
> >
> > > myUltra1: # cat ~/.bashrc > /dev/ttyS1
> >
> > First of all, you need to correctly configure the serial port with stty.
> > For the next step, are you sure your printer accepts plain text for
> > printing? (Actually, you never ever told us about your exact printer
> > model.)
> >
>
> Jan-Benedikt,
>
> thank you for suggestions. I tried your proposal
>
> $ stty -F /dev/ttyS1 raw speed 9600 -crtscts cs8 -parenb -cstopb
>
> but, unfortunately, without success. But now I know where to dig deeper into 
> the
> material. I shall read the stty info and  I shall fiddle around with the stty
> settings.
>
> Btw. my printer is an old HP-laserjet4P. I don't know, if it accepts plain 
> ASCII,
> but trying to print a file piped through GHOSTSCRIPT doesn't work either.
>

After trying several stty settings I noticed that the printer's serial port was 
not
correctly setup ( I had to change DTR/DSR ---> XON/XOFF). With these 
configuration
all worked fine. Nothing needs to be changed in the original setting of the 
Ultra1's
serial port.

Cheers
Friedhelm



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: During install on Sparc20 problem with CDRom

2005-08-02 Thread Bernd Klein
mhm, I burned last week (thursday or friday) my iso-image. Ok I will wait
for the new release, maybe it will work :-)

thnx
Bernd

-- 
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: During install on Sparc20 problem with CDRom

2005-08-02 Thread Frans Pop
On Tuesday 02 August 2005 09:02, Bernd Klein wrote:
> I used the latest sparc-iso-Image. After booting on my sparc20 it
> started and the installation app ask for keyboard layout etc. But
> during CDRom hardware detecting I got an error message "No common
> CD-Rom drive was detected". I pressed "no" to give manually a
> cdrom-module.
> (my sparc20 is an original Sun machine, without any special hardware)

Yesterdays daily image was broken due to a library change. Please try 
again in a couple of days.


pgpBV63KvQFjT.pgp
Description: PGP signature


Tickets for ABC Marillion gig

2005-08-02 Thread Colin Freer

Hi,

I have been unable to book tickets for the Glasgow concert on Nov 19th; there seems to be a problem with the system when I try to finalise payment. Can I book tickets any other way?

Cheers,

Colin.

During install on Sparc20 problem with CDRom

2005-08-02 Thread Bernd Klein
Hi all,
I used the latest sparc-iso-Image. After booting on my sparc20 it started
and the installation app ask for keyboard layout etc. But during CDRom
hardware detecting I got an error message "No common CD-Rom drive was
detected". I pressed "no" to give manually a cdrom-module.
(my sparc20 is an original Sun machine, without any special hardware)

I tested with the "/lib/modules/2.4.27-2/sparc32/kernel/drivers/cdrom" but I
had no success :-(

Can somebody help me?

thnx


Bernd Klein

-- 
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]