This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Problems with dvd drive in KDE-4.6.2 w/o hal.

Tags: None
(comma "," separated)
User avatar
gerard82
Registered Member
Posts
58
Karma
0
OS
Not sure in which subforum this should go.
I am running KDE-4.6.2 without hal.
When I connect my camera to USB all works as it should.
So solid is working.

When I pop an audio cd in the /dev/sr1 drive I get just one choice:Play with amarok.I don't want that I want kscd to play it automatically.
I tried System Settings device actions to change that,alas the help docs are for KDE-4.4!!!!
When I insert a data cd like systemrescuecd I get this message:
Code: Select all
could not mount the following device

I am in the cd and plugdev group.
How can I make it work the way I want.
Thanks in advance,
Gerard.

Edit: Forgot to mention that with the audio cd in the drive I can start kscd press play and it will play the cd.

Edit2:I replaced amarok with clementine because I got sick of amarok.
Now when I insert an audiocd nothing happens but kscd still can play it.


Gentoo Linux.
Always up to date.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Do you have UDisks installed? Is UDisks permitted to mount media on your system, and are you permitted to instruct UDisks to perform certain operations?

It seems that the rules used by KsCD to look for Audio CD's may have broken...


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
gerard82
Registered Member
Posts
58
Karma
0
OS
bcooksley wrote:Do you have UDisks installed? Is UDisks permitted to mount media on your system, and are you permitted to instruct UDisks to perform certain operations?

It seems that the rules used by KsCD to look for Audio CD's may have broken...


You didn't read/understand what I wrote!
Yes I have udisks-1.0.2 installed and for good measure udisks-glue.
While amarok was still installed it worked by offering to play the disk
with amarok (only!).
But since I got rid of amarok I can't get any action when I pop in a cd.
The whole setup of "System Settings > Hardware > Device Actions" is very hard to understand.
It doesn't make sense to me.
The Help tells you that you have to formulate everything exactly.
But what is the syntax??
I switched to kde4 from kde3.5 but it's been a lot of frustration from the start.
I have been using Linux for a long time. use Gentoo since december 2003.
I've always used kde because I didn't like Gnome but I am now considering
installing Gnome and see if things will work better.
BTW I only use Linux.
Gerard.


Gentoo Linux.
Always up to date.
User avatar
google01103
Manager
Posts
6668
Karma
25
try this in device notifier settings



Image


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
gerard82
Registered Member
Posts
58
Karma
0
OS
@google01103
Did what you suggested but I still get "no devices available".
Anyway thanks for answering.
Gerard.


Gentoo Linux.
Always up to date.
User avatar
gerard82
Registered Member
Posts
58
Karma
0
OS
~ $ udisks --show-info /dev/sr1
Showing information for /org/freedesktop/UDisks/devices/sr1
native-path: /sys/devices/pci0000:00/0000:00:11.0/host2/target2:0:0/2:0:0:0/block/sr1
device: 11:1
device-file: /dev/sr1
presentation: /dev/sr1
by-path: /dev/disk/by-path/pci-0000:00:11.0-scsi-2:0:0:0
detected at: Sun 17 Apr 2011 04:19:49 PM CEST
system internal: 0
removable: 1
has media: 1 (detected at Sun 17 Apr 2011 04:41:12 PM CEST)
detects change: 1
detection by polling: 1
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
size: 359006208
block size: 2048
job underway: no
usage:
type:
version:
uuid:
label:
optical disc:
blank: 0
appendable: 0
closed: 0
num tracks: 12
num audio tracks: 12
num sessions: 1
drive:
vendor: TSSTcorp
model: DVD-ROM SH-D163B
revision: SB04
serial:
WWN:
detachable: 0
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 1
adapter: /org/freedesktop/UDisks/adapters/0000_3a00_3a11_2e0
ports:
/org/freedesktop/UDisks/adapters/0000_3a00_3a11_2e0/host2
similar devices:
media: optical_cd
compat: optical_cd optical_dvd
interface: scsi
if speed: (unknown)
ATA SMART: not available
ikke@gerard ~ $

This shows that udisks is working.
Gerard.


Gentoo Linux.
Always up to date.
User avatar
gerard82
Registered Member
Posts
58
Karma
0
OS
~ $ udisks --show-info /dev/sr1
Showing information for /org/freedesktop/UDisks/devices/sr1
native-path: /sys/devices/pci0000:00/0000:00:11.0/host2/target2:0:0/2:0:0:0/block/sr1
device: 11:1
device-file: /dev/sr1
presentation: /dev/sr1
by-path: /dev/disk/by-path/pci-0000:00:11.0-scsi-2:0:0:0
detected at: Sun 17 Apr 2011 04:19:49 PM CEST
system internal: 0
removable: 1
has media: 1 (detected at Sun 17 Apr 2011 05:02:04 PM CEST)
detects change: 1
detection by polling: 1
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 1
mount paths: /media/sysrcd-2.0.0
mounted by uid: 1001
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
size: 293562368
block size: 2048
job underway: no
usage: filesystem
type: iso9660
version:
uuid:
label: sysrcd-2.0.0
optical disc:
blank: 0
appendable: 0
closed: 0
num tracks: 1
num audio tracks: 0
num sessions: 1
drive:
vendor: TSSTcorp
model: DVD-ROM SH-D163B
revision: SB04
serial:
WWN:
detachable: 0
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 1
adapter: /org/freedesktop/UDisks/adapters/0000_3a00_3a11_2e0
ports:
/org/freedesktop/UDisks/adapters/0000_3a00_3a11_2e0/host2
similar devices:
media: optical_cd
compat: optical_cd optical_dvd
interface: scsi
if speed: (unknown)
ATA SMART: not available

This one is with sysrescuecd in the drive.
I can open it with k3b or File Manager.
Gerard.


Gentoo Linux.
Always up to date.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Due to a bug in the Device Notifier applet, you may need to restart Plasma for it to detect new actions. It also has bugs in it's reading of the edits performed by the Device Actions KCM, so make sure to create a new action instead.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
gerard82
Registered Member
Posts
58
Karma
0
OS
bcooksley wrote:Due to a bug in the Device Notifier applet, you may need to restart Plasma for it to detect new actions. It also has bugs in it's reading of the edits performed by the Device Actions KCM, so make sure to create a new action instead.


Of course all software contains bugs but I am getting tired of kde4 never ending bugs story.
I browsed the kde.org help info on the internet:
I found "kconfigeditor"!
Too bad it's for kde3.2.
Now isn't that ridiculous?
Kde3 is not supported anymore since about 2 years.
I have a separate partition on which I am installing Gnome.
I do that with pain in my heart.
I might return to kde when it's really stable and the docs and helpfiles can be understood by ordinary humans.
Gerard.


Gentoo Linux.
Always up to date.
User avatar
gerard82
Registered Member
Posts
58
Karma
0
OS
Well I got it working!
I found where the configs made with systemsettings>hardware>device actions
are located.I moved everything to a separate folder in /root.
I re-installed amarok and copied the resulting config in /usr/share/apps/solid/actions changing it to kscd and do a little adapting.

How nice to have something like systemsettings forcing you to bypass it and write a config by hand.
Gerard.

Edit: I uninstalled amarok and it's still working the way I want it.


Gentoo Linux.
Always up to date.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]