Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dell Inspiron 9400
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
zaai
Apprentice
Apprentice


Joined: 24 Jul 2004
Posts: 175

PostPosted: Sun May 21, 2006 7:42 am    Post subject: Re: Dell Inspiron 9400 Reply with quote

Excellent thread, thanks Vinz.
I got an Inspiron 9400 a week ago and sofar get most of it working:
- kernel-2.6.16-gentoo-r6
- video ATI XT-1400 (1600 fps)
- wireless ipw3945 with WPA2 (thanks guys for putting the ebuild in portage!)
- USB mouse plug and plug
- DVD burner
- Mythtv remote frontend tv/movie playback (partially working)
Still to do:
- MMC memory card (RICOH unknown device in LSPCI)
- Power management with kernel 2.6.16-r7, harddisk keeps clicking every 10-15 seconds (disabled it)
- TV-OUT

I was wondering about the IDE vs SATA story.

VinzC wrote:
Hi.
Unlike what is mentionned on Dell's web site, the hard disk is IDE and not a SATA. (The conspiracy theory, you know ;-) ) In fact the hard disk is an IDE one that is plugged onto a SATA/IDE bridge. Here are the kernel options I selected in Device Drivers > ATA/ATAPI/MFM/RLL support:


hdparm -I /dev/sda says:
Quote:
ATA device, with non-removable media
Model Number: FUJITSU MHV2100BH
Serial Number: NW08T6427F3P
Firmware Revision: 00850028


According to this Fujitsu press release here this is a SATA drive, not an IDE.

update 25-june-2006:
* Got Mythfrontend working, can view movies and live tv over 802.11g. Had to set the option in mythtv to reduce the screen size to 800x600 when watching movies otherwise the display was stuttering.
* DVD burner is working. It just worked with k3b :)
* X.org locks up on exit after running Wine or DigiKam. Workaround is to disable DRI in xorg.conf :(
_________________
* most bugs can be reduced to either dependency or state *

Athlon64 X2 4800+ on Asus M2N SLI deluxe with 4GB Dual channel
video nVidia GForce 7300 GS 512MB (snail); xorg-7.2
kernel 2.6.24-gentoo-r3


Last edited by zaai on Thu Jun 29, 2006 2:48 pm; edited 4 times in total
Back to top
View user's profile Send private message
MyDellSys
n00b
n00b


Joined: 20 May 2006
Posts: 3

PostPosted: Sun May 21, 2006 4:21 pm    Post subject: Re: Dell Inspiron 9400 Reply with quote

Quote:


hdparm -I /dev/sda says:
Quote:
ATA device, with non-removable media
Model Number: FUJITSU MHV2100BH
Serial Number: NW08T6427F3P
Firmware Revision: 00850028


According to this Fujitsu press release here this is a SATA drive, not an IDE.


I think I've seen this somewhere :roll:

BTW if u were wondering what going on with the wifi card (u already prolly figured) I pulled it out.
Back to top
View user's profile Send private message
Entropy42
n00b
n00b


Joined: 05 Mar 2004
Posts: 56

PostPosted: Mon May 22, 2006 11:11 pm    Post subject: Re: Dell Inspiron 9400 Reply with quote

zaai wrote:
Excellent thread, thanks Vinz.
I got an Inspiron 9400 a week ago and sofar get most of it working:
- kernel-2.6.16-gentoo-r6
- video ATI XT-1400 (1600 fps)
- wireless ipw3945 with WPA2 (thanks guys for putting the ebuild in portage!)
- USB mouse plug and plug
Still to do:
- MMC memory card (RICOH unknown device in LSPCI)
- DVD burner (didn't try)
- Mythtv remote frontend tv/movie playback (partially working)
- Power management with kernel 2.6.16-r7, harddisk keeps clicking every 10-15 seconds
- TV-OUT

I was wondering about the IDE vs SATA story.

VinzC wrote:
Hi.
Unlike what is mentionned on Dell's web site, the hard disk is IDE and not a SATA. (The conspiracy theory, you know ;-) ) In fact the hard disk is an IDE one that is plugged onto a SATA/IDE bridge. Here are the kernel options I selected in Device Drivers > ATA/ATAPI/MFM/RLL support:


hdparm -I /dev/sda says:
Quote:
ATA device, with non-removable media
Model Number: FUJITSU MHV2100BH
Serial Number: NW08T6427F3P
Firmware Revision: 00850028


According to this Fujitsu press release here this is a SATA drive, not an IDE.

Same with the Hitachi SATA drive in my E1705. The part number is CLEARLY for a native SATA drive. Likewise, if you pull the drive out and look at it, it's obviously SATA not IDE. The optical drive may have an onboard SATA to IDE bridge (it appears as a SATA drive though), but the hard drives are definately native SATA.
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4665
Location: Theux (Belgium)

PostPosted: Tue May 23, 2006 7:27 am    Post subject: Reply with quote

You're right. My HD is FUJITSU MHV2080BH, which is a SATA according to Fujitsu. xxxxBH seems to stand for ATA while xxxxAH stands for ATA. My mistake.

EDIT: I made a quick check on the disk at the time I wrote this HOWTO and I found a link which showed the drive was not a SATA but an IDE. Second mistake: I didn't note the link down...
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
je.sid
n00b
n00b


Joined: 25 Mar 2006
Posts: 2

PostPosted: Wed May 24, 2006 4:19 pm    Post subject: What about th Subwoofer? Reply with quote

Hi
this is a real nice thread about the dell 9400 *G*.

For the cardread I can say, that it will be in the kernel from 2.6.17. So, for me, I am going to wait until gentoor-sources are 2.6.17 (~x68).

But I have some problems with the lid. I have done it with the howto the page before but it doesn't work. I hab to be logged in into the X as a user had to execute:

Code:
xhost +locel:root


But if I am only in the gdmgreeter it (of course) doesn't work. Anyone an idea (with th XAUTH thing)?

And the other thing is my wlan led. First everythings works fine, but after a while it starts flashing - connection is still there. It blinks randomly. Could this be the fault of my accesspoint (11Mbit) and/or on my other Notebook, standing beside, and/or of my bluettoth mouse or a simple driver bug?

By the way: I'd like to report that bluetooth works really fine on the Dell 9400. (It wasn't mentioned till now)
I have the MX900 Logitech Mouse combined with it and it works nearly perfect. Only at a reboot I had to repress the connect button (unless the mouse does not work and the logs would be flooded), on a cold boot it works fine. I do not konw why. If anyone is interested in my blueooth config files and/or kernel, then say something.

But now, the most important:
What about the Subwoofer?
The Sound works fine. But the Subwoofer is muted! I have the latest alsa-driver (outside the kernel). I only have 1 real volume controller and that was it. Does any one of you guys know whether the Subwoofer will ever be supported or not? I mean the sound it 1000times better with this thing working!

So plz reply

Jürgen
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4665
Location: Theux (Belgium)

PostPosted: Thu May 25, 2006 10:58 am    Post subject: Re: What about th Subwoofer? Reply with quote

je.sid wrote:
And the other thing is my wlan led. First everythings works fine, but after a while it starts flashing - connection is still there. It blinks randomly. Could this be the fault of my accesspoint (11Mbit) and/or on my other Notebook, standing beside, and/or of my bluettoth mouse or a simple driver bug?

As I use to say, the WiFi led also flashes (as if it were scanning for networks) on my machine as soon as X starts. You could perhaps try booting without launching X and wait a little; then start X to see if the led flashes.

I have no idea on what in X makes the WiFi led flash like this.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
LD
Guru
Guru


Joined: 23 Dec 2003
Posts: 336
Location: Middle of No-Where Granbury, Tx

PostPosted: Thu May 25, 2006 7:39 pm    Post subject: Reply with quote

Has there been any documentation on TV-Out with thee laptops?
_________________
[Owner/Operator: Dhampir Dreams]
Last.fm profile
Netflix Profile
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4665
Location: Theux (Belgium)

PostPosted: Thu Jun 29, 2006 8:02 am    Post subject: Reply with quote

Oops!... My laptop freezes when I close the lid. I suspect ipw3945. See my post.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
poOoch
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2003
Posts: 77
Location: Ulm / Germany

PostPosted: Mon Jul 03, 2006 5:50 pm    Post subject: Reply with quote

Anyone got suspend2 working? Tried 2.2.6 but no luck. Will have a look at 2.2.7 tomorrow.

edit:
No chance with fglrx drivers on Radeon x1400. Damn ATI!
Suspending without X is senseless.
Cheers
Back to top
View user's profile Send private message
LD
Guru
Guru


Joined: 23 Dec 2003
Posts: 336
Location: Middle of No-Where Granbury, Tx

PostPosted: Thu Jul 06, 2006 12:39 am    Post subject: Reply with quote

I don't know if this will be of any help to folk, but I found this information on the ubuntuforum.

http://www.ubuntuforums.org/showthread.php?t=141031

It provides an xorg.conf file to use in order to make TV-out work.

just for help, here is my gentoo'd xorg.conf

Code:
#Laptop
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Touchpad" "AlwaysCore"
   InputDevice    "Keyboard0" "CoreKeyboard"
   Option      "OffTime"   "10"
   #Option      "AIGLX" "true"
EndSection

Section "ServerFlags"
   Option      "DefaultServerLayout" "LCDandTV"
EndSection

Section "ServerLayout"
   Identifier   "LCDandTV"
   Screen      "LCD"
   Screen      "TV" RightOf "LCD"
    InputDevice    "Touchpad" "AlwaysCore"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Extensions"
 Option "Composite" "true"
EndSection

Section "Files"
   FontPath     "/usr/share/fonts/misc"
   FontPath     "/usr/share/fonts/75dpi"
   FontPath     "/usr/share/fonts/100dpi"
   FontPath     "/usr/share/fonts/TTF"
   FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
        Load  "synaptics"
   Load  "extmod"
   Load  "dbe"
   Load  "record"
   Load  "xtrap"
   Load  "dri"
   Load  "glx"
   Load  "freetype"
   Load  "type1"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Touchpad"
    Driver      "synaptics"
    Option      "SendCoreEvents"        "true"
    Option      "Device"                "/dev/input/mouse0"
    Option      "Protocol"              "auto-dev"
    Option      "LeftEdge"              "1700"
    Option      "RightEdge"             "5300"
    Option      "TopEdge"               "1700"
    Option      "BottomEdge"            "4200"
    Option      "FingerLow"             "25"
    Option      "FingerHigh"            "30"
    Option      "MaxTapTime"            "180"
    Option      "MaxTapMove"            "220"
    Option      "VertScrollDelta"       "100"
    Option      "HorizScrollDelta"      "100"
    Option      "MinSpeed"              "0.09"
    Option      "MaxSpeed"              "0.18"
    Option      "AccelFactor"           "0.15"
    Option      "EdgeMotionMinZ"        "17"
    Option      "EdgeMotionMaxZ"        "21"
    Option      "EdgeMotionMinSpeed"    "30"
    Option      "EdgeMotionMaxSpeed"    "35"
    Option      "LeftRightScrolling"    "1"
    Option      "UpDownScrolling"       "1"
    Option      "EmulateMidButtonTime"  "75"
    Option      "ZAxisMapping"          "4 5"
    Option      "SHMConfig"             "on"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
   Option      "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"              # [<bool>]
        #Option     "DefaultRefresh"        # [<bool>]
        #Option     "ModeSetClearScreen"    # [<bool>]
   Identifier  "GMA950"
   Driver      "i810"
   VendorName  "Intel Corporation"
   BoardName   "Mobile Integrated Graphics Controller"
   Option "NoAccel" "false"
   Option "XAANoOffscreenPixmaps" "true"
   Option "DRI" "true"
EndSection
 


Section "Screen"
   Identifier "Screen0"
   Device     "GMA950"
   Monitor    "Monitor0"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

Section "Device"
   Identifier "LCD"
   Driver "i810"
   Option "MonitorLayout"   "TV,LFP"
   Screen 0
   BusID "PCI:0:2:0"
EndSection

Section "Device"
   Identifier "TV"
   Driver "i810"
   Option "MonitorLayout"   "TV,LFP"
   Option "TVStandard"   "NTSC"
   Option "TVOutFormat"   "COMPOSITE" # "SVIDEO"
   Option "ConnectedMonitor"   "TV"
   Screen 1
   BusID "PCI:0:2:0"
EndSection

Section "Monitor"
   Identifier   "LCD"
   Option      "DPMS"
   HorizSync   30 - 81
   VertRefresh   56 - 76
EndSection

Section "Monitor"
   Identifier   "TV"
   HorizSync   30-50
   VertRefresh   60
EndSection

Section "Screen"
   Identifier   "LCD"
   Device      "LCD"
   Monitor      "LCD"
   DefaultDepth   24
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

Section "Screen"
   Identifier   "TV"
   Device      "TV"
   Monitor      "TV"
   DefaultDepth   24

   SubSection "Display"
      Depth   24
      Modes   "1024x768" "800x600" "640x480"
   EndSubSection
EndSection



Section "dri"
Mode 0666
EndSection


If this helps with TV-out, then great.
_________________
[Owner/Operator: Dhampir Dreams]
Last.fm profile
Netflix Profile
Back to top
View user's profile Send private message
otakuj462
n00b
n00b


Joined: 27 Jun 2006
Posts: 32

PostPosted: Thu Jul 06, 2006 4:48 am    Post subject: Mic jack Reply with quote

Excellent thread!
My current priority is to get the mic jack to work. Right now I'm using the alsa-driver package, and it works just fine for audio output, but audio input through the mike jack is very lossy and distorted.
I've found a thread where a guy who own an Inspiron 1300, a laptop with the same Intel HDA soundcard, reported getting his audio input to work by patching his ALSA drivers. Unfortunately, he didn't post the details on how he patched the drivers, and there's not enough in the thread for me to infer how he did it. Read the thread and you'll see that the idea is to use lspci -nv to find your subvendor and subsystem numbers, then grep for them in /alsa-driver-1.0.11/alsa-kernel/pci/hda, and finally modify the code that you find so that it's using the right subsystem number. Unfortunately, this procedure doesn't work on my laptop because my subvendor number ( 1280 ) doesn't return any hits in that directory. So I'm stumped at the moment.
I emailed the guy a few days ago but haven't heard back. If anyone wants to look the post over, please let me know if you have any ideas as to how to get this to work.

-Jake
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4665
Location: Theux (Belgium)

PostPosted: Fri Jul 07, 2006 4:39 pm    Post subject: Reply with quote

I have good news for you (if you own a 9400): Mic jack input works!

I discovered it by chance when I happened to install Skype 1.3. I made a test call and noticed with pleasure my micrcophone was working perfectly. Now I can call my friends again 8) .

Tips
  • Using Gentoo Sources 2.6.17 (unpatched now since SD Card reader is built-in)
  • Using kernel ALSA driver, not portage's

_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
otakuj462
n00b
n00b


Joined: 27 Jun 2006
Posts: 32

PostPosted: Sat Jul 08, 2006 2:21 pm    Post subject: Reply with quote

Quote:

I have good news for you (if you own a 9400): Mic jack input works!


I read your post, then upgraded to 2.6.17. Unfortunately, the mic's still not working. I'm using the kernel's ALSA drivers, not portage's, so I'm not sure where the error is. Still, I'm full of hope! Is there any chance you could post your kernel config and your /etc/modules.d/alsa configuration file?
Thanks.

-Jake
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4665
Location: Theux (Belgium)

PostPosted: Sat Jul 08, 2006 4:33 pm    Post subject: Reply with quote

Code:
$ zgrep -i snd /proc/config.gz
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
# CONFIG_SND_SEQUENCER is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_RTCTIMER=y
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
CONFIG_SND_HDA_INTEL=m
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_VXPOCKET is not set
# CONFIG_SND_PDAUDIOCF is not set

Code:
$ egrep -v '^ *$|^#' /etc/modules.d/alsa
alias char-major-116 snd
alias char-major-14 soundcore
alias /dev/mixer        snd-mixer-oss
alias /dev/dsp          snd-pcm-oss
alias /dev/midi         snd-seq-oss
alias snd-card-0        snd-hda-intel
alias sound-slot-0      snd-hda-intel
alias sound-service-0-0         snd-mixer-oss
alias sound-service-0-1         snd-seq-oss
alias sound-service-0-3         snd-pcm-oss
alias sound-service-0-8         snd-seq-oss
alias sound-service-0-12        snd-pcm-oss

_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
otakuj462
n00b
n00b


Joined: 27 Jun 2006
Posts: 32

PostPosted: Sat Jul 08, 2006 10:43 pm    Post subject: Reply with quote

Built my kernel and alsa config file to VinzC's exact specifications, but the issue still hadn't changed. I then tried something which now seems very like a very obvious troubleshooting maneuver: rather than sending my audio input into the computer using a microphone, I sent it in directly from my mp3 player. The audio captured fine. As the mic/line jack is shared on this model laptop, and it's the driver's responsibility to handle switching the impedence, it seems definitive that the problem is confined to the drivers' handling of this particular jack. My questions now are as follows:
Are the linux drivers capable of switching from mic to line-in?
If so, how do I make them do it?
Is it possible to run a windows virtual machine within gentoo that will interact with the mic jack in the correct way? [EDIT: Scratch this idea off the list. I just realized what "virtual machine" meant in terms of interaction with my real hardware :P ]
Is it even worth trying to salvage the mic jack when bluetooth and usb are ready alternative vectors?

If anyone has any insight into the above questions, I'd appreciate hearing it.
Thanks.

-Jake
Back to top
View user's profile Send private message
otakuj462
n00b
n00b


Joined: 27 Jun 2006
Posts: 32

PostPosted: Mon Jul 10, 2006 1:21 pm    Post subject: Reply with quote

Bitte schoen.
I just bought a bluetooth dongle and headset on ebay, so I'm going to be redirecting my efforts toward getting that working, but I don't feel right about leaving this issue totally unresolved. The impedence of the mic jack is set on mic mode for some people, and line-in mode for others, and apparently it can switch from one to the other, as occured with VinzC. Unfortunately, discovering the mechanism behind this is way beyond my level of skill. I'd like to get it working, but at the moment I'm stuck...
Back to top
View user's profile Send private message
dinsmore
n00b
n00b


Joined: 19 Apr 2006
Posts: 54

PostPosted: Tue Jul 11, 2006 2:59 am    Post subject: DELL Inspiron E1505 Reply with quote

Hi everyone,
I have just recently bought a DELL Inspiron E1505, Core Duo 1.83 GHz, 1GB Memory, SATA 100GB HDD, DVD+RW and some other nice toys...
I'm having a few problems with some things... My soundcard works, but the strange thing is that in the mixer I have no option for PCM Volume or what so ever, just the MASTER switch and INPUT GAIN. It was supposed to be a SoundBlaster Audigy with HD audio, but lspci recognizes it as an intel sound card... :S
The other problem I'm having is with the videocard (or at least I suppose that's the problem), because mplayer can't play in fullscreen and xine is really "jumpy". At first I thought it was a problem with the dvd drive, since I tried watching a dvd and it was really slow, but now i've just tried to play an mpeg movie with xine directly form the HDD and it's also slow... Any ideas?
My assumption on the dvd drive was due to dma not working :?

Here's some info you may need:

Code:
# lspci

00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile PCI Express Graphics Port (rev 03)
00:1b.0 Class 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=IDE (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 7149
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
03:01.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
0b:00.0 Network controller: Intel Corporation Unknown device 4222 (rev 02)



Code:

# hdparm -i /dev/hdc

/dev/hdc:

 Model=TSSTcorp DVD+/-RW TS-L532B, FwRev=DE04, SerialNo=0010322254
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=2048kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2
 AdvancedPM=no
 Drive conforms to: Reserved:

 * signifies the current active mode


Code:
hdparm -d1 /dev/hdc

/dev/hdc:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)




This is the output that xine gives after a while when I try to play the file, don't know if it has anything to do:

Code:
This is xine (X11 gui) - a free video player v0.99.4.
(c) 2000-2004 The xine Team.
video_out_opengl: compiled for BGRA output, but missing extension.
video_out_opengl: compiled for BGRA output, but missing extension.


I know that I'm missing something, but I can't remember now, I guess you'll tell me if you need any aditional info.
Anyway, thanks for the time :)
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4665
Location: Theux (Belgium)

PostPosted: Tue Jul 11, 2006 10:43 pm    Post subject: Reply with quote

dinsmore,

I'm afraid your sound card is indeed an Intel HD Audio only. So the appropriate kernel setting is SND_HD_AUDIO, as I mentionned before. As for your hard drive CDROM problem, have you updated your system ever since you first installed it? The latest version of hdparm now supports SATA drives (IIRC).

EDIT: Note I'm surpsised your CDROM lists as hda instead of sda... Didn't you enable any ATA kernel option instead of SATA?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
dinsmore
n00b
n00b


Joined: 19 Apr 2006
Posts: 54

PostPosted: Wed Jul 12, 2006 1:27 pm    Post subject: Don't know... Reply with quote

What do you mean if I enabled any ATA drivers instead of SATA? Should I enable only and only SATA support ? I think I did enable some ATA options
I enabled <*> ATA/ATAPI/MFM/RLL support
and also <*> Include IDE/ATAPI CDROM support
and some other options in the ATA/ATAPI/etcetc section.
Sould I remove them from the kernel ?? I thought that even if I enabled some "unnecesary options" they would just remain unused until they are needed to.

I just updated hdparm (current version now is 6.3), tried again enabling dma for /dev/hdc, still getting the same output... :(

EDIT: I think I need to enable the ATA support, since when I do an hdparm -I on the device, it says ATAPI.

Code:
# hdparm -I /dev/hdc

/dev/hdc:

ATAPI CD-ROM, with removable media
        Model Number:       TSSTcorp DVD+/-RW TS-L532B             
        Serial Number:      0010322254         
        Firmware Revision:  DE04   
Standards:
        Used: ATAPI for CD-ROMs, SFF-8020i, r2.5
        Supported: CD-ROM ATAPI-2
Configuration:
        DRQ response: 50us.
        Packet size: 12 bytes
Capabilities:
        LBA, IORDY(can be disabled)
        Buffer size: 2048.0kB
        DMA: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 *udma2
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    NOP cmd
           *    DEVICE RESET cmd
           *    PACKET command feature set
           *    Power Management feature set
           *    Mandatory FLUSH CACHE command
HW reset results:
        CBLID- above Vih
        Device num = 0 determined by CSEL
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4665
Location: Theux (Belgium)

PostPosted: Wed Jul 12, 2006 3:05 pm    Post subject: Reply with quote

If the CD/DVD Writer is ATA the controller is SATA. There is a SATA/ATA bridge inbetween. I personnally unselected any ATA feature in my kernel config and my CD/DVD writer appears as /dev/sr0 (udev true node) instead of /dev/hdx. I don't even run hdparm at boot and yet have DMA enabled (don't ask...)
Code:
Jul 10 08:36:22 solo [17179573.376000] ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xBFA0 irq 14
Jul 10 08:36:22 solo [17179573.644000] ata1: dev 0 ATA-7, max UDMA/100, 156301488 sectors: LBA48
Jul 10 08:36:22 solo [17179573.652000] ata1: dev 0 configured for UDMA/100
Jul 10 08:36:22 solo [17179573.652000] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xBFA8 irq 15
Jul 10 08:36:22 solo [17179573.972000] ata2: dev 0 ATAPI, max UDMA/33
Jul 10 08:36:22 solo [17179574.136000] ata2: dev 0 configured for UDMA/33

I can play DVDs successfully without the slightest hitch.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
dinsmore
n00b
n00b


Joined: 19 Apr 2006
Posts: 54

PostPosted: Thu Jul 13, 2006 2:31 pm    Post subject: /dev/sr0 now, but playback still jumpy Reply with quote

Ok, I tried what you said and unabled all ATA support, recompiled and rebooted. Now my dvd drive is recognised as /dev/sr0 :)
But when I try to play a dvd it's still "jumpy", and after playing for a while in xine an alert comes up saying that the level of frames dropped is too high.
The final output of xine is the following:
Code:
video_out_opengl: compiled for BGRA output, but missing extension.
video_out_opengl: compiled for BGRA output, but missing extension.

I'm guessing it has something to do with the video card the n, since I can't either get fullscreen in mplayer or in xine... I'm using the ATI propietary drivers, but I think that they are working rather buggusly... :S
Any ideas? if not, I'll just try reinstalling the drivers... :S
Back to top
View user's profile Send private message
poOoch
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2003
Posts: 77
Location: Ulm / Germany

PostPosted: Sat Jul 15, 2006 11:44 am    Post subject: Reply with quote

Finally got suspend2 working.
Using latest suspend2-sources and ati-drivers ~x86.

Loaded Modules :
Code:

Module                  Size  Used by
ipw3945               109472  1
vmnet                  27052  9
vmmon                 180556  0
fglrx                 382956  51
agpgart                26340  1 fglrx
ieee80211              29768  1 ipw3945
sdhci                  12800  0
snd_hda_intel          14356  1
mmc_core               18560  1 sdhci
ieee80211_crypt         5120  1 ieee80211
b44                    20236  0
snd_hda_codec         134912  1 snd_hda_intel


/etc/hibernate/suspend2.conf
Code:

UseSuspend2 yes
Reboot no
EnableEscape yes
DefaultConsoleLevel 1
Compressor lzf
Encryptor none
PowerdownMethod 5
ProcSetting extra_pages_allowance 120000
ProcSetting userui_program /sbin/suspend2ui_text
Include common.conf


/etc/hibernate/common.conf
Code:

Verbosity 0
LogFile /var/log/hibernate.log
LogVerbosity 1
Distribution gentoo
SaveClock restore-only
FullSpeedCPU yes
LockGnomeScreenSaver yes
UnloadBlacklistedModules yes
LoadModules auto
RestartServices laptop_mode
SwitchToTextMode yes


Added atieventsd.rc6 to runlevel default
Code:
atieventsd.rc6                                                     [ started  ]


In case anyone is interested in using suspend2.
Next step will be a working suspend to RAM.

Cheers
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4665
Location: Theux (Belgium)

PostPosted: Sat Jul 15, 2006 1:07 pm    Post subject: Re: /dev/sr0 now, but playback still jumpy Reply with quote

dinsmore wrote:
Ok, I tried what you said and unabled all ATA support, recompiled and rebooted. Now my dvd drive is recognised as /dev/sr0 :)

Fine, that's how it got to be :)

dinsmore wrote:
But when I try to play a dvd it's still "jumpy", and after playing for a while in xine an alert comes up saying that the level of frames dropped is too high.
The final output of xine is the following:
Code:
video_out_opengl: compiled for BGRA output, but missing extension.
video_out_opengl: compiled for BGRA output, but missing extension.

I'm guessing it has something to do with the video card the n, since I can't either get fullscreen in mplayer or in xine... I'm using the ATI propietary drivers, but I think that they are working rather buggusly... :S
Any ideas? if not, I'll just try reinstalling the drivers... :S

I found on google that it is because 3D acceleration is missing. You should enable 3D acceleration first. Follow the HOWTO for ATI (I have an nVidia so can't help much more). See this page for a complete FAQ on ATI. It basically says you can run the following command to tweak your existing xorg.conf for ATI:
Code:
aticonfig

_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4665
Location: Theux (Belgium)

PostPosted: Sat Jul 15, 2006 1:11 pm    Post subject: Reply with quote

poOoch wrote:
Finally got suspend2 working [...]

Wonderful! Thanks a lot. Did you by chance check whether your laptop also freezes when closing the lid? Mine does (I think) because ipw3945 is active while a graphics console is active. If I switch to a text console or disable WiFi no lockup occurs.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
poOoch
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2003
Posts: 77
Location: Ulm / Germany

PostPosted: Sat Jul 15, 2006 1:38 pm    Post subject: Reply with quote

Closing the lid doesn't lead to a freeze, cause i configured it to only blank the screen (with gnome power manager). Normally closing the lid should proceed a suspend to ram, but this is (still) not working.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 4 of 9

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum