From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id BA9A41EF95F; Tue, 23 Feb 2016 10:05:38 -0500 (EST) Received: from mail0131.smtp25.com (mail0131.smtp25.com [75.126.84.131]) by befuddled.reisers.ca (Postfix) with ESMTPS id CCD7F1EF741 for ; Tue, 23 Feb 2016 10:05:36 -0500 (EST) Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.14.9/8.14.8) with ESMTP id u1NF5MAC000498 for ; Tue, 23 Feb 2016 10:05:22 -0500 From: covici@ccs.covici.com To: "Speakup is a screen review system for Linux." Subject: Re: Help with serial synths in 4.X kernels In-reply-to: <56CC626F.90700@baechler.net> References: <56CC626F.90700@baechler.net> Comments: In-reply-to Tony Baechler message dated "Tue, 23 Feb 2016 05:45:19 -0800." X-Mailer: MH-E 8.5; nmh 1.6; GNU Emacs 25.1.50 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <496.1456239922.1@ccs.covici.com> Date: Tue, 23 Feb 2016 10:05:22 -0500 Message-ID: <497.1456239922@ccs.covici.com> X-SpamH-OriginatingIP: 70.109.53.110 X-SpamH-Filter: d-out-001.smtp25.com-u1NF5Mqb018189 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 X-BeenThere: speakup@linux-speakup.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 15:05:38 -0000 Do you have the serialio.c patched to comment out the return null in around line 42? I am running successfully using 4.1.15 kernel, I have not checked the 4.3 series as I want to run lts ones only. Tony Baechler wrote: > Hello all, > > This is probably for Samuel, but I thought I would ask here in hopes > that others might have suggestions. I'm trying to compile 4.X kernels > (specifically 4.3.3) with working serial synth support, but so far no > luck. I've seen several patches posted here by Samuel, but I don't > know if they've been accepted into staging. I pulled a recent staging > snapshot and copied the speakup directory over that supplied with > kernel 4.3.3 in Debian. The kernel didn't compile, giving an error > that screen_pos is undefined. I copied main.c from the 4.3.3 source > which fixes the problem, but loading the speakup_dectlk module results > in silence. It seems that it still won't access the serial port, even > if I include ser=0 on the command line. I also tried applying John's > patch to the vanilla 4.3.3 sources. Again, it compiled, but loading > speakup_dectlk locked up the machine. I tried 4.4.0-trunk-amd64 from > Debian without success. > > Is there a diff with all of the Speakup patches posted to date which I > can apply to the kernel sources? Is there any chance that Debian will > pick up these patches soon since they apparently haven't made it to > the official staging tree? Am I missing something obvious? Samuel, > would you please post a file with all of your patches so far in a > central location to make them easier to find? > > For the record, John's build instructions don't work on recent > kernels. I've found that the following steps seem to work better: > > 1. Install the "linux-source" and "make-kpkg" packages. > > 2. Change to /usr/src/ which should have a tar.bz2 or tar.xz file with > the source. Extract the source which should create a > linux-source-X.Y.Z directory. > > 3. Change to linux-source-X.Y.Z. > > 4. As root or with sudo, run the following: > > make-kpkg --initrd buildpackage > > Note that on Ubuntu, you'll run into problems with .config > missing. Debian packages don't seem to have this problem, but to be > safe, copy a config.* file to .config in the linux-source > directory. Apply any Speakup patches before running make-kpkg. On an > Intel I7 with 32 GB of memory, the build process takes about three > hours and builds several .deb packages. > > > -- > Tony Baechler, founder, Baechler Access Technology Services > Putting accessibility at the forefront of technology > mailto:bats@batsupport.com > Phone: 1-619-746-8310 SMS text: 1-619-375-2545 > _______________________________________________ > Speakup mailing list > Speakup@linux-speakup.org > http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup > -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com