| View previous topic :: View next topic |
| Author |
Message |
KaZeR Apprentice


Joined: 04 Feb 2004 Posts: 261 Location: Au fond, à droite.
|
Posted: Fri Jul 15, 2005 3:36 pm Post subject: The DELL Latitude D610 Thread |
|
|
Hi there.
I though it would be a good idea to start a thread for this laptop (i also created a wiki page http://gentoo-wiki.com/HARDWARE_Dell_Latitude_D610 ) at the gentoo wiki to keep a clear howto for other peoples interested (forums are good, but not suitable when you got 5+ pages of discussion for a particular hardware problem).
There's already some thread about some piece of hardware (especially about the Intel i915GM chipset that i own) but it isn't perfect IMO.
Also, there's some specific points i'd like to get to work, especially :
- the bluetooth module
- suspend to ram / disk
- correct wifi/bluetooth leds
- efficient power saving to save the battery
Any help is welcome
Once something works, i'll update the wiki accordingly.
Thanks  _________________ Foo. |
|
| Back to top |
|
 |
linumik Tux's lil' helper


Joined: 31 May 2005 Posts: 102
|
Posted: Mon Jul 18, 2005 5:28 am Post subject: not all d610 are made equal |
|
|
1. My d610 has another video card
0000:01:00.0 VGA compatible controller: ATI Technologies Inc M22 [Radeon Mobility M300]
Also, in the wiki you specify
>> I have it running at 1280x1024 @ Hz.<<
But native resolution on my d610 is 1400x1050.
2. Setting up DMA for the DVDR/CDRW is another thing that's missing
I had to set this to make it work:
| Code: |
in /usr/src/linux/include/linux/libata.h change
#undef ATA_ENABLE_ATAPI /* define to enable ATAPI support */
to
#define ATA_ENABLE_ATAPI /* define to enable ATAPI support */
|
3. On my laptop Fn+F2 switches on/off the wifi as well.
4. I made volume/mute buttons to work with x11-misc/hotkeys package. I wish I could have a taskbar indicator program as well though.
5. Suspend to disk works fine with software suspend2 patch. Suspend to RAM doesn't work at all.
6. Touchpad has a lot of buttons and many nice features. Here is a howto
http://gentoo-wiki.com/HARDWARE_Synaptics_Touchpad
7. I have problems with docking my laptop. OS hangs on second dock operation. None of docking undocking events are detected by ACPI either.
All in all, my configuraiton is workable, but far from ideal. |
|
| Back to top |
|
 |
linumik Tux's lil' helper


Joined: 31 May 2005 Posts: 102
|
|
| Back to top |
|
 |
beatryder Veteran


Joined: 08 Apr 2005 Posts: 1138
|
Posted: Mon Jul 18, 2005 7:31 am Post subject: |
|
|
ok, I just added a bunch of stuff to the special keys and acpi sections. Oh and the atapi hack as well _________________ Dont make it idiot proof, make it work.
Neucode.org
<suppressed key> |
|
| Back to top |
|
 |
KaZeR Apprentice


Joined: 04 Feb 2004 Posts: 261 Location: Au fond, à droite.
|
Posted: Mon Jul 18, 2005 8:07 am Post subject: |
|
|
Thanks both for your contributions
It would be nice if a ATI owner could complete the corresponding part (i own a i915 chipset).
By the way, does your wifi / bluetooth leds work fine?
I added some infos about bluetooth. _________________ Foo.
Last edited by KaZeR on Mon Jul 18, 2005 11:28 am; edited 1 time in total |
|
| Back to top |
|
 |
KaZeR Apprentice


Joined: 04 Feb 2004 Posts: 261 Location: Au fond, à droite.
|
Posted: Mon Jul 18, 2005 9:01 am Post subject: |
|
|
beatryder : Thanks for your entry about Radon and ACPI.
The lid thing works very well.
But could you be a little more precise about what to do with the governor thing? where should it be saved?
Also, would'nt it be easier to use cpu-speedy instead of cpufreq-info? with cpu-speedy you can do 'cpu-speedy min' to set the frequency to the lower value.
And also, my libata.h file is in /usr/src/linux/include/linux/libata.h instead of /usr/src/linux/include/libata.h, i guess it's a typo? (vanilla-sources)
I'm now having a look at the modmap thing which doesn't seems to work as-is..
edited : corrected a typo, added the libata question _________________ Foo. |
|
| Back to top |
|
 |
beatryder Veteran


Joined: 08 Apr 2005 Posts: 1138
|
Posted: Mon Jul 18, 2005 3:17 pm Post subject: |
|
|
Bah, the libata.h is a typo on my part.
As for my leds, I dont have bluetooth, but I can get the wifi led to come on when I use the card. It seems that it only comes onwhen its associated with an AP, and it does not shut off when I use the RF switch.
As for cpufreq-set, I use that util package cause the tools seemed a bit more polished.
Feel free to modify it to suit your needs.
as for the placement of the governor script, I am pretty sure I added the path to it, if not it should be clear from the default.sh modifiactions. /etc/acpi/ac-adapter.sh _________________ Dont make it idiot proof, make it work.
Neucode.org
<suppressed key> |
|
| Back to top |
|
 |
beatryder Veteran


Joined: 08 Apr 2005 Posts: 1138
|
Posted: Mon Jul 18, 2005 3:26 pm Post subject: |
|
|
Do any of you guys ever get a strang squealing noise from your motherboards???
I have had mine replaced 3 times and it keeps comming back!
A bios flash helped the first time, but now its back :S Altho anyone having audio issues should update their bios to A04 as it resolves some of those issues. _________________ Dont make it idiot proof, make it work.
Neucode.org
<suppressed key> |
|
| Back to top |
|
 |
KaZeR Apprentice


Joined: 04 Feb 2004 Posts: 261 Location: Au fond, à droite.
|
Posted: Mon Jul 18, 2005 3:35 pm Post subject: |
|
|
Thanks for these points.
My bluetooth adapter is working fine now.
I'm looking at this wifi led thing.[/url]
For your noise pb, you should maybe have a look at this : [http://forums.gentoo.org/viewtopic-t-345972-highlight-dell+noise.html]
I never had this pb for the moment. _________________ Foo. |
|
| Back to top |
|
 |
linumik Tux's lil' helper


Joined: 31 May 2005 Posts: 102
|
Posted: Mon Jul 18, 2005 3:36 pm Post subject: |
|
|
I do have that noise, but probably much less than you, so it doesn't annoy me as much. idle=halt helped somewhat but I can hear the sound coming back with some USB devices.
The other thing is, I load only drivers I need, so if I work at home where it is quiet and I can hear all freaking sounds from the laptop, I don't use mouse or any other USB things and my usb driver is not loaded.
I saw that you marked "the noise thread" as "totaly solved", the HZ trick didn't help? Not totaly anyway? |
|
| Back to top |
|
 |
linumik Tux's lil' helper


Joined: 31 May 2005 Posts: 102
|
Posted: Mon Jul 18, 2005 3:44 pm Post subject: |
|
|
| Quote: | | For your noise pb, you should maybe have a look at this : [http://forums.gentoo.org/viewtopic-t-345972-highlight-dell+noise.html] |
He was the one who created that thread  |
|
| Back to top |
|
 |
beatryder Veteran


Joined: 08 Apr 2005 Posts: 1138
|
Posted: Mon Jul 18, 2005 4:37 pm Post subject: |
|
|
| linumik wrote: | | Quote: | | For your noise pb, you should maybe have a look at this : [http://forums.gentoo.org/viewtopic-t-345972-highlight-dell+noise.html] |
He was the one who created that thread  |
Took the words right out of my mouth.... I think I may have found a resolution to my issue... When they flashed my BIOS after changing my motherboard it flashed it as an M20, not a D610, There are some slight differences in their construction but they are other wise identical. I believe the difference is actually the video card, the M20 has a FireGL v3100 and D610 has a X300. I just got an email from Dell explaining how I can reflash my bios with the right one, I am gonna try it... Good thing I still have Windows installed for work :p _________________ Dont make it idiot proof, make it work.
Neucode.org
<suppressed key> |
|
| Back to top |
|
 |
Tr1cH n00b

Joined: 12 May 2005 Posts: 29
|
Posted: Mon Jul 18, 2005 5:32 pm Post subject: |
|
|
KaZeR, can you post your xorg.conf please. I'm such a noob at linux and I have difficulties to get xorg working with intel graphic card on my dell latitude d610. I've compiled the i810 and i915 as modules in the graphics part of the kernel and in another part of the device driver section but i do not remember. Anyway, now, I can load these 2 modules with modprobe and I can see them with lsmod. But xorg doesnt want to load the i810 and 1915 drivers... and vesa doesnt work, it give me a black screen. I've read many post but there's no how/to, there's only a bunch of discussions. I need it working for my next session with acceleration because I'll do opengl prog in C++ on linux.
Tr1cH
Oh, I dont have the last version of xorg, I have the 6.8.2, maybe I can try the last one. |
|
| Back to top |
|
 |
leto2 n00b

Joined: 16 Jul 2005 Posts: 6
|
Posted: Mon Jul 18, 2005 6:52 pm Post subject: |
|
|
I've got a Dell D810. A few things:
Why do you not use the ondemand cpu speed governer? Seems to give the best results for pentium M machines.
edit: didn't realize conservative was like ondemand except tweaked for laptops.
Also, have you had any luck getting the touchpad to work properly with the evdev module and synaptics driver in suspend2 patched 2.6.12? Worked great w/ 2.6.11 but is dead now in 2.6.12.
And have you been able to get the ATI fglrx drivers to work with suspend2? I gave up a while back and have just been using the non-3d accelerated radeon driver which works fine, but curious if newer ATI drivers ever fixed suspend problems.
For using volume control buttons I just use the Gnome Keyboard Shortcuts preference tool to assign the buttons to volume up/down/mute and it works great. Except that it only controls the speaker volume and not the headphone output.
Last edited by leto2 on Mon Jul 18, 2005 8:33 pm; edited 1 time in total |
|
| Back to top |
|
 |
Tr1cH n00b

Joined: 12 May 2005 Posts: 29
|
Posted: Mon Jul 18, 2005 8:12 pm Post subject: |
|
|
I got it working with the lastest version of xorg.
But dri isnt working, I'm gonna read about that on the forum |
|
| Back to top |
|
 |
linumik Tux's lil' helper


Joined: 31 May 2005 Posts: 102
|
Posted: Mon Jul 18, 2005 8:31 pm Post subject: |
|
|
| leto2 wrote: |
Also, have you had any luck getting the touchpad to work properly with the evdev module and synaptics driver in suspend2 patched 2.6.12? Worked great w/ 2.6.11 but is dead now in 2.6.12.
|
Follow the touchpad howto again. Most likely it uses another /dev/eventX device now.
| leto2 wrote: |
And have you been able to get the ATI fglrx drivers to work with suspend2? I gave up a while back and have just been using the non-3d accelerated radeon driver which works fine, but curious if newer ATI drivers ever fixed suspend problems.
|
No. Still doesn't work. I assume it is the same for D810
| leto2 wrote: |
For using volume control buttons I just use the Gnome Keyboard Shortcuts preference tool to assign the buttons to volume up/down/mute and it works great. Except that it only controls the speaker volume and not the headphone output. |
Here is a script for you. I wrote it for the exact same reason
| Code: |
> cat /usr/local/bin/mixer-control.sh
#!/bin/bash
value=$1
shift
if [ "$value" != "off" ] && [ "$value" != "on" ] && [ "$value" != "toggle" ] && [ "$value" != "mute" ]
then
if [ "$value" == "" ] || [ "`echo $value | sed -ne '/[A-Za-z]/p'`" != "" ]
then
echo "invalid command param -- use either on/off/mute/toggle or volume"
exit 1
fi
fi
if [ $# -le 0 ]
then
echo "error: name of the control(s) are not specified."
exit 1
fi
for control in $@
do
amixer sset $control $value
if [ "${value%+}" != "$value" ]
then
amixer sset $control on
fi
done
exit 0
|
To use it :
| Code: |
VolUp=/usr/local/bin/mixer-control.sh 1+ Master PCM Headphone
VolDown=/usr/local/bin/mixer-control.sh 1- Master PCM Headphone
Mute=/usr/local/bin/mixer-control.sh toggle Master PCM Headphone
|
Last edited by linumik on Mon Jul 18, 2005 9:02 pm; edited 1 time in total |
|
| Back to top |
|
 |
leto2 n00b

Joined: 16 Jul 2005 Posts: 6
|
Posted: Mon Jul 18, 2005 8:35 pm Post subject: |
|
|
| linumik wrote: | | leto2 wrote: |
Also, have you had any luck getting the touchpad to work properly with the evdev module and synaptics driver in suspend2 patched 2.6.12? Worked great w/ 2.6.11 but is dead now in 2.6.12.
|
Follow the touchpad howto again. Most likely it uses another /dev/eventX device now.
|
I've tried all the event* devices. None of them show any output.  |
|
| Back to top |
|
 |
linumik Tux's lil' helper


Joined: 31 May 2005 Posts: 102
|
Posted: Mon Jul 18, 2005 9:01 pm Post subject: |
|
|
| leto2 wrote: | I've tried all the event* devices. None of them show any output.  |
Oh well, that was the only problem I had when I switched to 2.6.12. Make sure the psmouse driver is loaded or compiled in. |
|
| Back to top |
|
 |
leto2 n00b

Joined: 16 Jul 2005 Posts: 6
|
Posted: Mon Jul 18, 2005 9:03 pm Post subject: |
|
|
| linumik wrote: | | leto2 wrote: | I've tried all the event* devices. None of them show any output.  |
Oh well, that was the only problem I had when I switched to 2.6.12. Make sure the psmouse driver is loaded or compiled in. |
Thanks for the suggestions, but I've tried loading evdev and psmouse backwards and forwards and upside down. Are you using regular gentoo sources or the suspdend2-sources? |
|
| Back to top |
|
 |
linumik Tux's lil' helper


Joined: 31 May 2005 Posts: 102
|
Posted: Mon Jul 18, 2005 9:05 pm Post subject: |
|
|
| beatryder wrote: | | I just got an email from Dell explaining how I can reflash my bios with the right one, I am gonna try it... Good thing I still have Windows installed for work :p |
I checked my BIOS and it is A03 revision. I need to upgrade, but I don't have Windows installed... I need to figure out how to make MSDOS bootable CD :-\ |
|
| Back to top |
|
 |
linumik Tux's lil' helper


Joined: 31 May 2005 Posts: 102
|
Posted: Mon Jul 18, 2005 9:16 pm Post subject: |
|
|
| leto2 wrote: |
Thanks for the suggestions, but I've tried loading evdev and psmouse backwards and forwards and upside down. Are you using regular gentoo sources or the suspdend2-sources? |
Both. I tried manually patch gentoo sources and install suspend2-sources. Works fine with both. The current working version is
| Code: |
> uname -a
Linux linumik 2.6.12-suspend2-r1 #1 Mon Jul 11 17:31:38 EDT 2005 i686 Intel(R) Pentium(R) M processor 2.00GHz GenuineIntel GNU/Linux
|
Check your logs, xorg logs, dmesg. Maybe there are more clues. Also you could try to rollback to 2.6.11 and see if it works again. |
|
| Back to top |
|
 |
leto2 n00b

Joined: 16 Jul 2005 Posts: 6
|
Posted: Mon Jul 18, 2005 9:16 pm Post subject: |
|
|
| linumik wrote: | | beatryder wrote: | | I just got an email from Dell explaining how I can reflash my bios with the right one, I am gonna try it... Good thing I still have Windows installed for work :p |
I checked my BIOS and it is A03 revision. I need to upgrade, but I don't have Windows installed... I need to figure out how to make MSDOS bootable CD :-\ |
Grab a bootable cd image off of http://bootdisk.com or some other place with bootable cd images.
Use some iso utilities to add the bios to the image, or if you've got a fat partition on your drive just put it there. I usually leave at least a small FAT partition for just such an occasion. |
|
| Back to top |
|
 |
linumik Tux's lil' helper


Joined: 31 May 2005 Posts: 102
|
Posted: Mon Jul 18, 2005 9:22 pm Post subject: |
|
|
| leto2 wrote: | Grab a bootable cd image off of http://bootdisk.com or some other place with bootable cd images.
Use some iso utilities to add the bios to the image, or if you've got a fat partition on your drive just put it there. I usually leave at least a small FAT partition for just such an occasion. |
Thanks for the link! I'll try that. I prefer that CD approach. Less M$ on my computers is a good thing  |
|
| Back to top |
|
 |
linumik Tux's lil' helper


Joined: 31 May 2005 Posts: 102
|
Posted: Tue Jul 19, 2005 1:31 am Post subject: |
|
|
Finally had a chance to check that CD burner indeed works. Burned a bootable CD with dr-dos and BIOS updates. BIOS update worked just fine too.
BIOS revision A04 seems to work fine. The readme says that ATI bios is updated as well, that didn't help with fglrx bugs though. |
|
| Back to top |
|
 |
KaZeR Apprentice


Joined: 04 Feb 2004 Posts: 261 Location: Au fond, à droite.
|
Posted: Tue Jul 19, 2005 8:24 am Post subject: |
|
|
beatryder : sorry for dumbly pasting this link, i saw this one before starting this thread, and just took the link out of my history.
Tr1cH : i've posted a link to my xorg.conf file in the wiki.
Don't hesitate to ask if i can be of any help, but from what i know you'll need xorg > 6.8.2 to get the i915 dri working.
Otherwise, i can't get the multimedia keys to work. xev confirms that they are binded, but it's of no effect (i'm running enlightenment, but tested with fluxbox too). Anything else to do? _________________ Foo. |
|
| Back to top |
|
 |
|