LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-29-2011, 07:45 AM   #61
ricky_cardo
Member
 
Registered: Feb 2006
Location: Syracuse, NY
Distribution: Slackware64-Current
Posts: 210

Rep: Reputation: 76

I can't seem to get the battery applet to report remaining percentage. The applet changes color from Green to Yellow but always reports 100%. So when it is Yellow (power source removed it reports 100% remaining.) when I plug it in it goes green and reports 100% and 5 min to recharge? these commands below seem to be right on, any ideas?

Code:
cat /proc/acpi/battery/BAT0/info
present: yes
design capacity: 4300 mAh
last full capacity: 4172 mAh
battery technology: rechargeable
design voltage: 10800 mV
design capacity warning: 418 mAh
design capacity low: 209 mAh
cycle count: 0
capacity granularity 1: 43 mAh
capacity granularity 2: 43 mAh
model number: 1201T
serial number:
battery type: LION
OEM info: ASUS
Code:
cat /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: discharging
present rate: 1419 mA
remaining capacity: 2785 mAh
present voltage: 11183 mV
 
Old 01-29-2011, 08:33 AM   #62
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
sorry, which version are you using? the stable ones are built with slackbuilds.org scripts, the -current ones with my slackbuilds.org's git fork for current.

if you're using slackware64-13.1 (like in your profile), could you please try this package?

EDIT: it seems it doesn't work also here on -current, so I suspect it's an old problem fixed incorrectly.

Last edited by ponce; 01-29-2011 at 08:47 AM.
 
1 members found this post helpful.
Old 01-29-2011, 12:48 PM   #63
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
the problem seems to be the commit linked above, tried to revert it and the battery level seems to be correctly detected here, also if it still doesn't calculate recharging time.

if you are using current (x86 or x86_64) I updated the packages for that: can you try them?
 
1 members found this post helpful.
Old 01-29-2011, 04:51 PM   #64
ricky_cardo
Member
 
Registered: Feb 2006
Location: Syracuse, NY
Distribution: Slackware64-Current
Posts: 210

Rep: Reputation: 76
Jackpot!!! wow that rocks!!! I grabbed your slackware64-current (lxpanel-20110105_5507276-x86_64-2ponce.txz)
You the man !!! ps love the work you've done on lxde!!! Battery applet seems straight!
 
Old 02-10-2011, 03:39 PM   #65
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381

Rep: Reputation: 38
I can't get usb drive to auto mount. I updated glib2, is there something else I'm missing?

Slack 13.1

Output of dmesg
Code:
scsi 7:0:0:0: Direct-Access     SanDisk  Cruzer           1.01 PQ: 0 ANSI: 2
sd 7:0:0:0: Attached scsi generic sg2 type 0
sd 7:0:0:0: [sdb] 3908352 512-byte logical blocks: (2.00 GB/1.86 GiB)
sd 7:0:0:0: [sdb] Write Protect is off
sd 7:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sd 7:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sd 7:0:0:0: [sdb] Attached SCSI removable disk
 
Old 02-10-2011, 11:25 PM   #66
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
if you are on stable, try using the packages linked above or build with gnome-vfs (no need to update glib2).

have a look here for the list of packages needed?

Last edited by ponce; 02-10-2011 at 11:30 PM.
 
Old 02-11-2011, 07:56 AM   #67
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381

Rep: Reputation: 38
That was where I built from, using the stable tree. I saw some errors when I shut down, I'll try to check the logs when I get back to that machine.
EDIT
here is the output or dmesg
Code:
usb 1-6: new high speed USB device using ehci_hcd and address 4
usb 1-6: New USB device found, idVendor=0781, idProduct=5406
usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-6: Product: U3 Cruzer Micro
usb 1-6: Manufacturer: SanDisk
usb 1-6: SerialNumber: 0001797130E30A8C
scsi6 : usb-storage 1-6:1.0
scsi 6:0:0:0: Direct-Access     SanDisk  U3 Cruzer Micro  6.51 PQ: 0 ANSI: 0 CCS
sd 6:0:0:0: Attached scsi generic sg2 type 0
scsi 6:0:0:1: CD-ROM            SanDisk  U3 Cruzer Micro  6.51 PQ: 0 ANSI: 0
sd 6:0:0:0: [sdb] 2014271 512-byte logical blocks: (1.03 GB/983 MiB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 45 00 00 08
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sr1: scsi3-mmc drive: 8x/40x writer xa/form2 cdda tray
sr 6:0:0:1: Attached scsi CD-ROM sr1
sr 6:0:0:1: Attached scsi generic sg3 type 5
sd 6:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] Attached SCSI removable disk
I can't find the log that has the errors I saw on shutdown yesterday.

Last edited by interndan; 02-11-2011 at 10:30 AM. Reason: additional info
 
Old 02-14-2011, 11:33 AM   #68
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381

Rep: Reputation: 38
I just tried running
[code]ck-list-session[code]
and got "command not found" what am I missing?
 
Old 02-14-2011, 12:10 PM   #69
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
ConsoleKit.
you need also polkit and lxpolkit (or polkit-gnome as an alternate of this last).

but this means you have not done a slackware full install: consider those kind of setups as unsupported.
 
Old 02-14-2011, 12:33 PM   #70
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381

Rep: Reputation: 38
I did do a full install. That is the only kind I ever do. I don't know how these aren't present.Consolekit seems to be all that is missing:
[code]bash-4.1$ whereis polkit
polkit: /usr/man/man8/polkit.8.gz /usr/share/man/man8/polkit.8.gz /usr/X11/man/man8/polkit.8.gz
bash-4.1$ whereis consolkit
consolkit:
bash-4.1$ whereis consolekit
consolekit:
bash-4.1$ whereis lxpolkit
lxpolkit: /usr/libexec/lxpolkit /usr/share/lxpolkit
[code]
Where can I find consolekit?
 
Old 02-14-2011, 01:05 PM   #71
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
is in "l" section of the official packages (x86_64 and i486 - for 13.1).
 
Old 02-14-2011, 01:23 PM   #72
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381

Rep: Reputation: 38
I just installed consolekit and still get command not found when I issue ck-list-session in a console.
 
Old 02-14-2011, 01:39 PM   #73
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Code:
grep ck-list-sessions /var/log/packages/*
/var/log/packages/ConsoleKit-0.4.3-x86_64-1:usr/bin/ck-list-sessions
maybe you're missing an "s"?
 
Old 02-14-2011, 01:45 PM   #74
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381

Rep: Reputation: 38
yeah that was it (typos get me a lot )
Code:
bash-4.1# ck-list-sessions
Session1:
	unix-user = '1000'
	realname = 'Danny Chamness'
	seat = 'Seat1'
	session-type = ''
	active = TRUE
	x11-display = ':0'
	x11-display-device = '/dev/tty7'
	display-device = '/dev/tty1'
	remote-host-name = ''
	is-local = TRUE
	on-since = '2011-02-14T19:15:08.748081Z'
	login-session-id = ''

usb thumb drive is still not loading however.

[edit] I'm running 32 bit slackware. [/edit]

Last edited by interndan; 02-14-2011 at 01:47 PM. Reason: additional info
 
Old 02-14-2011, 01:49 PM   #75
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
can you please post (on pastebin) the output of these commands
Code:
ls -1 /var/log/packages/*
Code:
cat ~/.xinitrc
Code:
cat /etc/X11/xinit/xinitrc.lxde

Last edited by ponce; 02-14-2011 at 01:52 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: LXDE, the New Lightweight Linux Desktop LXer Syndicated Linux News 0 04-14-2010 10:40 PM
Do you think LXDE/OpenBox should replace ........ Wm/Desktop in Slackware? samac Slackware 7 03-14-2010 05:24 AM
[SOLVED] lxde desktop program links mark_alfred Linux - Desktop 4 12-22-2009 12:58 PM
[SOLVED] Put icon on Desktop with LXDE? kushalkoolwal Linux - Software 2 08-13-2009 01:27 PM
LXDE Hanging on desktop rightclick yah0m Linux - Desktop 0 07-21-2008 06:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration