Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
autmounter on KDE doesn't automount +/dev/hdc for /dev/cdrom
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
blommethomas
Apprentice
Apprentice


Joined: 16 Nov 2005
Posts: 285
Location: roeselare, belgium

PostPosted: Tue Jan 03, 2006 8:30 pm    Post subject: autmounter on KDE doesn't automount +/dev/hdc for /dev/cdrom Reply with quote

I installed the KDE Automounter using the howto: http://www.gentoo.org/doc/en/kde-config.xml
but when I put a cd or floppy in it doesn't autoload.
I have to mount them manually.
Should I use autofs instead?


Is it normal that the cdrom is mounted from /dev/hdc?

When I mount an audio cd I get the fiollowing error:
can't read superblock
_________________
IK BEN GEK


Last edited by blommethomas on Wed Jan 04, 2006 8:19 am; edited 1 time in total
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Tue Jan 03, 2006 8:47 pm    Post subject: Re: autmounter on KDE doesn't automount + /dev/hdc used for Reply with quote

blommethomas wrote:
I installed the KDE Automounter using the howto: http://www.gentoo.org/doc/en/kde-config.xml
but when I put a cd or floppy in it doesn't autoload.
I have to mount them manually.
Should I use autofs instead?

NO!

blommethomas wrote:
Is it normal that the cdrom is mounted from /dev/hdc?

/dev/hdc is a normal location for a cdrom device. First device, second IDE channel.

blommethomas wrote:
When I mount an audio cd I get the fiollowing error:
can't read superblock

You don't/can't mount audio CDs.

Was kdebase/kdebase-kioslaves compiled with HAL support?
Is HAL and CD polling enabled in Kcontrol -> Peripherals -> Storage Media -> Advanced tab?
Back to top
View user's profile Send private message
blommethomas
Apprentice
Apprentice


Joined: 16 Nov 2005
Posts: 285
Location: roeselare, belgium

PostPosted: Wed Jan 04, 2006 8:44 am    Post subject: Re: autmounter on KDE doesn't automount + /dev/hdc Reply with quote

Headrush wrote:
blommethomas wrote:
I installed the KDE Automounter using the howto: http://www.gentoo.org/doc/en/kde-config.xml
but when I put a cd or floppy in it doesn't autoload.
I have to mount them manually.
Should I use autofs instead?

NO!


What's wrong with it then?

Headrush wrote:
blommethomas wrote:
Is it normal that the cdrom is mounted from /dev/hdc?

/dev/hdc is a normal location for a cdrom device. First device, second IDE channel.


But in my fstab stands
Quote:

/dev/cdrom /mnt/cdrom auto noauto,user 0 0

Should I change this to /dev/hdc?
If I open Kcontrol and go to sound & multimedia -> Audio-CD's
I see in the General Tab:
Quote:

CD Device
x Determine device automatically
Device:
/dev/cdrom

Should I choose not to determine automatically and change /dev/cdrom to /dev/hdc or leave it as /dev/cdrom?


Headrush wrote:
blommethomas wrote:
When I mount an audio cd I get the fiollowing error:
can't read superblock

You don't/can't mount audio CDs.

Was kdebase/kdebase-kioslaves compiled with HAL support?
Is HAL and CD polling enabled in Kcontrol -> Peripherals -> Storage Media -> Advanced tab?

seems like kdebase-kioslaves isn't emerged yet, it's blocked by kdebase-3.4*
Quote:

emerge --pretend kdebase-kioslaves

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B ] =kde-base/kdebase-3.4* (is blocking kde-base/kdialog-3.4.1)
[blocks B ] =kde-base/kdebase-3.4* (is blocking kde-base/kdebase-kioslaves-3.4.3)
[ebuild N ] kde-base/kdialog-3.4.1
[ebuild N ] kde-base/kdebase-kioslaves-3.4.3



Storage Media doesn't exist in Peripherals.
I only have: Display, Joystick, Printers, Keyboard, Mouse, Remote Controls
_________________
IK BEN GEK
Back to top
View user's profile Send private message
blommethomas
Apprentice
Apprentice


Joined: 16 Nov 2005
Posts: 285
Location: roeselare, belgium

PostPosted: Wed Jan 04, 2006 8:00 pm    Post subject: Reply with quote

bump
_________________
IK BEN GEK
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Wed Jan 04, 2006 10:14 pm    Post subject: Re: autmounter on KDE doesn't automount + /dev/hdc Reply with quote

blommethomas wrote:
Headrush wrote:
blommethomas wrote:
I installed the KDE Automounter using the howto: http://www.gentoo.org/doc/en/kde-config.xml
but when I put a cd or floppy in it doesn't autoload.
I have to mount them manually.
Should I use autofs instead?

NO!


What's wrong with it then?

I'm not going into it, but it has been debated/argued much in other threads.

blommethomas wrote:
Headrush wrote:
blommethomas wrote:
Is it normal that the cdrom is mounted from /dev/hdc?

/dev/hdc is a normal location for a cdrom device. First device, second IDE channel.


But in my fstab stands
Quote:

/dev/cdrom /mnt/cdrom auto noauto,user 0 0

Should I change this to /dev/hdc?

If you are using the built in support for removeable devices with KDE, you do not need any fstab entries. (They'll only cause problems)

blommethomas wrote:
If I open Kcontrol and go to sound & multimedia -> Audio-CD's
I see in the General Tab:
Quote:

CD Device
x Determine device automatically
Device:
/dev/cdrom

Should I choose not to determine automatically and change /dev/cdrom to /dev/hdc or leave it as /dev/cdrom?

As long as /dev/cdrom is a link to the proper device (/dev/hdc) it wshould be OK.


blommethomas wrote:
Headrush wrote:
blommethomas wrote:
When I mount an audio cd I get the fiollowing error:
can't read superblock

You don't/can't mount audio CDs.

Was kdebase/kdebase-kioslaves compiled with HAL support?
Is HAL and CD polling enabled in Kcontrol -> Peripherals -> Storage Media -> Advanced tab?

seems like kdebase-kioslaves isn't emerged yet, it's blocked by kdebase-3.4*
Quote:

emerge --pretend kdebase-kioslaves

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B ] =kde-base/kdebase-3.4* (is blocking kde-base/kdialog-3.4.1)
[blocks B ] =kde-base/kdebase-3.4* (is blocking kde-base/kdebase-kioslaves-3.4.3)
[ebuild N ] kde-base/kdialog-3.4.1
[ebuild N ] kde-base/kdebase-kioslaves-3.4.3



Storage Media doesn't exist in Peripherals.
I only have: Display, Joystick, Printers, Keyboard, Mouse, Remote Controls

kdebase is the monolithic KDE ebuild and includes the functionality of kdebase-kioslaves. You just have to emerge kdebase when using the monolithic ebuilds and kdebase-kioslaves when using the split ebuilds. You look to be using the monolithic ebuilds.

My mistake. For some reason I assumed you were on KDE 3.5. KDE 3.4.x takes a little more work. I would recommend if possible to upgrade to 3.5. I know it's marked testing still, but is rock solid and fixes/improves automounting greatly.

P.S. Wait at least 24 hours before bumping a thread please.

Edit: Here is a link on Gentoo Wiki about using pmount in KDE 3.4. http://gentoo-wiki.com/HOWTO_D-BUS,_HAL,_KDE_media:/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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