Hirdetés
- Szerkesztett és makrofotók mobillal
- Samsung Galaxy S24 Ultra - ha működik, ne változtass!
- Bemutatkozott a Poco X7 és X7 Pro
- Itt a Galaxy S26 széria: az Ultra fejlődött, a másik kettő alig
- iPhone topik
- Android alkalmazások - szoftver kibeszélő topik
- Alumíniumba öltözött a Nothing Phone (4a) Pro
- Jolla és SailfishOS tapasztalatcsere
- MWC 2026: Varázslatos kínai B-brand telefonok
- Xiaomi 17 Ultra - jó az optikája
-
Mobilarena
Mára a ProHardver!/IT.News Fórum is nagylétszámú Linuxban jártas taggal büszkélkedhet. Nehéz szinteket felállítani egy olyan rendszer ismeretében, ami annyira sokrétű, hogy teljesen szinte lehetetlen megismerni minden egyes részét. Azt azonban mindenki tudja, hogy kezdő-e vagy sem. Elsősorban nekik szólnak az alábbiak, de érdemes mindenkinek elolvasnia, mint útjelző táblát.
Új hozzászólás Aktív témák
-
dcsabesz
tag
Sziasztok!
Egy olyan problémám van, hogy egy ACECAD típusú rajztáblát szeretnék üzemeltetni ubuntu alatt. Driver-t is találtam hozzá, de nekem kínai hogyan kell insalálni. Egy .tgz file-ba van csomagolva, Readme is van hozzá, de mivel nem vagyok igazán otthon a Linux világában, ezért eltévedtem. Ha valaki végigolvasná ezt a leírást és konyhanyelven elmagyarázná a folyamatot magyon megörülnék neki. Talán ahol legjobban elvesztem az , hogy mi az az Xfree, kell-e telepíteni ubuntura illetve, hogy a .tgz-ben ilyen file-ok vannak: (Xfree driver könyvtárban)-makefile-Imakefile-acecad.man-acecad.h-acecad.c (kernel_driver könyvtárban) acecad.c file-ok.
Ezekkel a file-okkal mit kezdjek?
Bocs a sok szövegért és ha valaki végigolvassa annak pedig köszönöm!
A README szövege
"Driver for Acecad "Acecat Flair" (serial and USB models) 302 (USB) and A-Series serial models
Version 3.1*************************************
Introduction: *
*************************************This file explain you how to build driver and how to configure your
system in case of Serial or USB acecat flair or A-Series tablet.
Xfree code should now be integrated acecad driver.
Xfree CVS at 28/02/03 include version 2.0 (without A-series support).*************************************
How to build from sources : *
*************************************PREPARE YOUR ENVIRONEMENT
------------------------- Unpack acecad_3.1.tgz with
$ tar xvfz acecad_3.1.tgz
$ cd acecad_3.1XFREE DRIVER MODULE
---------------------If you have already built X from an Xfree tree which is still present
on your system, go to step 6. If not, start from step 1.1) Download Xfree 4.x source (exemple for 4.1.0, make sure to download the same version yo are running)
$ ncftpget ftp://ftp.xfree86.org/pub/XFree86/4.1.0/source/X410src-1.tgz2) and unpack them in the directory.
$ tar xvfz X410src-1.tgz3) Replace content of acecad driver in Xfree tree by content of xfree_driver
$ rm -rf xc/programs/Xserver/hw/xfree86/input/acecad/*
$ cp acecad_src/* [your_dir]/xc/programs/Xserver/hw/xfree86/input/acecad4) Optionally, edit xc/config/cf/host.def and add "acecad" in the
#define XInputDrivers directive. This will make step 6 unnecessary5) Build Xfree (this should be very long (1-2 hours) and finish without any errors)
$ cd xc
$ make World
TIP : If you don't have time for that long build and you just want the driver to be build, edit Xfree top makefile and comment this line in World rules (you will have to follow step 6):
# $(MAKE_CMD) $(MFLAGS) $(WORLDOPTS) World6) If you have not followed instructions in step 4, or you have already
built X from an Xfree tree still present on your system, build Acecad
Driver:
$ cd programs/Xserver/hw/xfree86/input/acecad
$ xmkmf ../../../../../../
$ make
Note: xmkmf will build the Makefile from Imakefile. A Makefile is
already included; depending on your configuration, however, the
generated Makefile might be different from the included Makefile7) Copy the driver in your Xfree input driver modules directory (as root !!)
$ su
$ cp acecad_drv.o /usr/X11R6/lib/modules/input/KERNEL DRIVER MODULE
--------------------This is needed only if you have the USB interface.
Without patching the kernel
---------------------------WARNING: building driver module with this method doesn't modify hid-core module, and let it take the tablet for a mouse. You will have to make sure that acecad.o is loaded before hid-core.o at startup.
-Make sure that thart curently running kernel source (or headers) are installed (rpm package or tgz original source)
On RPM based distro:
$ rpm -qa |grep -i kernel
...
kernel-source-2.4.3-20mdk
...On Debian:
$ dpkg -l | grep kernel*
...
ii kernel-source- 2.4.19-5 Linux kernel source for version 2.4.19
...- Build directly in the kernel_driver directory
$ cd kernel_driver
$ gcc -D__KERNEL__ -I/_path_to_your_kernel_tree_/include -O2 -DMODULE -c -o acecad.o acecad.c- Copy the module in the kernel USB drivers modules directory
$ cp acecad.o /lib/modules/`uname -r`/kernel/drivers/usb/Patching the kernel
-------------------cd _path_to_my_kernel_tree_
patch -p1 </_path_to_the_patch_/kernel_2.4.xx_acecad_patch.dif
Then follow instalation instructions in the kernel README file.On Debian or RPM based distro you would make a good choice to use make-kpkg (Debian) or rpm build facilities to build a new kernel package and then install it cleanly.
Don't forget to enable acecad module in kernel config !
*************************************
How to configure your systeme *
*************************************SERIAL TABLET CONFIG:
--------------------1) Be root.
2) Copy acecad_drv.o in /usr/X11R6/lib/modules/input/
3) Edit XF86Congif-4:
[...]
Section "ServerLayout"
[...]
InputDevice "stylet" "AlwaysCore"
EndSection
[...]
Section "InputDevice"
Identifier "stylet"
Driver "acecad"
# Absolute or Relative (I don't have test Relative yet)
Option "Mode" "Absolute"
# Model can be Flair or A-Series
Option "Model" "Flair"
# You can choose report speed between 2, 10, 85 and 120 report/second.
# 120 is very fine but need a lot of CPU.
Option "ReportSpeed" "120"
# This lets you choose how the buttons are mapped. Only tested for
# A-Series model. Choices are Standard or Acecad
Option "ButtonMap" "Acecad"
# Choose your port
Option "Device" "/dev/ttyS0"
EndSection
[...]4) Now you have to restart X server. Be carefull : server could refuse to start again if there are problems with config or tablet...
You just have to ctrl-alt-backspace to restart X. If screen keep black, and X server crash, wait for init to stop respawning X, and correct your config in text mode.
On RH/Mdk/... go to runlevel 4 to prevent X to respawn 5 minuts later: "telinit 4"
You may start X just for test by invoking "X" and moving pen on the tablet.
Use "telinit 5" when OK.On Debian X won't respawn undefinitely if it crash this way. You will have to invoke your prefered display manager service to start again manually : /etc/init.d/kdm (if you use kdm, could be xdm).
USB TABLET CONFIG:
--------------1) Be root.
2) Copy acecad_drv.o in /usr/X11R6/lib/modules/input/
3) Copy acecad.o in /lib/modules/[kernel ver]/kernel/drivers/usb/
4) insmod acecad (maybe after a "rmmod usbmouse")
insmod evdev
6) Edit XF86Congif-4:
[...]
Section "ServerLayout"
[...]
InputDevice "stylet" "AlwaysCore"
EndSection
[...]
Section "InputDevice"
Identifier "stylet"
Driver "acecad"
Option "Device" "/dev/input/event0"
EndSection
[...]7) Same step than 4th step for serial config.
8) Tell your usbd/UsbMgr/Hotplug or whatever you use to load module when you plug a usb device that acecad module is related with VendorID 0x0460 and DeviceID 0x0004 and 0x008
On Mdk 8.x
- Edit /etc/usb/default.conf and add before the first line:vendor 0x0460 prio 3 kmod acecad
[...]- Edit /etc/modules.conf and add before the first line:
pre-install acecad modprobe evdev
[...]On Debian (with usbmgr)
-Edit /etc/usbmgr/preload.conf:
--------------
input
evdev
acecad
hid
mousedev
-------------- (respect this order, specialy if you didn't patch kernel)-Edit /etc/usbmgr/usbmgr.conf:
--------------
.... (printer section)
### TABLET# Flair [ACECAD]
vendor 0x460 product 0x04 module evdev , acecad
# 302 [ACECAD]
vendor 0x460 product 0x08 module evdev , acecad.... (wacom tablets)
--------------That's all !
Have Fun,"
Új hozzászólás Aktív témák
- Revolut
- Multimédiás / PC-s hangfalszettek (2.0, 2.1, 5.1)
- Milyen belső merevlemezt vegyek?
- Okos Otthon / Smart Home
- Építő/felújító topik
- Az eddigi legolcsóbb, 3D V-Cache-t használó CPU-ját hozta forgalomba az AMD
- Házimozi belépő szinten
- Szerkesztett és makrofotók mobillal
- Horgász topik
- Háremet tartana az adattárolókból a Chieftec letisztult dizájnú háza
- További aktív témák...
- Számlás!Steam,EA,Epic és egyébb játékok Pc-re vagy XBox!
- Windows, Office licencek kedvező áron, egyenesen a Microsoft-tól - Automata kézbesítés utalással is!
- Játékkulcsok ! : PC Steam, EA App, Ubisoft, Windows és egyéb játékok
- Fallout 4 Pip-Boy Edition eladó
- Vírusirtó, Antivirus, VPN kulcsok GARANCIÁVAL!
- KIÁRUSÍTÁS - HP Elite / ZBook Thunderbolt 3 Dock (akár 2x4K felbontás)
- MacOS 26! UTOLSÓ GEN iMac 27" 5K i7-10700K 64GB RAM 512GB NVMe Radeon Pro 5700 XT 16GB gar
- BESZÁMÍTÁS! ASUS TUF Z790 i9 14900K 32GB DDR5 1TB SSD RX 9070 XT 16GB ZALMAN Z10 PLUS Seasonic 750W
- DDR5 8GB / 16GB 4800-5600MHz SODIMM laptop RAM, több db- számla, garancia
- Honor X7b / 6/128GB / Kártyafüggetlen / 12Hó Garancia
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest


