Strumenti Utente

Strumenti Sito


karmic_on_hp_pavilion_tx2500

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisione Revisione precedente
Prossima revisione
Revisione precedente
karmic_on_hp_pavilion_tx2500 [2010/01/09 01:47]
pietro wow, funzia
karmic_on_hp_pavilion_tx2500 [2011/10/31 17:32] (versione attuale)
pietro Used to work...
Linea 1: Linea 1:
 **My experience with an HP Pavilion tx2500 and karmic.** **My experience with an HP Pavilion tx2500 and karmic.**
 +**Warning: I no more own this computer, so information won't be updated.**
  
-Please tell me if you find errors, missing information or a "more institutional" wiki to host this page: toobaz [at] email [dot] it.+ 
 +Please tell me if you find errors, missing information or a "more institutional" wiki to host this page: me [at] pietrobattiston [dot] it.
  
 ====== General info ====== ====== General info ======
Linea 35: Linea 37:
      
   exit $?   exit $?
- 
- 
 ====== Thermal sensors ====== ====== Thermal sensors ======
 The dsdt of the BIOS (I have no idea of what it is) is flawed, and thinks only Windows is eligible to access it; while under Jaunty the problem could be solved by following [[https://wiki.edubuntu.org/LaptopTestingTeam/HPdv5z|this procedure]], now because of (non-) [[https://bugs.launchpad.net/ubuntu/+source/linux/+bug/395239|bug 395239]], the procedure stopped working. The dsdt of the BIOS (I have no idea of what it is) is flawed, and thinks only Windows is eligible to access it; while under Jaunty the problem could be solved by following [[https://wiki.edubuntu.org/LaptopTestingTeam/HPdv5z|this procedure]], now because of (non-) [[https://bugs.launchpad.net/ubuntu/+source/linux/+bug/395239|bug 395239]], the procedure stopped working.
  
 The "solution" is probably to recomplile the kernel, but I didn't try. The "solution" is probably to recomplile the kernel, but I didn't try.
 +
 +The real solution would be that HP releases a fixed BIOS. I already wrote to the support asking for it, but with no chance. Some owner of a laptop still covered by warranty may have a better luck.
  
 ====== Audio ====== ====== Audio ======
Linea 46: Linea 48:
  
 A temporary solution is to run "sudo killall slmodemd" in a terminal. A permanent one, if you don't use the modem, is to disable the "SmartLink modem daemon" driver at all. A temporary solution is to run "sudo killall slmodemd" in a terminal. A permanent one, if you don't use the modem, is to disable the "SmartLink modem daemon" driver at all.
- 
 ====== Wireless ====== ====== Wireless ======
-In "Hardware Drivers" (System -> Administration -> Restricted Drivers), just enable the "wl" driver.+I followed the procedure described in [[https://bugs.launchpad.net/ubuntu/+bug/208183|launchpad bug 208183]], namely: 
 + 
 +  * download the driver from HP website (I took it from [[http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-76368-1&lc=en&dlc=it&cc=it&lang=it&os=228&product=3747931|here]]), it's called "sp36684.exe" 
 +  * run it with wine : "wine sp36684.exe" 
 +  * always click "next", until the installer crashes 
 +  * install ndisgtk, run it: "sudo ndisgtk" 
 +  * click "install new driver" 
 +  * browse to /home/yourusername/.wine/drive_c/SWSetup/SP36684A and select "bcmwl5.inf" 
 + 
 +**Warning**: if you enable the driver in "Hardware Drivers" (System -> Administration -> Restricted Drivers), which is the proprietary driver developed by Broadcom for Linux, it //will// work reasonably, but you will occasionally experience (depending on the wireless networks, I think) important slowdowns when resuming from suspend, frequent losses of wireless functionality, and also occasional freezes. Moreover, it seems to me that the signal strenght is better with ndiswrapper, but this //may// be just my sensation.
  
 ====== Touchscreen ====== ====== Touchscreen ======
Linea 66: Linea 76:
  
 ====== Rotation and buttons ====== ====== Rotation and buttons ======
-The situation of the buttons is the same as Jaunty: the "rotate" button, which in Intrepid could be manually configured to trigger the rotate script, is now recognized as XF86AudioMedia (which means that as default, it will start the media program - Rhythmbox, I think), while the "DVD" button, which in intrepid //used// to (justly) be recognized as XF86AudioMedia, is now totally inactive.+The situation of the buttons is the same as Jaunty: the "rotate" button, which in Intrepid could be manually configured to trigger the rotate script, is now recognized as XF86AudioMedia (which means that as default, it will start the media program - Rhythmbox, I think), while the "DVD" button, which in intrepid //used// to (justly) be recognized as XF86AudioMedia, is now totally inactive, as well as the two buttons under the screen still don't work at all.
  
-The two buttons under the screen still don't work at all. +To enable rotation in the best way: install wacomrotate from [[https://launchpad.net/~thjaeger/+archive/tabletpc|this PPA]], then create a file containing the following:
- +
-The script I used in jaunty to rotate the screen stopped working, however there is a better replacement: install wacomrotate from [[https://launchpad.net/~thjaeger/+archive/tabletpc|this PPA]], then create a file containing the following:+
  
   #!/bin/bash   #!/bin/bash
   xrandr -q | grep -q '+\w* (' && xrandr -o left || xrandr -o normal   xrandr -q | grep -q '+\w* (' && xrandr -o left || xrandr -o normal
  
-(this is what [[http://ubuntuforums.org/showpost.php?p=6274392&postcount=1|this post]] suggests for left-handed people, but it's what I - right-handed - just find convenient) and call it for instance "rotate.sh". Then create a file in the same folder containing the following:+(this is what [[http://ubuntuforums.org/showpost.php?p=6274392&postcount=1|this post]] suggests for left-handed people, but it's what I - right-handed - just find convenient) and call it "rotate.sh". Then create a file in the same folder containing the following:
  
-  #!/bin/bash+    #!/bin/bash
      
-  # From Red_Lion post #576:  http://ubuntuforums.org/showthread.php?t=845911&page=58+    # From Red_Lion post #576:  http://ubuntuforums.org/showthread.php?t=845911&page=58 
 +    # Modified by toobaz: http://www.pietrobattiston.it/wiki/doku.php?id=karmic_on_hp_pavilion_tx2500
      
-  old="0" +    old="0" 
-  while true; do +      while true; do 
-     if [[ -e /sys/devices/platform/hp-wmi/tablet ]]; then +         if [[ -e /sys/devices/platform/hp-wmi/tablet ]]; then 
-     new=`cat /sys/devices/platform/hp-wmi/tablet` +         new=`cat /sys/devices/platform/hp-wmi/tablet` 
-     if [[ $new != $old ]]; then +         if [[ $new != $old ]]; then 
-                            ./rotate.sh +                                ./rotate.sh 
-     if [[ $new == "0" ]]; then +         if [[ $new == "0" ]]; then 
-     cellwriter --hide-window +         cellwriter --hide-window & 
-     elif [[ $new == "1" ]]; then +         elif [[ $new == "1" ]]; then 
-     cellwriter --show-window +         cellwriter --show-window & 
-     fi  +         fi  
-     fi +         fi 
-     old=$new +         old=$new 
-     sleep 1s +         sleep 1s 
-     fi +         fi 
-  done+      done
  
 and call it for instance "automagic_rotation.sh". Make both files you created executable. Finally, open gconf-editor, go to /apps/metacity/global_keybindings, and in "run_command_1" (or another "run_command_x", if it is already taken), write: and call it for instance "automagic_rotation.sh". Make both files you created executable. Finally, open gconf-editor, go to /apps/metacity/global_keybindings, and in "run_command_1" (or another "run_command_x", if it is already taken), write:
   XF86AudioMedia   XF86AudioMedia
-then, in /apps/metacity/keybindings_commands, write the //full path// of the //first// file you created (called in my case "rotate.sh").+then, still with gconf-editor in /apps/metacity/keybindings_commands, write the //full path// of "rotate.sh" in "command_1" (or "command_x", corresponding to what you just chose in the last step). 
 + 
 +Finally, go to "System" -> "Preferences" -> "Startup applications", add a new one with the //whole path// of the second file ("automagic_rotation.sh", in my caseas "Command:".
  
 In that way, rotation will be triggered: In that way, rotation will be triggered:
   * with the "rotate" button   * with the "rotate" button
-  * automatically, when rotating the screen+  * automatically, when rotating the screen.
  
 ====== Remote ====== ====== Remote ======
-Still untested under Karmic.+ 
 +Works.
karmic_on_hp_pavilion_tx2500.1262998050.txt.gz · Ultima modifica: 2010/01/09 01:47 da pietro