Re: [Banshee-List] iPod not being identified entirely but works fine...



Matt and Aaron,

I have the same problem here. I can add the songs to the device and
Banshee sees, but the device won't play them. Running the ipod shuffle
database builder [1] after adding the songs updates the database and
then the device works. So, it seems that the database doesn't actually
get updated by Banshee.

Below you have the debug script output. The serial number is not
displayed here, but it ends with XQV and its model is A1204. Please let
me know if you need any further information.

Thanks in advance,
Rodrigo

[[------------ Output of 'ipod --list' ------------]]


(process:4408): GLib-CRITICAL **: g_parse_long_long: assertion `nptr !=
NULL' failed
Path Info
   Device Path:      /dev/sda
   Mount Point:      /media/IPOD-2
   Control Path:     /media/IPOD-2/iPod_Control/
   HAL ID:           /org/freedesktop/Hal/devices/volume_uuid_3868_1DBB
Device Info
   Model Number:     (null)
   Device Model:     Unknown
   iPod Generation:  Unknown
   Adv. Capacity:    (null)
   Is New:           YES
   Writable:         YES
   Serial Number:    (null)
   Firmware Version: (null)
   Manufacturer ID:
   Production Year:  0000
   Production Week:  00
   Production Index: 0
Volume Info
   Volume Size:      1015021568
   Volume Used:      9560064
   Available         1005461504
   UUID:             3868-1DBB
   Label             IPOD
User-Provided Info
   Device Name:      (null)
   User Name:        (null)
   Host Name:        (null)



[[-------------------- HAL Dump -------------------]]

<---- iPod Device 1 ---->
udi =
'/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A270011290186'
  info.addons = { 'hald-addon-storage' } (string list)
  portable_audio_player.output_formats = { 'audio/mpeg', 'audio/aac' }
(string list)
  portable_audio_player.storage_device =
'/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A270011290186'  (string)
  portable_audio_player.type = 'ipod'  (string)
  portable_audio_player.access_method = 'storage'  (string)
  block.storage_device =
'/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A270011290186'  (string)
  info.udi =
'/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A270011290186'  (string)
  storage.requires_eject = true  (bool)
  storage.hotpluggable = true  (bool)
  info.capabilities = { 'storage', 'block', 'portable_audio_player' }
(string list)
  info.category = 'portable_audio_player'  (string)
  info.product = 'iPod'  (string)
  info.vendor = 'Apple'  (string)
  storage.removable = true  (bool)
  storage.physical_device =
'/org/freedesktop/Hal/devices/usb_device_5ac_1301_000A270011290186_if0'
(string)
  storage.lun = 0  (0x0)  (int)
  storage.firmware_version = '2.70'  (string)
  storage.serial = 'Apple_iPod_000A270011290186'  (string)
  storage.vendor = 'Apple'  (string)
  storage.model = 'iPod'  (string)
  storage.drive_type = 'disk'  (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 = 0  (0x0)  (int)
  block.major = 8  (0x8)  (int)
  block.device = '/dev/sda'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  info.parent =
'/org/freedesktop/Hal/devices/usb_device_5ac_1301_000A270011290186_if0_scsi_host_scsi_device_lun0'  (string)
  linux.sysfs_path_device = '/sys/block/sda'  (string)
  linux.sysfs_path = '/sys/block/sda'  (string)

process 4410: Applications must not close shared connections - see
dbus_connection_close() docs. This is a bug in the application.
  D-Bus not built with -rdynamic so unable to print a backtrace
ipod-debug-dump.sh: line 20:  4410 Aborted                 hal-device
$udi
udi = '/org/freedesktop/Hal/devices/volume_uuid_3868_1DBB'
  info.hal_mount.mounted_by_uid = 1000  (0x3e8)  (int)
  info.hal_mount.created_mount_point = '/media/IPOD-2'  (string)
  volume.policy.mount_option.utf-8 = true  (bool)
  volume.policy.mount_option.iocharset=iso8859-1 = true  (bool)
  volume.policy.mount_option.sync = true  (bool)
  info.callouts.add = { 'hal-ipod-info' } (string list)
  volume.unmount.valid_options = { 'lazy' } (string list)
  volume.mount.valid_options = { 'ro', 'sync', 'dirsync', 'noatime',
'nodiratime', 'noexec', 'quiet', 'utf8', 'shortname=', 'codepage=',
'iocharset=', 'umask=', 'dmask=', 'fmask=', 'uid=' } (string list)
  org.freedesktop.Hal.Device.Volume.method_execpaths =
{ 'hal-system-storage-mount', 'hal-system-storage-unmount',
'hal-system-storage-eject', 'hal-ipod-info' } (string list)
  org.freedesktop.Hal.Device.Volume.method_signatures = { 'ssas', 'as',
'as', 'as' } (string list)
  org.freedesktop.Hal.Device.Volume.method_names = { 'Mount', 'Unmount',
'Eject', 'WriteIpodInfo' } (string list)
  info.interfaces = { 'org.freedesktop.Hal.Device.Volume' } (string
list)
  volume.ignore = false  (bool)
  info.udi = '/org/freedesktop/Hal/devices/volume_uuid_3868_1DBB'
(string)
  info.product = 'IPOD'  (string)
  volume.size = 1015021568  (0x3c800000)  (uint64)
  volume.num_blocks = 1982464  (0x1e4000)  (int)
  volume.block_size = 2048  (0x800)  (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/IPOD-2'  (string)
  volume.label = 'IPOD'  (string)
  volume.uuid = '3868-1DBB'  (string)
  volume.fsversion = 'FAT32'  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.fstype = 'vfat'  (string)
  storage.model = ''  (string)
  block.storage_device =
'/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A270011290186'  (string)
  block.is_volume = true  (bool)
  block.minor = 0  (0x0)  (int)
  block.major = 8  (0x8)  (int)
  block.device = '/dev/sda'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  info.parent =
'/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A270011290186'  (string)
  linux.sysfs_path_device = '/sys/block/sda/fakevolume'  (string)
  linux.sysfs_path = '/sys/block/sda/fakevolume'  (string)

process 4412: Applications must not close shared connections - see
dbus_connection_close() docs. This is a bug in the application.
  D-Bus not built with -rdynamic so unable to print a backtrace
ipod-debug-dump.sh: line 31:  4412 Aborted                 hal-device
$child_udi

On Thu, 2007-04-19 at 20:16 -0400, Matt Philmon wrote:
> Thanks Aaron,
> 
> I might have spoken a little too soon. The (null) values had me a
> little concerned so after updating libipoddevice and ipod-sharp from
> svn (by the way, anonymous access for mono address has changed...
> myrealbox is no longer available) I did a sync (no more errors from
> Banshee and I see more info now - thanks) and everything seemed ok...
> but even though the songs are there and Banshee sees them (and I can
> browse to them from the desktop icon) the songs I added don't play...
> apparently the song database didn't get updated?
> 
> I decided that maybe things were out of whack and since Banshee
> successfully imported everything fine, I went ahead back to iTunes
> briefly and did a Restore to totally wipe the shuffle and check for
> any firmware updates, etc (none)... it's firmware 2.7 apparently.
> 
> I went back to Banshee and re-synced from scratch. One again Banshee
> did the sync and copied all the files there with no trouble. However,
> I guess the database was still not fixed or maybe it's a version not
> yet supported... because now no songs play on the shuffle when using
> it. The songs are there... Banshee can play them directly.
> 
> So, if you can spare a moment, I've re-run the debug script and
> attached the output. Maybe there's more information there this time
> and just left the whole serial number:
> 
>  ./ipod-debug-dump.sh
> [[------------ Output of 'ipod --list' ------------]]
> 
> Path Info
>    Device Path:      /dev/sda
>    Mount Point:      /media/JENNIFER TH
>    Control Path:     /media/JENNIFER TH/iPod_Control/
>    HAL ID:           /org/freedesktop/Hal/devices/volume_uuid_C6A9_7E60
> Device Info
>    Model Number:     A949
>    Device Model:     Unknown
>    iPod Generation:  Second (2)
>    Adv. Capacity:    1 GB
>    Is New:           YES
>    Writable:         YES
>    Serial Number:    4H7050SYXQX
>    Firmware Version: (null)
>    Manufacturer ID:  4H
>    Production Year:  2007
>    Production Week:  05
>    Production Index: 28
> Volume Info
>    Volume Size:      1015021568
>    Volume Used:      737583104
>    Available         277438464
>    UUID:             C6A9-7E60
>    Label             JENNIFER TH
> User-Provided Info
>    Device Name:      (null)
>    User Name:        (null)
>    Host Name:        (null)
> 
> 
> 
> [[-------------------- HAL Dump -------------------]]
> 
> <---- iPod Device 1 ---->
> udi = '/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A27001118C9AB_0_0'
>   org.freedesktop.Hal.Device.Storage.method_execpaths = {
> 'hal-storage-eject', 'hal-storage-closetray' } (string list)
>   org.freedesktop.Hal.Device.Storage.method_argnames = {
> 'extra_options', 'extra_options' } (string list)
>   org.freedesktop.Hal.Device.Storage.method_signatures = { 'as', 'as'
> } (string list)
>   org.freedesktop.Hal.Device.Storage.method_names = { 'Eject',
> 'CloseTray' } (string list)
>   info.interfaces = { 'org.freedesktop.Hal.Device.Storage',
> 'org.freedesktop.Hal.Device.Storage' } (string list)
>   info.addons = { 'hald-addon-storage' } (string list)
>   portable_audio_player.output_formats = { 'audio/mpeg', 'audio/aac' }
> (string list)
>   portable_audio_player.storage_device =
> '/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A27001118C9AB_0_0'
>  (string)
>   portable_audio_player.type = 'ipod'  (string)
>   portable_audio_player.access_method = 'storage'  (string)
>   block.storage_device =
> '/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A27001118C9AB_0_0'
>  (string)
>   info.udi = '/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A27001118C9AB_0_0'
>  (string)
>   storage.partitioning_scheme = 'none'  (string)
>   storage.removable.media_size = 1015021568  (0x3c800000)  (uint64)
>   storage.requires_eject = true  (bool)
>   storage.hotpluggable = true  (bool)
>   info.capabilities = { 'storage', 'block', 'portable_audio_player' }
> (string list)
>   info.category = 'portable_audio_player'  (string)
>   info.product = 'iPod'  (string)
>   info.vendor = 'Apple'  (string)
>   storage.size = 0  (0x0)  (uint64)
>   storage.removable = true  (bool)
>   storage.removable.media_available = true  (bool)
>   storage.physical_device =
> '/org/freedesktop/Hal/devices/usb_device_5ac_1301_000A27001118C9AB_if0'
>  (string)
>   storage.lun = 0  (0x0)  (int)
>   storage.firmware_version = '2.70'  (string)
>   storage.serial = 'Apple_iPod_000A27001118C9AB-0:0'  (string)
>   storage.vendor = 'Apple'  (string)
>   storage.model = 'iPod'  (string)
>   storage.drive_type = 'disk'  (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 = 0  (0x0)  (int)
>   block.major = 8  (0x8)  (int)
>   block.device = '/dev/sda'  (string)
>   linux.hotplug_type = 3  (0x3)  (int)
>   info.parent =
> '/org/freedesktop/Hal/devices/usb_device_5ac_1301_000A27001118C9AB_if0_scsi_host_scsi_device_lun0'
>  (string)
>   linux.sysfs_path_device = '/sys/block/sda'  (string)
>   linux.sysfs_path = '/sys/block/sda'  (string)
> 
> udi = '/org/freedesktop/Hal/devices/volume_uuid_C6A9_7E60'
>   info.ipod.serial_number = '4H7050SYXQX     '  (string)
>   info.callouts.add = { 'hal-ipod-info' } (string list)
>   volume.unmount.valid_options = { 'lazy' } (string list)
>   volume.mount.valid_options = { 'ro', 'sync', 'dirsync', 'noatime',
> 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8',
> 'shortname=', 'codepage=', 'iocharset=', 'umask=', 'dmask=', 'fmask=',
> 'uid=' } (string list)
>   org.freedesktop.Hal.Device.Volume.method_execpaths = {
> 'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject',
> 'hal-ipod-info' } (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_signatures = { 'ssas',
> 'as', 'as', 'as' } (string list)
>   org.freedesktop.Hal.Device.Volume.method_names = { 'Mount',
> 'Unmount', 'Eject', 'WriteIpodInfo' } (string list)
>   info.interfaces = { 'org.freedesktop.Hal.Device.Volume' } (string list)
>   volume.ignore = false  (bool)
>   info.udi = '/org/freedesktop/Hal/devices/volume_uuid_C6A9_7E60'  (string)
>   info.product = 'JENNIFER TH'  (string)
>   volume.size = 1015021568  (0x3c800000)  (uint64)
>   volume.num_blocks = 1982464  (0x1e4000)  (int)
>   volume.block_size = 2048  (0x800)  (int)
>   info.capabilities = { 'volume', 'block' } (string list)
>   info.category = 'volume'  (string)
>   volume.is_partition = false  (bool)
>   volume.is_disc = false  (bool)
>   volume.linux.is_device_mapper = false  (bool)
>   volume.is_mounted_read_only = false  (bool)
>   volume.is_mounted = true  (bool)
>   volume.mount_point = '/media/JENNIFER TH'  (string)
>   volume.label = 'JENNIFER TH'  (string)
>   volume.uuid = 'C6A9-7E60'  (string)
>   volume.fsversion = 'FAT32'  (string)
>   volume.fsusage = 'filesystem'  (string)
>   volume.fstype = 'vfat'  (string)
>   storage.model = ''  (string)
>   block.storage_device =
> '/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A27001118C9AB_0_0'
>  (string)
>   block.is_volume = true  (bool)
>   block.minor = 0  (0x0)  (int)
>   block.major = 8  (0x8)  (int)
>   block.device = '/dev/sda'  (string)
>   linux.hotplug_type = 3  (0x3)  (int)
>   info.parent =
> '/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A27001118C9AB_0_0'
>  (string)
>   linux.sysfs_path_device = '/sys/block/sda/fakevolume'  (string)
>   linux.sysfs_path = '/sys/block/sda/fakevolume'  (string)
> 
> 
> On 4/19/07, Aaron Bockover <abockover novell com> wrote:
> > Hi Matt,
> >
> > Thanks for the information. Essentially the only piece of consistent
> > data we have to go on to detect the model information is the serial
> > number. The last 3 characters of the serial number (I call them "serial
> > codes") are unique to the device class ("Blue 1GB second generation
> > shuffle"). However, there may be multiple serial codes that point to the
> > same device class. I currently only have one serial code for each of the
> > new shuffles. Your serial code, XQX, makes the second for the blue
> > shuffle.
> > ...............
> >
> > --Aaron
> >
> _______________________________________________
> Banshee-list mailing list
> Banshee-list gnome org
> http://mail.gnome.org/mailman/listinfo/banshee-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]