You are not logged in.

#1 2010-10-03 05:45:21

nullstellensatz
Member
Registered: 2010-10-03
Posts: 11

[Solved] Error mounting a Kindle using Thunar

I just bought a Kindle, and I would like to transfer some papers over to it. However, when I open up Thunar to try to mount it, I get the following error:

Rejected send message, 1 matched rules; type="method_call", sender=":1.31" (uid=1000 pid=3283 comm="exo-mount) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=1572 comm="/usr/sbin/hald)).

I saw on another forum that Kindles are apparently MTP devices, but I have libmtp installed, and running mtp-detect outputs "no raw devices found." It mounts fine under windows, so it's not the device. It looks like HAL is having problems with it for some reason. Am I missing a library, or is there something else going on here?

Thanks in advance.

Last edited by nullstellensatz (2010-10-05 03:46:36)

Offline

#2 2010-10-03 14:57:56

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,785

Re: [Solved] Error mounting a Kindle using Thunar

I assume you are using Thunar under Xfxe4.   How so you start the session (startx, Slim, gdm)?

Whatever you are using, ensure that it invokes Xfce4 not by just issuing startxfce4but rather by issuing exec ck-launch-session startxfce4


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2010-10-03 15:06:31

dioltas
Member
Registered: 2009-06-03
Posts: 44

Re: [Solved] Error mounting a Kindle using Thunar

Try running

watch -n 2 "dmesg | tail"

and watching the output when you plug in the kindle.

Here's the output when I plug a sd card into my laptop:

tifm_core: MMC/SD card detected in socket 0:3
tifm0 : demand removing card from socket 0:3
tifm_core: MMC/SD card detected in socket 0:3
mmc3: new SDHC card at address e473
mmcblk0: mmc3:e473 SD16G 14.8 GiB
 mmcblk0: p1

I think this means the device has been added as /dev/mmcblk0, and /dev/mmcblk0p1 is partition 1.
Then I can mount it by doing:

sudo mount /dev/mmcblk0p1 /media/disk/ -o uid=1000

where uid is your uid, so you can access it properly. Type id to find this.

Maybe try this to see if you can mount it at all.
Might be useful to post the output of "lsusb" too with it plugged in.

Last edited by dioltas (2010-10-03 15:07:14)

Offline

#4 2010-10-03 15:07:03

schen
Member
Registered: 2009-06-06
Posts: 468

Re: [Solved] Error mounting a Kindle using Thunar

I have a Kindle 3 and it mounts perfectly under thunar. I start with ck-launch-session and dbus-launch, using dwm. Have you installed thunar-volman?

Offline

#5 2010-10-03 17:05:32

nullstellensatz
Member
Registered: 2010-10-03
Posts: 11

Re: [Solved] Error mounting a Kindle using Thunar

I am actually using Thunar under a standalone Openbox, so it is entirely possible that something is not being started properly. I did install thunar-volman and it didn't help.

This is what comes up on dmesg when I plug in the Kindle:

USB Mass Storage support registered.
scsi 6:0:0:0: Direct-Access     Kindle   Internal Storage 0100 PQ: 0 ANSI: 2
sd 6:0:0:0: Attached scsi generic sg2 type 0
sd 6:0:0:0: [sdb] 6410688 512-byte logical blocks: (3.28 GB/3.05 GiB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 0f 00 00 00
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] Attached SCSI removable disk

It almost seems as if it's treating it as a SCSI device, which is very odd. The output of lsusb is:

Bus 002 Device 004: ID 1949:0004 Lab126 
Bus 002 Device 002: ID 046d:c064 Logitech, Inc. 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So, it seems as if it's recognizing it, but doesn't know what to do with it.

Last edited by nullstellensatz (2010-10-03 17:10:26)

Offline

#6 2010-10-03 18:03:59

dioltas
Member
Registered: 2009-06-03
Posts: 44

Re: [Solved] Error mounting a Kindle using Thunar

I'm not too sure how thunar and it's automounting works.

What if you try

sudo mount /dev/sdb1 /media/disk/ -o uid=1000

replacing /media/disk for some empty folder where you want to mount it.
and replace uid for your user's uid (type "id" to get this).
Then just browse to that folder. At least it will let you put some stuff on it until you get it working with thunar.

Then you know it's mounting ok and it's just the thunar setup.

Offline

#7 2010-10-03 19:53:10

nullstellensatz
Member
Registered: 2010-10-03
Posts: 11

Re: [Solved] Error mounting a Kindle using Thunar

I just tried manually mounting it, and it works just fine. Thanks for the tip.

So, apparently it is just a problem with Thunar's automounting.

Offline

#8 2010-10-04 05:56:00

Odysseus
Member
Registered: 2009-02-15
Posts: 141

Re: [Solved] Error mounting a Kindle using Thunar

Make sure you follow the tip about "ck-launch-session".  Thunar won't automount anything otherwise.
Try something like "exec ck-launch-session openbox" in your .xinitrc.

See this link: http://wiki.archlinux.org/index.php/Ope … ow_manager

Last edited by Odysseus (2010-10-04 06:02:17)


I'm the type to fling myself headlong through the magical wardrobe, and then incinerate the ornate mahogany portal behind me with a Molotov cocktail.

Offline

#9 2010-10-04 06:03:17

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Solved] Error mounting a Kindle using Thunar

Unless you particularly need automounting, I'd suggest pmount.

Offline

#10 2010-10-05 03:45:15

nullstellensatz
Member
Registered: 2010-10-03
Posts: 11

Re: [Solved] Error mounting a Kindle using Thunar

I changed my .xinitrc to "exec ck-launch-session openbox-session" and it automounts perfectly now. Thanks for the help!

Last edited by nullstellensatz (2010-10-05 03:46:53)

Offline

Board footer

Powered by FluxBB