Difference between revisions of "HP 530"

From ArchWiki
Jump to: navigation, search
(add template:style/out of date)
(Wireless: outdated, link to the main page)
Line 7: Line 7:
 
===Wireless===
 
===Wireless===
  
If you haven't already, take a look at the [[Wireless_Setup|wireless setup]] page. It's a good starting point/intro for wireless newbs like me. On there it mentions the method I use here as being the "non-preferred" method, but I couldn't get the "preferred" method there to work. Now that I know a little bit more about the process I may try to go back and look into it, but as long as it's not broken, I'm reluctant to "fix" it. :-/
+
See [[Wireless_network_configuration#iwlegacy]].
 
 
=====Hardware/Kernel Stuff=====
 
First I grabbed the wireless tools package.
 
 
 
pacman -S wireless_tools
 
 
 
Then I figured out which type of card I had with lshwd (I actually had to grab lshwd with pacman first, but no biggie there!)
 
lshwd
 
.
 
.
 
10:00.0 Class 0280: Intel Corporation|PRO/Wireless 3945ABG (ipw3945)
 
.
 
.
 
_______________________________________________________________________________________________________________________________
 
Actually, that driver is deprecated, instead use iwl3945
 
 
 
To install:
 
pacman -S iwlwifi-3945-ucode
 
 
 
It's all you need to do. You do not even need to load any modules, thanks to recent kernels (2.6.28 and above)
 
_______________________________________________________________________________________________________________________________
 
 
 
So, I need the ipw3945 module which was already on my system, as determined by:
 
modinfo ipw3945
 
 
 
I checked to see if it was loaded already
 
lsmod | grep 3945
 
 
 
It wasn't, but the iwl3945 ''was'' so I removed it. (At this point I had installed so many different modules and packages trying to get wireless to work I'm not sure exactly what comes pre-loaded with the default install so YMMV on this next little bit).
 
rmmod iwl3945
 
 
 
Then I dropped in the ipw3945 module
 
modprobe ipw3945
 
 
 
Finally I needed to insert the ipw3945 module (and remove any iwl3945) into the MODULES array in /etc/rc.conf and ipw3945d daemon into the DAEMONS array in the same file. I'm not sure if it matters, but I made sure I put the daemon before all the other networking related daemons, again, YMMV slightly.
 
 
 
At this point you should have everything ready to go on the hardware side. You man want to reboot to make sure you got all the stuff in /etc/rc.conf correct since I thought I had things working a couple times until I rebooted then everything magically broke again. :^)
 
 
 
  
 
===CPU Frequency Scaling===
 
===CPU Frequency Scaling===

Revision as of 09:59, 10 September 2015

Tango-edit-clear.pngThis article or section needs language, wiki syntax or style improvements.Tango-edit-clear.png

Reason: Violates Help:Style from top to bottom (Discuss in Talk:HP 530#)

Tango-view-refresh-red.pngThis article or section is out of date.Tango-view-refresh-red.png

Reason: Dates from rc.conf days (Discuss in Talk:HP 530#)

Issues

I only had three real issues during the install -- wireless, CPU frequency scaling and the (prevalent?) Linux + Laptop problem of the internal speaker not being muted when headphones are plugged in. I'll tackle them in order of severity.

Wireless

See Wireless_network_configuration#iwlegacy.

CPU Frequency Scaling

See the main CPU frequency scaling article.

Sound and Headphones

The issue with the sound wasn't the sound itself (well, actually it was, the internal speaker sucks :^) ) but the (apparently?) widespread problem of said speakers not being muted when headphones are plugged in. My Googling brought me seemingly endless solutions to this problem which didn't work .. these were some of my favorites:

  • Consider it a feature!
  • Just cut the wires to the internal speaker.
  • Don't do anything that needs sound.

Well I really do not want to annoy everyone within earshot, void my warranty or sit in silence while hacking out programs at the last minute so the following are a largely hodge-podge conglomeration of "solutions" I found. I'm not sure if any one of these did it or the combination of them all, but, again, it works so I'm not going to touch it!

  • Grab alsa plugins (which I already I had IIRC)
pacman -S alsa-plugins

  • Grab jack-audio-connection-kit (kind of makes sense from the name I guess?)
pacman -S jack-audio-connection-kit
  • Then on some of the forums for other distros I saw a lot of suggestions to edit /etc/modprobe.d/modprobe.conf in some form or fashion. Here's what mine looks like now and everything seems to work so I've just left it.
options snd-hda-intel model=auto

Alternate Solution?

  • I managed to get the headphones muting properly by adding this line to /etc/modprobe.d/modprobe.conf
options snd-hda-intel model=laptop

To Do

There are still a few things I'd like to get working at some point so if anyone is reading this and has any suggestions I'd love to hear them. :-) Most are pretty low priority/eye candy type stuff.

  • I'd like to have something like MacBooks where they "gradually" dim when idle as opposed to "entirely on" and "entirely off". I think that would come in handy when I just have my notebook open as a reference or something where I could still read it but not need it sitting there sucking my battery dry at full illumination.
 xbacklight -set 30 -time 60000  <--dim over a minute
  • Anything to extend battery life. I haven't really looked into it but I'd like to find a way to scale the core voltage as well as frequency. I've seen Intel utilities that can do that on Windows desktops but nothing so far for Linux
  • A way to kill the wireless card in software. This notebook comes with a button right by the power button to kill the wireless. It's not a big deal to hit the button I guess but it would be pretty neat if there was a way to simulate hitting the button in case I forget or I lose wireless connection for extended periods. I'm not even sure if this is possible or how it could be done, though.