Kirjoittaja Aihe: HP Pavilion DV7 läppärin säätelyä Ubuntu 8.10 versiolle  (Luettu 6348 kertaa)

qwertyy

  • Käyttäjä
  • Viestejä: 5679
    • Profiili
Tarkemmin kyseessä oleva läppärimalli on HP Pavilion DV7-1003eo ja tässä on ratkaisu muutamaan ongelmaan jos joku sattuu haluamaan Ubuntun vastaavaan koneeseen.

*edit*
Kelatkaa viimeisimpään kirjoittamaani viestiin koska tässä ketjussa on todella paljon vanhentunutta tietoa, joita en kuitenkaan viitsi poistaa jos jotain pystyy hyödyntämään muihin malleihin tms.

Joitain satunnaisia huomioita koneesta erittäin lyhyellä käytöllä jos jotain kiinnostaa
- Pikanäppäimet vaikuttavat toimivan pääsääntöisesti oikein esim. äänenvoimakkuudet ja näytönkirkkaus.
- Keskeytystilaa kokeiltaessa menee jotain mönkään ja virrat kytkettäessä näppäimistö ja touchpad eivät herää.
- Bluetooth toimii oikein


Langallinen verkkoyhteys
Ei toimi livecd:llä, eikä asennuksenjälkeen. Korjaus on helppo: Sammuta kone, irrota johdot ja akku hetkeksi. Nyt verkkoyhteys pitäisi toimia.

Langaton verkkoyhteys
Tähän löytyi helposti ratkaisu netistä kun sain selville tarkemmin wlan kortin.

Seuraava on vanhaa tietoa, mutta jätän näkyviin kuitenkin.
Lähde
http://www.ubuntugeek.com/atheros-ar5007-wireless-with-madwifi-on-ubuntu-804-hardy-heron.html#comment-149170

Lyhyesti komennot käännettynä suomeksi
1.) Poista Atheros ajuri käytöstä rajoitetuista ajureista (Järjestelmä > Ylläpito > Laiteajurit)
2.) sudo reboot
3.) wget http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3861-20080903.tar.gz
4.) tar -xvf madwifi-hal-0.10.5.6-r3861-20080903.tar.gz
5.) cd madwifi-hal-0.10.5.6-r3861-20080903
6.) sudo make install
7.) sudo modprobe ath_pci
8.) sudo reboot

ei mainittu alkuperäisessä ohjeessa, mutta lisää ath_pci rivi /etc/modules tiedostoon.


15.1.2009 Kirjoitushetkellä helpoin ratkaisu on asentaa vain paketti
linux-backports-modules-intrepid komennolla
Koodia: [Valitse]
sudo apt-get install linux-backports-modules-intrepid

ATI:n ajurit
Tuli kokeiltua glxgears käskyä ja huomasin suorituskyvyn pyörivän n.300fps:n paikkeilla. Atin ajurit käyttöön valikosta
Järjestelmä > Ylläpito > Laiteajurit

Tämän jälkeen fps oli jotain n.2500-3500 välillä

Kokeilematta on vielä vaikka kuinka monia juttuja esim. hdmi, e-sata, lightscribe, kaukosäädin jne.
Yritin lisäillä tähän juttua jossain välissä kun kone tulee tutummaksi. Vielä aivan liian aikaista sanoa, mutta ei ehkä huonoin mahdollinen linux kone.

*edit*
Muutamia testattuja asioita.
- Polttava ok, lightscribe toiminnosta ei ole kokemusta
- Webbikamera toimii ilman säätöä
- e-sata toimii
- kuuloke ja mikkiliitännät ei nähtävästi toimi ilman kikkailuja.. Tällä hetkellä voisi sanoa, että toimii pääsääntöisesti. Jostain syystä joillain satunnaisilla boottauskerroilla nuo liitännät eivät toimi.
« Viimeksi muokattu: 17.04.09 - klo:04.27 kirjoittanut qwertyy »

qwertyy

  • Käyttäjä
  • Viestejä: 5679
    • Profiili
Nyt tuli huomattua, että usb laitteiden kanssa on aika huolestuttavia virheilmoituksia.

USB kiintolevy, pätkä dmesg komennosta
Koodia: [Valitse]
[   71.076106] usb 3-1: device descriptor read/64, error -110
[   86.328155] usb 3-1: device descriptor read/64, error -110
[   86.544122] usb 3-1: reset high speed USB device using ehci_hcd and address 2
[  101.692098] usb 3-1: device descriptor read/64, error -110
[  116.944102] usb 3-1: device descriptor read/64, error -110
[  117.160165] usb 3-1: reset high speed USB device using ehci_hcd and address 2
[  127.592100] usb 3-1: device not accepting address 2, error -110
[  127.704122] usb 3-1: reset high speed USB device using ehci_hcd and address 2
[  138.136120] usb 3-1: device not accepting address 2, error -110
[  138.136200] usb 3-1: USB disconnect, address 2
[  138.137810] scsi 8:0:0:0: Device offlined - not ready after error recovery
[  138.140614] scsi 8:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
[  138.140624] end_request: I/O error, dev sdb, sector 287
[  138.140634] Buffer I/O error on device sdb1, logical block 112
[  138.140643] Buffer I/O error on device sdb1, logical block 113
[  138.140650] Buffer I/O error on device sdb1, logical block 114
[  138.140657] Buffer I/O error on device sdb1, logical block 115
[  138.140664] Buffer I/O error on device sdb1, logical block 116
[  138.140671] Buffer I/O error on device sdb1, logical block 117
[  138.140678] Buffer I/O error on device sdb1, logical block 118
[  138.140684] Buffer I/O error on device sdb1, logical block 119
[  138.140691] Buffer I/O error on device sdb1, logical block 120
[  138.140698] Buffer I/O error on device sdb1, logical block 121
[  138.140808] scsi 8:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
[  138.140815] end_request: I/O error, dev sdb, sector 307
[  138.272114] usb 3-1: new high speed USB device using ehci_hcd and address 5
[  153.364127] hub 3-0:1.0: unable to enumerate USB device on port 1
[  165.524096] usb 3-1: new high speed USB device using ehci_hcd and address 6
[  180.616157] hub 3-0:1.0: unable to enumerate USB device on port 1
[  192.768103] usb 3-1: new high speed USB device using ehci_hcd and address 7
[  207.860158] hub 3-0:1.0: unable to enumerate USB device on port 1
[  220.016107] usb 3-1: new high speed USB device using ehci_hcd and address 8
[  235.108164] hub 3-0:1.0: unable to enumerate USB device on port 1
[  247.264109] usb 3-1: new high speed USB device using ehci_hcd and address 9
[  262.356155] hub 3-0:1.0: unable to enumerate USB device on port 1
[  274.512104] usb 3-1: new high speed USB device using ehci_hcd and address 10
[  289.604160] hub 3-0:1.0: unable to enumerate USB device on port 1
[  301.756093] usb 3-1: new high speed USB device using ehci_hcd and address 11
[  316.848163] hub 3-0:1.0: unable to enumerate USB device on port 1
[  329.004588] usb 3-1: new high speed USB device using ehci_hcd and address 12
[  344.096160] hub 3-0:1.0: unable to enumerate USB device on port 1
[  356.252097] usb 3-1: new high speed USB device using ehci_hcd and address 13
[  371.344160] hub 3-0:1.0: unable to enumerate USB device on port 1
[  383.500113] usb 3-1: new high speed USB device using ehci_hcd and address 14
[  398.592159] hub 3-0:1.0: unable to enumerate USB device on port 1
[  410.744100] usb 3-1: new high speed USB device using ehci_hcd and address 15
[  425.836134] hub 3-0:1.0: unable to enumerate USB device on port 1
[  437.992094] usb 3-1: new high speed USB device using ehci_hcd and address 16
[  453.084136] hub 3-0:1.0: unable to enumerate USB device on port 1
[  465.228116] usb 3-1: new high speed USB device using ehci_hcd and address 17
[  480.320130] hub 3-0:1.0: unable to enumerate USB device on port 1
[  492.464598] usb 3-1: new high speed USB device using ehci_hcd and address 18
[  507.556672] hub 3-0:1.0: unable to enumerate USB device on port 1
Ihme kyllä aseman saa liitettyä, tosin siinä kestää hetken ja sain myös HAL daemon virheen?

USB laite nro2. Nebulan digiboksi
Koodia: [Valitse]
[  945.128063] usb 3-5: new high speed USB device using ehci_hcd and address 21
[  960.276636] usb 3-5: device descriptor read/64, error -110
[  975.528110] usb 3-5: device descriptor read/64, error -110
[  975.744117] usb 3-5: new high speed USB device using ehci_hcd and address 22
[  990.892124] usb 3-5: device descriptor read/64, error -110
[ 1006.144133] usb 3-5: device descriptor read/64, error -110
[ 1006.360134] usb 3-5: new high speed USB device using ehci_hcd and address 23

Huoh, olisi pitänyt tarkistaa linux tuki ennen koneen hankkimista  :(
Digiboksi ei siis toimi lainkaan.


AlbertRetro

  • Käyttäjä
  • Viestejä: 1084
  • Puun uudelleenistutus auttaa usein... <resetointi>
    • Profiili
Terve!
Lainaus
Huoh, olisi pitänyt tarkistaa linux tuki ennen koneen hankkimista
Tuki taitaa olla vielä eetterissä... :D
Piti treenata omalla tovi ensin. Nää asiat muuttuu, muttei sitten automaattisemmiksi ollenkaan.
Jäinpähän äimistelemään, vaan selkishän sekin. Jostain syystä taitaa jäädä asennuksessa sitten ajamatta?
Lainaus
albert@kompakkitest:~$ sudo update-pciids
[sudo] password for albert:
Downloaded daily snapshot dated     2008-11-05 03:15:02
albert@kompakkitest:~$ sudo update-usbids
--2008-11-07 01:39:32--  http://linux-usb.sourceforge.net/usb.ids
Selvitetään osoitetta linux-usb.sourceforge.net... 216.34.181.96
Yhdistetään palvelimeen linux-usb.sourceforge.net|216.34.181.96|:80... yhdistetty.
HTTP-pyyntö lähetetty, odotetaan vastausta... 200 OK
Pituus: 357258 (349K) [text/plain]
Tallennetaan kohteeseen ”/var/lib/misc/usb.ids.new”
100%[=====tätä=piti=vähän=lyhentää==========>] 357 258     24,2K/s   in 18s     
2008-11-07 01:39:52 (19,4 KB/s) - ”/var/lib/misc/usb.ids.new” tallennettu [357258/357258]
Done.
albert@kompakkitest:~$ cat /var/lib/misc/usb.ids.new
cat: /var/lib/misc/usb.ids.new: Tiedostoa tai hakemistoa ei ole
albert@kompakkitest:~$ sudo gedit /var/lib/misc/usb.ids.new    oli olemassa,mutta tyhjä
albert@kompakkitest:~$ sudo gedit /var/lib/misc/usb.ids            löytyi hervottoman mittainen listaus, tietty
albert@kompakkitest:~$
Milläs loitsulla noihin seuraaviin sais vielä kellon ja päiväyksen?
Lainaus
albert@kompakkitest:/var/lib/misc$ ls
PolicyKit.reload  usb.ids  usb.ids.old
albert@kompakkitest:/var/lib/misc$
Kutistelin vähän tuota manuskaa...
Lainaus
update-pciids(8)                                                    The PCI Utilities                                                   update-pciids(8)
NAME       update-pciids - download new version of the PCI ID list
SYNOPSIS       update-pciids [-q]
DESCRIPTION       update-pciids fetches the current version of the pci.ids file from the primary distribution site and installs it.
       This  utility  requires  curl, wget or lynx to be installed. If gzip or bzip2 are available, it automatically downloads the compressed version of the list.
OPTIONS       -q     Be quiet and do not report anything except errors.
FILES       /usr/share/misc/pci.ids              Here we install the new list.
SEE ALSO       lspci(8), setpci(8)
AUTHOR       The PCI Utilities are maintained by Martin Mares <mj@ucw.cz>.
pciutils-3.0.0                                                        10 April 2008                                                     update-pciids(8)
Tässäkin oli ylipitkiä enttereitä
Lainaus
update-usbids(8)                                                   Linux USB Utilities                                                  update-usbids(8)
NAME      update-usbids - download new version of the USB ID list
SYNOPSIS       update-usbids
DESCRIPTION       update-usbids fetches the current version of the usb.ids file from the primary distribution site and installs it.
       This  utility  requires either wget or lynx to be installed. If gzip or bzip2 are available, it automatically downloads the compressed version of the list.
FILES      /var/lib/misc/usb.ids.gz              Here we install the new list.
SEE ALSO       lsusb(8).
AUTHOR       Thomas Sailer, <sailer@ife.ee.ethz.ch>.
usbutils-0.11                                                        27 October 2004                                                    update-usbids(8)
 Manual page update-usbids(8) line 1/34 (END)
Noita aurinkolaseja piisaa... mahtaakohan tulevaisuus häiköö... :D Alpeiltapäin kotoisin tuo Sailer...

Terveisin Alpertti
« Viimeksi muokattu: 08.11.08 - klo:01.35 kirjoittanut AlbertRetro »
    "...minä mikään viisas ole, tahdon elää vain kuin ihminen..."   http://forum.ubuntu-fi.org/index.php?topic=22423.new#new  counter.li.org #417588

qwertyy

  • Käyttäjä
  • Viestejä: 5679
    • Profiili
Tuli kokeiltua BIOS päivitystä, mutta ei apua ongelmaan. Versio numero on nyt (olikohan F?)22(ja h?)

qwertyy

  • Käyttäjä
  • Viestejä: 5679
    • Profiili
Kiitoksia vinkistä AlbertRetro, mutta en huomannut että olisi tapahtunut mitään parannusta.

Koneessa on nyt asennettu linux-restricted-modules-common ja linux-backports-modules-intrepid paketit, mutta nämä ei ilmeisesti tehneet mitään ratkaisevaa.

Tässä olisi lsbusb ja lspci komentojen tulosteet jos jotakuta kiinnostaa rautaratkaisut
Koodia: ("lsusb") [Valitse]
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 046d:09b8 Logitech, Inc.
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Viisammat, mitä tuo HP Wireless tekee tuolla ja miksi koneessa näkyy 1.1 root hubeja. Portit ei siis edes tunnistu usb2 standardille, vai?

Koodia: ("lspci") [Valitse]
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:07.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 3)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 11h HyperTransport Configuration (rev 40)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 11h Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 11h DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 11h Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 11h Link Control
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3400 Series
01:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon HD 34xx Series]
08:00.0 FireWire (IEEE 1394): JMicron Technologies, Inc. IEEE 1394 Host Controller
08:00.1 System peripheral: JMicron Technologies, Inc. SD/MMC Host Controller
08:00.2 SD Host controller: JMicron Technologies, Inc. Standard SD Host Controller
08:00.3 System peripheral: JMicron Technologies, Inc. MS Host Controller
08:00.4 System peripheral: JMicron Technologies, Inc. xD Host Controller
09:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
0a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)

