public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* emacs terminal devices
@  ` Jacob Schmude <Jacob Schmude
     ` Kirk Reiser
  0 siblings, 1 reply; 11+ messages in thread
From: Jacob Schmude <Jacob Schmude @  UTC (permalink / raw)
  To: speakup

Hi

     This may be a bit off topic for this list, and I apologize in advance. Since I'm using kernel 2.4, I can't use speakup and must use emacspeak. The problem comes, however, when I need to open a terminal session.
     I can open it as root, and all goes well. However, I can't open it as a user. Since I was using the devFS, I turned that off and it worked as a user then. So it's no doubt a device permission problem. However, I don't know what devices to check. I've tried using fuser to give me the info, but the two devices were /dev/tty0 and /dev/ptmx as root, and only /dev/tty0 when it tries to open a terminal as a user. /dev/tty0 is mode 600, root.tty, and ptmx is mode 666 root.tty. This is with the devFS on and off, so it must be some other device. Does anyone know what device this may be?

Jacob


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: emacs terminal devices
   ` emacs terminal devices Jacob Schmude <Jacob Schmude
@    ` Kirk Reiser
       ` Jacob Schmude
  0 siblings, 1 reply; 11+ messages in thread
From: Kirk Reiser @  UTC (permalink / raw)
  To: speakup

Hi Jacob:  If you want to use the cvs version of speakup it should
work fine with the 2.4.0-test kernels.  It seems that a few people
have had problems with the cvs working but I have not been able to
duplicate it.  I have the cvs version running on two machines with
2.4.0-test8 and the dectalk external and liteTalk synths.  I also have
it working on a doubleTalk version.  I want to try to hunt down the
problems folks are having but have to be able to duplicate it first.

  Kirk

-- 

Kirk Reiser				The Computer Braille Facility
e-mail: kirk@braille.uwo.ca		University of Western Ontario
phone: (519) 661-3061


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: emacs terminal devices
     ` Kirk Reiser
@      ` Jacob Schmude
         ` Kirk Reiser
  0 siblings, 1 reply; 11+ messages in thread
From: Jacob Schmude @  UTC (permalink / raw)
  To: speakup

Hi kirk,
     Well, where do I get the CVS version? Don't see it on the ftp site nor on linux-speakup.org. I've heard it mensioned on the list before, but have never been able to find it.

Thanks

Kirk Reiser writes:
 > Hi Jacob:  If you want to use the cvs version of speakup it should
 > work fine with the 2.4.0-test kernels. 


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: emacs terminal devices
       ` Jacob Schmude
@        ` Kirk Reiser
           ` CVS speakup with 2.4.0-test9 (was Re: emacs terminal devices) Jacob Schmude
           ` emacs terminal devices Brent Harding
  0 siblings, 2 replies; 11+ messages in thread
From: Kirk Reiser @  UTC (permalink / raw)
  To: speakup

Hi Jacob:  I will post the script here and you can cut it out and make
it executable..  You will need to start with a clean unpacked linux
source tree rooted at /usr/src/linux.  The cvs script will download
the cvs archive and patch the kernel automagically.  The anonymous
password is 'please' without the ticks.  You can then run make
mrproper and drop your .config file in to do a make oldconfig if you
like.

  Kirk

------------------------------------------------------------------------
#!/bin/bash

VERSION=v`head -2 /usr/src/linux/Makefile | \
	awk '{ printf "%s",$3 }'`

DIR=/usr/src/linux/drivers/char/speakup

echo "Patching version $VERSION"

if [ "$1" != "--debug" ]; then
	SILENT=--silent
fi

if [ ! -d ${DIR}/CVS ] && [ "$CVSROOT" == "" ]; then
	echo 'CVSROOT not set.  Enter it below.  Hit enter for anonymous.'
	read -p 'CVSROOT> ' CVSROOT
	[ "$CVSROOT" == "" ] &&
	  CVSROOT=':pserver:anonymous@bumpy.braille.uwo.ca:/usr/src/CVS'
	export CVSROOT
	cvs login || exit
fi

if [ "$1" != "-p" ]; then
	#  get new version
	mkdir -p ${DIR%/speakup}
	cd ${DIR%/speakup}
	if [ -d speakup ]; then
		cd speakup
		cvs update -P || exit
	else
		cvs co -P speakup || exit
		cd speakup
	fi
