For model m2x0 ( http://www.sandisk.com/Products/Catalog(1161)-SanDisk_Sansa_m200_Series_MP3_Players.aspx ) hal-device gives me this information: 0: udi = '/org/freedesktop/Hal/devices/volume_label_Sansa_m240' volume.unmount.valid_options = { 'lazy' } (string list) volume.mount.valid_options = { 'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'flush', 'utf8', 'shortname=', 'codepage=', 'iocharset=', 'umask=', 'uid=' } (string list) org.freedesktop.Hal.Device.Volume.method_execpaths = { 'hal-system-storage-mount', 'hal-system-storage-unmount', 'hal-system-storage-eject' } (string list) org.freedesktop.Hal.Device.Volume.method_signatures = { 'ssas', 'as', 'as' } (string list) org.freedesktop.Hal.Device.Volume.method_names = { 'Mount', 'Unmount', 'Eject' } (string list) info.interfaces = { 'org.freedesktop.Hal.Device.Volume' } (string list) volume.ignore = false (bool) volume.policy.desired_mount_point = 'Sansa m240' (string) volume.policy.mount_filesystem = 'vfat' (string) volume.policy.should_mount = true (bool) info.udi = '/org/freedesktop/Hal/devices/volume_label_Sansa_m240' (string) info.product = 'Sansa m240' (string) volume.size = 1021870080 (0x3ce88000) (uint64) volume.num_blocks = 1995840 (0x1e7440) (int) volume.block_size = 512 (0x200) (int) info.capabilities = { 'volume', 'block' } (string list) info.category = 'volume' (string) volume.is_partition = true (bool) volume.is_disc = false (bool) volume.is_mounted = true (bool) volume.mount_point = '/media/Sansa m240-1' (string) volume.label = 'Sansa m240' (string) volume.uuid = '' (string) volume.fsversion = 'FAT16' (string) volume.fsusage = 'filesystem' (string) volume.fstype = 'vfat' (string) block.storage_device = '/org/freedesktop/Hal/devices/storage_model_Sansa_m240' (string) block.is_volume = true (bool) block.minor = 48 (0x30) (int) block.major = 8 (0x8) (int) block.device = '/dev/sdd' (string) linux.hotplug_type = 3 (0x3) (int) info.parent = '/org/freedesktop/Hal/devices/storage_model_Sansa_m240' (string) linux.sysfs_path_device = '/sys/block/sdd/fakevolume' (string) linux.sysfs_path = '/sys/block/sdd/fakevolume' (string) 2: udi = '/org/freedesktop/Hal/devices/storage_model_Sansa_m240' info.addons = { 'hald-addon-storage' } (string list) storage.policy.should_mount = true (bool) block.storage_device = '/org/freedesktop/Hal/devices/storage_model_Sansa_m240' (string) info.udi = '/org/freedesktop/Hal/devices/storage_model_Sansa_m240' (string) storage.requires_eject = true (bool) storage.hotpluggable = true (bool) info.capabilities = { 'storage', 'block' } (string list) info.category = 'storage' (string) info.product = 'Sansa m240' (string) info.vendor = 'SanDisk' (string) storage.removable = true (bool) storage.physical_device = '/org/freedesktop/Hal/devices/usb_device_781_7400_ABCD1C5CA0070007_if0' (string) storage.lun = 0 (0x0) (int) storage.drive_type = 'disk' (string) storage.vendor = 'SanDisk' (string) storage.model = 'Sansa m240' (string) storage.automount_enabled_hint = true (bool) storage.media_check_enabled = true (bool) storage.no_partitions_hint = false (bool) storage.bus = 'usb' (string) block.is_volume = false (bool) block.minor = 48 (0x30) (int) block.major = 8 (0x8) (int) block.device = '/dev/sdd' (string) linux.hotplug_type = 3 (0x3) (int) info.parent = '/org/freedesktop/Hal/devices/usb_device_781_7400_ABCD1C5CA0070007_if0_scsi_host_scsi_device_lun0' (string) linux.sysfs_path_device = '/sys/block/sdd' (string) linux.sysfs_path = '/sys/block/sdd' (string) For model e1x0 ( http://www.sandisk.com/Products/Catalog(1073)-SanDisk_Sansa_e100_Series_MP3_Players.aspx ), HAL gives me that: 1: udi = '/org/freedesktop/Hal/devices/storage_model_Sansa_e130_0' info.addons = { 'hald-addon-storage' } (string list) storage.policy.should_mount = true (bool) block.storage_device = '/org/freedesktop/Hal/devices/storage_model_Sansa_e130_0' (string) info.udi = '/org/freedesktop/Hal/devices/storage_model_Sansa_e130_0' (string) storage.requires_eject = true (bool) storage.hotpluggable = true (bool) info.capabilities = { 'storage', 'block' } (string list) info.category = 'storage' (string) info.product = 'Sansa e130' (string) info.vendor = 'SanDisk' (string) storage.removable = true (bool) storage.physical_device = '/org/freedesktop/Hal/devices/usb_device_781_7301_0002F685DD434B89_if0' (string) storage.lun = 1 (0x1) (int) storage.drive_type = 'disk' (string) storage.vendor = 'SanDisk' (string) storage.model = 'Sansa e130' (string) storage.automount_enabled_hint = true (bool) storage.media_check_enabled = true (bool) storage.no_partitions_hint = false (bool) storage.bus = 'usb' (string) block.is_volume = false (bool) block.minor = 32 (0x20) (int) block.major = 8 (0x8) (int) block.device = '/dev/sdc' (string) linux.hotplug_type = 3 (0x3) (int) info.parent = '/org/freedesktop/Hal/devices/usb_device_781_7301_0002F685DD434B89_if0_scsi_host_scs i_device_lun1' (string) linux.sysfs_path_device = '/sys/block/sdc' (string) linux.sysfs_path = '/sys/block/sdc' (string) 3: udi = '/org/freedesktop/Hal/devices/storage_model_Sansa_e130' info.addons = { 'hald-addon-storage' } (string list) storage.policy.should_mount = true (bool) block.storage_device = '/org/freedesktop/Hal/devices/storage_model_Sansa_e130' (string) info.udi = '/org/freedesktop/Hal/devices/storage_model_Sansa_e130' (string) storage.requires_eject = true (bool) storage.hotpluggable = true (bool) info.capabilities = { 'storage', 'block' } (string list) info.category = 'storage' (string) info.product = 'Sansa e130' (string) info.vendor = 'SanDisk' (string) storage.removable = true (bool) storage.physical_device = '/org/freedesktop/Hal/devices/usb_device_781_7301_0002F685DD434B89_if0' (string) storage.lun = 0 (0x0) (int) storage.drive_type = 'disk' (string) storage.vendor = 'SanDisk' (string) storage.model = 'Sansa e130' (string) storage.automount_enabled_hint = true (bool) storage.media_check_enabled = true (bool) storage.no_partitions_hint = false (bool) storage.bus = 'usb' (string) block.is_volume = false (bool) block.minor = 16 (0x10) (int) block.major = 8 (0x8) (int) block.device = '/dev/sdb' (string) linux.hotplug_type = 3 (0x3) (int) info.parent = '/org/freedesktop/Hal/devices/usb_device_781_7301_0002F685DD434B89_if0_scsi_host_scs i_device_lun0' (string) linux.sysfs_path_device = '/sys/block/sdb' (string) linux.sysfs_path = '/sys/block/sdb' (string) NONE of the two models actually mount correctly on the system (using Nautilus). For the m240 model, it creates a new device mounted under /media/m240/, but instead of mounting the FAT system as it really is (the root directory for the mp3 player has two folders), it mounts directly the second folder only, it displays some folders that I am not suppose to see (I can't see these folders when I mount the mp3 player on Windows for example) and the folder that holds all my mp3 songs are NOWHERE to be found! I can't drag-n-drop music on this DAP using Linux. For my e130 model, it creates two virtual devices on Nautilus: one called e130 and one called usb(2). When I click the e130 folder, I get an error message from Nautilus telling me that it can't mount it (I tried as root too, no dice). When I click the usb(2) folder, THEN I am able to see all my mp3 songs in it, as I should have when clicking on the /media/e130/ folder. So, for the m240 case, I am not able to use the DAP at all. On the e130 case, I am able to see my mp3 files, even if it didn't work as expected. FYI, I am using udev 0.84 (hotplug is removed by my distro, Arch Linux). Here are some more info about my setup: eugenia@lc2430:~> cat /etc/fstab # This file is edited by fstab-sync - see 'man fstab-sync' for details # # /etc/fstab: static file system information # # <file system> <dir> <type> <options> <dump> <pass> none /proc proc defaults 0 0 none /dev/pts devpts defaults 0 0 none /dev/shm tmpfs defaults 0 0 tmpfs /tmp tmpfs defaults 0 0 sysfs /sys sysfs defaults 0 0 usbfs /proc/bus/usb usbfs defaults 0 0 /dev/cdroms/cdrom0 /mnt/cd iso9660 ro,user,noauto,unhide 0 0 /dev/cdroms/cdrom0 /mnt/dvd udf ro,user,noauto,unhide 0 0 /dev/hdc /mnt/dvd udf ro,user,noauto,unhide 0 0 /dev/floppy/0 /mnt/fl vfat user,noauto,unhide 0 0 /dev/sdb1 /mnt/usb vfat defaults,noauto,user,rw 0 0 #/dev/discs/disc0/part1 swap swap defaults 0 0 /dev/hda1 swap swap defaults 0 0 #/dev/discs/disc0/part2 / reiserfs defaults,user_xattr 1 2 /dev/hda2 / reiserfs defaults,user_xattr 1 2 eugenia@lc2430:~> cat /etc/mtab /dev/hda2 / reiserfs rw,user_xattr 0 0 none /proc proc rw 0 0 none /sys sysfs rw 0 0 none /dev/pts devpts rw 0 0 none /dev/shm tmpfs rw 0 0 tmpfs /tmp tmpfs rw 0 0 none /proc/bus/usb usbfs rw 0 0 binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 /dev/sdc /media/Sansa\040m240 vfat rw,nosuid,nodev,quiet,shortname=mixed,uid=1000,gid=101,umask=077 0 0 /dev/sdd /media/Sansa\040m240-1 vfat rw,nosuid,nodev,quiet,shortname=mixed,uid=1000,gid=101,umask=077 0 0 /dev/sdb /media/Sansa\040m240-2 vfat rw,nosuid,nodev,quiet,shortname=mixed,uid=1000,gid=101,umask=077 0 0 eugenia@lc2430:~> eugenia@lc2430:~> cat /etc/group root::0:root bin::1:root,bin,daemon daemon::2:root,bin,daemon sys::3:root,bin adm::4:root,daemon tty::5: disk::6:root, eugenia lp::7:daemon, eugenia mem::8: kmem::9: wheel::10:root, eugenia ftp::11: mail::12: smmsp::25: nobody::99: users::100:eugenia slocate:x:21: eugenia:x:101: captive:x:102: haldaemon:x:103: audio:!:92:eugenia optical:!:93:eugenia,hal video:x:91:eugenia floppy:x:94:eugenia,hal storage:x:95:eugenia,hal scanner:x:96:eugenia mysql:x:89: log:x:19: avahi:x:84: dbus:x:81: hal:x:82: postdrop:x:75: postfix:x:73: camera:x:97: power:x:98:eugenia,hal
I take this bugs ...
uups ... wrong bug
btw. You need to add the complete output of lshal for the devices. We need also the related parent usb-devices to add information about music player properties.
Created attachment 5041 [details] LSHAL Is this all you need, or you need more? (the mp3 player is not connected atm (out of battery atm), use the info from the first comment for the mp3 player). If you need the HAL info with the mp3 player connected, let me know... What usb additional info do you need? How do I get that?
Ggnome bug 333845 (adding support for these to Rhythmbox) has some additional information about these devices. The following .fdi fragments are for m2x0 devices: <append key="portable_audio_player.audio_folders" type="strlist">Media/</append> <append key="portable_audio_player.playlist_format" type="strlist">audio/x-mpegurl</append> <append key="portable_audio_player.playlist_path" type="strlist">Media/%File</append>
I need the complete lshal output with the attached mp3-player.
Created attachment 5337 [details] E130 Sandisk LSHAL E130 Sandisk LSHAL
Created attachment 5338 [details] m240 Sandisk m240 Sandisk
I uploaded the two lshal for the two Sandisk devices. Anything else you need? You said something about usb-devices, how do I get that?
Does mounting the device manually change anything? It seems that HAL thinks that your mp3 player is unpartitioned and this might be wrong... this is misdetection is somewhat fixed in HEAD but requires a 2.6.17 kernel http://gitweb.freedesktop.org/?p=hal;a=commit;h=2c98ffc8dac7ee161042355790256d836e4028f9 Either way it sounds like it worth trying to mount in manually e.g. # mount /dev/sdc1 /mnt/mountpoint Thanks.
Bugzilla Upgrade Mass Bug Change NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO. - benjsc fd.o Wrangler
Close really old bug, no activity since more than 2 years. Feel free to reopen if the problem is still present in latest HAL release or git master.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.