Hankalaksi meni tämän raudan kanssa.

Tässä on tarkemmin tuo Western Digital My Book aseman liittämisessä tulevat virheilmoitukset, mitä tulevat gnomeen
Lainaus
DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Lainaus
Virhe org.freedesktop.Hal.Device.UnknownError.
yksityiskohdista avattuna ei kovin rohkaiseva lisäys: An unknown error occured :)

Kolmas ilmestyvä Taltiota ei voi liittää, yksityiskohdat
Lainaus
ntfs_attr_pread failed: I/O-virhe Failed to read NTFS $Bitmap: I/O-virhe NTFS is either inconsistent, or you have hardware faults, or you have a SoftRAID/FakeRAID hardware. In this case run chkdsk /f on Windows then reboot into Windows TWICE. The usage of the /f parameter is very important! If you have SoftWARID/FakeRAID then first you must activate it and mount a different device under the /dev/mapper/ directroy, (e.g. /dev/mapper/nvidia_eahaahbcc1). Please see the 'dmraid' documentation for the details.

Onko kellään hajua, onko tähän rautaan tulossa parannuksia lähitulevaisuudessa? Olen yrittänyt googlella hakea tästä konemallista juttua, mutta linux aiheisena ei tunnu löytyvän yhtään mitään. Lähinnä ainut mitä löysin Arch Linux foorumeilta oli viestinpätkä mikä taitaa ikävästi pitää paikkansa
Lainaus
It would seem that dell, lenovo and hp are the most linux compatible notebooks there is, judging from what one can read on several linux forums. Since you already are thinking of a dell studio, and a lenovo, might i suggest something from the HP dv9XXX series? Unfortunately the new dv7 series are too "new" to do really well with linux ATM.

