[BRLTTY] GPM open error: Inappropriate ioctl for device

Keith Wessel kwessel at uiuc.edu
Wed Aug 22 12:02:04 EDT 2007


/etc/init.d/gpm status produces, as expected, "Status: started."

So, I tried the -ldebug as you mentioned.

Below is the ridiculous amount of output aht I received in syslog. Of
course, I saw no indicators of why brltty and gpm seem to be getting snarky
with each other... but hopefully, you guys who know the source code will see
something interesting.

Aug 22 10:51:51 office brltty[5361]: BRLTTY 3.8 [http://mielke.cc/brltty/]
Aug 22 10:51:51 office brltty[5363]: Working Directory: /etc/brltty
Aug 22 10:51:51 office brltty[5363]: Configuration File: /etc/brltty.conf
Aug 22 10:51:51 office brltty[5363]: Data Directory: /etc/brltty
Aug 22 10:51:51 office brltty[5363]: Library Directory: /lib/brltty
Aug 22 10:51:51 office brltty[5363]: Tables Directory: /etc/brltty
Aug 22 10:51:51 office brltty[5363]: file opened: /etc/brltty/text.nabcc.tbl
fd=4
Aug 22 10:51:51 office brltty[5363]: Text Table: text.nabcc.tbl
Aug 22 10:51:51 office brltty[5363]: file opened: /etc/brltty/attributes.tbl
fd=4
Aug 22 10:51:51 office brltty[5363]: Attributes Table: attributes.tbl
Aug 22 10:51:51 office brltty[5363]: Contractions Directory: /etc/brltty
Aug 22 10:51:51 office brltty[5363]: compiling contraction table:
en-us-g2.ctb
Aug 22 10:51:51 office brltty[5363]: Including contraction table:
/etc/brltty/en-us-g2.ctb
Aug 22 10:51:51 office brltty[5363]: file opened: /etc/brltty/en-us-g2.ctb
fd=4
Aug 22 10:51:51 office brltty[5363]: Including contraction table:
/etc/brltty/countries.cti
Aug 22 10:51:51 office brltty[5363]: file opened: /etc/brltty/countries.cti
fd=5
Aug 22 10:51:51 office brltty[5363]: Contraction Table: en-us-g2.ctb
Aug 22 10:51:51 office brltty[5363]: Linux Screen Driver:
Aug 22 10:51:51 office brltty[5363]: Screen Parameter: hfb=
Aug 22 10:51:51 office brltty[5363]: Screen Parameter: acm=
Aug 22 10:51:51 office brltty[5363]: Screen Parameter: debugacm=
Aug 22 10:51:51 office brltty[5363]: Screen Parameter: debugsfm=
Aug 22 10:51:51 office brltty[5363]: Screen Parameter: debugctt=
Aug 22 10:51:51 office brltty[5363]: screen device list: /dev/vcsa
/dev/vcsa0 /dev/vcc/a
Aug 22 10:51:51 office brltty[5363]: checking screen device: /dev/vcsa
Aug 22 10:51:51 office brltty[5363]: screen device: /dev/vcsa
Aug 22 10:51:51 office brltty[5363]: console device list: /dev/tty0
/dev/vc/0
Aug 22 10:51:51 office brltty[5363]: checking console device: /dev/tty0
Aug 22 10:51:51 office brltty[5363]: console device: /dev/tty0
Aug 22 10:51:51 office brltty[5363]: opening device: /dev/vcsa
Aug 22 10:51:51 office brltty[5363]: screen opened: /dev/vcsa: fd=4
Aug 22 10:51:51 office brltty[5363]: opening device: /dev/tty0
Aug 22 10:51:51 office brltty[5363]: console opened: /dev/tty0: fd=5
Aug 22 10:51:51 office brltty[5363]: Application Character Map: iso01
Aug 22 10:51:51 office brltty[5363]: Screen Font Map Size: 269
Aug 22 10:51:51 office brltty[5363]: VGA Character Count: 256(small)
Aug 22 10:51:51 office brltty[5363]: attributes masks: font=00 unshifted=FF
shifted=00
Aug 22 10:51:51 office brltty[5363]: BRLTTY BrlAPI Server: release 0.5.0
Aug 22 10:51:51 office brltty[5363]: API Parameter: auth=
Aug 22 10:51:51 office brltty[5363]: API Parameter: host=
Aug 22 10:51:51 office brltty[5363]: API Parameter: stacksize=
Aug 22 10:51:51 office brltty[5363]: checking braille device:
serial:/dev/ttyS1
Aug 22 10:51:51 office brltty[5363]: checking for 'ts' braille display.
Aug 22 10:51:51 office brltty[5363]: initializing braille driver: ts ->
serial:/dev/ttyS1
Aug 22 10:51:51 office brltty[5363]: device directory: /dev
Aug 22 10:51:51 office brltty[5363]: serial device opened: /dev/ttyS1: fd=6
Aug 22 10:51:51 office brltty[5363]: Sending query at 9600bps
Aug 22 10:51:51 office brltty[5363]: socket 0 established (fd 7)
Aug 22 10:51:51 office brltty[5363]: socket 1 established (fd 8)
Aug 22 10:51:51 office brltty[5363]: Input wait timed out after 100
milliseconds.
Aug 22 10:51:51 office brltty[5363]: Sending query at 19200bps
Aug 22 10:51:52 office brltty[5363]: Valid reply received.
Aug 22 10:51:52 office brltty[5363]: Display replied: 81 cells, version V1.0
Aug 22 10:51:52 office brltty[5363]: Detected PowerBraille 80
Aug 22 10:51:52 office brltty[5363]: Switched to 19200bps. Checking if
display followed.
Aug 22 10:51:52 office brltty[5363]: Valid reply received.
Aug 22 10:51:52 office brltty[5363]: Display responded at 19200bps.
Aug 22 10:51:52 office brltty[5363]: Braille Display Dimensions: 1 row, 80
columns
Aug 22 10:51:52 office brltty[5363]: shifts: fwin=80 hwin=40 vwin=5
Aug 22 10:51:52 office brltty[5363]: api link
Aug 22 10:51:52 office brltty[5363]: Braille Driver: ts [TSI]
Aug 22 10:51:52 office brltty[5363]: TSI Braille Driver: version 2.74 (April
2004)
Aug 22 10:51:52 office brltty[5363]: Braille Device: serial:/dev/ttyS1
Aug 22 10:51:52 office brltty[5363]: Help File: brltty-ts.hlp
Aug 22 10:51:52 office brltty[5363]: Help Page: /etc/brltty/brltty-ts.hlp[0]
Aug 22 10:51:52 office brltty[5363]: Preferences File: /etc/brltty-ts.prefs
Aug 22 10:51:52 office brltty[5363]: file opened: /etc/brltty-ts.prefs fd=9
Aug 22 10:51:52 office brltty[5363]: PCM opened: blk=128 rate=8000 chan=1
fmt=0
Aug 22 10:51:52 office brltty[5363]: tone: msec=60 smct=480 note=64
Aug 22 10:51:52 office brltty[5363]: tone: msec=100 smct=800 note=69
Aug 22 10:51:52 office brltty[5363]: looking for speech synthesizer.
Aug 22 10:51:52 office brltty[5363]: no speech synthesizer found.
Aug 22 10:51:52 office brltty[5363]: Speech FIFO: none
Aug 22 10:51:52 office brltty[5363]: api unlink
Aug 22 10:51:54 office brltty[5363]: Display idle: sending query
Aug 22 10:51:54 office brltty[5363]: Got reply to idle ping
Aug 22 10:51:56 office brltty[5363]: Display idle: sending query
Aug 22 10:51:56 office brltty[5363]: Got reply to idle ping
Aug 22 10:51:56 office brltty[5363]: api link
Aug 22 10:51:56 office brltty[5363]: Screen Font Map Size: 269
Aug 22 10:51:56 office brltty[5363]: VGA Character Count: 256(small)
Aug 22 10:51:56 office brltty[5363]: attributes masks: font=00 unshifted=FF
shifted=00
Aug 22 10:51:56 office brltty[5363]: GPM open error: Inappropriate ioctl for
device
Aug 22 10:51:57 office brltty[5363]: looking for speech synthesizer.
Aug 22 10:51:57 office brltty[5363]: no speech synthesizer found.
Aug 22 10:51:58 office brltty[5363]: Display idle: sending query
Aug 22 10:51:58 office brltty[5363]: Got reply to idle ping
Aug 22 10:51:59 office brltty[5363]: PCM closed.
Aug 22 10:52:00 office brltty[5363]: Display idle: sending query
Aug 22 10:52:00 office brltty[5363]: Got reply to idle ping
Aug 22 10:52:01 office brltty[5363]: GPM open error: Inappropriate ioctl for
device

... That's probably more than enough.

Thoughts?

Thanks,
Keith

-----Original Message-----
From: brltty-bounces at mielke.cc [mailto:brltty-bounces at mielke.cc]On
Behalf Of Dave Mielke
Sent: Wednesday, August 22, 2007 10:27 AM
To: Informal discussion between users and developers of BRLTTY.
Subject: Re: [BRLTTY] GPM open error: Inappropriate ioctl for device


[quoted lines by Keith Wessel on 2007/08/22 at 10:05 -0500]

>GPM isn't writing anything to syslog when I start it (/etc/init.d/gpm
>start... and now added to my default runlevel for automatic start-up at
>boot). But I do see it in the process table, so it is, in fact, running, or
>at least faking it very nicely. ;)

What does "/etc/init.d/gpm status" say?

>I'm running brltty 3.8, so I should have the latest and greatest.

Well ... we're almost at 3.8.1 ... we developers always have something newer
up
our sleeves so that we can always tell the users that they aren't running
the
latest. :-) There's nothing new in 3.8.1 which should impact this, though.

>There's no "pointer follows window" option in the menu as a result.

Good. It's always easier to figure things out when a current release is
being
used.

>Is there any more verbose logging I can turn on to see what's causing this
>error?

You can try running brltty with -ldebug.

--
Dave Mielke           | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: dave at mielke.cc | Canada  K2A 1H7   | if you're concerned about Hell.
http://FamilyRadio.com/                   | http://Mielke.cc/bible/
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY at mielke.cc
For general information, go to: http://mielke.cc/mailman/listinfo/brltty



More information about the BRLTTY mailing list