LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This 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


Reply
  Search this Thread
Old 12-13-2008, 07:20 AM   #16
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52

Can you post the output of mount please (with the phone connected and mounted)
 
Old 12-13-2008, 11:32 PM   #17
frito11
LQ Newbie
 
Registered: Dec 2008
Location: Fremont, CA
Distribution: Ubuntu 8.10
Posts: 3

Rep: Reputation: 0
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
 
Old 12-13-2008, 11:34 PM   #18
frito11
LQ Newbie
 
Registered: Dec 2008
Location: Fremont, CA
Distribution: Ubuntu 8.10
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by Tuttle View Post
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

Last edited by frito11; 12-13-2008 at 11:39 PM.
 
Old 12-14-2008, 12:02 AM   #19
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
It's a fat partition so any permissions you set will disappear after you umount it.
All permissions will go back to rwxr-xr-x (755)

Last edited by Tuttle; 12-14-2008 at 12:05 AM.
 
Old 01-11-2009, 08:00 AM   #20
doc235
LQ Newbie
 
Registered: Jan 2009
Location: Barboursville, WV (west virginia}
Posts: 1

Rep: Reputation: 0
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.

Doc

Last edited by doc235; 01-11-2009 at 08:02 AM.
 
Old 06-30-2009, 11:08 AM   #21
Smeagel
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
A few notes

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 View Post

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
 
Old 10-04-2009, 05:55 PM   #22
funkyflo
LQ Newbie
 
Registered: Oct 2009
Location: austria/europe
Distribution: debian
Posts: 8

Rep: Reputation: 0
root or reboot :)

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 )))
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting issue ELECTRONICSFREAK Linux - Newbie 14 10-14-2008 01:35 AM
Mounting issue, please help emperor_black Linux - Networking 3 08-20-2008 03:07 PM
mounting issue itzig Linux - Hardware 17 02-18-2006 02:54 PM
cd mounting issue greenmuzz Linux - Hardware 2 09-09-2005 02:44 PM
RH 7.2 Mounting Issue santiagodelgado Linux - Software 6 10-29-2001 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 02:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration