Hirdetés
- Hisense LCD és LED TV-k
- A VBIOS az oka a Radeon RX 9070 és az X99-es alaplapok inkompatibilitásának
- Fujifilm X
- Azonnali VGA-s kérdések órája
- AMD Ryzen 9 / 7 / 5 7***(X) "Zen 4" (AM5)
- Milyen monitort vegyek?
- TCL LCD és LED TV-k
- Milyen processzort vegyek?
- Gaming notebook topik
- NVIDIA GeForce RTX 5080 / 5090 (GB203 / 202)
-
PROHARDVER!
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,"
-
dcsabesz
tag
Sziasztok!
Az Ubuntu torrent kliense a Transmitter mindig kifagy, mert helyet foglal a letöltendő állománynak. "Allocation diskspace" és utánna nem is tér magához. Pedig nem nagyon kéne keresnie helyet, mert 100 giga üres.
Mi lehet a gondja?Köszi
Új hozzászólás Aktív témák
- Hisense LCD és LED TV-k
- Hivatalos a OnePlus 13 startdátuma
- A VBIOS az oka a Radeon RX 9070 és az X99-es alaplapok inkompatibilitásának
- Path of Exile 2
- iPhone topik
- Fujifilm X
- Peugeot, Citroën topik
- Azonnali VGA-s kérdések órája
- E-roller topik
- Valósággá vált a Tecno szupervékony telefonja
- További aktív témák...
- Telefon felvásárlás!! iPhone 11/iPhone 11 Pro/iPhone 11 Pro Max
- Okosóra felvásárlás!! Samsung Galaxy Watch 6, Samsung Galaxy Watch 7, Samsung Galaxy Watch Ultra
- Medion Erazer Beast X40-hez vízhűtés (MD 60961)
- Felújított laptopok számlával, garanciával! Ingyen Foxpost!
- iPhone 13 mini 128GB Midnight -1 ÉV GARANCIA - Kártyafüggetlen, MS3314, 94% Akkumulátor
Állásajánlatok
Cég: CAMERA-PRO Hungary Kft.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest