calib.sh

Asked by paolo.mgi on 2011-12-08

executing
$./calib.sh
returns

ls: cannot access /sys/bus/usb/drivers/usbhid/*/*1B96*: No such file or directory
dirname: missing operand
Try `dirname --help' for more information.
basename: missing operand
Try `basename --help' for more information.
ls: cannot access /sys/bus/hid/drivers/ntrig/*1B96*: No such file or directory
basename: missing operand
Try `basename --help' for more information.
make: `calib' is up to date.
bus 5
bus 4
bus 3
bus 2
bus 1
make: `firmware' is up to date.

what am I supposed to do?
thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Open Input Framework Edit question
Assignee:
No assignee Edit question
Solved by:
Stephen M. Webb
Solved:
2011-12-09
Last query:
2011-12-09
Last reply:
2011-12-09
Stephen M. Webb (bregma) said : #1

If you want to run the ntrig calibration tool, you're better off installing the ntrig-utils package from the uTouch PPA [1] and running the ntrig-calibrate tool. That package comes with a manpage describing how to use the tool.

[1] see https://launchpad.net/~utouch-team/+archive/utouch

paolo.mgi (paolo-mgi) said : #2

I am using oneiric and after installing thr ppa I get

W: Failed to fetch http://ppa.launchpad.net/utouch-team/utouch/ubuntu/dists/oneiric/main/source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/utouch-team/utouch/ubuntu/dists/oneiric/main/binary-i386/Packages 404 Not Found

The reason why I am trying to calibrate is that two fingers scrolling on firefox and evolution often results in text selection after which no other input is accepted by the tablet.

Best Stephen M. Webb (bregma) said : #3

The package has been copied into the oneiric archive now, please try again.

This calibration utility will not help if the tablet is not using ntrig hardware.

paolo.mgi (paolo-mgi) said : #4

Thanks Stephen M. Webb, that solved my question.

paolo.mgi (paolo-mgi) said : #5

first of all thanks for your help.
yes, now apt finds the repository. I think the package name is "ntrig-calibrate", though. "ntrig-utils" instead returns

 Unable to locate package ntrig-utils

After your advice I checked again my hardware, I must have misread it yesterday. lsinput gives actually

dev/input/event6
   bustype : BUS_USB
   vendor : 0x20b3
   product : 0xa18
   version : 273
   name : "Hanvon 10.1 "
   phys : "usb-0000:00:1d.3-2/input0"
   uniq : ""
   bits ev : EV_SYN EV_KEY EV_ABS

with

mtdev-test /dev/input/event6
supported mt events:
   ABS_MT_SLOT
   ABS_MT_POSITION_X
   ABS_MT_POSITION_Y
   ABS_MT_TRACKING_ID