Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235253 - sys-apps/hal-0.5.11-r1: makes X freeze for seconds when changing backlight brightness
Summary: sys-apps/hal-0.5.11-r1: makes X freeze for seconds when changing backlight br...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-20 03:45 UTC by David De Sousa
Modified: 2009-02-03 17:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David De Sousa 2008-08-20 03:45:10 UTC
in a dell inspiron 1505, if I leave the computer alone for seconds, when I return and move the mouse, X freezes for seconds, it also happens when the brightness ie either in the maximum and I press Fn+Up (to increase the brightness) or in the minimum  and I press Fn+Down (to decrease it).

It does not happen if the brightness is in the middle and I press Fn+Up or Fn+Down

Reproducible: Always

Steps to Reproduce:
1. Get the backlit in the maximum brightness
2. Press Fn+Up
3. Bug appears

---

1. Get the backlit in the minimum brightness
2. Press Fn+Down
3. Bug appears

---

1. Leave the computer alone
2. After a while, move the mouse
Actual Results:  
X freezes for seconds

Expected Results:  
Don't freeze X

emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: 2.6.25-gentoo-r7 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Tue, 19 Aug 2008 07:45:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     9999
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/"
LINGUAS="es es_ES"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/david /usr/portage/local/layman/java-overlay /usr/portage/local/layman/zugaina /usr/portage/local/layman/desktop-effects"
SYNC="rsync://www.sonoclips.com/gentoo-portage"
USE="X a52 aac aalib acpi alsa amazon amr amrnb amrr amrwb ao apache2 audacious bash-completion battery berkdb bluetooth branding bundled-libs buttons bzip2 cairo cdr cpufreq crypt ctype cups curl cxx dbus dell divx dmi dmx dri dv dvd dvdnav dvdr dvdread enblend encode esd examples exif fbcon fbcondecor fbsplash ffmpeg firefox flac font-server fortran garmin gecko gif gimp ginac glitz gmail gmedia gnome gphoto2 gstreamer gtk gzip hal hddtemp iconv imlib innodb ipod ipw3945 java javascript joystick jpeg kdeenablefinal kqemu ladspa lame libcaca libedit libnotify libvisual libwww live lm_sensors mad matroska midi mikmod mjpeg mmx mmxext mng mozdevelop mp3 mp4 mpeg mplayer musepack musicbrainz mysql ncurses nfs nls nocd nptl nptlonly nsplugin offensive ogg old-daemons opengl oss pam pcap pcre pdf perl plugins png postgres ppds print profile python qhull qt3 qt3support qt4 quicktime readline real realmedia reiserfs remote samba sdl session sift skins sms snmp sound sox spell sse sse2 ssl ssse3 svg theora threads tiff tk truetype unicode unsupported usb userlocales v4l vcd vhosts vidix visualization vorbis wifi win32codecs wmf wmp wxwindows x264 x86 xcb xcomposite xine xinerama xml xorg xosd xprint xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="asym dmix empty iec958 ioplug plug softvol adpcm alaw copy dshare dsnoop extplug file hooks ladspa lfloat linear meter mulaw multi null rate route share shm" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="*" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash dbus_event" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES" USERLAND="GNU" VIDEO_CARDS="v4l vga fbdev i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


---
tail -f /var/log/messages
### Setting brightness from 6 to 7 (max)

Aug 19 23:11:57 universe hald-addon-dell-backlight: [5649]: 23:11:57.099 [D] addon-dell-backlight.cpp:250: Received GetBrightness DBUS call
Aug 19 23:11:57 universe hald-addon-dell-backlight: [5649]: 23:11:57.099 [D] addon-dell-backlight.cpp:85: Reading 7 from the AC backlight register

### Pressing Fn+Up once again
Aug 19 23:11:57 universe hald-addon-dell-backlight: [5649]: 23:11:57.101 [D] addon-dell-backlight.cpp:214: Received SetBrightness DBus call
Aug 19 23:11:58 universe hald-addon-dell-backlight: [5649]: 23:11:58.198 [E] addon-dell-backlight.cpp:116: Could not access the dcdbas kernel module. Please make sure it is loaded

---

lsmod

dcdbas                  8736  0 
i915                   31744  2 
drm                    82324  3 i915
ipv6                  261636  14 
aes_i586                8448  2 
aes_generic            29480  1 aes_i586
bnep                   16000  2 
rfcomm                 41232  12 
l2cap                  25728  16 bnep,rfcomm
i8k                     6552  1 
snd_hda_intel         328596  1 
arc4                    2176  2 
snd_pcm                77572  1 snd_hda_intel
ecb                     3840  2 
iwl3945                89716  0 
snd_timer              24068  1 snd_pcm
hci_usb                16412  3 
snd                    54436  5 snd_hda_intel,snd_pcm,snd_timer
bluetooth              61028  10 bnep,rfcomm,l2cap,hci_usb
mac80211              135692  1 iwl3945
snd_page_alloc         10504  2 snd_hda_intel,snd_pcm
i2c_i801               12432  0 
joydev                 12352  0
Comment 1 Saleem Abdulrasool (RETIRED) gentoo-dev 2008-09-04 03:24:19 UTC
Interesting.  What happens if you downgrade hal-info to the previous release?
Comment 2 NeoRiddle 2008-11-06 23:46:53 UTC
(In reply to comment #1)
> Interesting.  What happens if you downgrade hal-info to the previous release?
> 

Hi! I have the same problem with sys-apps/hal-0.5.11-r1 but if I downgrade to sys-apps/hal-0.5.9.1-r3 the problem disappears
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2009-02-03 17:22:21 UTC
(In reply to comment #2)
> Hi! I have the same problem with sys-apps/hal-0.5.11-r1 but if I downgrade to
> sys-apps/hal-0.5.9.1-r3 the problem disappears

That's not the downgrade you were asked to do though. Downgrade hal-info, not hal itself.