Pagina 1 di 7

[Risolto] [Xorg] rotazione penna

Inviato: lunedì 12 marzo 2012, 6:48
da pac57
secondo voi può funzionare questo per potere scrivere in modalità portrait su tablet pc?

Section "ServerLayout"
       ...
       InputDevice "cursor" "SendCoreEvents"
       InputDevice "stylus" "SendCoreEvents"
       InputDevice "eraser" "SendCoreEvents"
EndSection
(L'ultimo solo se la tua penna ha una punta di gomma), e il file di configurazione dovrebbe includere sezioni come
Section "InputDevice"
       Identifier "cursor"
       Driver "wacom"
       Option "Device" "/ dev/ttyS0"
       Option "Type" "cursor"
       Option "ForceDevice" "ISDV4"
       Option "BottomX" "28800"
       Option "bassoY" "21760"
       Option "Mode" "assoluta"
EndSection

Section "InputDevice"
       Identifier "stylus"
       Driver "wacom"
       Option "Device" "/ dev/ttyS0"
       Option "Type" "stylus"
       Option "ForceDevice" "ISDV4"
       Option "BottomX" "28800"
       Option "bassoY" "21760"
       Option "Mode" "assoluta"
EndSection

Section "InputDevice"
       Identifier "eraser"
       Driver "wacom"
       Option "Device" "/ dev/ttyS0"
       Option "Type" "eraser"
       Option "ForceDevice" "ISDV4"
       Option "BottomX" "28800"
       Option "bassoY" "21760"
       Option "Mode" "assoluta"
EndSection

Re: [Xorg] rotazione penna

Inviato: sabato 17 marzo 2012, 0:40
da cristian_c
Non si capisce niente ::)
Puoi inserire il contenuto del file all'interno del tag 'code' ?  ;)

Re: [Xorg] rotazione penna

Inviato: domenica 18 marzo 2012, 16:50
da pac57
Devo recuperare la fonte originale?

Re: [Xorg] rotazione penna

Inviato: domenica 18 marzo 2012, 17:10
da cristian_c
pac57 ha scritto: Devo recuperare la fonte originale?
anche questa frase riesco a capirla poco ;D

Re: [Xorg] rotazione penna

Inviato: domenica 18 marzo 2012, 18:20
da pac57
ok cos'è il tag code?

Re: [Xorg] rotazione penna

Inviato: domenica 18 marzo 2012, 19:16
da cristian_c
pac57 ha scritto: ok cos'è il tag code?
guarda qui: http://forum.ubuntu-it.org/viewtopic.ph ... 4#p3894154 ;)

Re: [Xorg] rotazione penna

Inviato: lunedì 19 marzo 2012, 3:01
da pac57
Grazie mille, ma suppongo che cosi non vada bene, altrimenti l'avresti già fatto tu|!

Codice: Seleziona tutto

Section "ServerLayout"
        ...
        InputDevice "cursor" "SendCoreEvents"
        InputDevice "stylus" "SendCoreEvents"
        InputDevice "eraser" "SendCoreEvents"
EndSection
(L'ultimo solo se la tua penna ha una punta di gomma), e il file di configurazione dovrebbe includere sezioni come
Section "InputDevice"
        Identifier "cursor"
        Driver "wacom"
        Option "Device" "/ dev/ttyS0"
        Option "Type" "cursor"
        Option "ForceDevice" "ISDV4"
        Option "BottomX" "28800"
        Option "bassoY" "21760"
        Option "Mode" "assoluta"
EndSection

Section "InputDevice"
        Identifier "stylus"
        Driver "wacom"
        Option "Device" "/ dev/ttyS0"
        Option "Type" "stylus"
        Option "ForceDevice" "ISDV4"
        Option "BottomX" "28800"
        Option "bassoY" "21760"
        Option "Mode" "assoluta"
EndSection

Section "InputDevice"
        Identifier "eraser"
        Driver "wacom"
        Option "Device" "/ dev/ttyS0"
        Option "Type" "eraser"
        Option "ForceDevice" "ISDV4"
        Option "BottomX" "28800"
        Option "bassoY" "21760"
        Option "Mode" "assoluta"
EndSection

Re: [Xorg] rotazione penna

Inviato: lunedì 19 marzo 2012, 20:29
da cristian_c
Grazie mille, ma suppongo che cosi non vada bene, altrimenti l'avresti già fatto tu|!
Ora va bene, ma ricorda che io non posso modificare i tuoi messaggi e quindi lo devi fare tu, io non sono mica un moderatore ;D

Per quanto riguarda l'output, posta:

Codice: Seleziona tutto

xinput list
con il dispositivo collegato al pc (utilizza sempre il tag 'code') ;)

Re: [Xorg] rotazione penna

Inviato: martedì 20 marzo 2012, 14:06
da pac57
pasquale@pasquale-LIFEBOOK-T900:~$ xinput list
⎡ Virtual core pointer                    id=2 [master pointer  (3)]
⎜  ↳ Virtual core XTEST pointer              id=4 [slave  pointer  (2)]
⎜  ↳ PS/2 Generic Mouse                      id=15 [slave  pointer  (2)]
⎜  ↳ SynPS/2 Synaptics TouchPad              id=16 [slave  pointer  (2)]
⎜  ↳ Wacom Serial Penabled 1FG Touchscreen stylus id=17 [slave  pointer  (2)]
⎜  ↳ Wacom Serial Penabled 1FG Touchscreen eraser id=18 [slave  pointer  (2)]
⎜  ↳ Wacom Serial Penabled 1FG Touchscreen touch id=19 [slave  pointer  (2)]
⎣ Virtual core keyboard                  id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard            id=5 [slave  keyboard (3)]
    ↳ Power Button                            id=6 [slave  keyboard (3)]
    ↳ Fujitsu FUJ02E3                        id=7 [slave  keyboard (3)]
    ↳ Video Bus                              id=8 [slave  keyboard (3)]
    ↳ Fujitsu FUJ02B1                        id=9 [slave  keyboard (3)]
    ↳ Fujitsu tablet buttons                  id=10 [slave  keyboard (3)]
    ↳ Power Button                            id=11 [slave  keyboard (3)]
    ↳ Sleep Button                            id=12 [slave  keyboard (3)]
    ↳ CNF8248                                id=13 [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            id=14 [slave  keyboard (3)]
pasquale@pasquale-LIFEBOOK-T900:~$

Re: [Xorg] rotazione penna

Inviato: martedì 20 marzo 2012, 16:03
da cristian_c
Scusa, ma ora che ci penso: non dovrebbe essere la tavoletta a ruotare invece della penna? ???

Quindi le impostazioni vanno cambiate relativamente al touch del tablet (yes)

Re: [Xorg] rotazione penna

Inviato: martedì 20 marzo 2012, 18:48
da pac57
Non ho capito come devo procedere!

Re: [Xorg] rotazione penna

Inviato: martedì 20 marzo 2012, 19:52
da cristian_c
pac57 ha scritto: Non ho capito come devo procedere!
Posta il contenuto del file xorg.conf che si trova in /etc/X11 ;)

Re: [Xorg] rotazione penna

Inviato: martedì 20 marzo 2012, 23:29
da pac57
Ho cercato, ma in quella cartella non c'è questo file. Può essere che non ci sia?

Re: [Xorg] rotazione penna

Inviato: martedì 20 marzo 2012, 23:37
da cristian_c
pac57 ha scritto: Ho cercato, ma in quella cartella non c'è questo file. Può essere che non ci sia?
Sì, può essere che se usi i driver open, non ci sia. Dovresti crearne uno ex-novo (yes)

Re: [Xorg] rotazione penna

Inviato: mercoledì 21 marzo 2012, 6:53
da pac57
Ci posso provare, ma il problema è sempre quello. Come si fa?

Re: [Xorg] rotazione penna

Inviato: mercoledì 21 marzo 2012, 7:01
da pac57
ho trovato questa discussione e fa proprio al caso mio, ma non so se potrà funzionare e come sempre non so come applicarla!

http://ubuntuforums.org/showthread.php?t=1935720

Re: [Xorg] rotazione penna

Inviato: mercoledì 21 marzo 2012, 14:42
da cristian_c
pac57 ha scritto: Ci posso provare, ma il problema è sempre quello. Come si fa?
Di solito si fa così: Hardware/Video/DomandeFrequenti#Come_si_riconfigura_il_server_grafico.3F ;)
pac57 ha scritto: ho trovato questa discussione e fa proprio al caso mio, ma non so se potrà funzionare e come sempre non so come applicarla!

http://ubuntuforums.org/showthread.php?t=1935720
collega tutto e digita in un terminale:

Codice: Seleziona tutto

