Page 1 of 1

Penmount touchscreen not appearing in /dev

Posted: Wed May 20, 2015 2:23 am
by omegacore
I'm running a raspi2 with the most recent release of raspbian. I am trying to get a penmount touchscreen working on the pi.

inputattach fails when I say:
sudo inputattach -pm6k /dev/bus/usb/001/023

/dev/usb/001/023 is the device handle I can find with lsusb.

dmesg shows that udev recognizes the Penmount controller, but doesn't give it a /dev handle. I wrote a udev rule in 010-local.rules

ACTION=="add", ATTRS{idVendor}=="14e1", ATTRS{idProduct}=="6000", NAME="touchScreen"

Reloaded rules, still no handle in /dev.

Is there something I'm missing?

Thanks!

Re: Penmount touchscreen not appearing in /dev

Posted: Thu May 21, 2015 1:55 am
by omegacore
No love?

Re: Penmount touchscreen not appearing in /dev

Posted: Fri Mar 18, 2016 10:50 am
by evignaux
Hi omegacore,

Did you have any chance making penmount6000 touchscreen working on the raspberry 2 ?
I have been trying to make it work for two weeks ...
No touch ! :cry:

When I plug usb, dmesg tells me :
[429203.825740] usb 1-1.2: New USB device found, idVendor=14e1, idProduct=6000
[429203.825769] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[429203.825787] usb 1-1.2: Product: PenMount USB
[429203.825803] usb 1-1.2: Manufacturer: DIALOGUE INC
[429204.503714] usb 1-1.2: USB disconnect, device number 22
[429207.557172] usb 1-1.2: new full-speed USB device number 23 using dwc_otg
[429207.665754] usb 1-1.2: New USB device found, idVendor=14e1, idProduct=6000
[429207.665788] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[429207.665805] usb 1-1.2: Product: PenMount USB
[429207.665820] usb 1-1.2: Manufacturer: DIALOGUE INC

lsusb tells me :
Bus 001 Device 023: ID 14e1:6000 Dialogue Technology Corp.

tail -f /dev/bus/usb/001/023 tells me
@?`?? )?? !"L?
When I put fingers on the screen, it doesn't change.

It works on windows 7

https://github.com/xvzf/linux-raspberry ... penmount.c
is the driver sourcecode fro penmount, but I have absolutely no idea on how to compile it ...

Any Idea ?

Thanks

Eric

Re: Penmount touchscreen not appearing in /dev

Posted: Sun Mar 20, 2016 10:04 pm
by giancarlo.bacchio
Hi!
I am in your same troubles :)

After a contact with monitor's manufacturer, I received source drivers for Penmount 6000
unfortunately, my lack of experience prevents me from a successful compiling.
I have posted "penmount_linux_android_driver_src_v1_13_6.tar.bz2" for you on WeTransfer
this is the download address : http://we.tl/xCbvb1GXMO
(valid only few days).

please let me know if you are able to get a better result than me.

regards
Giancarlo

Re: Penmount touchscreen not appearing in /dev

Posted: Fri Apr 01, 2016 5:00 pm
by evignaux
Hi Giancarlo, Thanks for your answer,
Really sorry did not see you post before, and wetransfer file is not availlable...
Can you please send it to me again ?
I think this penmount.c fil must be placed in the kernel source tree
(in place of the standard penmount.c which already exists.)

Then you compile the kernel like described on this site :
https://www.raspberrypi.org/documentati ... uilding.md

You must reconfigure the kernel by typing : make menuconfig
and you choose penmount driver.

Cheers

Eric

Re: Penmount touchscreen not appearing in /dev

Posted: Sat Apr 02, 2016 6:15 am
by giancarlo.bacchio
Hello Eric,
here is the new link to wetransfer: https://we.tl/Ed38NnF1Cw
Since two weeks ago, I tried several times to compile the source code as per the description attached. I also asked support to some expert friends of mine but, unfortunately, without success.
What you are suggesting is still something different and I will try again.
Let me know your results

Cheers,
Giancarlo

Re: Penmount touchscreen not appearing in /dev

Posted: Sat Apr 02, 2016 6:26 pm
by evignaux
Hi GianCarlo,
Thx for the wetransfer, I will try it on my side and let you informed if I managed to compile the driver.
Cheers
Eric

Re: Penmount touchscreen not appearing in /dev

Posted: Thu Apr 14, 2016 3:12 pm
by evignaux
I Gian Carlo,
I finaly found a solution to make my penmount touchscreen operate withe my raspberry.

No need to use the archive you wetransfered to me.

If you have the rapseberry pi 2, follow these instruction :


1. compile the kernel

sudo apt-get update
sudo apt-get upgrade

cd /home/pi
git clone https://github.com/raspberrypi/linux

cd linux-rpi-4.1.y
KERNEL=kernel7
make bcm2709_defconfig

make menuconfig
...It loads a command ligne program (gray background)
Then try to go into the device drivers configuration section, go to HID support, follow specific drivers (or something like that) and finaly select “hid penmount drivers”.
Then save and exit. Back to the black terminal

Very long :
make -j4 zImage modules dtbs


sudo make modules_install
sudo cp arch/arm/boot/dts/*.dtb /boot/
sudo cp arch/arm/boot/dts/overlays/*.dtb* /boot/overlays/
sudo cp arch/arm/boot/dts/overlays/README /boot/overlays/
sudo scripts/mkknlimg arch/arm/boot/zImage /boot/$KERNEL.img

2. Restart the system
sudo reboot

3. Compile a calibration tool, because the xinput_calibrator that you can install with apt-get install is buggy.

cd /home/pi
wget http://github.com/downloads/tias/xinput ... 7.5.tar.gz
tar -zxvf xinput_calibrator-0.7.5.tar.gz
cd xinput_calibrator-0.7.5
./configure
make
sudo make install

Then .... run in a terminal, under X session:

xinput_calibrator

You just press the four crosses, and you copy/paste the snippet that has been generated in the terminal, in /etc/X11/xorg.conf/99-calibration.conf

4. restart the system
sudo reboot

5. Touch the screen and be happy !!!!

Cheers

Eric

Re: Penmount touchscreen not appearing in /dev

Posted: Fri Apr 15, 2016 6:55 am
by giancarlo.bacchio
Hello Eric,
Fantastic, you did a really great job!!!
I will follow your detailed procedure.

Thank you a lot and have a nice time!!

Giancarlo

Re: Penmount touchscreen not appearing in /dev

Posted: Fri Apr 29, 2016 4:19 pm
by matthmelt
Would you mind posting the source for that driver again please; I'm working on an industrial HMI project and am unable to get a screen to work out of the box.

Thank You Much,
Matt

Re: Penmount touchscreen not appearing in /dev

Posted: Sun May 01, 2016 10:22 pm
by giancarlo.bacchio
Hi Matt,
I did a github repo to get the drivers definitely available to everybody.

https://github.com/Gianbacchio/Penmount ... aspberryPI

Note that I wasn't able to complete the procedure from Penmount.
On the other side, the procedure from Eric works very well.

regards
Giancarlo