fi

#  make .orig files
echo -n 'Creating .orig files ['
for i in `cat ${DIR}/patchlist`; do
	patch=`echo $i | cut -f 1 -d ,`
	filebase=`echo $i | cut -f 2 -d ,`

	mkdir -p `dirname $filebase`
	if [ "$patch" == "1" ]; then
		if [ ! -e $filebase.orig ]; then
			echo -n .
			cp $filebase $filebase.orig
		fi
	fi
done
echo '] done.'

#  apply patches
echo -n 'Patching files ['
for i in ${DIR}/diff-${VERSION}/*.patch; do
	# skip dirs
	[ -d $i ] && continue
	echo -n p
	writeloc=${i##$DIR\/diff-${VERSION}\/}
	writeloc=${writeloc%.patch}
	writeloc=${writeloc//^/\/} 
	patch $SILENT -f -p0 -o $writeloc $writeloc.orig $i
done
echo '] done.'

#  copy files
echo -n 'Copying files ['
for i in ${DIR}/diff-${VERSION}/*.copy; do
	# skip dirs
	[ -d $i ] && continue
	echo -n c
	writeloc=${i##$DIR\/diff-${VERSION}\/}
	writeloc=${writeloc%.copy}
	writeloc=${writeloc//^/\/} 
	cp $i $writeloc
done
echo '] done.'

#  ensure /usr/src/linux/drivers/char/defkeymap.c is built from OUR map.
touch speakupmap.map

-- 

Kirk Reiser				The Computer Braille Facility
e-mail: kirk@braille.uwo.ca		University of Western Ontario
phone: (519) 661-3061


^ permalink raw reply	[flat|nested] 11+ messages in thread

* CVS speakup with 2.4.0-test9 (was Re: emacs terminal devices)
         ` Kirk Reiser
@          ` Jacob Schmude
             ` Kirk Reiser
           ` emacs terminal devices Brent Harding
  1 sibling, 1 reply; 11+ messages in thread
From: Jacob Schmude @  UTC (permalink / raw)
  To: speakup

HI
     Well Kirk, no luck. It compiles fine, but as soon as I attempt to boot the new kernel, the system hangs. Yes, I did start with a clean source, I did specify the synth properly, and I did make sure lilo was run. This is kernel v 2.4.0-test9. At first I thought it might be a problem with device probing, so I went in and changed the synth_portlist array in speakup_dtlk.c to only look on 0x29e. Still no luck. Here's what I get when I boot:
LILO boot: linux
uncompressing linux...ok, booting the kernel.
     Then, the system hangs. Not even control-alt-delete will reboot. I have to power the system down.

Got any ideas? I'd really like to get speakup working with this kernel. And no, I won't go back to 2.2, I've made the 2.4 system upgrades already.    Oh well, that's what happens to someone who beta tests devel kernels.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: emacs terminal devices
         ` Kirk Reiser
           ` CVS speakup with 2.4.0-test9 (was Re: emacs terminal devices) Jacob Schmude
@          ` Brent Harding
             ` Kirk Reiser
  1 sibling, 1 reply; 11+ messages in thread
From: Brent Harding @  UTC (permalink / raw)
  To: speakup

What does this file download, the latest speakup, or for development
kernels only?
At 04:34 PM 10/18/00 -0400, you wrote:
>Hi Jacob:  I will post the script here and you can cut it out and make
>it executable..  You will need to start with a clean unpacked linux
>source tree rooted at /usr/src/linux.  The cvs script will download
>the cvs archive and patch the kernel automagically.  The anonymous
>password is 'please' without the ticks.  You can then run make
>mrproper and drop your .config file in to do a make oldconfig if you
>like.
>
>  Kirk
>
>------------------------------------------------------------------------
>#!/bin/bash
>
>VERSION=v`head -2 /usr/src/linux/Makefile | \
>	awk '{ printf "%s",$3 }'`
>
>DIR=/usr/src/linux/drivers/char/speakup
>
>echo "Patching version $VERSION"
>
>if [ "$1" != "--debug" ]; then
>	SILENT=--silent
>fi
>
>if [ ! -d ${DIR}/CVS ] && [ "$CVSROOT" == "" ]; then
>	echo 'CVSROOT not set.  Enter it below.  Hit enter for anonymous.'
>	read -p 'CVSROOT> ' CVSROOT
>	[ "$CVSROOT" == "" ] &&
>	  CVSROOT=':pserver:anonymous@bumpy.braille.uwo.ca:/usr/src/CVS'
>	export CVSROOT
>	cvs login || exit
>fi
>
>if [ "$1" != "-p" ]; then
>	#  get new version
>	mkdir -p ${DIR%/speakup}
>	cd ${DIR%/speakup}
>	if [ -d speakup ]; then
>		cd speakup
>		cvs update -P || exit
>	else
>		cvs co -P speakup || exit
>		cd speakup
>	fi
>fi
>
>#  make .orig files
>echo -n 'Creating .orig files ['
>for i in `cat ${DIR}/patchlist`; do
>	patch=`echo $i | cut -f 1 -d ,`
>	filebase=`echo $i | cut -f 2 -d ,`
>
>	mkdir -p `dirname $filebase`
>	if [ "$patch" == "1" ]; then
>		if [ ! -e $filebase.orig ]; then
>			echo -n .
>			cp $filebase $filebase.orig
>		fi
>	fi
>done
>echo '] done.'
>
>#  apply patches
>echo -n 'Patching files ['
>for i in ${DIR}/diff-${VERSION}/*.patch; do
>	# skip dirs
>	[ -d $i ] && continue
>	echo -n p
>	writeloc=${i##$DIR\/diff-${VERSION}\/}
>	writeloc=${writeloc%.patch}
>	writeloc=${writeloc//^/\/} 
>	patch $SILENT -f -p0 -o $writeloc $writeloc.orig $i
>done
>echo '] done.'
>
>#  copy files
>echo -n 'Copying files ['
>for i in ${DIR}/diff-${VERSION}/*.copy; do
>	# skip dirs
>	[ -d $i ] && continue
>	echo -n c
>	writeloc=${i##$DIR\/diff-${VERSION}\/}
>	writeloc=${writeloc%.copy}
>	writeloc=${writeloc//^/\/} 
>	cp $i $writeloc
>done
>echo '] done.'
>
>#  ensure /usr/src/linux/drivers/char/defkeymap.c is built from OUR map.
>touch speakupmap.map
>
>-- 
>
>Kirk Reiser				The Computer Braille Facility
>e-mail: kirk@braille.uwo.ca		University of Western Ontario
>phone: (519) 661-3061
>
>_______________________________________________
>Speakup mailing list
>Speakup@braille.uwo.ca
>http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
>



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: CVS speakup with 2.4.0-test9 (was Re: emacs terminal devices)
           ` CVS speakup with 2.4.0-test9 (was Re: emacs terminal devices) Jacob Schmude
@            ` Kirk Reiser
               ` Jacob Schmude
               ` Brent Harding
  0 siblings, 2 replies; 11+ messages in thread
From: Kirk Reiser @  UTC (permalink / raw)
  To: speakup

Hmmm, that's exactly the same problem that others are reporting.  I
haven't tried it yet on test9 but I have it running just fine on
test8.  I will try it here at home on my box with test9 sometime in
the next day or so.  Does test9 compile and run fine without speakup
patched in?  I realize that may not be an easy thing to test, but I
was curious whether you had tried it?

I guess the next question I should ask everyone here is has anyone
successfully run speakup cvs on the 2.4.0-testxx kernels other than
myself?

  Kirk

-- 

Kirk Reiser				The Computer Braille Facility
e-mail: kirk@braille.uwo.ca		University of Western Ontario
phone: (519) 661-3061


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: emacs terminal devices
           ` emacs terminal devices Brent Harding
@            ` Kirk Reiser
  0 siblings, 0 replies; 11+ messages in thread
From: Kirk Reiser @  UTC (permalink / raw)
  To: speakup

The latest speakup version in alpha-alpha form.  There are no docs or
hand-holding for this version but you're welcome to blow up your
system if you're brave.

  Kirk

-- 

Kirk Reiser				The Computer Braille Facility
e-mail: kirk@braille.uwo.ca		University of Western Ontario
phone: (519) 661-3061


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: CVS speakup with 2.4.0-test9 (was Re: emacs terminal devices)
             ` Kirk Reiser
@              ` Jacob Schmude
               ` Brent Harding
  1 sibling, 0 replies; 11+ messages in thread
From: Jacob Schmude @  UTC (permalink / raw)
  To: speakup

Hi Kirk
     I'm running test9 now with speakup not in it. Of course I need to use emacspeak, so I can't really test everything, but the system boots and operates. Actually, I needed to recompile do to the way my kernel got installed, I just answered N to speakup when doing this and I got a bootable kernel again. So, it's something with speakup, but as the kernel gives no output that may be a hard one to find.


Kirk Reiser writes:
 > Hmmm, that's exactly the same problem that others are reporting.  I
 > haven't tried it yet on test9 but I have it running just fine on
 > test8.  I will try it here at home on my box with test9 sometime in
 > the next day or so.  Does test9 compile and run fine without speakup
 > patched in?  I realize that may not be an easy thing to test, but I
 > was curious whether you had tried it?


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: CVS speakup with 2.4.0-test9 (was Re: emacs terminal devices)
             ` Kirk Reiser
               ` Jacob Schmude
@              ` Brent Harding
                 ` Jason Custer
  1 sibling, 1 reply; 11+ messages in thread
From: Brent Harding @  UTC (permalink / raw)
  To: speakup

Wow, wonder if it's worth upgrading to this, hear it supports usb, wonder
about cd-rw usb drives?
At 09:00 PM 10/18/00 -0400, you wrote:
>Hmmm, that's exactly the same problem that others are reporting.  I
>haven't tried it yet on test9 but I have it running just fine on
>test8.  I will try it here at home on my box with test9 sometime in
>the next day or so.  Does test9 compile and run fine without speakup
>patched in?  I realize that may not be an easy thing to test, but I
>was curious whether you had tried it?
>
>I guess the next question I should ask everyone here is has anyone
>successfully run speakup cvs on the 2.4.0-testxx kernels other than
>myself?
>
>  Kirk
>
>-- 
>
>Kirk Reiser				The Computer Braille Facility
>e-mail: kirk@braille.uwo.ca		University of Western Ontario
>phone: (519) 661-3061
>
>_______________________________________________
>Speakup mailing list
>Speakup@braille.uwo.ca
>http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
>



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: CVS speakup with 2.4.0-test9 (was Re: emacs terminal devices)
               ` Brent Harding
@                ` Jason Custer
  0 siblings, 0 replies; 11+ messages in thread
From: Jason Custer @  UTC (permalink / raw)
  To: speakup

ya, I heard linux has a usb support kernel after 2.3.??? and maybe drivers.
My gateway has 2 usb ports, and I have no prob running anything off them.
----- Original Message -----
From: Brent Harding <bharding@ufw2.com>
To: <speakup@braille.uwo.ca>
Sent: Wednesday, October 18, 2000 7:55 PM
Subject: Re: CVS speakup with 2.4.0-test9 (was Re: emacs terminal devices)


> Wow, wonder if it's worth upgrading to this, hear it supports usb, wonder
> about cd-rw usb drives?
> At 09:00 PM 10/18/00 -0400, you wrote:
> >Hmmm, that's exactly the same problem that others are reporting.  I
> >haven't tried it yet on test9 but I have it running just fine on
> >test8.  I will try it here at home on my box with test9 sometime in
> >the next day or so.  Does test9 compile and run fine without speakup
> >patched in?  I realize that may not be an easy thing to test, but I
> >was curious whether you had tried it?
> >
> >I guess the next question I should ask everyone here is has anyone
> >successfully run speakup cvs on the 2.4.0-testxx kernels other than
> >myself?
> >
> >  Kirk
> >
> >--
> >
> >Kirk Reiser The Computer Braille Facility
> >e-mail: kirk@braille.uwo.ca University of Western Ontario
> >phone: (519) 661-3061
> >
> >_______________________________________________
> >Speakup mailing list
> >Speakup@braille.uwo.ca
> >http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> >
> >
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Jacob Schmude's message of "Wed, 18 Oct 2000 15:37:01 -0400">
 ` emacs terminal devices Jacob Schmude <Jacob Schmude
   ` Kirk Reiser
     ` Jacob Schmude
       ` Kirk Reiser
         ` CVS speakup with 2.4.0-test9 (was Re: emacs terminal devices) Jacob Schmude
           ` Kirk Reiser
             ` Jacob Schmude
             ` Brent Harding
               ` Jason Custer
         ` emacs terminal devices Brent Harding
           ` Kirk Reiser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).