[Bug 297338] Re: Sugar does not see/mount USB Flash drive

2013-05-25 Thread dino99
http://www.freedesktop.org/wiki/Software/hal/

** Changed in: hal (Ubuntu)
   Status: New = Invalid

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

Title:
  Sugar does not see/mount USB Flash drive

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hal/+bug/297338/+subscriptions

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


[Bug 297338] Re: Sugar does not see/mount USB Flash drive

2008-11-13 Thread Luke Faraone
This is most likely a HAL problem.

** Also affects: hal (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: sugar (Ubuntu)
   Status: New = Invalid

-- 
Sugar does not see/mount USB Flash drive
https://bugs.launchpad.net/bugs/297338
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 297338] Re: Sugar does not see/mount USB Flash drive

2008-11-12 Thread mungewell
After lfaraone said it worked for him, I tried a few couple of different
USB sticks, both worked OK but the original one still failed.

Lexar 1GByte - worked, mounted first partition of 2 (sdb1 = VFAT) and displayed 
the contents of /media/LEXAR/syslinux (yes this is a Fedora bootable USB of 
Sugar ;-)
Unbranded 2GByte - worked, mounted first partition of 2 (sdb1 = VFAT) and 
displayed the contents of /media/live/casper (bootable Ubuntu Sugar)
Sandisk Cruzer 4GByte - failed. 1 partition (sdb1 = VFAT), USB-ID 0x0781:5406

Maybe this is just a problem with larger size USB drives, or with Sandisk 
specifically.
Simon.

-- 
Sugar does not see/mount USB Flash drive
https://bugs.launchpad.net/bugs/297338
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 297338] Re: Sugar does not see/mount USB Flash drive

2008-11-12 Thread mungewell
Couple of points

1). I am an idiot. The Sandisk is only 512MByte version, so it unlikely
to be an issue with large disks.

2). If I insert a 'working' USB key with sugar-emulator running it is
sometimes mounted UID=1000 (my user ID) and sometimes mounted UID=500.
There seems to be a race condition here somewhere. Regardless of UID it
appears in the Journal.

3) The Sandisk shows the same 500/1000 issue with sugar-emulator, but
still doesn't appear in the Journal.

4) Without Sugar-emulator running they both always (so far) mount as
UID=1000.

Simon.

-- 
Sugar does not see/mount USB Flash drive
https://bugs.launchpad.net/bugs/297338
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 297338] Re: Sugar does not see/mount USB Flash drive

2008-11-12 Thread mungewell
UID 500/1000 issue spun off as seperate bug
https://bugs.launchpad.net/ubuntu/+source/sugar-journal-activity/+bug/297479


Sandisk HAL listing does not include the correct HAL properties, and thus fails 
the test in /usr/share/activities/Journal.activity/volumesmanager.py
--
# Ignore volumes without a filesystem.
if device.GetProperty('volume.fsusage') != 'filesystem':
return False
--

hal-device listing for Sandisk (USB-ID 0x0781:5406)
--
6: udi = '/org/freedesktop/Hal/devices/usb_device_781_5406_060423032262'
  usb_device.vendor = 'SanDisk Corp.'  (string)
  usb_device.bus_number = 1  (0x1)  (int)
  usb_device.product = 'Cruzer Micro 1/4GB Flash Drive'  (string)
  linux.device_file = '/dev/bus/usb/001/002'  (string)
  linux.sysfs_path = '/sys/devices/pci:00/:00:1d.0/usb1/1-1'  (string)
  info.subsystem = 'usb_device'  (string)
  usb_device.linux.sysfs_path = '/sys/devices/pci:00/:00:1d.0/usb1/1-1' 
 (string)
  usb_device.device_revision_bcd = 16  (0x10)  (int)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1__00_1d_0'  (
