Mounting Galaxy S3 internal SD card
by Alex
Hi,
Just got a new Samsung Galaxy S3 and would like to transfer files
between it and my fc15 box. When I insert the USB cable, it seems to
mount it with a file manager pop-up showing
"SAMSUNG_Android_SPH-L710", but it's otherwise not accessible on the
filesystem.
How was it mounted?
I've found several references to jmtpfs and MTP, but I was previously
able to mount my original Galaxy without any additional software, so
I'd appreciate a better explanation of what's happening.
It seems to show up as a USB device, but I can't access it:
[3791164.746674] scsi 104:0:0:0: Direct-Access Generic- Multi-Card
1.00 PQ: 0 ANSI: 0 CCS
[3791164.747120] sd 104:0:0:0: Attached scsi generic sg1 type 0
[3791164.749856] sd 104:0:0:0: [sdb] Attached SCSI removable disk
[root@sage ~]# fdisk -l /dev/sdb
[root@sage ~]#
Ideas greatly appreciated.
Thanks,
Alex
11 years, 9 months
OT: need python help please
by Roger
My daughter wants to teach her students tkinter interface with python.
She cannot get an entry into the field entry1=Entry(fishDisplay,
width=35).grid(row=0, column=1)
to display and this is out of my expertise. Can someone point us to a
suitable tutorial on how to get test in a tk field into a variable and
how to display it.
I ran Idle debug and the result from entry1 is None.
Part of the little app she wrote is as follows.
Please help if possible.
thanks in advance
Roger
from fish import *
from tkinter import *
def searchFish():
def fishies(*args):
#names
siamon = fish[0][0]
goldfish = fish[1][0]
norbert = fish[2][0]
slug = fish[3][0]
snail = fish[4][0]
howzart = fish[5][0]
fidget = fish[6][0]
#aggressive
siamon_a = fish[0][1]
goldfish_a = fish[1][1]
norbert_a = fish[2][1]
slug_a = fish[3][1]
snail_a = fish[4][1]
howzart_a = fish[5][1]
fidget_a = fish[6][1]
#habit
siamon_h = fish[0][2]
goldfish_h = fish[1][2]
norbert_h = fish[2][2]
slug_h = fish[3][2]
snail_h = fish[4][2]
howzart_h = fish[5][2]
fidget_h = fish[6][2]
if entry1=="Goldfish":
details=Label(fishDisplay, bg='lightblue',
text='Goldfish').grid(row=3, column=1)
#print(goldfish[0], goldfish_a[0],goldfish_h[0]) #use the [0] to
remove the ['']'s when printed
#### THE START OF THE TKINTERFACE ####
# sf = searchFish
sf = Tk()
sf.title('Jackson\'s Pond Emporium >> Search A Fish')
sf.geometry("500x400")
sf['background']='lightblue'
window=Frame(sf).pack()
green = PhotoImage(file='GreenFish.gif', master=sf)
topFrame = Frame(window, bg='lightblue').pack(side=TOP, anchor=NW)
newfont = ('arial', 20, 'bold')
g = Label(topFrame, image=green, bg='lightblue').pack(side=LEFT,
anchor=NW, padx=2, pady=2)
title = Label(topFrame, text = 'Fishbase', font = newfont,
bg='lightblue')
title.config(height=3, width=3)
title.pack(side=TOP, fill=BOTH)
fishDisplay = Canvas(window, bg='lightblue')
Label(fishDisplay, text='Keyword:', bg='lightblue',
fg='black').grid(row=0, column=0, sticky=W)
entry1=Entry(fishDisplay, width=35).grid(row=0, column=1)
btn_search=Button(fishDisplay, width=6, text='Search',
command=fishies).grid(row=0, column=3)
Label(fishDisplay, text='Details:', bg='lightblue',
fg='black').grid(row=2, column=0, sticky=W)
details=Label(fishDisplay, bg='lightblue', text='Search the
Fishbase').grid(row=2, column=1)
fishDisplay.pack(side=TOP, anchor=W, fill=X)
sf.bind('<Return>', fishies)
print('entry1 ',entry1)
sf.mainloop()
11 years, 9 months
Apache2 directory listing problem F16
by Mike Wright
Hi Mark,
Sorry for starting a new thread but your post got inadvertently deleted.
Have you tried putting a <limit> directive into your <directory> or
<location> directives?
<limit GET>
order allow,deny
allow from all # or IPs, hosts, etc
</limit>
11 years, 9 months
Linux note-taking apps -- what's your favorite
by Max Pyziur
Greetings,
I'm considering using one of Linux's note-taking apps:
Zim
gnote
tomboy
and some others.
Any personal favorites from their respective user bases?
Much thanks,
Max Pyziur
pyz(a)brama.com
11 years, 9 months
Run my windows dual-boot install in a window in f17
by Matt Morgan
I have Windows actually installed on a separate partition. Can I run it
from inside Linux somehow? That is, without rebooting into Windows. I
looked at VirtualBox and Virtual Machine Manager (I'm completely new to
them) but it wasn't obvious that they could use a real installation of
Windows.
Thanks,
Matt
11 years, 9 months
gnome icon missing
by Patrick Dupre
Hello,
The 3 icons (right side): sound, abrt and Networkmanager disappeared
from my desktop
while there are running.
How can I have them back?
Thank.
--
======================================================================
Patrick DUPRÉ | | email: pdupre(a)kegtux.org
======================================================================
11 years, 9 months
After the today's update git depends on subversion
by Vaclav Mocek
Hi all,
I noticed that the today's update of git brought dependency between git
and subversion. Git requires perl-Git, perl-Git depends on subversion-perl
and subversion-perl depends on subversion. It looks like that the used git
spec file doesn't reflect the changes in the latest release of git
(1.7.11.2).
$yum deplist perl-Git
Loaded plugins: langpacks, presto, priorities, ps, refresh-packagekit,
security
6 packages excluded due to repository priority protections
package: perl-Git.noarch 1.7.11.2-1.fc17
dependency: git = 1.7.11.2-1.fc17
provider: git.x86_64 1.7.11.2-1.fc17
dependency: perl >= 5.008
provider: perl.x86_64 4:5.14.2-212.fc17
dependency: perl(:MODULE_COMPAT_5.14.2)
provider: perl.x86_64 4:5.14.2-212.fc17
dependency: perl(Carp)
provider: perl-Carp.noarch 1.22-2.fc17
dependency: perl(Error)
provider: perl-Error.noarch 1:0.17016-7.fc17
dependency: perl(Exporter)
provider: perl.x86_64 4:5.14.2-212.fc17
dependency: perl(File::Basename)
provider: perl.x86_64 4:5.14.2-212.fc17
dependency: perl(IO::File)
provider: perl.x86_64 4:5.14.2-212.fc17
dependency: perl(SVN::Client)
provider: subversion-perl.x86_64 1.7.5-1.fc17
provider: subversion-perl.i686 1.7.5-1.fc17
dependency: perl(SVN::Core)
provider: subversion-perl.x86_64 1.7.5-1.fc17
provider: subversion-perl.i686 1.7.5-1.fc17
dependency: perl(SVN::Delta)
provider: subversion-perl.x86_64 1.7.5-1.fc17
provider: subversion-perl.i686 1.7.5-1.fc17
dependency: perl(SVN::Ra)
provider: subversion-perl.x86_64 1.7.5-1.fc17
provider: subversion-perl.i686 1.7.5-1.fc17
dependency: perl(YAML::Any)
provider: perl-YAML.noarch 0.81-2.fc17
dependency: perl(strict)
provider: perl.x86_64 4:5.14.2-212.fc17
dependency: perl(vars)
provider: perl.x86_64 4:5.14.2-212.fc17
dependency: perl(warnings)
provider: perl.x86_64 4:5.14.2-212.fc17
$ rpm -ql perl-Git
/usr/share/man/man3/Git.3pm.gz
/usr/share/man/man3/Git::I18N.3pm.gz
/usr/share/man/man3/Git::SVN::Editor.3pm.gz
/usr/share/man/man3/Git::SVN::Fetcher.3pm.gz
/usr/share/man/man3/Git::SVN::Memoize::YAML.3pm.gz
/usr/share/man/man3/Git::SVN::Prompt.3pm.gz
/usr/share/man/man3/Git::SVN::Ra.3pm.gz
/usr/share/perl5/vendor_perl/Git.pm
/usr/share/perl5/vendor_perl/Git/I18N.pm
/usr/share/perl5/vendor_perl/Git/SVN/Editor.pm
/usr/share/perl5/vendor_perl/Git/SVN/Fetcher.pm
/usr/share/perl5/vendor_perl/Git/SVN/Memoize/YAML.pm
/usr/share/perl5/vendor_perl/Git/SVN/Prompt.pm
/usr/share/perl5/vendor_perl/Git/SVN/Ra.pm
I am tempted to report it as a bug .
Regards
Vaclav M.
11 years, 9 months
Systemctl hates mysqld: refuses to start Fedora 16 (LONG)
by R. G. Newbury
Well I am stumped. I have a puzzler which needs the brain-power and
knowledge which hangs around here.
Systemctl on fedora 16 will NOT start mysqld.
The problem started on Thursday evening when I rebooted. Uptime was
then 60 days. Mysqld was running, but mythfrontend was having difficulty
connecting. This was *before* the UTC problem arose. No updates since
about January.
Startup of mysqld fails with a permissions error, attempting to write
to /tmp, which is chmod 1777, that is, world writeable and readable!
There is nothing wrong with the mysql setup. If I run each command from
the command line, mysqld starts without problem. That is to say: there
is nothing wrong with the mysqld setup. I repeat: there is nothing
wrong with the mysqld setup.
But mysqld startup FAILS when initiated by systemctl.
In order to avoid unhelpful responses/questions relating to the many
many many other ways in which one can have mysqld fail to start, I
will list the sanity checks which I have used to ensure that everything
lines up properly: I have checked my.cnf and use the same command line
switches, and folders and permissions throughout. Everything run as
root. Selinux disabled. And mysqld *will* start properly from the
commandline, just NOT by way of systemctl. See log extract below.
So any answers about missing folders etc are off-track.
*** Proof of Setup
# mkdir /var/log/mysqld
mkdir: cannot create directory `/var/log/mysqld': File exists
# chown -R mysql:mysql /var/log/mysqld
# chmod -R 777 /var/log/mysqld
# chown -R mysql:mysql /run/mysqld
# chmod -R 777 /run/mysqld
# chmod -R 1777 /tmp
# killall mysqld
mysqld: no process found
**** Replicate mysqld.service commands:
# /usr/libexec/mysqld-prepare-db-dir
# /usr/bin/mysqld_safe --nowatch --datadir=/var/lib/mysql
--socket=/var/lib/mysql/mysql.sock --pid-file=/run/mysqld/mysqld.pid
--basedir=/usr/ --log-error=/var/log/mysqld/mysqld.log
# /usr/libexec/mysqld-wait-ready $MAINPID
**** and mysqld STARTS
# ps -ae | grep mysqld
20853 pts/3 00:00:00 mysqld
At this point, I can use the console mysql client, etc. etc.
So the mysqld setup is correct. But this is not what happens under
systemctl
******** COMPARE AND CONTRAST *******
# killall mysqld
# systemctl start mysqld.service
Job failed. See system logs and 'systemctl status' for details.
*** Edited *** Failure is:
Process: 25762 ExecStartPost=/usr/libexec/mysqld-wait-ready
$MAINPID (code=exited, status=1/FAILURE)
*** Comment out the exec-post command (which is not technically
required...it just adds some 'settle' time) and reload:
# systemctl start mysqld.service
******* Note that it gives no error....as appears above
******** Yes the service IS disabled atm, because of this testing
# systemctl status mysqld.service
mysqld.service - MySQL database server
Loaded: loaded (/lib/systemd/system/mysqld.service; disabled)
Active: failed since Sun, 01 Jul 2012 12:05:22 -0400; 5s ago
Process: 26943 ExecStart=/usr/bin/mysqld_safe --nowatch
--datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock
--pid-file=/run/mysqld/mysqld.pid --basedir=/usr/
--log-error=/var/log/mysqld/mysqld.log (code=exited, status=0/SUCCESS)
Process: 26927 ExecStartPre=/usr/libexec/mysqld-prepare-db-dir
(code=exited, status=0/SUCCESS)
Main PID: 27128 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/mysqld.service
SO, the operation was a success but the patient died...
**** mysqld.log
**** First the command line startup and shutdown:
120701 12:15:30 mysqld_safe Starting mysqld daemon with databases from
/var/lib/mysql
120701 12:15:30 [Note] Plugin 'FEDERATED' is disabled.
120701 12:15:30 InnoDB: The InnoDB memory heap is disabled
120701 12:15:30 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120701 12:15:30 InnoDB: Compressed tables use zlib 1.2.5
120701 12:15:30 InnoDB: Using Linux native AIO
120701 12:15:30 InnoDB: Initializing buffer pool, size = 128.0M
120701 12:15:30 InnoDB: Completed initialization of buffer pool
120701 12:15:30 InnoDB: highest supported file format is Barracuda.
120701 12:15:30 InnoDB: Waiting for the background threads to start
120701 12:15:31 InnoDB: 1.1.8 started; log sequence number 5950198631
120701 12:15:31 [Note] Server hostname (bind-address): '127.0.0.1';
port: 3306
120701 12:15:31 [Note] - '127.0.0.1' resolves to '127.0.0.1';
120701 12:15:31 [Note] Server socket created on IP: '127.0.0.1'.
120701 12:15:31 [Note] Event Scheduler: Loaded 0 events
120701 12:15:31 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.24' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL
Community Server (GPL)
120701 12:16:08 [Note] /usr/libexec/mysqld: Normal shutdown
120701 12:16:08 [Note] Event Scheduler: Purging the queue. 0 events
120701 12:16:08 InnoDB: Starting shutdown...
120701 12:16:09 InnoDB: Shutdown completed; log sequence number
5950198631
120701 12:16:09 [Note] /usr/libexec/mysqld: Shutdown complete
120701 12:16:08 [Note] Event Scheduler: Purging the queue. 0 events
120701 12:16:08 InnoDB: Starting shutdown...
**** All as expected
**** Systemctl startup:
20701 12:23:23 mysqld_safe Starting mysqld daemon with databases from
/var/lib/mysql
120701 12:23:23 [Note] Plugin 'FEDERATED' is disabled.
120701 12:23:23 InnoDB: The InnoDB memory heap is disabled
120701 12:23:23 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120701 12:23:23 InnoDB: Compressed tables use zlib 1.2.5
120701 12:23:23 InnoDB: Using Linux native AIO
********** HERE IS THE ERROR
^G/usr/libexec/mysqld: Can't create/write to file '/tmp/ibVcsIip'
(Errcode: 13)
120701 12:23:23 InnoDB: Error: unable to create temporary file; errno: 13
120701 12:23:23 [ERROR] Plugin 'InnoDB' init function returned error.
120701 12:23:23 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE
failed.
120701 12:23:23 [ERROR] Unknown/unsupported storage engine: InnoDB
120701 12:23:23 [ERROR] Aborting
120701 12:23:23 [Note] /usr/libexec/mysqld: Shutdown complete
I can find NO other error messages. /tmp is 1777: completely world
writeable, but systemctl/mysqld cannot write there.
Sorry for the length. Can anyone shed ANY light on this?
(And for all our sakes when replying, please PLEASE PLEASE chop off at
the least everything above the 'HERE IS THE ERROR LINE'. It is all
background and setup and not relevant to the actual error. It only
shows *where* the error appears and why 'the usual suspects' are not to
be considered 'persons of interest'.
ATM, my workaround is to disable mysqld.service, and start mysqld as
an /etc/rc.d/init.d service by calling mysqld-prepare-db-dir and
mysqld_safe from there. It's a bodge (and that's what I call it!) And
without mysql, my mythbox is useless.
I want to know why mysqld cannot write to /tmp when started by
systemctl on Fedora 16. (Everything works properly in Fedora 17).
(Anyone know if Lennart reads this list?)
Geoff
11 years, 9 months