Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Spanish
  • Search

[HW] Detectar rotación pantalla TabletPC (abierto)

Foro en español para los usuarios Hispanos de Gentoo.

Moderator: Stolz

Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
Author
Message
AnFe
Tux's lil' helper
Tux's lil' helper
Posts: 138
Joined: Wed Apr 28, 2004 4:25 pm

[HW] Detectar rotación pantalla TabletPC (abierto)

  • Quote

Post by AnFe » Tue May 26, 2009 7:59 pm

Buenas,

recientemente me compré un TabletPC convertible HP tx2525es y una de las cosas que no consigo hacer es que al girar la pantalla se rote automáticamente.
El problema es que no sé ni por donde empezar... ¿Alguien me puede orientar?

Un saludo y gracias
Top
k4in
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 89
Joined: Sat Jan 26, 2008 6:53 pm

  • Quote

Post by k4in » Wed May 27, 2009 9:43 pm

hola, yo tengo una hp tx2z que sigo configurando con gentoo, y entre mi busqueda encontre esto
http://www.uluga.ubuntuforums.org/showt ... ?t=1038898
entre uno de los post estan unos scripts para rotar la pantalla, no se si te sirvan, pero igual te dan una idea
http://ubuntuforums.org/showthread.php? ... +HP+tablet

una pregunta, a mi este modelo (tx2z) me esta dando problemas con el audio, tu tuviste algun problema o funciono bien, y tambien si pudiste configurar el touchscreen y como?
Top
gringo
Advocate
Advocate
User avatar
Posts: 3793
Joined: Sun Apr 27, 2003 10:25 am

  • Quote

Post by gringo » Thu May 28, 2009 11:35 am

yo creo que AnFe se refiere a que si hay soporte para el hardware que hace que el escritorio gire automáticamente al mover el trasto ese.

Eso normalmente es algún tipo de "acelerómetro" ( sé que algunos móviles y algunos macs tienen eso) pero no tengo ni idea de si hay soporte para este en concreto en linux. Viniendo de HP casi me atrevería a decir que no ...

suerte y saluetes
Error: Failing not supported by current locale
Top
AnFe
Tux's lil' helper
Tux's lil' helper
Posts: 138
Joined: Wed Apr 28, 2004 4:25 pm

  • Quote

Post by AnFe » Thu May 28, 2009 1:48 pm

Sí, me refería a lo que comenta gringo. Pero no es con un acelerómetro, ya que se gira al cerrar la pantalla, independientemente de la posición. Será un tipo de interruptor.
Supongo que generará una señal, pero no tengo ni idea de como capturarla ni nada. Si alguien me diese alguna pista para empezar a investigar aunque sea...

Los scripts para rotar la pantalla ya los tengo, pero lo suyo sería que se rotase sola como hace en Windows...

Con respecto a lo que dices del audio, k4in, sí que tuve problemas. Al final lo solucioné añadiendo al fichero /etc/modprobe.d/alsa las siguientes líneas:

Code: Select all

options snd cards_limit=1
options snd-hda-intel model=toshiba
Poniendo otros modelos también funcionaba pero si enchufaba los auriculares no dejaban de sonar los altavoces. Con toshiba sí.

La pantalla tactil lo conseguí también pero sólo con el lápiz. Lo del dedo no me iba y no lo he configurado porque no lo uso ni le veo utilidad, al final acaba la pantalla llena de dedos. Además me resulta más cómodo el lápiz.
Para ponerla instalé x11-drivers/linuxwacom, de ~amd64, para lo que tienes que tener el soporte de la tablet wacom en el kernel (ilógico si lo vamos a sustituir, ¿verdad?)
Luego copié el módulo que crea en:
/lib/modules/2.6.x/input/wacom.ko
a:
/lib/modules/2.6.x/kernel/drivers/input/tablet/wacom.ko
ya que si no carga el módulo del kernel que no tiene soporte para nuestra tablet.

Luego la configuración de las X's es fácil. Si las tienes con hal tienes que crear el fichero
/etc/hal/fdi/policy/10-linuxwacom.fdi
y escribir dentro

Code: Select all

<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- this is probably a bit imprecise -->
<deviceinfo version="0.2">
<device>
        <match key="input.originating_device" contains="/org/freedesktop/Hal/devices/usb_device_56a_93_noserial_if1">
        <!--match key="info.capabilities" contains="input.touchpad"-->
                <merge key="input.x11_driver" type="string">wacom</merge>
                <merge key="input.x11_options.Type" type="string">stylus</merge>
                <append key="info.callouts.add" type="strlist">hal-setup-wacom</append>
                <append key="wacom.types" type="strlist">eraser</append>
                <merge key="input.x11_options.BottomY" type="string">16520</merge>
                <merge key="input.x11_options.BottomX" type="string">26144</merge>
                <merge key="input.x11_options.TopY" type="string">000</merge>
                <merge key="input.x11_options.TopX" type="string">001</merge>
        <!--/match-->
        </match>
</device>
</deviceinfo>
Si quieres soporte para el dedo hay que añadir otra cosa más, pero yo al menos no lo conseguí.

Un saludo y muchas gracias a los dos!

EDIT: en uno de los posts a los que hacía referencia k4in he encontrado esto:
Breaking News: MisteR2 has located the signal to the HP-WMI kernel module. Matthew Garrett (the module maintainer) has seperated out the swivel hinge signal from the docking event for us and provided a patch. MisterR2 has provided the patch, a new .fdi for it, and instructions on page 11, posts #104 and #106 on this thread: http://ubuntuforums.org/showthread.php?t=996830&page=11 This should give auto-magic rotation for HP TX2000's & TX2500's in Jaunty. I do not know if this will work for other HP tablet pc's.
Parece que alguien ya ha descubierto como. Si lo consigo lo postearé por aquí.
Top
gringo
Advocate
Advocate
User avatar
Posts: 3793
Joined: Sun Apr 27, 2003 10:25 am

  • Quote

Post by gringo » Thu May 28, 2009 2:40 pm

Breaking News: MisteR2 has located the signal to the HP-WMI kernel module. Matthew Garrett (the module maintainer) has seperated out the swivel hinge signal from the docking event for us and provided a patch. MisterR2 has provided the patch, a new .fdi for it, and instructions on page 11, posts #104 and #106 on this thread: http://ubuntuforums.org/showthread.php?t=996830&page=11 This should give auto-magic rotation for HP TX2000's & TX2500's in Jaunty. I do not know if this will work for other HP tablet pc's.
interesante :)
entiendo que funciona enviando señales usando acpi, no ?

saluetes
Error: Failing not supported by current locale
Top
k4in
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 89
Joined: Sat Jan 26, 2008 6:53 pm

  • Quote

Post by k4in » Thu May 28, 2009 8:03 pm

Gracias AnFe, al fin me funciono el sonido, aunque el touchscreen no, me parece que porque la linea de las tx2z utilizan otro dispositivo de reconocimiento tactil que se llama N-trig que soporta multitiouch, asi que seguire investigando como hacerlo funcionar porque cuando probe ubuntu en esta maquina el lapiz funcionaba bien, asi que debe haber una manera, cuando la descubra posteare en el hilo que habri yo
Top
Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Spanish”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic