View previous topic :: View next topic |
Author |
Message |
chidorex n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/movie_x-men_wolverine.gif)
Joined: 27 Nov 2006 Posts: 36 Location: Mexico City
|
Posted: Fri Dec 29, 2006 3:27 am Post subject: |
|
|
Thanks to rmh3093 for a great HOWTO.
frostschutz wrote: | Okay. The rules I'm using now are slightly different from the one posted above, though.
In /etc/udev/rules.d/00-custom.rules:
Code: | BUS=="scsi", KERNEL=="sd*", SYSFS{model}=="*iPod*", SYMLINK+="usb/ipod%n" |
Creates a /dev/usb/ipod, as well as /dev/usb/ipod<number> (one device per partition, like with harddisks you have hda, hda1, hda2, ...). |
Thanks frostshutz for the correction. I am now able to get my ipod as /dev/ipod.
However, although I can see the ipod being automatically mounted under /media, and also can copy music files to my ipod, I am not able to listen to any music. According to the manual, a blinking led (from green to orange) means the iPod has no songs. I am using Amarok under Gnome, and as it is KDE based, it could be that it is not connecting properly.
I added the device to Amarok manually as /media/IPOD, since the automatic detection of Media Devices on Amarok did not find it, stating: Code: | No new media devices were found. If you feel this is an error, ensure that the DBUS and HAL daemons are running and KDE was built with support for them. You can test this by running "dcop kded mediamanager fullList" in a Konsole window. |
Executing the suggested command I get
Code: | # dcop kded mediamanager fullList
ERROR: Couldn't attach to DCOP server! |
I don't have a clue to what is going on.
Can anybody suggest a solution?
Thanks. _________________ All things are subject to interpretation. Whichever interpretation prevails at a given time is a function of power and not truth.
Friedrich Nietzsche |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Nihilus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Mar 2005 Posts: 80
|
Posted: Tue Jan 02, 2007 8:21 pm Post subject: |
|
|
What about ? ![Wink :wink:](images/smiles/icon_wink.gif) _________________ Writing lots of posts doesn't necessarily make you a Guru; might prove that you're just too stupid to go figure ![Razz :-P](images/smiles/icon_razz.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chidorex n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/movie_x-men_wolverine.gif)
Joined: 27 Nov 2006 Posts: 36 Location: Mexico City
|
Posted: Wed Jan 03, 2007 7:27 am Post subject: |
|
|
Nihilus wrote: | What about ? ![Wink :wink:](images/smiles/icon_wink.gif) |
Oh my god!!!! An eye opener. Did not even know there was an ipod USE var. Thanks Nihilus.
I am emerging Amarok again as we speak. I don't have my ipod with me right now, but I will try tomorrow and will post back the results. _________________ All things are subject to interpretation. Whichever interpretation prevails at a given time is a function of power and not truth.
Friedrich Nietzsche |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chidorex n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/movie_x-men_wolverine.gif)
Joined: 27 Nov 2006 Posts: 36 Location: Mexico City
|
Posted: Thu Jan 04, 2007 6:22 am Post subject: |
|
|
I emerged amarok with the ipod use flag and I get the same response.
I don't know too much about dcop, but trying this same command from my own user instead than from root I get the following:
Code: | rex@elrond ~ $ dcop kded mediamanager fullList
call failed
rex@elrond ~ $ dcop
amarok
kded
kcookiejar
klauncher
rex@elrond ~ $ dcop kded
MainApplication-Interface
kbuildsycoca
kcookiejar
kded
kdetrayproxy
kpasswdserver
ksycoca
kwalletd
qt/kded |
This gives me the idea that I do not have the variables or attributes dcop expects when I issue the "dcop kded mediamanager fullList" command.
Dumb question: Do I need to add qt3, qt4 and/or kde to my use vars? I disabled them since I use gnome.
Any help will be greatly appreciated. _________________ All things are subject to interpretation. Whichever interpretation prevails at a given time is a function of power and not truth.
Friedrich Nietzsche |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gerdesj l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Simpsons/simpsons_homer.gif)
Joined: 29 Sep 2005 Posts: 621 Location: Yeovil, Somerset, UK
|
Posted: Thu Jan 04, 2007 10:00 am Post subject: |
|
|
chidorex wrote: | Thanks to rmh3093 for a great HOWTO.
Executing the suggested command I get
Code: | # dcop kded mediamanager fullList
ERROR: Couldn't attach to DCOP server! |
I don't have a clue to what is going on.
Can anybody suggest a solution?
Thanks. |
You are probably running the dcop command as root in a console. root is (probably) not running the desktop session and hence does not have a dcop server running.
Run that command as your logged in user.
Cheers
Jon |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chidorex n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/movie_x-men_wolverine.gif)
Joined: 27 Nov 2006 Posts: 36 Location: Mexico City
|
Posted: Thu Jan 04, 2007 6:31 pm Post subject: |
|
|
gerdesj wrote: | You are probably running the dcop command as root in a console. root is (probably) not running the desktop session and hence does not have a dcop server running.
Run that command as your logged in user. |
Thanks Jon. I tried it with my user already. My results are on my last post. However, I do not know what to do from there, since mediamanager is not in the "options" for dcop kded.
Any suggestions? _________________ All things are subject to interpretation. Whichever interpretation prevails at a given time is a function of power and not truth.
Friedrich Nietzsche |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gerdesj l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Simpsons/simpsons_homer.gif)
Joined: 29 Sep 2005 Posts: 621 Location: Yeovil, Somerset, UK
|
Posted: Fri Jan 05, 2007 8:56 am Post subject: |
|
|
chidorex wrote: | Thanks Jon. I tried it with my user already. My results are on my last post. However, I do not know what to do from there, since mediamanager is not in the "options" for dcop kded.
Any suggestions? |
Hmm, where to start! I'm not near my Gentoo boxen at the moment but I suggest you start with revdep-rebuild.
Also, is control center/kde components/service manager/mediamanager actually shown as running?
Cheers
Jon |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chidorex n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/movie_x-men_wolverine.gif)
Joined: 27 Nov 2006 Posts: 36 Location: Mexico City
|
Posted: Mon Jan 08, 2007 4:12 am Post subject: |
|
|
gerdesj wrote: | Hmm, where to start! I'm not near my Gentoo boxen at the moment but I suggest you start with revdep-rebuild. |
I did and the only apps rebuilt were the gimp and gaim. Not much there.
gerdesj wrote: | Also, is control center/kde components/service manager/mediamanager actually shown as running? |
Mmmmm. I don't know what to look for.
Here is a grep of processes running kde:
Code: | $ ps ax | grep kde
3336 ? Ss 0:00 kdeinit Running...
3340 ? S 0:00 dcopserver [kdeinit] --nosid --suicide
3342 ? S 0:00 klauncher [kdeinit]
3344 ? S 0:00 kded [kdeinit]
3350 ? S 0:00 kio_file [kdeinit] file /tmp/ksocket-rex/klauncherIbM9Ma.slave-socket /tmp/ksocket-rex/amarokPGQ8Ea.slave-socket
3351 ? S 0:00 kio_file [kdeinit] file /tmp/ksocket-rex/klauncherIbM9Ma.slave-socket /tmp/ksocket-rex/amarokMjSckb.slave-socket
3352 ? S 0:00 kio_file [kdeinit] file /tmp/ksocket-rex/klauncherIbM9Ma.slave-socket /tmp/ksocket-rex/amarok4mOxwa.slave-socket
3365 ? S 0:00 kio_file [kdeinit] file /tmp/ksocket-rex/klauncherIbM9Ma.slave-socket /tmp/ksocket-rex/amarokMz2vLa.slave-socket
3366 ? S 0:00 kio_file [kdeinit] file /tmp/ksocket-rex/klauncherIbM9Ma.slave-socket /tmp/ksocket-rex/amarokHu1lvc.slave-socket
3367 ? S 0:00 kio_file [kdeinit] file /tmp/ksocket-rex/klauncherIbM9Ma.slave-socket /tmp/ksocket-rex/amarokvr4Gzb.slave-socket
3386 pts/2 R+ 0:00 grep --color=auto kde |
All of these were started with amarok. Any particular process I should look for?
I have to ask again. Do I need to add qt or kde to my USE variables?
Thanks Jon. _________________ All things are subject to interpretation. Whichever interpretation prevails at a given time is a function of power and not truth.
Friedrich Nietzsche |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gerdesj l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Simpsons/simpsons_homer.gif)
Joined: 29 Sep 2005 Posts: 621 Location: Yeovil, Somerset, UK
|
Posted: Mon Jan 08, 2007 3:39 pm Post subject: |
|
|
chidorex wrote: | I did and the only apps rebuilt were the gimp and gaim. Not much there.
gerdesj wrote: | Also, is control center/kde components/service manager/mediamanager actually shown as running? |
I have to ask again. Do I need to add qt or kde to my USE variables?
Thanks Jon. |
Load the Control Centre and follow the path above (ie click on the tabs etc) to check whether media manager is listed/running.
I have qt3 qt4 and kde as USE flags on my systems. Not sure if they are absolutely necessary for all this. Also, I installed using the kde-meta package
Cheers
Jon |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pussi l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 08 May 2004 Posts: 727 Location: Finland
|
Posted: Tue Jan 09, 2007 6:54 am Post subject: |
|
|
chidorex wrote: | I have to ask again. Do I need to add qt or kde to my USE variables?
Thanks Jon. | You don't, but they are useful if you're using KDE.
EDIT: run ps -A | grep dbus and ps -A | grep hald to make sure you have dbus and hal daemons running.
Also, you could try adding hal and dbus in your USE-flags and running emerge -ND world |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
discostu Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/cdddb19d3dffe71ab6cc2.gif)
Joined: 01 Nov 2002 Posts: 333
|
Posted: Tue Jan 09, 2007 7:53 pm Post subject: |
|
|
How does this udev rule change if my ipod nano mounts on /dev/uba3?
I tried changing it just to this, but no luck so far.
Code: | SYSFS{model}=="*iPod*", KERNEL="uba*", SYMLINK="ipod" |
I've been trying to figure out how i can print the information like "model" for /dev/uba3.
"udevinfo -n /dev/uba3 -q all" doesn't print anything useful.
Thanks.
EDIT: Nevermind, I found my answer on the gentoo wiki: http://gentoo-wiki.com/HARDWARE_iPod _________________ "Disco Stu doesn't advertise."
Last edited by discostu on Tue Jan 09, 2007 8:21 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chidorex n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/movie_x-men_wolverine.gif)
Joined: 27 Nov 2006 Posts: 36 Location: Mexico City
|
Posted: Tue Jan 09, 2007 8:12 pm Post subject: |
|
|
gerdesj wrote: | Load the Control Centre and follow the path above (ie click on the tabs etc) to check whether media manager is listed/running. |
I assume you use KDE. I would need to install KDE's Control Center and I don't think I want to do that (only if I need to). You think I need to??? _________________ All things are subject to interpretation. Whichever interpretation prevails at a given time is a function of power and not truth.
Friedrich Nietzsche |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chidorex n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/movie_x-men_wolverine.gif)
Joined: 27 Nov 2006 Posts: 36 Location: Mexico City
|
Posted: Tue Jan 09, 2007 8:21 pm Post subject: |
|
|
pussi wrote: | chidorex wrote: | I have to ask again. Do I need to add qt or kde to my USE variables?
Thanks Jon. | You don't, but they are useful if you're using KDE. |
OK. I'll leave them out and will stick with Gnome for now.
pussi wrote: | run ps -A | grep dbus and ps -A | grep hald to make sure you have dbus and hal daemons running.
Also, you could try adding hal and dbus in your USE-flags and running emerge -ND world |
I already have those USE flags in my make.conf.
The ps result is:
Code: | elrond # ps -A | grep dbus
5846 ? 00:00:00 dbus-daemon
8029 ? 00:00:00 dbus-launch
8030 ? 00:00:00 dbus-daemon
elrond # ps -A | grep hal
5918 ? 00:00:01 hald
5919 ? 00:00:00 hald-runner
5927 ? 00:00:00 hald-addon-acpi
5932 ? 00:00:00 hald-addon-keyb
5950 ? 00:00:00 hald-addon-stor |
Anything I am missing?
Thanks pussi. _________________ All things are subject to interpretation. Whichever interpretation prevails at a given time is a function of power and not truth.
Friedrich Nietzsche |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Diavolo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 09 Jan 2005 Posts: 151
|
Posted: Mon Mar 03, 2008 8:42 pm Post subject: |
|
|
Hi,
I don't know why but my iPod now gets mounted on /media/uba2 insead of /media/ipod. I changed nothing, /dev/ipod is created and the fstab entry is okay.
Any idea? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
oglueck n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 13 May 2004 Posts: 14
|
Posted: Mon Mar 24, 2008 7:03 pm Post subject: My rule |
|
|
For my 3G iPod I use the following rule. Please note that this one explicitly selects the data partition. I think you can ommit the plugdev group, as HAL does that automatically.
[code]# iPOD - get the right partition with start attribute
SUBSYSTEM=="block", KERNEL=="sd??", ATTR{start}=="65600", ATTRS{model}=="iPod ",
ATTRS{vendor}=="Apple ", SYMLINK+="ipod", GROUP="plugdev"[/code] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|