expeyes hardware not found

Asked by David Boertjes

I have installed expeyes on my Ubuntu 14.04 TLS machine on a 64bit pc. The program always reports that the hardware is not found. I have tried with and without the .rules file from the postinst script, and neither work. Here is the output from the terminal:

david@david-Satellite-C650D:~$ sudo expeyes
[sudo] password for david:
/usr/share/expeyes/eyes
/usr/share/expeyes/eyes
/usr/share/expeyes/eyes
/usr/share/expeyes/eyes
/usr/share/expeyes/eyes
/usr/share/expeyes/eyes
/usr/share/expeyes/eyes
/usr/share/expeyes/eyes
/usr/share/expeyes/eyes
/usr/share/expeyes/eyes
Port /dev/ttyACM0 is existing and opened. No EYES hardware detected
Port /dev/ttyACM1 is existing and opened. No EYES hardware detected
Could not find Phoenix-EYES hardware
Check the connections.
/usr/share/expeyes/eyes
0.0

I have a TI Launchpad which is working but I believe may use the same USB-toSerial chipset. I looked at the device IDs in the rules and I think they don't overlap but I am no expert. Here are the two .rules files.

david@david-Satellite-C650D:/etc/udev/rules.d$ cat 99-phoenix.rules
SUBSYSTEM=="usb",ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="21ff", MODE="666"
SUBSYSTEM=="tty",ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE="666"
SUBSYSTEM=="tty",ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="00df", MODE="666"
ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="21ff", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="00df", ENV{ID_MM_DEVICE_IGNORE}="1"

david@david-Satellite-C650D:/etc/udev/rules.d$ cat 99-ti-launchpad.rules
# CC3200 LaunchPad
SUBSYSTEM=="usb", ATTRS{idVendor}=="0451", ATTRS{idProduct}=="c32a", MODE="0660", GROUP="dialout",
RUN+="/sbin/modprobe ftdi-sio" RUN+="/bin/sh -c '/bin/echo 0451 c32a > /sys/bus/usb-serial/drivers/ftdi_sio/new_id'"

Cheers,
Dave

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu expeyes Edit question
Assignee:
No assignee Edit question
Solved by:
David Boertjes
Solved:
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Please read this:

http://expeyes.in/hardware-availability

and this:

http://expeyes.in/sites/default/files/Documents/eyes%20-a4.pdf

You first need to buy the ExpEYES or ExpEYES Junior hardware.....

$ apt-cache show expeyes
Package: expeyes
Priority: extra
Section: universe/science
Installed-Size: 998
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Georges Khaznadar <email address hidden>
Architecture: all
Version: 3.1.5-2
Depends: python:any (>= 2.7.1-0ubuntu2), python-expeyes, python-imaging-tk, tix, python-tk
Recommends: python-numpy, python-scipy
Filename: pool/universe/e/expeyes/expeyes_3.1.5-2_all.deb
Size: 506376
MD5sum: 70cdfc6546bb1f936d8727819210765c
SHA1: 7a96f94548760079ef0aeec0285c3c67a9839e0e
SHA256: 9671ce72947096e7ecc974444316622deaf1bce30988e8aac24e0e5905ed85d4
Description-en: hardware & software framework for developing science experiments
 This package provides high level interfaces for making science experiments
 with an ExpEYES box.
 .
 ExpEYES is from the PHOENIX project of Inter-University Accelerator
 Centre, New Delhi. It is a hardware & software framework for
 developing science experiments, demonstrations and projects and learn
 science and engineering by exploration. Capable of doing real time
 measurements and analysing the data in different ways. Analog
 voltages are measured with 0.025% resolution and time intervals with
 one microsecond. This project is based on Free and Open Source
 software, mostly written in Python programming language. The hardware
 design is also open.
Description-md5: 60b03d5c802b544bf801a225e4b4d4b8
Homepage: http://expeyes.in/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

Revision history for this message
David Boertjes (david-boertjes) said :
#2

Mark;

Thanks for your suggestion, however, I do have the hardware, and it is connected to the USB port. It is a dual boot PC and it I can get the software working in Windows on this machine, but not Ubuntu. I have a compiler on Ubuntu I want to use for other work, so it would be advantageous to not have to reboot into a different OS to use Expeyes.

I apologize for not being more specific.

Cheers,
Dave

Revision history for this message
David Boertjes (david-boertjes) said :
#3

Mark;

Problem solved. I have had this thing for 3 months and didn't notice the "Junior" on the case! I suppose I'm just lucky that it worked at all with Windows given my oversight. I have it working now on both. Thank you for your help and bringing me back to simpler thoughts!

Cheers,
Dave

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#4

What did you do to get it working on Ubuntu?

Revision history for this message
David Boertjes (david-boertjes) said :
#5

To fix the problem, instead of issuing the command "sudo expeyes" I am now using "sudo expeyes-junior", which is the correct command for my version of the hardware. Really this was all my mistake. However, I suppose that as an enhancement, we could ask for a feature to check for the other type of hardware in each program and provide a message to the user that the hardware detected is of a different type, e.g.:

Message now: "Hardware not detected - please connect USB cable and restart this program"

Enhanced message: "Expeyes Junior hardware detected - please close this program and launch /usr/bin/Expeyes-junior"

In addition, the junior version of software could check for the Expeyes hardware and give the appropriate message.

Thanks again for your help and quick replies.

Cheers,
Dave

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#6

Thanks for the explanation. This will help others who might arrive in the same situation in the future....