Tai todella omituista onkin, että esim. Logitech G5 hiiri tunnistuu täsmälleen oikein ja toimii usb portissa, mutta tuo kiintolevy antaa nuo virheet, tosin näkyy kyllä tiedostot ja pystyy selaamaan, mutta en uskalla sormeilla mitään tiedostoja kun nuo I/O errorit pelottavat meikäläistä liikaa. Samoin tuo Nebulan usb digitv boksi tuntuu olevan mykkä. Tai siis sekin tunnistuu, mutta alkaa myös antamaan virheitä tuonne päätteeseen (dmesg). Kummatkin toimivat oikein hienosti juuri myydyssä ex-pöytäkoneessani.

Oletan että hibernate toiminto ei toimi juuri näiden usb virheiden takia? Mahdanko olla oikeassa?
« Viimeksi muokattu: 09.11.08 - klo:01.36 kirjoittanut qwertyy »

qwertyy

  • Käyttäjä
  • Viestejä: 5679
    • Profiili
Päivitetäänpä aihetta hiukan. Asensin koneeseen noin viikko sitten Kubuntun 32bit version ja päivitin biosin versioon f.33.h

Parannuksia.
- Bios päivityksen jälkeen ei enää ole ongelmia langallisen verkon kanssa, eli kärsii käynnistellä windowsia ja linuxia irrottamatta akkua välissä
- 32bit versiossa ei ilmaannu mainittuja usb ongelmia, toki tämä saattaisi olla korjattu myös 64bit version kernelissä
- Kuulokeliitäntä ainakin toimii nyt suoraan niin, että kytkettäessä koneen omat kaiuttimet mykistyvät. Tätä ei tullut aivan selvästi mainittuakaan aiemmin.

Tämän hetken ongelmat
- Hibernate ja suspend vieläkin mykistää näppäimistön ja touchpadin, muuten toimii (pitäisi heittää launchpadiin juttua tästä)
- ATI:n ajureissa on ongelmia tehosteiden kanssa, videoiden katselu kaattaa X:n. Tämä on käsittääseni todella yleinen ongelma tällähetkellä.
- Wlan ei vieläkään toimi suljettujen ajureiden kanssa, vaan vaatii yllämainitut kikat.

Eli kaikista pahimmista ongelmista on jo päästy eroon. Olisi kiva kyllä kuulla miten tuon näppäimistö&touchpad ongelman voisi korjata.
« Viimeksi muokattu: 15.01.09 - klo:18.00 kirjoittanut qwertyy »

qwertyy

  • Käyttäjä
  • Viestejä: 5679
    • Profiili
Nostetaanpas taas kyseisen mallin ketjua ylös. Nykyisin koneesta ei löydy 8.10 versiota, vaan 9.04 ja Bios on lähes uunituore F.41 versio, joka ratkaisi Suspend/Hibernate ongelmat, eli nyt kyseisen koneen laitteet mm. näppäimistö ja touchpad toimivat moitteettomasti.

Toisinsanottuna kehtaisin väittää, että tästä hetkestä eteenpäin voisi sanoa kyseisellä bios versiolla varustettujen mallien olevan 100% linux yhteensopivia 64- ja 32bittisenä.
Linkki biospäivitykseen

*edit*
Nykyään koneessa Bios versio F.48, joka ei tosin näennäisesti muuttanut mitään toiminnassa?
« Viimeksi muokattu: 03.08.09 - klo:02.05 kirjoittanut qwertyy »