| View previous topic :: View next topic |
| Author |
Message |
ashrack Frequent User

Joined: 29 Apr 2006 Posts: 32
|
Posted: Sun Jun 04, 2006 5:58 am Post subject: Gnome for handicapped students |
|
|
On our school we're using latest DAPPER. But the problem is with GOK since it won't start and now several of our students with special needs cant work on the computer.
| Code: | dijaki@zavod:~$ gok
/dev/js0: No such file or directory
The program 'gok' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDevice, invalid or uninitialized input device'.
(Details: serial 161 error_code 168 request_code 145 minor_code 3)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
dijaki@zavod:~$ gok --sync
/dev/js0: No such file or directory
The program 'gok' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDevice, invalid or uninitialized input device'.
(Details: serial 258 error_code 168 request_code 145 minor_code 3)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
|
and my 'xorg.conf'
| Code: | # /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "Intel Corporation 82815 CGC [Chipset Graphics Controller]"
Driver "i810"
BusID "PCI:0:2:0"
EndSection
Section "Monitor"
Identifier "SyncMaster"
Option "DPMS"
HorizSync 30-81
VertRefresh 56-75
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82815 CGC [Chipset Graphics Controller]"
Monitor "SyncMaster"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "DRI"
Mode 0666
EndSection
#tomi
Section "Serverflags"
# Option "DontZap" "yes"
# Option "DontVTSwitch" "yes"
EndSection
|
|
|
| Back to top |
|
 |
und0 Moderator

Joined: 09 Feb 2006 Posts: 1222
|
Posted: Sun Jun 04, 2006 8:08 am Post subject: |
|
|
| I think you should file a bug in the Ubuntu bug tracking system. |
|
| Back to top |
|
 |
ashrack Frequent User

Joined: 29 Apr 2006 Posts: 32
|
Posted: Mon Jun 05, 2006 1:11 am Post subject: |
|
|
well I already did that but there appears to be no response:
https://launchpad.net/bugs/42308
And this situation is critical for our school. Since if this bug isnt fixed we'll have to be moving back to WinXP. And the school administration will blame us admins for trying out linux... |
|
| Back to top |
|
 |
und0 Moderator

Joined: 09 Feb 2006 Posts: 1222
|
|
| Back to top |
|
 |
und0 Moderator

Joined: 09 Feb 2006 Posts: 1222
|
Posted: Thu Jun 08, 2006 10:34 am Post subject: |
|
|
| FYI, the latest Debian Gok package (1.0.10-2) is working... |
|
| Back to top |
|
 |
D Newbie

Joined: 27 Jun 2006 Posts: 1
|
Posted: Tue Jun 27, 2006 7:06 pm Post subject: |
|
|
Here comes the solution:
sudo vi /etc/X11/xorg.conf
Comment out these lines:
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
*** and also ***
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
under Section "ServerLayout"
Now, save the file and reboot.
Enjoy yourself with gok! |
|
| Back to top |
|
 |
Anco Newbie

Joined: 22 Aug 2006 Posts: 1
|
Posted: Tue Aug 22, 2006 7:09 pm Post subject: |
|
|
Sorry but above solution is far from a solution. When using a (wacom) tabletPc, than you need the GOK. So disabling the tabletpc is not nice solution.
The other solution I tried for a whole evening searching and trying was using
"the latest Debian Gok package (1.0.10-2) is working" hint.
Well I'm not a hacker so downloading the debian package and installing in Ubuntu 6.06 gave an dependency problem....
Forced installing still didn't work. Is there anyone who has the right package for UBUNTU 6.06
Other question who should be mentioned in the ubuntu team to do an update on gok in the ubuntu repositories? Well I'll go on with my search too.
Thanks to all the programmers who already made possible ubuntu. |
|
| Back to top |
|
 |
und0 Moderator

Joined: 09 Feb 2006 Posts: 1222
|
Posted: Wed Aug 23, 2006 1:10 am Post subject: |
|
|
| Anco wrote: | | Other question who should be mentioned in the ubuntu team to do an update on gok in the ubuntu repositories? Well I'll go on with my search too. |
In the package description there should be a field called "Maintainer:" with an email address.
My suggestion is to compile the Debian GOK package from source... |
|
| Back to top |
|
 |
gokguy Newbie

Joined: 25 Aug 2006 Posts: 1
|
|
| Back to top |
|
 |
|