All working, mostly as intended. I do still get occasional hangs, but only seems to be when adding new connections with "sudo nm-connection-editor" (I'm now having the nm-applet permissions issue noted elsewhere in the forum). Otherwise, things are working well.

Thanks again

Hi all,

I'm running a fresh #! statler install, upgraded to testing repos on an Acer Aspire One 722. The new kernel solved my standby/hibernate issues, but I've noticed a few small issues:

1. No volume icon, and sound volume is really low (I created asound.rc, to tell #! which sound card to use, but that's the only modification I made)

2. I frequently have to copy (or cut) twice before it "sticks". e.g. I right-click on a file in thunar (or text in chromium), and click copy, and it doesn't do anything. If I do it again, I can then paste it where I want. Same happens with ctrl-c.

3. When I resume from standby, my tray icons are all present but have moved multiple spaces to the left, with several blank spaces in between the icons and the clock. This is compounded each time I standby/resume.

Anyone have any ideas?

Thanks,

Lee

I found a post on ubuntu forums, which suggested switching the boot order in the bios, so that "network boot" comes first. I did that, rebooted, re-enabled network manager and rebooted again. Voila! Net connection has been up for about 10 minutes using nm-applet. All seems to be working now - not sure why the bios boot order is important, but this seems to be the fix for now.

Thank you for all your help. This has been pretty frustrating, but now it looks like it's working as it's supposed to. Now, I just need to check whether standby/resume is still working!

Wish me luck!

p.s. switched my DNS servers to openDNS as you suggested, thanks.

Lee

if things are working ok for you, then I would say don't update the kernel just yet... just my personal philosophy!

Hi CrazyIvan,

I'm not sure if this is related, but here goes:

I'm also using an Acer Aspire One (722), and had no luck with standby/hibernate. It would look like it worked ok, but I'd get a blank screen when I tried to resume from either. I never left it long enough to see if the battery was draining.

The standby/hibernate issues were completely resolved by upgrading to the 3.0 kernel. For me, that meant upgrading to testing, but it should also be possible in stable. There is a 3.0 liquorix kernel that has been modified to work with squeeze, for example.

Please note, though, that my laptop is still not perfect with this setup. I was experiencing system hangs on startup, which were mostly resolved by disabling network manager and compiling/installing the latest compat-wireless drivers. For more info, check out my other thread:

http://crunchbanglinux.org/forums/post/166500/#p166500

I'm not sure what model of Aspire One you have, so this may or may not be entirely relevant. Hope it helps!

Lee

Hi,

Thanks for reminding me of the correct way to connect with a WPA key. Now that I'm on my home network, I made the changes to /etc/network/interfaces, and it connected first time. I'm still worried that it hung multiple times, though, as I do connect to multiple wifi networks in any given week (work, home, mobile, etc).

Here is the content of /etc/resolve.conf:

nameserver 10.0.0.1

Before I connected to my home network, the name server line was 192.168.43.1

This is /etc/dhcp/dhclient.conf before I connected to home network:

# Configuration file for /sbin/dhclient, which is included in Debian's
#    dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
#    man page for more information about the syntax of this file
#    and a more comprehensive list of the parameters understood by
#    dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
#    not leave anything out (like the domain name, for example), then
#    few changes must be made to this file, if any.
#

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;

#send host-name "andare.fugue.com";
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
    domain-name, domain-name-servers, domain-search, host-name,
    netbios-name-servers, netbios-scope, interface-mtu,
    rfc3442-classless-static-routes, ntp-servers;
#require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/etc/dhcp3/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;

#alias {
#  interface "eth0";
#  fixed-address 192.5.5.213;
#  option subnet-mask 255.255.255.255;
#}

#lease {
#  interface "eth0";
#  fixed-address 192.33.137.200;
#  medium "link0 link1";
#  option host-name "andare.swiftmedia.com";
#  option subnet-mask 255.255.255.0;
#  option broadcast-address 192.33.137.255;
#  option routers 192.33.137.250;
#  option domain-name-servers 127.0.0.1;
#  renew 2 2000/1/12 00:00:01;
#  rebind 2 2000/1/12 00:00:01;
#  expire 2 2000/1/12 00:00:01;
#}

And the same file after connecting to my home network:

leeko@leekotest:~$ cat /etc/dhcp/dhclient.conf 
# Configuration file for /sbin/dhclient, which is included in Debian's
#    dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
#    man page for more information about the syntax of this file
#    and a more comprehensive list of the parameters understood by
#    dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
#    not leave anything out (like the domain name, for example), then
#    few changes must be made to this file, if any.
#

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;

#send host-name "andare.fugue.com";
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
    domain-name, domain-name-servers, domain-search, host-name,
    netbios-name-servers, netbios-scope, interface-mtu,
    rfc3442-classless-static-routes, ntp-servers;
#require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/etc/dhcp3/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;

#alias {
#  interface "eth0";
#  fixed-address 192.5.5.213;
#  option subnet-mask 255.255.255.255;
#}

#lease {
#  interface "eth0";
#  fixed-address 192.33.137.200;
#  medium "link0 link1";
#  option host-name "andare.swiftmedia.com";
#  option subnet-mask 255.255.255.0;
#  option broadcast-address 192.33.137.255;
#  option routers 192.33.137.250;
#  option domain-name-servers 127.0.0.1;
#  renew 2 2000/1/12 00:00:01;
#  rebind 2 2000/1/12 00:00:01;
#  expire 2 2000/1/12 00:00:01;
#}

Hopefully this can shed some light on things.

It looks like using a GUI interface for my wifi connection isn't a viable option at the moment. Is it possible to add multiple networks into the /etc/network/interfaces file, so I don't have to constantly edit it (eg going between home and work networks)?

Thanks again for all your help,

Lee

Hi,

Thanks for your suggestion. I installed the latest compat-wireless as you suggested. Still getting hangs on startup, so I disabled network manager again. For the last week, I was able to use the wireless with CLI and iwconfig. I was connecting exclusively to open networks (I was on vacation; the hotel used http authentication).

Just got back home, and tried to connect to a WPA secured network. Realised it was more tricky on the CLI, so tried to install wicd. As soon as I started wicd-gtk, the system hung again... I restarted, tried again, and it hung again. restarted, uninstalled wicd, and... Now my system hangs any time I try "sudo dhclient wlan0". This is happening even with unsecured networks. Very frustrating!

I have no clue what's causing my system to hang, beyond the knowledge that it only happens on wireless connection. Can anyone make any sense of this?

Thanks,

Lee

Can anyone provide a step-by-step for recompiling the brcmsmac driver? I'm not sure where to start...

Thanks

Yup,

Lspci -knn gives me the above line, and shows the kernel module is brcmsmac. After enabling the wlan0 connection, i have a working connection but the computer hangs after a variable time.

I didn't compile the module, but did install brcmsmac per the debian wiki. I haven't yet tried to compile wl (don't currentlt have access to a wired connection).

Thanks,

Lee

Hi,

Thanks for the instructions. It hung as soon as I hit enter after "sudo ifup wlan0", so I don't think it's networkmanager to blame. How do I re-enable networkmanager?

Thanks again,

Lee

ok, I made some progress...

I started from scratch, installed crunchbang, updated, then upgraded to testnig per the how-to. Have not installed any proprietary drivers. Can boot into the 3.0.0.1 kernel, and it seems to work well. Standby works. Sound doesn't work, but I know how to fix it.

Wifi doesn't work off the bat. I had to install wireless-tools and firmware-brcm80211, then reboot. brcmsmac module loads, and nm-applet sees my network. Clicking it doesn't connect. I have to add the network manually (as root, using nm-connection-editor), then it connects.

BUT!

As soon as it connects, the desktop hangs completely. Keyboard/mouse don't work, can't switch to command line, nuthin... Have to cut the power to get it working again.

This seems to be the same issue I was having with my previous installation (only I didn't realise it was the wifi connection causing the hang). The hang seems to occur around the time of the wifi connection. I believe it wasn't happening in my 2.6.32-5 kernel because brcmsmac wasn't being loaded and it was using wl instead.

I will try to blacklist brcmsmac, forcing use of wl... Will post back here with the results.

Meantime, does anyone know of a fix for this issue (or how to troubleshoot it)? I understand that the wl driver is full of it's own problems, so I'd prefer to use the recommended brcmsmac module if at all possible...

Thanks,

Lee

ugh...

ok, looks like a megabackup is in order.

Thanks for all your help. Will post back here when I get around to it (might take a while before I have the time to do it, though!).

Lee

Thanks. Is it possible to upgrade just the kernel and its dependencies from testing, similar to what I did with backports?

When I try to do this by apt-pinning and selectively upgrading the kernel, it gives me:

leeko@Leekotop:~$ sudo apt-get -t wheezy install linux-image-3.0.0-1-amd64 linux-source-3.0.0 linux-headers-3.0.0-1-amd64 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  cpp-4.4 cpp-4.5 firmware-linux-free g++-4.4 gcc-4.4 gcc-4.4-base gcc-4.5 gcc-4.5-base
  gcc-4.6-base gcj-4.4-base lib32gcc1 lib32stdc++6 libc-bin libc-dev-bin libc6 libc6-dev
  libc6-i386 libelfg0 libgcc1 libgfortran3 libgmp10 libgomp1 libmpc2 libquadmath0
  libstdc++6 libstdc++6-4.4-dev linux-headers-2.6-amd64 linux-headers-3.0.0-1-common
  linux-headers-amd64 linux-kbuild-3.0.0 locales make pkg-config
Suggested packages:
  gcc-4.4-locales gcc-4.5-locales g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg
  gcc-4.4-multilib libmudflap0-4.4-dev libgcc1-dbg libgomp1-dbg libmudflap0-dbg
  libcloog-ppl0 libppl-c2 libppl7 gcc-4.5-multilib libmudflap0-4.5-dev gcc-4.5-doc
  binutils-gold glibc-doc libstdc++6-4.4-doc linux-doc-3.0.0 libncurses-dev ncurses-dev
  kernel-package libqt4-dev make-doc
The following packages will be REMOVED:
  gcc-4.3 linux-headers-2.6.32-5-amd64
The following NEW packages will be installed:
  cpp-4.5 gcc-4.5 gcc-4.5-base libelfg0 libgmp10 libmpc2 libquadmath0
  linux-headers-3.0.0-1-amd64 linux-headers-3.0.0-1-common linux-headers-amd64
  linux-image-3.0.0-1-amd64 linux-kbuild-3.0.0 linux-source-3.0.0
The following packages will be upgraded:
  cpp-4.4 firmware-linux-free g++-4.4 gcc-4.4 gcc-4.4-base gcc-4.6-base gcj-4.4-base
  lib32gcc1 lib32stdc++6 libc-bin libc-dev-bin libc6 libc6-dev libc6-i386 libgcc1
  libgfortran3 libgomp1 libstdc++6 libstdc++6-4.4-dev linux-headers-2.6-amd64 locales
  make pkg-config
23 upgraded, 13 newly installed, 2 to remove and 901 not upgraded.
Need to get 159 MB of archives.
After this operation, 239 MB of additional disk space will be used.
Do you want to continue [Y/n]? n

I'm a little worried that gcc-4.3 will be removed, as well as my linux headers for my only working kernel. Is that likely to cause problems?

Thanks,

Lee

Not before, but I removed and reinstalled it afterward. does that potentially make a difference?

What would be the benefit of migrating to testing? Is there a newer kernel still?

Thanks,

Lee

Hi,

I installed the backports 0.32 firmware-brcm80211, but had trouble in all 3 kernels. I can get my internet connection working in the standard kernel, but only if wl is allowed to load. Blacklisting it results in no kernel module being loaded, and no wifi. modprobe can't find either brcm80211 or brcmsmac.

In liquorix, it's the same story except it won't load wl either (even when not blacklisted).
In the backports kernel, it hangs before it gets that far...

Any other ideas? Thanks again!

Lee

Hi,

I tried blacklisting wl in /etc/modprobe.d/blacklist.conf. When I did, I tried booting into the backports kernel and it hung again after a few seconds. I booted into the liquorix kernel, and the wifi still wasn't working. Checking lspci -knn, it looks like no kernel module was loaded.

I tried "modprobe brcmsmac" and "modprobe brcm80211", and both returned a fatal: module not found error. I'm now back in the regular kernel with wl module. At least it gives me a useable connection..

Will try installing the 0.32 firmware-brcm80211 from backports. to see if it helps. Let me know if there are any specific instructions for loading brcmsmac module. I'm assuming it should load automatically once the backports 80211 firmware is installed?

Thanks,

Lee

Hi,

Thanks for the replies. This is the results of "sudo lspci -knn":

06:00.0 Ethernet controller [0200]: Atheros Communications AR8152 v2.0 Fast Ethernet [1969:2062] (rev c1)
    Subsystem: Acer Incorporated [ALI] Device [1025:0598]
    Kernel driver in use: atl1c
07:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
    Subsystem: Broadcom Corporation Device [14e4:0510]
    Kernel driver in use: wl

And, I do have brcm80211 installed (sorry, I meant to mention that alongside "broadcom-sta".

leeko@Leekotop:/etc/default$ apt-cache policy firmware-brcm80211
firmware-brcm80211:
  Installed: 0.28+squeeze1
  Candidate: 0.28+squeeze1
  Version table:
     0.32~bpo60+1 0
        100 http://backports.debian.org/debian-backports/ squeeze-backports/non-free amd64 Packages
 *** 0.28+squeeze1 0
        500 http://ftp.us.debian.org/debian/ squeeze/non-free amd64 Packages
        100 /var/lib/dpkg/status

These were obtained while booted into the standard kernel.

Should I install the 0.32 version of brcm80211 from backports?

Thanks,

Lee

18

(5 replies, posted in Help & Support (Stable))

Thanks for the responses folks. I wasn't able to get it working, but will live without multitouch for a while. Hopefully the next kernel upgrade will fix all my woes smile

Lee

Hi all,

I'm running CB statler (latest image) on an acer aspire 722-BZ197 with an AMD fusion C-50 APU and the latest catalyst driver. I have jupiter running, and had to edit a txt config file to get it to recognize the C-50 as a supported processor for the frequency control modes (just added in the CPU stepping revision).

Most things are working great. But, there are a couple of niggling issues:

- blank screen on return from standby or hibernate (consistent; never wakes up)
- doesn't recognize external monitor

I'm wondering whether a kernel upgrade might solve these issues, but I haven't had any luck. My current kernel is 2.6.32-5-amd64.

For the latest liquorix kernel, everything works the same as the standard kernel, except the wifi. I can't get it to see any wireless networks. I've installed the broadcom-sta  and BCM4313 packages, and it works fine in regular kernel. Standby still doesn't work.

I also tried the 2.6.39-bpo.2-amd64 kernel from backports, and it boots into the desktop, obtains a wifi connection (much quicker compared with standard kernel), then hangs completely. Keyboard/mouse don't respond, have to cut power. I tried to remove the AMD catalyst driver, but trying to boot into this kernel results in a totally garbled screen (regular boot, and also recovery mode).

Can anyone help me figure this out (either the problem with the backports kernel, or the issues outlined above with the standard kernel)? I'm not sure which (if any) logs would be most informative.

Thanks in advance for your help!

Lee

Hi all,

I'd like to have a couple of apps autostart on desktop 2, iconified if possible, but retain focus at startup on desktop 1. i.e. I want them to autostart but as quietly as possible. The apps are Zim wiki and claws-email.

I edited the autostart config, and they autostart fine. They also start on desktop 2, but neither will start iconified and the focus always shifts to desktop 2 when they start. If anyone can help me figure this out, I'd really appreciate it!

Autostart.sh:

## Start session manager
lxsession &

## Enable power management
xfce4-power-manager &

## Start Thunar Daemon
thunar --daemon &

## Set desktop wallpaper
nitrogen --restore &

## Launch panel
tint2 &

## Guake terminal
guake &

## Claws Email
claws-mail &

## Zim Desktop Wiki
zim &

rc.xml:

   </application>
        <application name="claws-mail">
      <decor>yes</decor>
      <shade>no</shade>
      <skip_pager>no</skip_pager>
      <skip_taskbar>no</skip_taskbar>
      <fullscreen>no</fullscreen>
      <iconic>yes</iconic>
      <desktop>2</desktop>
    </application>
    <application name="zim">
      <decor>yes</decor>
      <shade>no</shade>
      <skip_pager>yes</skip_pager>
      <skip_taskbar>yes</skip_taskbar>
      <fullscreen>no</fullscreen>
      <desktop>2</desktop>
      <iconic>yes</iconic>
    </application>

Thanks!

Lee

21

(5 replies, posted in Help & Support (Stable))

Hi all,

I'm running Statler 64-bit on my Acer Aspire One 722-BZ197 laptop. Almost everything is working well, but I can't seem to figure out how to enable the multitouch features on my touchpad. Basic functions work well, and the scroll area at the right works, but no multitouch. It works in Win7. I installed xserver-xorg-input-synaptics, and this is my xorg.conf:

Section "ServerLayout"
    Identifier     "aticonfig Layout"
    Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
    Load           "synaptics"
EndSection

Section "Monitor"
    Identifier   "aticonfig-Monitor[0]-0"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection

Section "Device"
    Identifier  "aticonfig-Device[0]-0"
    Driver      "fglrx"
    BusID       "PCI:0:1:0"
EndSection

Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device     "aticonfig-Device[0]-0"
    Monitor    "aticonfig-Monitor[0]-0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "synaptics"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
Option "TapButton1" "1"
Option "SpecialScrollAreaRight" "true"
Option "VertEdgeScroll" "true"
Option "VertTwoFingerScroll" "true"

EndSection

Section "InputClass"
        Identifier      "Touchpad"                      # required
        MatchIsTouchpad "yes"                           # required
        Driver          "synaptics"                     # required
        Option          "MinSpeed"              "0.5"
        Option          "MaxSpeed"              "1.0"
        Option          "AccelFactor"           "0.075"
        Option          "TapButton1"            "1"
        Option          "TapButton2"            "2"     # multitouch
        Option          "TapButton3"            "3"     # multitouch
        Option          "VertTwoFingerScroll"   "1"     # multitouch
        Option          "HorizTwoFingerScroll"  "1"     # multitouch
        Option          "VertEdgeScroll"        "1"
        Option          "CoastingSpeed"         "8"
        Option          "CornerCoasting"        "1"
        Option          "CircularScrolling"     "1"
        Option          "CircScrollTrigger"     "7"
        Option          "EdgeMotionUseAlways"   "1"
        Option          "LBCornerButton"        "8"     # browser "back" btn
        Option          "RBCornerButton"        "9"     # browser "forward" btn
        Option          "EmulateTwoFingerMinZ"  "35"
        Option          "EmulateTwoFingerMinW"  "8"
EndSection

Here is the output of "dmesg | grep -i touchpad" and "dmesg | grep -i mouse"

leeko@Leekotop:~$ dmesg | grep -i mouse
[    1.402043] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[    1.445093] mice: PS/2 mouse device common for all mice
leeko@Leekotop:~$ dmesg | grep -i touch
[    8.592392] Synaptics Touchpad, model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04731/0xa40000/0xa0000
[    8.729843] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input9

Anyone know how to get this working?

Thanks in advance,

Lee

Yes, but suspend/resume didn't work at all on that kernel.

Lee

Not solved! See my edit above...

I think this might need either a new kernel, or a new radeon driver. I'll keep fiddling in the meantime...

Lee

Figured it out, I think...

I had to edit /etc/init.d/loadcpufreq, to change the line "15|16|17" to "15|16|17|20". Rebooted, now jupiter shows the different power modes, and cpufreqinfo shows all the correct information. Wahoo!

In effect, the change adds CPU Family 20 (AMD Fusion C50 & E-350 included) to the recognized CPUs for the powernow-K8 module. That allows cpufreq to manage the speedstepping.

Now, I just have to run the battery down and see if it helped!

Lee

-------
Edit: ugh, spoke too soon... The speedstepping now works, but it broke my suspend/resume... I go back to a black screen on resume... Still open to ideas!

------------------

Hi all,

I installed CB Statler 64-bit on my new laptop, an Acer Aspire One 722-BZ197 with the AMD Fusion C50 APU.  After a few tweaks, I was able to get almost everything working great (sound, suspend/resume with fglrx).

But, I've noticed that my battery life is significantly less than it should be. It's a new laptop, and battery life is 5-7 hours in Win7 (and in all the reviews I read). In CB, I'm getting around 3.5 hours with wifi on. I'm using the latest kernel, but not liquorix because suspend doesn't work.

I installed powertop, and it gives me the following output:

Cn                Avg residency       P-states (frequencies)
C0 (cpu running)        (15.2%)
polling           0.0ms ( 0.0%)
C1                0.4ms ( 3.0%)
C2                3.7ms (81.8%)


Wakeups-from-idle per second : 286.9    interval: 10.0s
Power usage (ACPI estimate): 9.4W (1.0 hours) (long term: 11.1W,/0.8h)

Top causes for wakeups:
  61.0% (361.1)      <kernel IPI> : Rescheduling interrupts 
   9.0% ( 53.6)              java : futex_wait_queue_me (hrtimer_wakeup) 
   6.2% ( 36.7)            chrome : schedule_hrtimeout_range (hrtimer_wakeup) 
   5.7% ( 34.0)              java : schedule_hrtimeout_range (hrtimer_wakeup) 
   3.1% ( 18.2)       <interrupt> : ahci, brcm80211, HDA Intel 

A USB device is active 100.0% of the time:
USB device  3-2 : USB2.0-CRW (Generic)

 Q - Quit   R - Refresh   U - Enable USB suspend 

As I understand it, the "USB suspend" suggestion is not necessarily correct in powertop, and anyway pressing U doesn't seem to do anything. The device is my card reader, but it's also produced the same message about my webcam.

I also installed jupiter, thinking it might give me some options, but under "device control" it just says "disable touchpad".

Anyone have any suggestions for how to improve this?

Thanks in advance,

Lee