lsusb && lsusb -t
e questa volta posta il risultato all'interno del tag 'code' e non all'esterno ;)

Re: [Xorg] rotazione penna

Inviato: mercoledì 21 marzo 2012, 14:55
da pac57

Codice: Seleziona tutto

pasquale@pasquale-LIFEBOOK-T900:~$ lsusb && lsusb -t
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 08ff:2550 AuthenTec, Inc. 
Bus 002 Device 004: ID 04f2:b169 Chicony Electronics Co., Ltd 
Bus 002 Device 005: ID 0c24:0022 Taiyo Yuden 
Bus 001 Device 003: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. JM20329 SATA Bridge
2-1.1:1.0: No such file or directory
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/3p, 480M
    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/8p, 480M
        |__ Port 1: Dev 3, If 0, Class=vend., Driver=, 12M
        |__ Port 3: Dev 4, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
        |__ Port 3: Dev 4, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
        |__ Port 4: Dev 5, If 0, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M
        |__ Port 4: Dev 5, If 1, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/3p, 480M
    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M
        |__ Port 2: Dev 3, If 0, Class=stor., Driver=usb-storage, 480M
pasquale@pasquale-LIFEBOOK-T900:~$ 

Re: [Xorg] rotazione penna

Inviato: mercoledì 21 marzo 2012, 15:31
da cristian_c
Mi sono sbagliato ;D Apri un terminale e digita:

Codice: Seleziona tutto

lspci -k
postando qui il risultato ;)

P.S. Hai un dispositivo che non è gestito da nessun driver, come si può vedere dall'output precedente ;D

Re: [Xorg] rotazione penna

Inviato: mercoledì 21 marzo 2012, 16:10
da pac57

Codice: Seleziona tutto

[/cpasquale@pasquale-LIFEBOOK-T900:~$ lspci -k
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
	Subsystem: Fujitsu Limited. Device 1505
	Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
	Subsystem: Fujitsu Limited. Device 1508
	Kernel driver in use: i915
	Kernel modules: i915
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
	Subsystem: Fujitsu Limited. Device 152b
	Kernel driver in use: mei
	Kernel modules: mei
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 05)
	Subsystem: Fujitsu Limited. Device 1574
	Kernel driver in use: e1000e
	Kernel modules: e1000e
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
	Subsystem: Fujitsu Limited. Device 1528
	Kernel driver in use: ehci_hcd
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
	Subsystem: Fujitsu Limited. Device 1475
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
	Subsystem: Fujitsu Limited. Device 1528
	Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
	Subsystem: Fujitsu Limited. Device 157a
	Kernel modules: iTCO_wdt
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 05)
	Subsystem: Fujitsu Limited. Device 1523
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
	Subsystem: Fujitsu Limited. Device 1525
	Kernel modules: i2c-i801
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
	Subsystem: Fujitsu Limited. Device 1526
	Kernel driver in use: intel ips
	Kernel modules: intel_ips
10:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
	Subsystem: Intel Corporation Centrino Advanced-N 6200 2x2 AGN
	Kernel driver in use: iwlagn
	Kernel modules: iwlagn
48:03.0 CardBus bridge: O2 Micro, Inc. OZ711SP1 Memory CardBus Controller (rev 01)
	Subsystem: Fujitsu Limited. Device 143d
	Kernel driver in use: yenta_cardbus
	Kernel modules: yenta_socket
48:03.1 CardBus bridge: O2 Micro, Inc. OZ711SP1 Memory CardBus Controller (rev 01)
	Subsystem: Fujitsu Limited. Device 143d
	Kernel driver in use: yenta_cardbus
	Kernel modules: yenta_socket
48:03.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
	Subsystem: Fujitsu Limited. Device 143d
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci-pci
48:03.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)
	Subsystem: Fujitsu Limited. Device 143d
48:03.4 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
	Subsystem: Fujitsu Limited. Device 143e
	Kernel driver in use: firewire_ohci
	Kernel modules: firewire-ohci
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
	Subsystem: Fujitsu Limited. Device 155b
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
	Subsystem: Fujitsu Limited. Device 155b
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
	Subsystem: Fujitsu Limited. Device 155b
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
	Subsystem: Fujitsu Limited. Device 155b
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
	Subsystem: Fujitsu Limited. Device 155b
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
	Subsystem: Fujitsu Limited. Device 155b
pasquale@pasquale-LIFEBOOK-T900:~$ 
ode]