|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#22341 |
|
Senior Member
Iscritto dal: Apr 2000
Città: Vicino a Montecatini(Pistoia) Moto:Kawasaki Ninja ZX-9R Scudetti: 29
Messaggi: 53971
|
|
|
|
|
|
#22342 |
|
Senior Member
Iscritto dal: Oct 2003
Messaggi: 2987
|
Ciao a tutti,
il mio nuovo portatile "offre" del famoso bug/non bug dell'eccessivo numero di parcheggi della testina dell'hard disk quando alimentato a batteria. Questi sono gli output di smartctl fatti a distanza di una 30 di secondi l'uno dall'altro con un aumento del numero di parcheggi di due tre unità al minuto: andreak@pro5av:~$ sudo smartctl -a /dev/sda|grep Load_Cycle_Count 193 Load_Cycle_Count 0x0022 100 100 000 Old_age Always - 359 andreak@pro5av:~$ sudo smartctl -a /dev/sda|grep Load_Cycle_Count 193 Load_Cycle_Count 0x0022 100 100 000 Old_age Always - 359 andreak@pro5av:~$ sudo smartctl -a /dev/sda|grep Load_Cycle_Count 193 Load_Cycle_Count 0x0022 100 100 000 Old_age Always - 359 andreak@pro5av:~$ sudo smartctl -a /dev/sda|grep Load_Cycle_Count 193 Load_Cycle_Count 0x0022 100 100 000 Old_age Always - 359 andreak@pro5av:~$ sudo smartctl -a /dev/sda|grep Load_Cycle_Count 193 Load_Cycle_Count 0x0022 100 100 000 Old_age Always - 360 andreak@pro5av:~$ sudo smartctl -a /dev/sda|grep Load_Cycle_Count 193 Load_Cycle_Count 0x0022 100 100 000 Old_age Always - 361 andreak@pro5av:~$ sudo smartctl -a /dev/sda|grep Load_Cycle_Count 193 Load_Cycle_Count 0x0022 100 100 000 Old_age Always - 361 andreak@pro5av:~$ sudo smartctl -a /dev/sda|grep Load_Cycle_Count 193 Load_Cycle_Count 0x0022 100 100 000 Old_age Always - 362 andreak@pro5av:~$ sudo smartctl -a /dev/sda|grep Load_Cycle_Count 193 Load_Cycle_Count 0x0022 100 100 000 Old_age Always - 362 Questo accade nonostante abbia impostato LAPTOP-MODE a true in etc/default/acpi-support. Cos'altro devo fare per evitarlo? Praticamente non uso mai il pc a batteria, capita solo se va via la corrente e i 362 cicli sono stati fatti in quasti 15 giorni di vita quando è andata via la corrente per 5 minuti. Per me andrebbe anche bene che le testine non fossero mai parcheggiate (perdendo un po' di autonomia in battery mode ma garantendo la durata dell'hdd) si può fare? Come? Grazie, Xwang
__________________
ASUS N752VX Arch AMD64 + KDE |
|
|
|
|
#22343 |
|
Senior Member
Iscritto dal: Dec 2001
Città: Pavia (Italy) La città delle 100 torri...
Messaggi: 10294
|
con laptop mode su true lo attivi...prova su false!
__________________
Ciao Pallino ora sei libero di scorazzare sereno sulla tua nuvoletta....non ti dimenticherò! Xperia X10 black with feralab v30 rom Motori 1/4 di impulso indietro...tenente Sulu ci porti fuori... |
|
|
|
|
#22344 |
|
Senior Member
Iscritto dal: Oct 2004
Città: Prov. di Chieti
Messaggi: 5581
|
Allora devo lasciare l'asterisco al posto degli 1 e dello 0?
Buona domenica a tutti.
__________________
Vendesi: Apiari, materiale ed attrezzatura apistica. |
|
|
|
|
#22345 | |
|
Senior Member
Iscritto dal: May 2008
Messaggi: 507
|
Quote:
Ragazzi nessuno mi sa aiutare a configurare questo maledetto audio per bene??
|
|
|
|
|
|
#22346 |
|
Senior Member
Iscritto dal: Oct 2003
Messaggi: 2987
|
Apparentemente cambiando tale valore in /etc/default/acpi-support non cambia niente. Nello stesso fle, però, c'è il seguente commento:
Codice:
# Note: to enable "laptop mode" (to spin down your hard drive for longer # periods of time), install the laptop-mode-tools package and configure # it in /etc/laptop-mode/laptop-mode.conf. Codice:
andreak@pro5av:/etc/laptop-mode$ cat laptop-mode.conf ############################################################################### # # Configuration for Laptop Mode Tools # ----------------------------------- # # There is a "system" to the configuration setting names: # CONTROL_something=0/1 Determines whether Laptop Mode Tools controls # something # LM_something=value Value of "something" when laptop mode is active # NOLM_something=value Value of "something" when laptop mode is NOT # active # AC_something=value Value of "something" when the computer is running # on AC power # BATT_something=value Value of "something when the computer is running # on battery power # # There can be combinations of LM_/NOLM_ and AC_/BATT_ prefixes, but the # available prefixes are different for each setting. The available ones are # documented in the manual page, laptop-mode.conf(8). If there is no LM_/ # NOLM_ in a setting name, then the value is used independently of laptop # mode state, and similarly, if there is no AC_/BATT_, then the value is used # independently of power state. # # Some options only work on ACPI systems. They are marked ACPI-ONLY. # # Note that this configuration file is a fragment of shell script: you # can use all the features of the shell scripting language to achieve your # desired configuration. # # # Modules # ------- # # Laptop Mode Tools modules have separate configuration files, that can be # found in /etc/laptop-mode/conf.d. Please look through these configuration # files as well, there are many useful power saving tools in there! # ############################################################################### ############################################################################### # Configuration debugging # ----------------------- ############################################################################### # # Set this to 1 if you want to see a lot of information when you start/stop # laptop_mode. # VERBOSE_OUTPUT=0 ############################################################################### # When to enable laptop mode # -------------------------- # # "Laptop mode" is the mode in which laptop mode tools makes the computer # consume less power. This includes the kernel "laptop_mode" feature, which # allows your hard drives to spin down, as well as various other settings which # can be tweaked by laptop mode tools. You can enable or disable all of these # settings using the CONTROL_... options further down in this config file. ############################################################################### # # Enable laptop mode when on battery power. # ENABLE_LAPTOP_MODE_ON_BATTERY=1 # # Enable laptop mode when on AC power. # ENABLE_LAPTOP_MODE_ON_AC=0 # # Enable laptop mode when the laptop's lid is closed, even when we're on AC # power? (ACPI-ONLY) # ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0 ############################################################################### # When to enable data loss sensitive features # ------------------------------------------- # # When data loss sensitive features are disabled, laptop mode tools acts as if # laptop mode were disabled, for those features only. # # Data loss sensitive features include: # - laptop_mode (i.e., delayed writes) # - hard drive write cache # # All of the options that follow can be set to 0 in order to prevent laptop # mode tools from using them to stop data loss sensitive features. Use this # when you have a battery that reports the wrong information, that confuses # laptop mode tools. # # Disabling data loss sensitive features is ACPI-ONLY. ############################################################################### # # Disable all data loss sensitive features when the battery level (in % of the # battery capacity) reaches this value. # MINIMUM_BATTERY_CHARGE_PERCENT=3 # # Disable data loss sensitive features when the battery reports its state # as "critical". # DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL=1 ############################################################################### # Controlled hard drives and partitions # ------------------------------------- # # For spinning down your hard drives, laptop mode will remount file systems and # adjust hard drive spindown timeouts. These parameters specify which # devices and partitions are affected by laptop mode. ############################################################################### # # The drives that laptop mode controls. # Separate them by a space, e.g. HD="/dev/hda /dev/hdb". The default is a # wildcard, which will get you all your IDE and SCSI/SATA drives. # HD="/dev/[hs]d[abcdefgh]" # # The partitions (or mount points) that laptop mode controls. # Separate the values by spaces. Use "auto" to indicate all partitions on drives # listed in HD. You can add things to "auto", e.g. "auto /dev/hdc3". You can # also specify mount points, e.g. "/mnt/data". # PARTITIONS="auto /dev/mapper/*" # # If this is enabled, laptop mode tools will assume that SCSI drives are # really SATA drives that only _look_ like SCSI drives, and will use hdparm # to control them. Set this to 0 if you have /dev/sd devices and you want # laptop mode tools to use the "sdparm" command to control them. # ASSUME_SCSI_IS_SATA=1 ############################################################################### # Hard drive behaviour settings # ----------------------------- # # These settings specify how laptop mode tools will adjust the various # parameters of your hard drives and file systems. ############################################################################### # # Maximum time, in seconds, of work that you are prepared to lose when your # system crashes or power runs out. This is the maximum time that Laptop Mode # will keep unsaved data waiting in memory before spinning up your hard drive. # LM_BATT_MAX_LOST_WORK_SECONDS=600 LM_AC_MAX_LOST_WORK_SECONDS=360 # # Should laptop mode tools control readahead? # CONTROL_READAHEAD=1 # # Read-ahead, in kilobytes. You can spin down the disk while playing MP3/OGG # by setting the disk readahead to a reasonable size, e.g. 3072 (3 MB). # Effectively, the disk will read a complete MP3 at once, and will then spin # down while the MP3/OGG is playing. Don't set this too high, because the # readahead is applied to _all_ files that are read from disk. # LM_READAHEAD=3072 NOLM_READAHEAD=128 # # Should laptop mode tools add the "noatime" option to the mount options when # laptop mode is enabled? # CONTROL_NOATIME=0 # Should laptop use relatime instead of noatime? The "relatime" mount option has # more standards-compliant semantics, and allows more applications to work, # while retaining a low level of atime updates (i.e., disk writes). USE_RELATIME=1 # # Should laptop mode tools control the hard drive idle timeout settings? # CONTROL_HD_IDLE_TIMEOUT=1 # # Idle timeout values. (hdparm -S) # Default is 2 hours on AC (NOLM_HD_IDLE_TIMEOUT_SECONDS=7200) and 20 seconds # for battery and for AC with laptop mode on. # LM_AC_HD_IDLE_TIMEOUT_SECONDS=60 LM_BATT_HD_IDLE_TIMEOUT_SECONDS=60 NOLM_HD_IDLE_TIMEOUT_SECONDS=7200 # # Should laptop mode tools control the hard drive power management settings? # CONTROL_HD_POWERMGMT=1 # # Power management for HD (hdparm -B values) # BATT_HD_POWERMGMT=1 LM_AC_HD_POWERMGMT=254 NOLM_AC_HD_POWERMGMT=254 # # Should laptop mode tools control the hard drive write cache settings? # CONTROL_HD_WRITECACHE=0 # # Write cache settings for HD (hdparm -W values) # NOLM_AC_HD_WRITECACHE=1 NOLM_BATT_HD_WRITECACHE=0 LM_HD_WRITECACHE=0 ############################################################################### # Settings you probably don't want to touch # ----------------------------------------- # # It is usually not necessary to change these parameters. They are included # for completeness' sake. ############################################################################### # # Change mount options on partitions in PARTITIONS? You don't really want to # disable this. If you do, then your hard drives will probably not spin down # anymore. # CONTROL_MOUNT_OPTIONS=1 # # Dirty synchronous ratio. At this percentage of dirty pages the process # which calls write() does its own writeback. # LM_DIRTY_RATIO=60 NOLM_DIRTY_RATIO=40 # # Allowed dirty background ratio, in percent. Once DIRTY_RATIO has been # exceeded, the kernel will wake pdflush which will then reduce the amount # of dirty memory to dirty_background_ratio. Set this nice and low, so once # some writeout has commenced, we do a lot of it. # LM_DIRTY_BACKGROUND_RATIO=1 NOLM_DIRTY_BACKGROUND_RATIO=10 # # kernel default settings -- don't touch these unless you know what you're # doing. # DEF_UPDATE=5 DEF_XFS_AGE_BUFFER=15 DEF_XFS_SYNC_INTERVAL=30 DEF_XFS_BUFD_INTERVAL=1 DEF_MAX_AGE=30 # # This must be adjusted manually to the value of HZ in the running kernel # on 2.4, until the XFS people change their 2.4 external interfaces to work in # centisecs. This can be automated, but it's a work in progress that still # needs some fixes. On 2.6 kernels, XFS uses USER_HZ instead of HZ for # external interfaces, and that is currently always set to 100. So you don't # need to change this on 2.6. # XFS_HZ=100 # # Seconds laptop mode has to to wait after the disk goes idle before doing # a sync. # LM_SECONDS_BEFORE_SYNC=2 Xwang
__________________
ASUS N752VX Arch AMD64 + KDE |
|
|
|
|
#22347 |
|
Senior Member
Iscritto dal: Dec 2001
Città: Pavia (Italy) La città delle 100 torri...
Messaggi: 10294
|
puoi benissimo provare, io di quel falso problema me ne son sempre fregato e non ho mai avuto problemi coi dischi.
![]() comunque poi c'è da verificare se con hdparm si riesce a modificare il tempo di spin down e i vari cicli.
__________________
Ciao Pallino ora sei libero di scorazzare sereno sulla tua nuvoletta....non ti dimenticherò! Xperia X10 black with feralab v30 rom Motori 1/4 di impulso indietro...tenente Sulu ci porti fuori... Ultima modifica di restimaxgraf : 22-03-2009 alle 13:31. |
|
|
|
|
#22348 |
|
Senior Member
Iscritto dal: Jan 2002
Città: Trance City
Messaggi: 7337
|
mi serve un programma per visualizzare i pdf e per poterli modificare....cioe'i pdf li visualizzo,pero' non li posso modificare,mettere dei post it,prendere appunti ecc ecc
c'e' un programma per farlo? poi volevo sapere come fare per cambiare i programmi di default per aprire i file...cioe' per esempio con i pdf dirgli di aprire i pdf sempre col programma nuovo che installero' |
|
|
|
|
#22349 |
|
Senior Member
Iscritto dal: Apr 2000
Città: Vicino a Montecatini(Pistoia) Moto:Kawasaki Ninja ZX-9R Scudetti: 29
Messaggi: 53971
|
Per cambiare le associazioni basta andare nelle proprietà del file.
|
|
|
|
|
#22350 | |
|
Senior Member
Iscritto dal: Jan 2005
Città: ichnusa
Messaggi: 18175
|
Quote:
|
|
|
|
|
|
#22351 | |
|
Senior Member
Iscritto dal: Feb 2003
Città: BG
Messaggi: 10222
|
Quote:
__________________
Mac mini M1,16GB,2TB,10Gbit;Satechi Hub NVMe;Samsung 990 Pro 4TB;WD My Passport for Mac 4TB / Logitech MX Keys;Logitech MX Vertical;Philips 288E2A;PreSonus Eris E3.5;HP LaserJet Pro M281fdw / QNAP TVS-871-i3-4G,8GB,8x WD Red CMR 6TB raid 6,QNAP QXG-2G1T-I225 / Asus GT-BE19000;QNAP QSW-1105-5T / iPhone 17 Pro Max 1TB;iPad mini 6 256GB;Apple Watch Ultra 2;AirPods Pro 2;Kindle Paperwhite 11 SE / LG OLED C2 48";Apple TV 4K 2021 64GB;Denon AVR-X2800H / Xbox Series X;Seagate Expansion Card 2TB |
|
|
|
|
|
#22352 | |
|
Member
Iscritto dal: Jul 2007
Messaggi: 186
|
Quote:
sistema>preferenze>audio ho cambiato le voci "eventi sonori" e "musica e filmati" da identificazione automatica ad alsa... adesso riesco a sentire contemporaneamente audio da fonti diverse (ad es video diyoutube e rhythmbox)... non so se sia il metodo migliore ma con me ha funzionato... se non altro è veloce da provare e si torna facilmente indietro... ciao! |
|
|
|
|
|
#22353 | |
|
Senior Member
Iscritto dal: May 2008
Messaggi: 507
|
Quote:
Ho provato,funziona.Però nn va con i film. Esempio:streamig con firefox o youtube + exaile(mp3) tutto ok. streaming + vlc===>nada.Del film nn si sente niente. Grazie cmq,un passo è stato fatto.
|
|
|
|
|
|
#22354 | |
|
Senior Member
Iscritto dal: May 2008
Messaggi: 507
|
Quote:
È di una lentezza disarmante. Vai con pdfedit.Ha una grafica un pò bruttina ma funzia alla grande.
|
|
|
|
|
|
#22355 |
|
Senior Member
Iscritto dal: Feb 2002
Città: Castelli Romani - Ostia
Messaggi: 1458
|
Ciao a tutti,
oggi tra gli aggiornamenti c'era anche quello di Moblock. L'ho scaricato e installato (su Hardy). Ora però Mobloquer non va più e se lo seleziono per la reinstallazione mi esce: Package mobloquer has no available version, but exists in the database. This typically means that the package was mentioned in a dependency and never uploaded, has been obsoleted or is not available with the contents of sources.list Come posso controllare log, impostazioni, ecc per la nuova versione di Moblock ? Grazie per le risposte !
__________________
"Expect my visit when the darkness comes. The night I think is best for hiding all." - Ouallada
Ho trattato con: Corrado83, ronald0, wizard83, Il programmatore, jonbonjovanni, themac, ciccio89, DT854, semmy83, numbhead, vinc07 e altri 2 utenti. |
|
|
|
|
#22356 |
|
Member
Iscritto dal: Jul 2007
Messaggi: 186
|
Mmm, film+streaming non ho mai provato quindi non so dirti se a me funzioni... comunque puoi provare an che questa: vai nelle impostazioni di vlc e imposta anche lì alsa come modulo di uscita audio... penso che dovrebbe funzionare...
|
|
|
|
|
#22357 | |
|
Senior Member
Iscritto dal: May 2008
Messaggi: 507
|
Quote:
Alla grande. Ora funziona tutto. Adesso provo a seguire la stessa logica anche con smplayer e mplayer. Nn so quale togliere:sono uno meglio dell'altro. Thanks for all.
|
|
|
|
|
|
#22358 |
|
Senior Member
Iscritto dal: Nov 2003
Messaggi: 1662
|
Una domanda (forse) stupida: è possibile compilare un kernel personalizzato su Ubuntu, SENZA passare per i pacchetti .deb (modo "classico")???
|
|
|
|
|
#22359 | |
|
Moderatore
Iscritto dal: Feb 2003
Città: Anagni/Firenze
Messaggi: 9133
|
Quote:
In fin dei conti, il pacchetto .deb non fa nient'altro che posizionare in modo corretto i vari file e link, ma se lo fai a mano (maniera classica) e sai come fare, è la stessa identica cosa... Questa la guida per Ubuntu (debian way): http://wiki.ubuntu-it.org/Amministra...ilazioneKernel P.S. Non vedo la differnza (sicuramente per mia ignoranza) a compilare il kernel e installare i deb così creati o compilare il kernel e posizionare a mano i file)... Un saluto a tutti... masand
__________________
Regole Sezione Linux - [Ubuntu] HWupgrade Clan - Installare Ubuntu 13.10 64bit su Asus N56JR Ultima modifica di masand : 23-03-2009 alle 10:53. |
|
|
|
|
|
#22360 | ||||
|
Senior Member
Iscritto dal: Nov 2003
Messaggi: 1662
|
Quote:
Quote:
Perché da qualche prova effettuata, mi sembra che non basti seguire la procedura "standard" (classica). Ossia: compilare con make (dopo la configurazione), installare i moduli con make modules_install... E creare l'initrd.img con mkinitramfs... Sembra come se non trovasse i moduli nell'apposita cartella - /lib/modules/2.6.28 per la mia versione (MA la cartella c'è ed è "piena")... Consigli? Quote:
![]() Quote:
FORSE risparmierei un po' di tempo, non dovendo passare per i pacchetti .deb, in caso di frequenti ricompilazioni? CREDO. AH, un'altra curiosità... Editando il file menu.lst di GRUB, ho notato una strana (per me) opzione.... Codice:
title Ubuntu 8.04, kernel 2.6.24-22-generic root (hd0,5) kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=a94d11f2-956e-4bca-9228-5879586a224f ro quiet splash initrd /boot/initrd.img-2.6.24-22-generic quiet Ultima modifica di shinji_85 : 23-03-2009 alle 11:37. |
||||
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 20:37.












visto che ho raggiunto un bell'equilibrio nel mio sistema.