string)
  usb_device.configuration_value = 1  (0x1)  (int)
  info.vendor = 'SanDisk Corp.'  (string)
  info.product = 'Cruzer Micro 1/4GB Flash Drive'  (string)
  usb_device.max_power = 100  (0x64)  (int)
  usb_device.num_configurations = 1  (0x1)  (int)
  usb_device.num_ports = 0  (0x0)  (int)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_781_5406_060423032262'
  (string)
  info.linux.driver = 'usb'  (string)
  usb_device.num_interfaces = 1  (0x1)  (int)
  usb_device.linux.device_number = 2  (0x2)  (int)
  usb_device.device_class = 0  (0x0)  (int)
  usb_device.serial = '060423032262'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  usb_device.device_subclass = 0  (0x0)  (int)
  usb_device.speed = 12  (double)
  linux.subsystem = 'usb'  (string)
  usb_device.device_protocol = 0  (0x0)  (int)
  usb_device.version = 2  (double)
  usb_device.vendor_id = 1921  (0x781)  (int)
  usb_device.is_self_powered = false  (bool)
  usb_device.product_id = 21510  (0x5406)  (int)
  usb_device.can_wake_up = false  (bool)
--

By contrast the LEXAR device has it
--
7: udi = '/org/freedesktop/Hal/devices/volume_label_LEXAR'
  linux.hotplug_type = 3  (0x3)  (int)
  info.product = 'LEXAR'  (string)
  info.capabilities = { 'volume', 'block', 'access_control' } (string list)
  block.storage_device = 
'/org/freedesktop/Hal/devices/storage_serial_LEXAR_JD_FIREFLY_106A6612145843130507_0_0'
  (string)
  info.udi = '/org/freedesktop/Hal/devices/volume_label_LEXAR'  (string)
  volume.fstype = 'vfat'  (string)
  access_control.file = '/dev/sdb1'  (string)
  volume.fsusage = 'filesystem'  (string)
  access_control.type = 'removable-block'  (string)
  volume.fsversion = 'FAT16'  (string)
  info.callouts.add = { 'hal-acl-tool --add-device' } (string list)
  volume.uuid = ''  (string)
  info.callouts.remove = { 'hal-acl-tool --remove-device' } (string list)
  volume.label = 'LEXAR'  (string)
  volume.mount_point = '/media/LEXAR'  (string)
  volume.is_mounted = true  (bool)
  volume.is_mounted_read_only = false  (bool)
  volume.linux.is_device_mapper = false  (bool)
  volume.is_disc = false  (bool)
  volume.is_partition = true  (bool)
  volume.partition.number = 1  (0x1)  (int)
  volume.block_size = 512  (0x200)  (int)
  volume.num_blocks = 1981408  (0x1e3be0)  (uint64)
  volume.size = 1014480896  (0x3c77c000)  (uint64)
  block.device = '/dev/sdb1'  (string)
  block.major = 8  (0x8)  (int)
  info.category = 'volume'  (string)
  volume.partition.start = 16384  (0x4000)  (uint64)
  block.minor = 17  (0x11)  (int)
  volume.partition.media_size = 1014497280  (0x3c78)  (uint64)
  block.is_volume = true  (bool)
  volume.partition.scheme = 'mbr'  (string)
  volume.partition.type = '0x04'  (string)
  volume.partition.label = ''  (string)
  linux.sysfs_path = '/sys/block/sdb/sdb1'  (string)
  volume.partition.uuid = ''  (string)
  info.parent = 
'/org/freedesktop/Hal/devices/storage_serial_LEXAR_JD_FIREFLY_106A6612145843130507_0_0'
  (string)
  volume.partition.flags = { 'boot' } (string list)
  volume.ignore = false  (bool)
  storage.model = ''  (string)
  org.freedesktop.Hal.Device.Volume.method_names = { 'Mount', 'Unmount', 
'Eject' } (string list)
  org.freedesktop.Hal.Device.Volume.method_signatures = { 'ssas', 'as', 'as' } 
(string list)
  info.interfaces = { 'org.freedesktop.Hal.Device.Volume' } (string list)
  org.freedesktop.Hal.Device.Volume.method_argnames = { 'mount_point fstype 
extra_options', 'extra_options', 'extra_options' } (string list)
  org.freedesktop.Hal.Device.Volume.method_execpaths = { 'hal-storage-mount', 
'hal-storage-unmount', 'hal-storage-eject' } (string list)
  volume.mount.valid_options = { 'ro', 'sync', 'dirsync', 'noatime', 
'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=', 
'codepage=', 'iocharset=', 'umask=', 'dmask=', 'fmask=', 'uid=', 'flush' } 
(string list)