Ubuntu :: HDAPS (Hard Disk Protection) On Thinkpad Edge 15
Apr 13, 2011
I am trying to use my accelerometer as joystick just so I know it's working, but I can't figure out how. To my surprise, Ubuntu doesn't seem to have a nice GTK joystick testing dialog. There used to be hdaps-gl out there for testing, but this was for very old models and is only released for Ubuntu 8.04 afaik. So I tried installing neverball for that purpose. It doesn't have options for joystick selection, but apparently it works out of the box with a Thinkpad T61.
Code:
sudo aptitude install tp-smapi-dkms
sudo modprobe tp_smapi
sudo modprobe hdaps
dmesg:
Code:
[720.093604] thinkpad_ec: thinkpad_ec 0.40 loaded.
[720.095348] tp_smapi 0.40 loading...
[720.095786] tp_smapi successfully loaded (smapi_port=0xb2).
[842.860767] thinkpad_ec: thinkpad_ec_read_row: failed waiting for data: (0x13:0x00)->0xfffffff0
[842.860773] hdaps init failed at: hdaps_get_ec_mode failed
[842.861321] input: ThinkPad HDAPS joystick emulation as /devices/virtual/input/input10
[842.861696] input: ThinkPad HDAPS accelerometer data as /devices/virtual/input/input11
[842.861883] hdaps: driver successfully loaded.
lsmod:
Code:
Module Size Used by
hdaps 10772 0
tp_smapi 26194 0
thinkpad_ec 5842 2 hdaps,tp_smapi
(..)
I've also tried to use jstest with
/dev/input/js[0|1]
and
/devices/virtual/input/input10/[many things]
But the former gives static 0 for both axes and the second gives error messages (you're probably not supposed to use it like this).
View 3 Replies
ADVERTISEMENT
Jun 26, 2010
I wish openSUSE to supply a daemon, which uses the /dev/freefall to provide hard disk head crash protection. There is an example application in usr/src/linux/Documentation/hwmon/hpfall.c which might be used as a base for such a daemon and the needed modules (hp_accel and lis3lv02d) are present in kernel 2.6.31.
View 3 Replies
View Related
Oct 30, 2010
I have a Thinkpad edge. I am travelling right now, and will be for the next 2 weeks, and just discovered that my thinkpad's internam microphone won't work. Plugging in an external one won't work either.This means that I won't be able to communicate with friends & family for 2 weeks... any help to patch this problem will be IMMENSELY welcome.
Symptoms are strange: I can go to Sound Preferences, select Analog Stereo Duplex as hardware, click on "Input", change the input volume, mute it, unmute it... everything works fine. However, if I tap against the mike, the input level bit doesn't move at all. Needless to say, nothing sees it.
Here is the output of the ALSA Information script... which looks like greek to me! Help...
!!################################
!!ALSA Information Script v 0.4.59
!!################################
!!Script ran on: Sat Oct 30 13:28:44 UTC 2010
!!Linux Distribution
[code]....
View 9 Replies
View Related
Jan 19, 2011
Slackware 13.1 installed clean on a new ThinkPad Edge (version 13 inch with AMD Processor and ATI graphics). I can get most of what I want working fine except for suspend and resume. I read somewhere that I should be using generic rather than huge kernel, so I have done that and scrapped ATI proprietary driver in case that was causing problems, but nothing so far has allowed me to suspend and resume with pm-suspend, acpitool suspend or with KDE suspend command. In all cases the screen blanks and the single ThinkPad red LED goes from on to blinking, but nothing seems to wake the machine up again. I had both suspend and hibernate working fine with Slack 13.1 on an older Lenovo laptop and ubuntu users report on their forums that this laptop does suspend and resume "out of the box" so I feel it must be possible.
View 4 Replies
View Related
Apr 10, 2009
the HDAPS system in IBM / Lenovo Thinkpad laptops is, in principle, supported by the hdaps kernel module. However, it is actually *useless* since it refuses to load on current models which report Lenovo as vendor ID instead of IBM The alternative is the tp_smapi module which, according to ThinkWiki, is strongly recommended anyway. It is not available in any CentOS repo, so I tried to compile it. However, I get the following error:
/root/devel/tp_smapi-0.40/tp_smapi.c: In function tp_suspend:
/root/devel/tp_smapi-0.40/tp_smapi.c:1241: error: PM_EVENT_HIBERNATE undeclared (first use in this function)
/root/devel/tp_smapi-0.40/tp_smapi.c:1241: error: (Each undeclared identifier is reported only once
/root/devel/tp_smapi-0.40/tp_smapi.c:1241: error: for each function it appears in.)
make[3]: *** [/root/devel/tp_smapi-0.40/tp_smapi.o] Error 1
make[2]: *** [_module_/root/devel/tp_smapi-0.40] Error 2
[Code]..
View 12 Replies
View Related
Jul 28, 2011
I bought a thinkpad Edge 13" with AMD CPU (NV338) and installed f15 on it. First boot : no WiFi...
Code:
lspci -n
...
08:00.0 Network controller [0280]: Broadcom Corporation Device [14e4:0576] (rev 01)
14e4:0576 is actually BCM43224 broadcom chip, supposed to work with broadcom-wl driver (non-free...)
So I installed broadcom-wl + kmod-wl, reboot, check if it really get installed :
Code:
lsmod | grep wl
wl 1954479 0
lib80211 4103 1 wl
Ok but... no WiFi interface visible... Few dmesg :
Code:
dmesg |grep radio
[ 22.289176] thinkpad_acpi: radio switch found; radios are enabled
[ 22.310166] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is blocked
(wifi toogle seems not working btw)
[code]....
View 3 Replies
View Related
Sep 16, 2010
Recently I got a lenovo laptop and installed opensuse 11.3 from live usb distribution, well the issue is when I want to listen to some music and plug in my headphones, the laptop speakers do not turn off automatically.
View 9 Replies
View Related
Apr 8, 2009
after installing Ubuntu on one WD 500 GB hard disk and after making mistake and pasting wrong code into Terminal:my OTHER WD 500 GB hard disk that was also in the system (I guess it was "hd1") - died.The problem must be, I guess, I typed wrong code: "hd1,1" instead of "hd0,0".)500 GB (NTFS) of data was on that other (non-Ubuntu) hard disk, and now I can not access it anymore. While booting, system gives "Hard Disk Error" warning and stops.One again: I installed Ubuntu od one hard disk and at the end of instalation I pasted wrong code for GRUB, giving address of another hard disk. Now that other hard disk has error and will not work
View 3 Replies
View Related
Sep 23, 2010
I want to copy hard disk have ubuntu 10.04 and ext4 to 1000 hard disk for new 1000
View 2 Replies
View Related
Jul 7, 2009
I have a sata 320 gb with mandriva linux 2009.1 on it.And it is what curently atached to my cpu. It is shown as 'sda' in the partition table.I also have another 40gb hard disk with windows xp installed on it.It is shown as 'hda' in the partition table . Now what i want to do is attach this 40gb hard disk to my pc and configure grub on my 320gb hard disk('sda') so as to boot windows xp(which is residing on the second hard disk,'hda')Can anyone tell me if what im doing is feasible or not? If it is feasible,can anyone suggest me how to get it working. I know i just need to add 2-3 lines to my grub.conf, but dont know what exactly i need to write.
View 3 Replies
View Related
May 14, 2010
I had a dual boot (windows 7 + debian), both of them installed in my internal hard disk, with the GRUB in it. I have recently installed a second linux distro (mint), but I put it in an external hard disk. Now the GRUB allows me to boot any of the three operating systems, but I need the external disk to do it. It seems that after the mint installation the GRUB is now working from the external disk (if the external disk is not connected, the machine does not boot.) �Is there a way to change the location of the GRUB, to the internal hard disk of my laptop?
View 2 Replies
View Related
Jun 21, 2011
I was using Terminal and browsing a directory in my home folder. My "home" directory is located on "/dev/sdb1". When in Terminal I typed "ls" in one of my directories and the output was garbage. The output didn't show the files in the directory. I think it said something like, "input/output error". Unfortunately, I didn't write the exact error down. Instead I rebooted.The hard disk with the problem is:
Code:
$ sudo hdparm -I /dev/sdb
[sudo] password for brian:
[code]...
View 6 Replies
View Related
Feb 1, 2015
I'm having problem in installing debian 7.5.0 on Dell Power Edge R 470 1U Rack Server ( Not Sure If am using RAID 1 ) whereby the hard drive is not detected. This server is running 2 Proc/2x1.2 SAS HDD . The installation went ok until i reached into partition section whereby the drives is not there to be selected , throwing an error " No disk drive detected , Driver needed fro your disk drive "
I've tried to use debian-7.8.0-amd64-DVD-1.iso
My server details:
Dell Power Edge R 470
32GB RAM
2 x 1.2 TB SAS HDD
View 4 Replies
View Related
Apr 6, 2010
If you have a hard disk image (including partition table, multiple partitions,...), is it possible to let Linux treat it as a regular hard disk?
By "regular hard disk" I mean I would like to have the image show up as, for instance, /dev/hdx and its partitions as /dev/hdx1,...
(I know I can mount one of the partitions in the image using "mount -o loop,offset=x ..." but I don't really like this option.)
View 2 Replies
View Related
Jun 30, 2010
mount from the old hdd to the new hdd i mean (Hard disk)
View 2 Replies
View Related
Jun 22, 2011
I am using Debian testing i386. Just upgraded to 2.6.39-2-686-pae. After reboot, and ever since, I am getting warning: WARNING: Could not find hdaps input device (No such file or directory). You may be using an incompatible version of the hdaps module. Falling back to reading the position from sysfs (uses more power). Use '-y' to silence this warning.
View 1 Replies
View Related
Sep 1, 2009
Copy of IBM Server hard disk data to Another USB External Hard disk?
View 2 Replies
View Related
Jan 17, 2011
I recently bought 320 GB Trancend external hard disk and working fine days back.Earlier i could copy from and to the hard disk with out any issue. I dont know what happened after that now i am not able to write any files in to the external hard disk. This is not NTFS formatted device. here is some of the out put from terminal.
Code:
sundar@sundar-sundar:~$ fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
[code]...
View 7 Replies
View Related
Mar 9, 2011
I have two internal harddisk. Harddisk 1 has ubuntu, fedora installed and harddisk 2 has ubuntu installed. I normally connect either one, and use it. How can i always keep connect both harddisks, and at the start, select from which harddisk to boot? Or it's not possible?
View 7 Replies
View Related
May 23, 2010
ran out of space in my /home dir. Have a second hard drive to install and would like to designate it as additional space for /home. I do not want to mount it as a dir inside my home I would like it to simply work as though my /home simply has more space available to it.
View 1 Replies
View Related
May 22, 2011
is there a way to write/unpack .qcow2 hard disk image directly to real hard drive in Linux?(I know it's possible to unpack .qcow2 to .raw and then dd to drive, but I'd like to skip .raw since its large)
View 2 Replies
View Related
Jun 2, 2010
I created a thread about a problem a I had with my hard disk clicking whilst idle little while ago and I may now have stumbled upon a possible solution. The strange thing with the problem is that Ubuntu/Kubuntu didn't cause this problem but Opensuse 11.2 does.
I installed Fedora 13 to have a glimpse of what all the fuss was about and noticed that I had the same problem (hard disk clicking whilst idle ~ every 20 secs or so). Now there's a wiki on this subject and a few bug reports: [url]
Problem Description
Some ATA harddrives perform very frequent head unloads under Linux significantly shortening their lifespans. Root cause
The inactivity timer for head unload is configured too aggressively either via ATA APM (Advanced Power Management) feature or other non-standard means. Such aggressive settings are very fragile to changes in IO pattern and under Linux many such drives unload their heads only to re-load them shortly. Note that this relentless unloading/reloading cycle can also be triggered under Windows by installing programs which can alter the IO pattern (e.g. certain vaccine programs which runs in background).
Now two of the listed models with this problem are basically identical to my model (Dell Inspiron 1520) and basically share the same hardware: Dell Vostro 1500 and XPS 1520.
The workaround listed is to:
set APM to 254
Furthermore, there is a script: Storage-Fixup which can also be downloaded from opensuse software search. Indeed there is a report of this for a Vostro 1500: Gmane Loom
The report suggests looking at: Disk Power Management - openSUSE which lists a method to create a configuration file to management disk power management:
My question is whether I could download the storage-fixup rpm [url] has a description of it and it can be found: Software.openSUSE.org) and install it to (hopefully) solve the issue or should I follow the method given in: Disk Power Management - openSUSE
to set APM to 254:
Code:
View 3 Replies
View Related
Apr 16, 2009
Can this be done and to restore the disk with a similar cat command.
View 3 Replies
View Related
Jan 7, 2009
I'm trying to resize a partition on an IDE hard disk to use the entire disk but can not get more than a 309GB partition. I can get 295, 300, 301, 302GB, etc... fine but start getting problems with anything over 309GB. I get the following error with 310GB or more:
error: block relocator should have relocated 533 Warning: You should reinstall your boot loader before rebooting. Read section 4 of the Parted User documentation for more information. I am using Slackware 12.1, GNU parted 1.8.8, ext2 filesystem.
Some output that may be of use:
root@asus:~# parted /dev/hdb print
Model: ST3500630A (ide)
Disk /dev/hdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
[code].....
View 3 Replies
View Related
Jun 8, 2011
I am on F15 32-bit with GNOME 3. I keep getting "A Hard Disk Is Failing" warnings from the Disk Utility, very frequently. Is this a serious issue? Because I knew this to be a bug in Palimpsest DU back in F13/14. Also how can I disable any notifications from this application?
View 4 Replies
View Related
Feb 26, 2010
I have just freshly installed Karmic on hardware that was previously running Intrepid without any problems. I have not installed anything beyond a few bog-standard applications. I am now running into regular system lock-ups because the / partition is becoming read-only. Once this happens I am unable to start any application or to shut down, because there is no write access. If I happen to have a terminal open, then it is apparent that the disk has become read-only because I can not remove, create or modify any file. If I do not have a terminal open, then I can not open one. Obviously there is nothing written to any log.
View 2 Replies
View Related
Feb 27, 2010
I search for a Gui program that running and check of the hard disk and monsters in graphical mode bad
sectors.
View 1 Replies
View Related
May 11, 2010
I'm trying to install Ubuntu 10.04 amd64 on a system I recently built that currently has Windows 7 installed.
Strangely, when I booted from the install disk, I got an unrecoverable error. [URL] said in that case, try to install from a live session, so I did that.
Live session install worked fine until I got to the partitioning section of the setup. Nothing displayed in the partition space and all my partition options were greyed out!
I have tried several things. I tried booting from my Lubuntu 32 bit that I know works (running on my laptop), it could not detect the hard disk either.
I tried booting into Windows 7 and shrinking the partition in the Windows partition manager and seeing if Ubuntu's installer would detect the space that way...no such luck.
cfdisk would not work either. Gave a big fat cannot access the disk error.
fdisk -l displays nothing. Gparted from the live session is a no-go as well.
BTW, relevant hardware:
GIGABYTE GA-770TA-UD3 AM3 AMD 770 SATA 6Gb/s USB
Western Digital Caviar Blue WD5000AAKS 500GB 7200 RPM SATA 3.0Gb/s 3.5" Internal Hard Drive -Bare Drive
I wouldn't think that Ubuntu should have a problem detecting this...
View 4 Replies
View Related
Aug 20, 2010
Is there a decent hard disk management apt . you see when i started using ubuntu i specified 2 gigs for ext filesystem drive because at that time windows was my basic OS . but now ubuntu became almost my only OS , so i wanna cut out like 20 gigs of the ntfs windows drive and add them to ubuntu's filesystem without removing or formating neither OS's or drives is there a software that can do that ?
View 3 Replies
View Related
Sep 2, 2010
I can't seem to fin the command that tells how much space is used/free.
View 5 Replies
View Related