Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde usb devices (udev hal)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
flazz
Guru
Guru


Joined: 22 Nov 2003
Posts: 496
Location: Florida

PostPosted: Mon Jan 01, 2007 8:30 am    Post subject: kde usb devices (udev hal) Reply with quote

when i plug in a thumb drive, camera, or ipod, kde lets me open/mount it usually as system:/media/sda1, but nothing is in it. and system:/media shows it as unmounted. i can open/mount it all i want by clicking on it but it is always empty.

then i do a df -h
Code:
~ $ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda3             2.8G  637M  2.0G  24% /
udev                  251M  256K  251M   1% /dev
/dev/hda5             2.8G   65M  2.6G   3% /tmp
/dev/hda6              19G  6.1G   12G  35% /opt
/dev/hda7              33G   13G   19G  41% /usr
/dev/hda8              14G  2.7G   11G  21% /var
/dev/hdb1             184G   97G   78G  56% /home
none                  251M     0  251M   0% /dev/shm
/dev/sda1             244M   29M  215M  12% /media/disk
/dev/sda1             244M   29M  215M  12% /media/disk-1
/dev/sda1             244M   29M  215M  12% /media/disk-2


it seems as if every time i open/mount it, it is being mounted as media/disk*. it seems that kde is telling some subsystem to mount it, but is not associating it with the correct dir on the fs and thus never shows it as mounted.

so i have two questions: how can i get kde to work with my storage devices? and how can i get the devices to mount as something other than disk*? i'd like camera, ipod, flash, etc.

thanks in advance.
Back to top
View user's profile Send private message
Tlaloc
Guru
Guru


Joined: 21 Feb 2005
Posts: 451
Location: Europe - Alps - Tyrol

PostPosted: Mon Jan 01, 2007 8:57 am    Post subject: Reply with quote

What's your kernel version? I experienced the same when mine was too old for the hal (or was it udev?) version I was using.
Look at the output you get when emerging it, if that is the problem it will spill out a warning.

Bye, Val.
Back to top
View user's profile Send private message
flazz
Guru
Guru


Joined: 22 Nov 2003
Posts: 496
Location: Florida

PostPosted: Mon Jan 01, 2007 9:09 am    Post subject: Reply with quote

kernel: 2.6.14-gentoo-r5
dbus: 0.62-r2
hal: 0.5.7-r3
udev: 103
Back to top
View user's profile Send private message
USTruck
Guru
Guru


Joined: 21 Aug 2005
Posts: 423
Location: La Louviere (Belgique)

PostPosted: Mon Jan 01, 2007 9:32 am    Post subject: Solution Reply with quote

Hello,

I Have a same problems after update under KDE, this is due by kdebase-kioslaves.

I solve it by rebuild kdebase-kioslaves

Regards
Back to top
View user's profile Send private message
Tlaloc
Guru
Guru


Joined: 21 Feb 2005
Posts: 451
Location: Europe - Alps - Tyrol

PostPosted: Mon Jan 01, 2007 10:36 am    Post subject: Reply with quote

From the ebuild:
Code:
#cat /usr/portage/sys-apps/hal/hal-0.5.7-r3.ebuild
........
pkg_setup() {
        get_version || eerror "Unable to calculate Linux Kernel version"

        kernel_is ge 2 6 15 || eerror "HAL requires a kernel version 2.6.15 or newer"
.......

Seems that you have to upgrade your kernel.

Bye, Val.
Back to top
View user's profile Send private message
flazz
Guru
Guru


Joined: 22 Nov 2003
Posts: 496
Location: Florida

PostPosted: Mon Jan 01, 2007 10:42 am    Post subject: Reply with quote

just tried to upgrade to 2.6.18 but i had to revert because the network configuration is messed up. it keeps trying to load net.eth0 by default, i don't use eth0, i use ra0 (wireless)

my /etc/conf.d/net
Code:
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $

#config_eth0=( "dhcp" )

modules=( "!iwconfig" )
config_ra0=( "dhcp" )


its worked perfect for a few kernels but now it seems to not work at all with the new kernel, any thoughts?
Back to top
View user's profile Send private message
Tlaloc
Guru
Guru


Joined: 21 Feb 2005
Posts: 451
Location: Europe - Alps - Tyrol

PostPosted: Mon Jan 01, 2007 10:58 am    Post subject: Reply with quote

I had to add this in /etc/conf.d/rc to prevent net.eth1 from starting automatically.
Code:

RC_PLUG_SERVICES="!net.eth1"

Adjust accordingly.

Bye, Val.
Back to top
View user's profile Send private message
flazz
Guru
Guru


Joined: 22 Nov 2003
Posts: 496
Location: Florida

PostPosted: Mon Jan 01, 2007 11:20 am    Post subject: Reply with quote

it worked, thanks, btw you didnt have to do anything to get sound working with the new kernel, my sound is dead.

nm volume was down on wave input. thanks guys

any ideas on how to get devices to mount as meaningful names instead of /media/sdb1?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum