Linux - MobileThis forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
well, if you need to get root access to do something like that run "gksudo(insert app here)"
I have Ubuntu 8.10 installed with Kubuntu as well after i installed it, (use Gnome though for personal reasons) so I use nautilus, so in my instance when i need to share something my user dont own, or modify something etc i run the command "gksudo nautilus" and that instance of Nautilus has root privliages
as for modifying files on my G1 i have not ran into a reason to do that yet so i will have to test that, but i can confirm that using an SDcard reader allows you to read/write to any card inserted without using root access, that i have done
Can you post the output of mount please (with the phone connected and mounted)
sure here it is
Quote:
frito@main-desktop:~$ mount
/dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.27-10-generic/volatile type tmpfs (rw,mode=755)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
gvfs-fuse-daemon on /home/frito/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=frito)
/dev/sdd1 on /media/Seagate750G type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sdc1 on /media/Maxtor 250G type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sdi1 on /media/disk type vfat (rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=1000,utf8,umask=077,flush)
Edit: just realized you were prob asking him to post his "mount" output, hopefully my working one will possibly shed some light on the situation
/dev/sdi1 is my G1
also I can delete and edit files on my sdcard that is mounted via the G1, just tested it
here is a possible solution for you
i used it for my palm pilot )must have handspring visor emerged
# /etc/conf.d/local.start
# This is a good place to load any misc programs
# on startup (use &>/dev/null to hide output)
# make palm pilot nodes at boot
mkdir -m 0755 /dev/tts
#KERNEL="ttyUSB[0-9]*",NAME="tts/USB%n",GROUP="wheel",MODE="0600"
mknod -m 0666 /dev/tts/USB0 c 188 0
mknod -m 0666 /dev/tts/USB1 c 188 1
ln -s /dev/tts/USB0 /dev/pilot0
ln -s /dev/tts/USB1 /dev/pilot1
mknod -m 0666 /dev/sda c 188 0
mknod -m 0666 /dev/sda1 c 188 1
ln -s /dev/sda/ /dev/sda
ln -s /dev/sda/ /dev/sda1
this creates a PERMANENT symlink in /dev so you don't have to keep plugging and unplugging and don't need to guiess which one it is using since both are created and it will mount on whichever it needs and away you go
i just tell my sony clie to sync with Jpilot and press the hotsync and away it goes
give it a shot
i use Gentoo, latest build, i think 2.6.27-r7. not CERTAIN
i know i know.
People who build their own kernels and are only seeing /dev/sdX where X is a letter, and not /dev/sdX1 as well, may be missing a kernel option that is required.
Assuming your linux sources are in /usr/src/linux/
Look in /usr/src/linux/.config:
grep CONFIG_SCSI_MULTI_LUN /usr/src/linux/.config
What you should expect to see is:
CONFIG_SCSI_MULTI_LUN=y
If you do NOT see that, if you see it something like this:
# CONFIG_SCSI_MULTI_LUN is not set
Then you need to open that file in your favorite editor and change that line to:
CONFIG_SCSI_MULTI_LUN=y
Rebuild your kernel, install it, and reboot. That should start showing you /dev/sdX1. The reason behind this is there are two different devices really present in the g1, the main memory on the actual phone, and the microsd card. If it only probes a single LUN, then it only gets the phone (/dev/sdX) but doesn't find the microSD card (/dev/sdX1).
As for bigjohn...
Quote:
Originally Posted by bigjohn
p.s. Oh, or maybe there's a way of becoming "the owner" so I can change it?? or a "co-owner" of /media/disk or something like that, except I don't know how it might be done ???
I'm not sure what the automounter is doing, it's annoying it is not mounting it editable in your username...but you certainly don't want to reformat..you just want to mount with a user option:
sudo mount -t vfat -o uid=`echo $USER` /dev/sdX1 /mnt/g1
where SDX is the device that appears in dmesg when you plug in the g1
i had the same tubs as windows did not want to mount my
tmobile austria g1 at all after the 1st android core update.
so i tried it with my ubuntu 9.04 livecd and had similar errors
as described above, unable 2 mount, unknown partition table etc, and
i did not want to bond and suck arround with all those logs, so
i just opened the chasis of the g1, put it away accu power, after half a minute i put the battery in, booted the g1 (htc dream) again, and
like magic, the ubuntu scripts (god bless them) made me even an icon on the desktop for the usb data on my g1 after i clicked @the phone 2 provide data on memory 2 computer, and then i successfuly saved a cool funky mp3 file to my g1 )))
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.