lmcogs
11th January 2012, 07:24 PM
Have been searcing for days but no luck setting up this usb external Lilliput UM-1010/C/T touchscreen. Alot of threads seem out of date and not for this kernel. The linux instructions that come with it don't seem to work. The system seems to recognise it but all I have is a green screen. One of the problems was that I had no xorg.conf file. My system is
uname -r
3.1.7-1.fc16.x86_64 with a nvidia graphics card.
dmesg relevant part is
2.506140] usb 1-4.1: new full speed USB device number 3 using ehci_hcd
[ 2.592639] usb 1-4.1: New USB device found, idVendor=0eef, idProduct=0001
[ 2.592643] usb 1-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.592646] usb 1-4.1: Product: USB TouchController
[ 2.592648] usb 1-4.1: Manufacturer: eGalax Inc.
[ 2.594543] input: eGalax Inc. USB TouchController as /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4.1/1-4.1:1.0/input/input5
[ 2.594662] input: eGalax Inc. USB TouchController as /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4.1/1-4.1:1.0/input/input6
[ 2.594780] generic-usb 0003:0EEF:0001.0005: input,hidraw4: USB HID v2.10 Pointer [eGalax Inc. USB TouchController] on usb-0000:00:1a.7-4.1/input0
[ 2.668145] usb 1-4.2: new high speed USB device number 4 using ehci_hcd
[ 2.756636] usb 1-4.2: New USB device found, idVendor=17e9, idProduct=02a9
[ 2.756640] usb 1-4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.756643] usb 1-4.2: Product: LILLIPUT USB Monitor
[ 2.756645] usb 1-4.2: Manufacturer: DisplayLink
17.805587] udlfb: DisplayLink LILLIPUT USB Monitor - serial #89380206
[ 17.805590] udlfb: vid_17e9&pid_02a9&rev_0127 driver's dlfb_data struct at ffff88021a166800
[ 17.805592] udlfb: console enable=0
[ 17.805592] udlfb: fb_defio enable=1
[ 17.805822] udlfb: vendor descriptor length:17 data:17 5f 01 0015 05 00 01 03 00 04
[ 17.805825] udlfb: DL chip limited to 700000 pixel modes
[ 17.805877] udlfb: allocated 4 65024 byte urbs
[ 17.860986] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 17.861051] snd_hda_intel 0000:00:1b.0: irq 44 for MSI/MSI-X
[ 17.861077] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[ 17.886020] udlfb: 1024x600 valid mode
[ 17.886023] udlfb: Reallocating framebuffer. Addresses will change!
[ 17.886767] udlfb: 1024x600 valid mode
[ 17.886770] udlfb: set_par mode 1024x600
[ 17.888500] udlfb: DisplayLink USB device /dev/fb0 attached. 1024x600 resolution. Using 2400K framebuffer memory
[ 17.888523] usbcore: registered new interface driver udlfb
and
lsusb
Bus 001 Device 003: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen
My xorg.conf file for what it's worth is
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 290.10 (mockbuild@) Wed Nov 23 22:25:15 CET 2011
# RPM Fusion - nvidia-xorg.conf
#
Section "ServerLayout"
InputDevice "EETI" "SendCoreEvents"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
InputDevice "EETI" "SendCoreEvents"
InputDevice "EETI"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
# generated from data in "/etc/sysconfig/keyboard"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "us"
Option "XkbModel" "pc105"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
#Section "InputDevice"
#Identifier "EETI"
#Driver "evdev"
#Option "Device" "usbauto"
#Option "Parameters" "/var/lib/egalax.cal"
#Option "ScreenNo" "0"
#EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Videocard0"
SubSection "Display"
Modes "nvidia-auto-select"
Option "TwinView" "1"
EndSubSection
EndSection
### Touch Configuration Beginning ###
Section "InputDevice"
Identifier "EETI"
Driver "egalax"
Option "Device" "usbauto"
Option "Parameters" "/var/lib/eeti.param"
Option "ScreenNo" "0"
EndSection
### Touch Configuration End ###
I installed all xorg drivers I thougt maybe relevant e.g xorg-x11-drv-eevdev but I don't know if proper drivers are installed.
Appreciate any help bear in mind I am no experts. Maybe you could give me a working xorg.conf with touchscreen. thanks
lmcogs
16th January 2012, 11:58 AM
I have had not much luck yet. Have emailed seller to see if I can get through to technicians. However I did come across this page http://nameq.wordpress.com/2011/09/21/displaylink-dl-165-running-on-linux-fedora/ which looks interesting because it seems to be kind of same screen. I do have the displaylink driver as described etc but not the xorg.conf. I tried several versions of his xorg.conf but no good.
heres dmesg and lsmod after plugging in the screen and as described it has green screen and touch capabilty so it is not far off. Could anyone advise of have xorg.conf to suit. My main graphics card is nvidia and I use kmod-nvidia.
dmesg (after plugging in screen)
[ 7703.835030] usb 1-3: new high speed USB device number 2 using ehci_hcd
[ 7703.949362] usb 1-3: New USB device found, idVendor=0424, idProduct=2514
[ 7703.949367] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 7703.950021] hub 1-3:1.0: USB hub found
[ 7704.223114] usb 1-3.1: new full speed USB device number 3 using ehci_hcd
[ 7704.309610] usb 1-3.1: New USB device found, idVendor=0eef, idProduct=0001
[ 7704.309613] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7704.309616] usb 1-3.1: Product: USB TouchController
[ 7704.309618] usb 1-3.1: Manufacturer: eGalax Inc.
[ 7704.311782] input: eGalax Inc. USB TouchController as /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.1/1-3.1:1.0/input/input11
[ 7704.312070] input: eGalax Inc. USB TouchController as /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3.1/1-3.1:1.0/input/input12
[ 7704.312366] generic-usb 0003:0EEF:0001.0005: input,hidraw4: USB HID v2.10 Pointer [eGalax Inc. USB TouchController] on usb-0000:00:1a.7-3.1/input0
[ 7704.581454] usb 1-3.2: new high speed USB device number 4 using ehci_hcd
[ 7704.670733] usb 1-3.2: New USB device found, idVendor=17e9, idProduct=02a9
[ 7704.670736] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7704.670738] usb 1-3.2: Product: LILLIPUT USB Monitor
[ 7704.670740] usb 1-3.2: Manufacturer: DisplayLink
[ 7704.670741] usb 1-3.2: SerialNumber: 89380206
[ 7704.688672] udlfb: DisplayLink LILLIPUT USB Monitor - serial #89380206
[ 7704.773763] udlfb: DisplayLink USB device /dev/fb0 attached. 1024x600 resolution. Using 2400K framebuffer memory
[ 7704.773785] usbcore: registered new interface driver udlfb
lsmod (after plugging in screen)
lsmod
Module Size Used by
udlfb 16981 0
joydev 10372 0
fuse 69330 3
arc4 1481 2
ppp_mppe 6027 2
ppp_async 7414 1
crc_ccitt 1557 1 ppp_async
ppp_generic 25396 6 ppp_mppe,ppp_async
slhc 5851 1 ppp_generic
ppdev 8131 0
parport_pc 21058 0
lp 10418 0
parport 35827 3 ppdev,parport_pc,lp
lockd 78490 0
fcoe 21071 0
libfcoe 35751 1 fcoe
libfc 102240 2 fcoe,libfcoe
scsi_transport_fc 49307 2 fcoe,libfc
scsi_tgt 11403 1 scsi_transport_fc
8021q 19145 0
garp 6733 1 8021q
stp 2007 1 garp
llc 5106 2 garp,stp
nf_conntrack_netbios_ns 1297 0
nf_conntrack_broadcast 1383 1 nf_conntrack_netbios_ns
nf_conntrack_ipv4 9030 6
nf_defrag_ipv4 1561 1 nf_conntrack_ipv4
xt_state 1370 6
nf_conntrack 76503 4 nf_conntrack_netbios_ns,nf_conntrack_broadcast,nf_ conntrack_ipv4,xt_state
nvidia 12122373 40
snd_hda_codec_hdmi 25842 4
snd_hda_codec_realtek 327386 1
snd_seq 58599 0
snd_seq_device 6425 1 snd_seq
snd_hda_intel 26342 2
snd_hda_codec 97519 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_i ntel
snd_hwdep 6891 1 snd_hda_codec
snd_pcm 89984 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer 22199 2 snd_seq,snd_pcm
snd 71085 13 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_seq,s nd_seq_device,snd_hda_intel,snd_hda_codec,snd_hwde p,snd_pcm,snd_timer
soundcore 7124 1 snd
dvb_pll 11122 1
cx22702 5739 1
cx88_dvb 27240 0
cx88_vp3054_i2c 2193 1 cx88_dvb
videobuf_dvb 5626 1 cx88_dvb
dvb_core 99860 2 cx88_dvb,videobuf_dvb
rc_hauppauge 2092 0
cx8802 14183 1 cx88_dvb
sunrpc 225584 2 lockd
snd_page_alloc 8061 2 snd_hda_intel,snd_pcm
ir_lirc_codec 4634 0
lirc_dev 14152 1 ir_lirc_codec
ir_mce_kbd_decoder 4519 0
ir_sony_decoder 2301 0
ir_jvc_decoder 2394 0
ir_rc6_decoder 2874 0
ir_rc5_decoder 2362 0
ir_nec_decoder 2746 0
cx8800 33163 0
cx88xx 79708 3 cx88_dvb,cx8802,cx8800
rc_core 18679 10 rc_hauppauge,ir_lirc_codec,ir_mce_kbd_decoder,ir_s ony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_d ecoder,ir_nec_decoder,cx88xx
i2c_algo_bit 5572 2 cx88_vp3054_i2c,cx88xx
tveeprom 14037 1 cx88xx
v4l2_common 7509 2 cx8800,cx88xx
videodev 92903 3 cx8800,cx88xx,v4l2_common
media 12416 1 videodev
v4l2_compat_ioctl32 9334 1 videodev
btcx_risc 4058 3 cx8802,cx8800,cx88xx
iTCO_wdt 12452 0
atl1e 33690 0
videobuf_dma_sg 9311 4 cx88_dvb,cx8802,cx8800,cx88xx
videobuf_core 18346 5 videobuf_dvb,cx8802,cx8800,cx88xx,videobuf_dma_sg
iTCO_vendor_support 2699 1 iTCO_wdt
microcode 19616 0
binfmt_misc 7775 1
uinput 8254 0
serio_raw 4558 0
i2c_i801 9893 0
asus_atk0110 13791 0
i2c_core 28203 12 nvidia,dvb_pll,cx22702,cx88_dvb,cx88_vp3054_i2c,cx 8800,cx88xx,i2c_algo_bit,tveeprom,v4l2_common,vide odev,i2c_i801
ata_generic 3747 0
pata_acpi 3643 0
usb_storage 49071 0
pata_marvell 3368 0
lmcogs
22nd January 2012, 10:37 AM
I am gonna say this is partly solved. I'll give brief detail of what I done and sites which helped. The driver that finally got it going was displaylink driver, xorg.x11.drv.displaylink is in repos and command to use to configure are xinput, xrandr and xinput_calibrator.
Although its working there are couple glitches or things need ironed out namely mouse emulation on touchpad, e,g how toget right click or touchscreen scrolling. Another problem is that the system crashes if it goes or put into suspend/hibernation. I am not sure about screensaver but on my laptop this happens when I close the lid. Moving from touchscreen and main screen is confusing and I am not sure what desktop is on the main screen since I seem to have to configure the desktop again. When the touchpad is unplugged the main screen goes back to original. When system is booted and I plug in touchscreen I have to log out to restart xorg and same for unplugging. Seems I can plug/unplug it though although annoyingly have to restart xorg.
Anyone can help on the touchsceen emulation or the suspend/hebernation crashes please let me know. Also a simple how to would help on getting touchscreens to work. Indeed learning chinese would also help big time especiall for this touchsceen.
I have 2 system which it works on an intel laptop running fedora LXDE and nvidia desktop running kde.
Lilliput site http://www.lilliputuk.com/monitors/usb/um1010/ or http://www.lilliput.com.cn/en/products.php?id=134 - Were helpful to a degree but language barrier did not help.
Main sites of help
http://libdlo.freedesktop.org/wiki/
http://nameq.wordpress.com/2011/09/21/displaylink-dl-165-running-on-linux-fedora/
http://mulchman.org/blog/?p=90
These are some of commands that were used. Also they were used in trial and error since I really not fully sure what they are. Also its just a list of cut and paste since I haven't time to explain and it's taken me 2 weeks to get this far.
dmesg | grep eGalax
xinput --list -- find ID number
xinput set-int-prop 8 "Evdev axes Swap" 8.1
xinput --list-props 8
xinput --set-prop 8 121 0
xinput set-int-prop 9 "Evdev Axes Swap" 8 0
xinput_calibrator --verbose --- the outputs last line below - use the calibration numbers for xorg.conf file.
xinput set-int-prop "eGalax Inc. USB TouchController" "Evdev Axis Calibration" 32 92 3957 3971 282
Desktop nvidia card xorg.conf working
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "DisplayLinkScreen" 0 0
Screen 1 "Default Screen" 1024 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"
EndSection
#Section "Extensions"
# Option "Composite" "Enable"
#EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules/"
ModulePath "/usr/lib64/xorg/modules/drivers/"
#FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
EndSection
Section "Module"
Load "glx"
Load "exmod"
EndSection
Section "InputDevice"
# generated from data in "/etc/sysconfig/keyboard"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "gb"
Option "XkbModel" "pc105"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "yes"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "LG Electronics"
ModelName "W2343"
#Option "DPMS"
# 1024x768 @ 75.10 Hz (GTF) hsync: 60.23 kHz; pclk: 81.91 MHz
#Modeline "1024x768_75.10" 81.91 1024 1080 1192 1360 768 769 772 802 -HSync +Vsync
Option "Primary" "True"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Card0"
Monitor "Monitor0"
Option "TwinView" "1"
SubSection "Display"
Modes "nvidia-auto-select"
EndSubSection
EndSection
Section "Device"
Identifier "DisplayLinkDevice"
Driver "displaylink"
Option "fbdev" "/dev/fb0"
Option "RandRRotation" "True"
EndSection
Section "Monitor"
Identifier "DisplayLinkMonitor"
Option "Primary" "False"
Option "DPMS"
EndSection
Section "Screen"
Identifier "DisplayLinkScreen"
Device "DisplayLinkDevice"
Monitor "DisplayLinkMonitor"
Option "RandRRotation" "True"
#DefaultDepth 24
#SubSection "Display”
#Depth 24
#Modes "1024×600"
#EndSubSection
EndSection
Section "InputClass"
Identifier "eGalax"
MatchProduct "eGalax Inc. USB TouchController"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "ReportingMode" "Raw"
Option "Emulate3Buttons" "false"
Option "SendCoreEvents" "On"
#Option "InvertX" "false"
#Option "InvertY" "true"
Option "Calibration" "92 3957 3971 282"
#Option "RandRRotation" "True"
EndSection
================================================== ==============
Laptop intel chip working xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "DisplayLinkScreen" 0 0
Screen 1 "Screen0" 1024 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
ModulePath "/usr/lib/xorg/modules/drivers/"
FontPath "built-ins"
EndSection
Section "Module"
Load "glx"
Load "exmod"
EndSection
Section "InputDevice"
# generated from data in "/etc/sysconfig/keyboard"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "gb"
Option "XkbModel" "pc105"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "yes"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
Option "Primary" "True"
Option "DPMS"
EndSection
Section "Device"
Identifier "Card0"
Driver "intel"
#Option "fbdev" "/dev/fb0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
Option "TwinView" "1"
#SubSection "Display"
#Viewport 0 0
#Depth 24
#EndSubSection
EndSection
Section "Device"
Identifier "DisplayLinkDevice"
driver "displaylink"
Option "fbdev" "/dev/fb1"
Option "RrandRRotation " "True"
Option "Emulate3Buttons"
EndSection
Section "Monitor"
Identifier "DisplayLinkMonitor"
Option "Primary" "False"
EndSection
Section "Screen"
Identifier "DisplayLinkScreen"
Device "DisplayLinkDevice"
Monitor "DisplayLinkMonitor"
EndSection
Section "InputClass"
Identifier "eGalax"
MatchProduct "eGalax"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "SwapAxes" "off"
Option "Calibration" "92 3957 3971 282"
EndSection
==================================================
As I say this is rough and ready. I am no expert but it's got the touchsceen going generally. I would appreciate any help advise on mouse/touchscreen, moving between screens, hipernation/suspend crashes and lastly rotation xrandr -o left etc don't work.
kepica
23rd January 2012, 08:48 PM
thank you very much !
I dont have your hardware, but have to set up eGalax touch screen controler on fedora 16.
here is what has to be done:
yum install xinput_calibrator
xinput_calibrator --verbose
copy output from terminal, something like this:
Making the calibration permanent <--
Install the 'xinput' tool and copy the command(s) below in a script that starts with your X session
xinput set-int-prop "eGalax Inc. USB TouchController" "Evdev Axis Calibration" 32 100 1973 1928 112
there is no need for xinput utility !
just make new text file in /etc/X11/xorg.conf.d
you can call it 01-egalax.conf
Section "InputClass"
Identifier "eGalax"
MatchProduct "eGalax"
Driver "evdev"
Option "Calibration" "100 1973 1928 112"
EndSection
See that calibration numbers ? That's all !
Restart X server ( logout )
Have a good time with your touch screen !
lmcogs
24th January 2012, 11:19 AM
Thanks kebica that seems to work fine. Although the lines in xorg.conf worked too. Dont know which is better although yours probably don't depend on xorg. I don't know why xorg.conf is needed. Could displaylink not set up in xorg.conf.d/ directory?
Couple of things would like to rectify
1 there's a big problem crashing with suspend, hibernate, maybe screensave and on laptop lid closing I had to disable most powersaving and screensaver.
2 plugging/unplugging (plug and play) when system is running either to get touchscreen on or removing it, is a bit iffy, I think I have to reboot most times, Just tried unplugging it and logiing out and back in brought up main screen ok, However plugging in touchscreen logging out and back in did not work.
3 moving between screens, would like keyboard key to switch. Moving mouse is ok but a bit disorientating
.
4 would like keyboard key to simualte mouse clicks esp right key menu
5 touchsceen manipulation e.g touching for length of period brings up menu.
I have been looking at xbindkey but so far no good yet, set keys to mouse buttons. The others may be some option in xorg.conf but it's like looking for needle in haystack.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.