Opensuse 11.1 with KDE 4.1 on AspireOne 150

Discussion in 'Linux' started by sapo, Jan 6, 2009.

  1. sapo

    sapo

    Joined:
    Jan 6, 2009
    Messages:
    9
    Likes Received:
    0
    I installed Opensuse 11.1 with KDE 4.1 on AspireOne 150.
    It works almost perfekt :)
    3D Effects, cube, works very well, good grafic, sound, etc.
    Not working is
    - Cardreader:
    Works when Card is insite on boot
    - Webcam (ucv kernel already installed)
    - Wireless only works without encryption.
    Somebody already fixed this problems?
    Thanks
     
    sapo, Jan 6, 2009
    #1
  2. sapo

    cpchan

    Joined:
    Sep 22, 2008
    Messages:
    201
    Likes Received:
    0
    Put yourself in the "disk" group and relogin.

    Put yourself in the "video" group and relogin.

    Your should also add this to /etc/PolicyKit/PolicyKit.conf

    Code:
    <match action="org.freedesktop.hal.storage.mount-removable">
      <match user="your-user-name">
          <return result="yes"/>
       </match>
    </match>
    <match action="org.freedesktop.hal.storage.unmount-others">
      <match user="your-user-name">
          <return result="yes"/>
      </match>
    (replace "your-user-name" with your real user name or uid.)

    Don't know. Might need a newer driver.
     
    cpchan, Jan 6, 2009
    #2
  3. sapo

    sapo

    Joined:
    Jan 6, 2009
    Messages:
    9
    Likes Received:
    0
    Thanks for answering
    I put my in disk group, video already was enabled and I changed the PolicyKit.conf
    and reboot.
    Nothing changed :(
    as root user also the same problems
     
    sapo, Jan 6, 2009
    #3
  4. sapo

    cpchan

    Joined:
    Sep 22, 2008
    Messages:
    201
    Likes Received:
    0
    I am just going by my desktop system. I run a very customized system and am working on the last few kinks in 11.1 before installing it on my AA0.

    As to your card problem:

    1. Insert a card and run "fdisk -l" as root to find out the device for the card reader.

    2. Run "halmount <device>" under your normal account and post the output.

    As to your webcam problem, what is the output of "lsmod | grep uvc" under root?

    edit: You peeked my interest- I am going to install it now. Stay tuned.
     
    cpchan, Jan 6, 2009
    #4
  5. sapo

    sapo

    Joined:
    Jan 6, 2009
    Messages:
    9
    Likes Received:
    0
    Code:
    linux-aspire:/home/martin # fdisk -l
    
    Platte /dev/sda: 160.0 GByte, 160041885696 Byte
    255 Köpfe, 63 Sektoren/Spuren, 19457 Zylinder  
    Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
    Disk identifier: 0xa5cd7b50                         
    
       Gerät  boot.     Anfang        Ende     Blöcke   Id  System
    /dev/sda1   *           1        2612    20972857   83  Linux 
    /dev/sda2            2613       19196   133210980   83  Linux 
    /dev/sda3           19197       19457     2096482+  82  Linux Swap / Solaris
    linux-aspire:/home/martin #
    sda1 = /
    sda2 = data
    sda3 = swap

    Code:
    linux-aspire:/home/martin # lsmod | grep uvc
    uvcvideo               51412  0
    compat_ioctl32          1104  1 uvcvideo
    videodev               31236  1 uvcvideo
    v4l1_compat            13096  2 uvcvideo,videodev
    usbcore               167276  5 usb_storage,uvcvideo,ehci_hcd,uhci_hcd
    linux-aspire:/home/martin #
    The change of PolicyKit.conf made the usb key not mounable again in user, I change back.
    Thanks for helping
     
    sapo, Jan 6, 2009
    #5
  6. sapo

    sombrero

    Joined:
    Aug 6, 2008
    Messages:
    35
    Likes Received:
    0
    I tried Opensuse 11.1 with KDE3.5. Nearly everything worked out of the box. Even wifi (without LEDs) with ath5k kernel driver.
    Problems I encountered were:
    1) right card reader
    It was easily solved with a file in etc/modprobe.d containing this:
    Code:
    ####################################################################
    # Module options for the Acer AspireOne
    #
    # Enable USB card reader
    options pciehp pciehp_force=1
    install sdhci for i in 2381 2382 2383 2384; do /usr/bin/setpci -d 197b:$i AE=47; done; /sbin/modprobe --ignore-install sdhci
    and adding pciehp to the list of kernel modules to load at boot (can be done via Yast)

    2) Lan connection is very sloppy. Sometimes works, sometimes not. I tried with kNetwork and ifup. No success either.
    Quite strange because the kernel and kernel driver for the lan chipset (r8169) are the same as in ubuntu intrepid where it works flawlessly.
    I also tried installing the r8101 driver which fits more to the RTL8101E built in the AAO. The driver works but prevents shutdown of the AAO. So the problem is not solved for me yet.

    3) Webcam is not recognized by Kopete
    Not a real problem for me. In Skype it`s working perfectly.

    regards
    sombrero
     
    sombrero, Jan 7, 2009
    #6
  7. sapo

    sapo

    Joined:
    Jan 6, 2009
    Messages:
    9
    Likes Received:
    0
    I am not so fit in Yast. Can you explain me how to add this please?
    Thanks
     
    sapo, Jan 8, 2009
    #7
  8. sapo

    sombrero

    Joined:
    Aug 6, 2008
    Messages:
    35
    Likes Received:
    0
    It`s in Yast`s "system" part. Editor for /etc/sysconfig files. Open it and locate System/kernel/MODULES_LOADED_ON_BOOT. Put pciehp in there.
     
    sombrero, Jan 8, 2009
    #8
  9. sapo

    sapo

    Joined:
    Jan 6, 2009
    Messages:
    9
    Likes Received:
    0
    great Thanks
    Cardreader works now perfectly
     
    sapo, Jan 8, 2009
    #9
  10. sapo

    Dulwithe

    Joined:
    Dec 19, 2008
    Messages:
    18
    Likes Received:
    0
    The card reader fix is posted in the Mandriva section of this forum. It should work for most distros.

    Webcam, I don't know. Works fine in Mandriva.

    Wireless fix is easy in Mandriva. I have experienced your exact problem with Mandriva and other distros. In Mandriva, in advanced settings while editting wireless connection, go to "Advanced" dialogue, where there is a dhclient drop down box, change the selection to "dhcpcd" then okay, okay... (Mandriva will download some packages, then you should be able to connect to your wireless network A-ok). In Suse, you might find a spot to edit these things in a GUI, but if not, you need to do some command line editting (and I am sorry I can't help with that).

    D.
     
    Dulwithe, Jan 8, 2009
    #10
  11. sapo

    sombrero

    Joined:
    Aug 6, 2008
    Messages:
    35
    Likes Received:
    0
    Does anybody have an idea about the lan driver problem? Does it work better with KDE4.1?
     
    sombrero, Jan 8, 2009
    #11
  12. sapo

    cpchan

    Joined:
    Sep 22, 2008
    Messages:
    201
    Likes Received:
    0
    I installed it and got everything working.

    I am using the latest self compiled madwifi-hal drivers.

    To get the wifi led working put:

    Code:
    dev.wifi0.ledpin=3
    dev.wifi0.softled=1
    in /etc/sysctl.conf. You might need to upgrade to the latest madwifi-hal drivers for this to work.

    To get the wifi kill switch working, put:

    Code:
    /usr/bin/setkeycodes e055 159
    /usr/bin/setkeycodes e056 158
    in your /etc/rc.d/boot.local. You might also want to upgrade to the latest madwifi-hal drivers.

    Yes, I did that too, I got it from the gentoo wiki.

    I have no problems with lan. It works flawlessly for me using the stock kernel driver.

    You need to set the input format to yuv in your program. OK just tested kopete out- there is no way to set that. It wouldn't work even with the webcam connected to my main desktop computer.

    To get suspend to ram to work properly, put:

    Code:
    S2RAM_OPTS="-f"
    in a file (I can it config) in /etc/pm/config.d

    I cannot get hibernate to work until I edit my Policykit.conf (I just gave myself permission for everything):

    Code:
    <config version="0.1">
    <match action="org.freedesktop.hal.storage.mount-removable">
      <match user="hoor">
          <return result="yes"/>
       </match>
    </match>
    <match action="org.freedesktop.hal.storage.unmount-others">
      <match user="your user name or uid">
          <return result="yes"/>
      </match>
    </match>
    </config>
    However, I am not using any desktop environments. You might or might not need to do this, Just replace "your user name or uid" with the really thing.

    Some people have trouble with sound after suspend, put:

    Code:
    options snd-hda-intel model=acer
    in your /etc/modprobe.d/sound
     
    cpchan, Jan 9, 2009
    #12
  13. sapo

    cpchan

    Joined:
    Sep 22, 2008
    Messages:
    201
    Likes Received:
    0
    What are the symptoms? Although I don't use any desktop environments I do use knetwork to control NetworkManager. I have no problems.

    Maybe the dhcp lease time on your router is set to really short so it is spending time negotiating.
     
    cpchan, Jan 9, 2009
    #13
  14. sapo

    cpchan

    Joined:
    Sep 22, 2008
    Messages:
    201
    Likes Received:
    0
    I went another route and put:

    Code:
    modprobe pciehp
    in /etc/rc,d/boot.local. However, now that I know it works, I am going to include the module in my initrd.
     
    cpchan, Jan 9, 2009
    #14
  15. sapo

    sombrero

    Joined:
    Aug 6, 2008
    Messages:
    35
    Likes Received:
    0
    If I plug in the lan cable sometimes a connection is established, mostly not. If I boot the AAO with the lan cable plugged it is the same.
    I checked in a terminal and found that no device (eth0) is set when connection fails.
    Once eth0 is present I can unplug and plug again and everything is working as it should until next boot.
    OpenSuse is the only distro that has these issues for me. Ubuntu (all tastes), Mandriva, Fedora worked flawlessly in that regard.
     
    sombrero, Jan 9, 2009
    #15
  16. sapo

    cpchan

    Joined:
    Sep 22, 2008
    Messages:
    201
    Likes Received:
    0
    Strange, I can't reproduce this. As soon as I plug in the cable, the "gear" starts spinning in knetwork and it connects. Can you post your /etc/NetworkManager/system-connections/System.eth0? Also, please post the output of ifconfig after a reboot with no cable plugin.

    I wonder why it is working flaky for you since they use the some software- NetworkManager.
     
    cpchan, Jan 9, 2009
    #16
  17. sapo

    sombrero

    Joined:
    Aug 6, 2008
    Messages:
    35
    Likes Received:
    0
    I went back to Ubuntu Intrepid meanwhile. So I cannot give you any outputs at the moment. As I remember eth0 did not show up in ifconfig when the connection failed.
    What version of knetworkmanager do you use, kde3 or kde4?
     
    sombrero, Jan 10, 2009
    #17
  18. sapo

    cpchan

    Joined:
    Sep 22, 2008
    Messages:
    201
    Likes Received:
    0
    Both works fine for me. However, I read in some Ubuntu forums that some people have better luck with wird:

    http://wicd.sourceforge.net/

    You might want to give that a try.
     
    cpchan, Jan 10, 2009
    #18
  19. sapo

    cpchan

    Joined:
    Sep 22, 2008
    Messages:
    201
    Likes Received:
    0
    I removed all traces of KDE3 from my system (include the KDE3 version of KNetworkmanager) and suddenly eth0 went flaky on me. However, I got everything to be reliable again by deleting the file /etc/NetworkManager/system-connection/System eth0. That file was never recreated again, but everything works *rebooted several time as a test). Maybe this will solve your problem too.
     
    cpchan, Jan 11, 2009
    #19
  20. sapo

    sombrero

    Joined:
    Aug 6, 2008
    Messages:
    35
    Likes Received:
    0
    I have restored OpenSuse now and removed /etc/NetworkManager/system-connection/System eth0 but it was no difference.

    Then I investigated a little more and found a lot of pciehp-warnings on boot up everytime when eth0 failed. When eth0 worked there were no warnings. So I removed pciehp from the modules list in /etc/sysconfig/kernel after "MODULES_LOADED_ON_BOOT" and voila it works now!
    I suppose there was a timing conflict between setup of r8169 and pciehp.

    Where did you put the call of pciehp?

    BTW: I like OpenSuse 11.1 very much because it is far more responsive than any other distro I tried before even with only 512MB RAM. Also glxgears shows up with more than 1200fps! It looks like people in Nuernberg sorted out the Intel video driver problems...
     
    sombrero, Jan 11, 2009
    #20
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.