[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2011-04-12 Thread Nick Holloway
I have had a patch accepted upstream to util-linux which means that
blkid will recognize the filesystem correctly, and it will then mount.

http://git.kernel.org/?p=utils/util-linux/util-
linux.git;a=commit;h=20f5be46ec57af3f21913c487000d69fb8857e18

ID_FS_LABEL=VTech_1070
ID_FS_LABEL_ENC=VTech\x201070
ID_FS_SEC_TYPE=msdos
ID_FS_TYPE=vfat
ID_FS_USAGE=filesystem
ID_FS_UUID=2004-1014
ID_FS_UUID_ENC=2004-1014
ID_FS_VERSION=FAT16

** Package changed: gvfs (Ubuntu) => util-linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/500398

Title:
  Vtech Kidizoom camera USB doesn't mount

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2011-03-21 Thread Pedro Villavicencio
** Changed in: gvfs (Ubuntu)
   Status: Fix Released => New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.
https://bugs.launchpad.net/bugs/500398

Title:
  Vtech Kidizoom camera USB doesn't mount

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2011-03-19 Thread madbiologist
OK, thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.
https://bugs.launchpad.net/bugs/500398

Title:
  Vtech Kidizoom camera USB doesn't mount

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2011-03-19 Thread Nick Holloway
The kernel change is not a fix for the real problem.  All the kernel
patch above does is correctly identify the correct storage capacity (and
not spit out error messages as it attempts to access beyond the end of
the device).

The real problem is that the identification of the partition fails due
to the number of heads not being set in the FAT superblock (see #15).

I don't seem to be able to change the status.  Can somebody please
change the status back to "New".  I believe the affected package should
be "libblkid".

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.
https://bugs.launchpad.net/bugs/500398

Title:
  Vtech Kidizoom camera USB doesn't mount

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2011-03-18 Thread madbiologist
This is fixed in the Lucid 2.6.32-30.59 kernel:

* USB: Storage: Add unusual_devs entry for VTech Kidizoom

>From the upstream 2.6.32.29 kernel release notes:

5d8a03932c2692a64d11f3c8b57409d3
Author: Nick Holloway
Date:   Wed Jan 26 21:47:43 2011 +

USB: Storage: Add unusual_devs entry for VTech Kidizoom

commit c25f6b1591b158f7ae3b9132367d0fa6d632e70e upstream.

This device suffers from the off-by-one error when reporting the capacity,
so add entry with US_FL_FIX_CAPACITY.

Signed-off-by: Nick Holloway
Signed-off-by: Greg Kroah-Hartman

** Changed in: gvfs (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.
https://bugs.launchpad.net/bugs/500398

Title:
  Vtech Kidizoom camera USB doesn't mount

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2011-01-23 Thread Nick Holloway
I have found the cause for this defect, and a workaround.

The cause is that the FAT16 superblock on the camera does not set the
number of heads, and so the partition type is not detected correctly.
You get no output from the following command:

# blkid -p /dev/disk/by-id/usb-
VTech_Kidizoom_123456789ABCDEF-0:0-part1

The kernel is able to mount the partition when mounted manually in the
workaround above because it does not enforce the non-zero heads
requirement.  In "fat/inode.c" there is the following comment:

/*
 * Earlier we checked here that b->secs_track and b->head are nonzero,
 * but it turns out valid FAT filesystems can have zero there.
 */

This means that I suspect the defect is in util-linux.  In
superblocks/vfat.c it will discount a superblock with a zero value for
heads:

if (ms->ms_heads == 0)
return 0;

I was able to confirm this, and provide a workaround by setting the
number of heads in the superblock to be 63:

echo -n "?" | dd of=/dev/disk/by-id/usb-
VTech_Kidizoom_123456789ABCDEF-0:0-part1 seek=26 bs=1 count=1
conv=notrunc

Now the partition is detected successfully by blkid.

# blkid -p /dev/disk/by-id/usb-VTech_Kidizoom_123456789ABCDEF-0\:0-part1
/dev/disk/by-id/usb-VTech_Kidizoom_123456789ABCDEF-0:0-part1: 
SEC_TYPE="msdos" LABEL="VTech 1070" UUID="2004-1014" VERSION="FAT16" 
TYPE="vfat" USAGE="filesystem" 

The next time the camera is plugged in it becomes available as "VTech
1070".

** Attachment added: "Superblock of Kidizoom internal disk"
   
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/500398/+attachment/1803713/+files/kidizoom.sb

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.
https://bugs.launchpad.net/bugs/500398

Title:
  Vtech Kidizoom camera USB doesn't mount

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2011-01-04 Thread rapha
here is the rcspam's blog with a solution in english
http://rcspamsblogen.blogspot.com

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.
https://bugs.launchpad.net/bugs/500398

Title:
  Vtech Kidizoom camera USB doesn't mount

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2010-12-31 Thread rapha
@ Fabio,

Let the children will be happy... ;)
Thanx for the test

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.
https://bugs.launchpad.net/bugs/500398

Title:
  Vtech Kidizoom camera USB doesn't mount

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2010-12-29 Thread Fabio
Hi Rapha,

Thanks, I can confirm your fix works, at least on my system(10.10).
Attached the device without an SD card, and could access all files and
folders.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.
https://bugs.launchpad.net/bugs/500398

Title:
  Vtech Kidizoom camera USB doesn't mount

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2010-12-29 Thread rapha
While waiting the correction you can find the solution here:
http://rcspamsblog.blogspot.com

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.
https://bugs.launchpad.net/bugs/500398

Title:
  Vtech Kidizoom camera USB doesn't mount

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2010-12-28 Thread rapha
Just to specify to not forget to install pmount.
"sudo apt-get install pmount"

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.
https://bugs.launchpad.net/bugs/500398

Title:
  Vtech Kidizoom camera USB doesn't mount

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2010-12-28 Thread rapha
here is a solution to fix it:

create 2 rules in a /etc/udev/rules.d/90-kidizoom.rules with this:

KERNEL=="sd?1", SUBSYSTEMS=="scsi", ACTION=="add", ATTRS{vendor}=="VTech   ", 
ATTRS{model}=="Kidizoom", SYMLINK+="kidizoom", 
RUN+="/path/to/mount-script %k"
KERNEL=="sd?1", SUBSYSTEMS=="scsi", ACTION=="remove", ENV{ID_VENDOR}=="VTech*", 
 RUN+="/path/to/umount-script %k"

Dont forget to reload udev: "sudo service udev restart"

Write the mount-script:

#!/bin/bash

mk() {
pumount /dev/$1
sleep 1
pmount -t vfat /dev/kidizoom KIDIZOOM
xhost local:$2
nautilus /media/KIDIZOOM
}

user=`who | grep :0\) | cut -f 1 -d ' '`
export DISPLAY=:0.0
export -f mk
su $user -c "mk $1 $user"


And the umount-script:

#!/bin/bash

umk() {
pumount /dev/$1
sleep 1
xhost local:$2
zenity  --info --text "Kidizoom is unmount"
}

user=`who | grep :0\) | cut -f 1 -d ' '`
export -f umk
export DISPLAY=:0.0
su $user -c "umk $1 $user"

It works for me (maverick)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.
https://bugs.launchpad.net/bugs/500398

Title:
  Vtech Kidizoom camera USB doesn't mount

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2010-12-25 Thread FiX
Behavior with Maverick:

1) without an SD card, nothing shows up on the USB bus

2) with an SD card (manufacturer mentionned 2GB max) formatted with a
single FAT32 partition, both the internal memory & the SD-card properly
auto-mount. ALINE is the volume name of the SD card.

% sudo mount
[...]
/dev/sdb1 on /media/ALINE type vfat 
(rw,nosuid,nodev,uhelper=udisks,uid=1001,gid=1001,shortname=mixed,dmask=0077,utf8=1,showexec,flush)
/dev/sdc1 on /media/VTech 773 type vfat 
(rw,nosuid,nodev,uhelper=udisks,uid=1001,gid=1001,shortname=mixed,dmask=0077,utf8=1,showexec,flush)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.
https://bugs.launchpad.net/bugs/500398

Title:
  Vtech Kidizoom camera USB doesn't mount

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2010-04-17 Thread earthforce_1
Same problem under Lucid :(

Was able to manually mount it:
sudo mount -t vfat /dev/sdg1 /mnt


The ubuntu disk utility identifies it as as USB storage device formatted as a 
FAT16 partition with 48MB capacity

Maybe that is why it has trouble automounting - this is a very old file
system.

-- 
Vtech Kidizoom camera USB doesn't mount
https://bugs.launchpad.net/bugs/500398
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2010-04-13 Thread earthforce_1
Let's hope your workaround functions in Lucid - I just upgraded because
of problems with my GPU.

Better yet - I hope it works properly under Linux.

-- 
Vtech Kidizoom camera USB doesn't mount
https://bugs.launchpad.net/bugs/500398
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2010-04-09 Thread Christian Brugger
It works if you mount it manually.

Use the following command:

sudo mount -t vfat /dev/sdb /mnt
(replace sdb with the device that ist created for your kidizoom)

after that the content is available in /mnt

Hope that helps Christian

-- 
Vtech Kidizoom camera USB doesn't mount
https://bugs.launchpad.net/bugs/500398
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2010-02-06 Thread schilcha
BTW, here's my current dmesg, if you miss some information on my
system...

** Attachment added: "dmesg for my previous post (#3)"
   http://launchpadlibrarian.net/38840668/dmesg.kidizoom

-- 
Vtech Kidizoom camera USB doesn't mount
https://bugs.launchpad.net/bugs/500398
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2010-02-06 Thread schilcha
Hi there too!

I have the same (?) problem here too.

More specifically, only the SD-card inserted into the camera is mounted
automatically and readily shows up on my desktop. However, the internal
memory of the Kidizoom camera is not mounted automatically. Moreover, I
cannot even mount it manually -- mount requests to provide a file-system
type (which actually should be FAT I guess).

Unfortunately, udev is a closed book to me, but what seems odd to me is
that the output from usb_id is significantly different between the two
drives the camera provides.

syslog-portion of the usb_id-part for the internal memory (the one that 
can*not* be mounted) provides less output from usb_id (see line 17ff in the 
attached logfile):
ID_VENDOR=VTech
ID_VENDOR_ENC=VTech
ID_VENDOR_ID=0f88
ID_MODEL=Kidizoom
ID_MODEL_ENC=Kidizoom
ID_MODEL_ID=042e
ID_REVISION=0100
ID_SERIAL=VTech_Kidizoom_123456789ABCDEF
ID_SERIAL_SHORT=123456789ABCDEF
ID_BUS=usb
ID_USB_INTERFACES=:080650:

while the syslog-portion of the usb_id-part for the SD card (the one that *is* 
mounted automatically) provides additional information on this being an 
usb-storage device (see line 332ff in the attached logfile):
ID_VENDOR=VTech
ID_VENDOR_ENC=VTech\x20\x20\x20
ID_VENDOR_ID=0f88
ID_MODEL=Kidizoom
ID_MODEL_ENC=Kidizoom\x20\x20\x20\x20\x20\x20\x20\x20
ID_MODEL_ID=042e
ID_REVISION=1.11
ID_SERIAL=VTech_Kidizoom_123456789ABCDEF-0:0
ID_SERIAL_SHORT=123456789ABCDEF
ID_TYPE=disk  <<--- 
additional information
ID_INSTANCE=0:0   <<--- additional 
information
ID_BUS=usb
ID_USB_INTERFACES=:080650:
ID_USB_INTERFACE_NUM=00   <<--- additional information
ID_USB_DRIVER=usb-storage<<--- additional 
information


Any help (esp. bug-fixes ;) is greatly appreciated.


** Attachment added: "Excerpt from /var/log/syslog (with udev logging set to 
info). These 3 steps are covered: connecting the camera, umounting the camera's 
SD-Card and disconnecting the camera again."
   http://launchpadlibrarian.net/38840486/syslog.kidizoom

-- 
Vtech Kidizoom camera USB doesn't mount
https://bugs.launchpad.net/bugs/500398
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2010-01-05 Thread Didi26
Hi!

This bug affects me too.
Here is the result of my lsusb:

Bus 001 Device 011: ID 0f88:042e VTech Holdings, Ltd 
Bus 001 Device 006: ID 050d:0271 Belkin Components 
Bus 001 Device 005: ID 1307:0330 Transcend Information, Inc. 
Bus 001 Device 004: ID 046d:c526 Logitech, Inc. 
Bus 001 Device 003: ID 0424:2504 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 045e:0732 Microsoft Corp. 
Bus 003 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 058f:6377 Alcor Micro Corp. Multimedia Card Reader
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle 
(HCI mode)
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

kind regards

-- 
Vtech Kidizoom camera USB doesn't mount
https://bugs.launchpad.net/bugs/500398
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2010-01-04 Thread Pedro Villavicencio
** Changed in: gvfs (Ubuntu)
   Importance: Undecided => Low

-- 
Vtech Kidizoom camera USB doesn't mount
https://bugs.launchpad.net/bugs/500398
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 500398] Re: Vtech Kidizoom camera USB doesn't mount

2009-12-25 Thread earthforce_1

** Attachment added: "BootDmesg.txt"
   http://launchpadlibrarian.net/37189434/BootDmesg.txt

** Attachment added: "CurrentDmesg.txt"
   http://launchpadlibrarian.net/37189437/CurrentDmesg.txt

** Attachment added: "DKDisksMonitorLog.txt"
   http://launchpadlibrarian.net/37189439/DKDisksMonitorLog.txt

** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/37189441/Dependencies.txt

** Attachment added: "UdevMonitorLog.txt"
   http://launchpadlibrarian.net/37189442/UdevMonitorLog.txt

-- 
Vtech Kidizoom camera USB doesn't mount
https://bugs.launchpad.net/bugs/500398
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs