LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-24-2010, 05:57 PM   #1
lonestar_italy
Member
 
Registered: Nov 2010
Location: Italy
Distribution: Slackware
Posts: 65

Rep: Reputation: 0
KDE 4.6RC1 - two questions


Hi,
generally speaking, everything seems to be working nicely. I only have 2 issues:

1- I use module nvidia_bl to allow LCD brightness to be set on my Vaio. Until now, with HAL, it was working nicely. A second backlight class is created in /sys/class/backlight/nvidia_backlight and KDE PowerDevil was using it. Now that HAL is gone, the class is still there, together with the non-working /sys/class/backlight/sony but brightness is stuck to 100%. What can I do?

2- Windows partition is mounted under /media/<name> with mode 0600. I don't remember if KDe 4.5.4 mounted it with same permissions, but now I have some access denied error when some programs try to read files in there. How can I change it to be mounted 0644, for instance?

thanks
take care
 
Old 12-24-2010, 06:50 PM   #2
lonestar_italy
Member
 
Registered: Nov 2010
Location: Italy
Distribution: Slackware
Posts: 65

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lonestar_italy View Post
2- Windows partition is mounted under /media/<name> with mode 0600. I don't remember if KDe 4.5.4 mounted it with same permissions, but now I have some access denied error when some programs try to read files in there. How can I change it to be mounted 0644, for instance?
ok, this is not due to permissions, but instead it's because udisk is mounting ntfs partitions with bare old ntfs and not with ntfs-3g.
why? hmm
 
Old 12-25-2010, 02:58 PM   #3
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,473

Rep: Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901
this worked fine for me.
 
Old 12-25-2010, 03:16 PM   #4
lonestar_italy
Member
 
Registered: Nov 2010
Location: Italy
Distribution: Slackware
Posts: 65

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ponce View Post
this worked fine for me.
Sounds like it should work. I'm gonna try it, thanks!

Speaking of the other issue, with some udev monitoring I can confirm that the system keeps talking to /sys/devices/virtual/backlight/sony while it should actually talk to /sys/devices/virtual/backlight/nvidia_backlight.

If I remove sony-laptop module, it works. But that module does other things besides backlight and it's not a good idea to blacklist it.

It also seems like it's no longer possible to tell udev to "ignore_device" a device.

There should be some method to tell udev/upower which device to use when multiple devices of same type are present. Also this is not a KDE issue, but it's more likely to be udev/upower related.
 
Old 12-25-2010, 04:41 PM   #5
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 500

Rep: Reputation: 83
How are you starting KDE? I had problems with PowerDevil and brightness when firing KDE from console. Also suspend and hibernate was missing. With KDM everything worked... What does "echo $XDG_SESSION_COOKIE" say? "ck-list-sessions" should say something about your session.
 
Old 12-25-2010, 06:03 PM   #6
lonestar_italy
Member
 
Registered: Nov 2010
Location: Italy
Distribution: Slackware
Posts: 65

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by BrZ View Post
How are you starting KDE? I had problems with PowerDevil and brightness when firing KDE from console.
There is a specific brightness issue related to my laptop model. It's a Sony Vaio but the standard sony-laptop module in the kernel does not correctly handle its backlight device. There is a hack in form of a module not included with kernel, named nvidia_bl, which can correctly handle backlight functions, and when loaded it creates a second backlight interface in sysfs, and PowerDevil should be talking to this interface.
All this is mostly unrelated to the specific issue though, since everything was working fine until KDE 4.5.4 with HAL, probably because hal defaults to whatever backlight interface comes last in the modprobe sequence (my assumption).
I'm starting KDE in init 4 with KDM.

Quote:
Originally Posted by BrZ View Post
Also suspend and hibernate was missing. With KDM everything worked... What does "echo $XDG_SESSION_COOKIE" say? "ck-list-sessions" should say something about your session.
Code:
bash-4.1$ echo $XDG_SESSION_COOKIE
9ebbe286205d397b0c67e8674b0ae62b-1293270946.691522-973034476                                                                                                                           
bash-4.1$ ck-list-sessions                                                                                                                                                                
Session1:                                                                                                                                                                                 
        unix-user = '1000'                                                                                                                                                                
        realname = 'LoneStar'                                                                                                                                                             
        seat = 'Seat1'                                                                                                                                                                    
        session-type = ''                                                                                                                                                                 
        active = TRUE                                                                                                                                                                     
        x11-display = ':0'
        x11-display-device = '/dev/tty7'
        display-device = ''
        remote-host-name = ''
        is-local = TRUE
        on-since = '2010-12-25T09:55:46.708933Z'
        login-session-id = ''
They don't seem to say anything useful...
 
Old 12-25-2010, 06:56 PM   #7
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 500

Rep: Reputation: 83
Quote:
active = TRUE
That was a nightmare for me =]

Always got 'active=false' and things not working...
 
Old 12-26-2010, 05:39 AM   #8
lonestar_italy
Member
 
Registered: Nov 2010
Location: Italy
Distribution: Slackware
Posts: 65

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ponce View Post
this worked fine for me.
I tried it but it doesn't work.
I read in that thread that it works for plugged in USB sticks, but not for internal devices. What I'm mounting is a NTFS partition on my laptop's internal disk, not an USB pen, so I guess this is why it's not working.
I wonder if blacklisting kernel's native ntfs module would make it default to ntfs-3g or would only make it fault. Gonna check.
 
Old 12-26-2010, 05:56 AM   #9
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,473

Rep: Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901
if it's an internal device you can set it in /etc/fstab with the mount options you prefeer: an example
Code:
/dev/sda2        /mnt/windows     ntfs-3g     umask=022        1   0
you surely don't plug/unplug internal devices, I think...

Last edited by ponce; 12-26-2010 at 06:02 AM.
 
Old 12-26-2010, 06:38 AM   #10
lonestar_italy
Member
 
Registered: Nov 2010
Location: Italy
Distribution: Slackware
Posts: 65

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ponce View Post
you surely don't plug/unplug internal devices, I think...
Yes of course I know this, but since leaving it undefined in fstab and mounting it on the fly from dolphin used to work with hal-based kde, then why shouldn't it work now?

Last edited by lonestar_italy; 12-26-2010 at 06:39 AM. Reason: typo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do I upgrade from Linux Mint 5 to 6RC1? mintlover62 Linux - Software 4 12-09-2008 09:37 PM
LXer: Vector Linux 5.8.6rc1 Released LXer Syndicated Linux News 0 08-04-2007 07:32 AM
KDE Questions Kevin1290X KTPX Linux - Software 1 07-04-2004 10:47 AM
KDE Questions Kevin1290X KTPX Linux - Software 4 07-03-2004 01:33 AM
few questions regarding KDE?? snakeo2 Linux - Newbie 10 04-01-2004 11:33 PM


All times are GMT -5. The time now is 04:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration