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



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.

Because we are not Apple, it is very difficult to know what serial codes
exist and to what device classes they map. Thus we really can only
gather this data through brute force [1] and contributions.

I have added your serial code, XQX, to the device table in
libipoddevice. If you build from subversion, your device should show up
as a shuffle - but we don't yet have cute icons for all the new
shuffles :)

Also, FYI - you can find the model number of the shuffle on the barcode
sticker on the back of the shuffle, under the clip.

--Aaron

[1] I literally went around to 4 Apple stores about 9 months ago to
gather all the data I could off of display models. It built about 50% of
our table. Contributions have us up to maybe 85%.


On Thu, 2007-04-19 at 00:18 -0400, Matt Philmon wrote:
> Banshee is asking me to submit a report on my iPod, which I did but
> never really had a place to make comments... so I'll do it here.
> 
> I bought a Blue iPod Shuffle back in February 2007 right after the
> colorful ones came out for my girlfriend's birthday. Out of the box it
> didn't work under Banshee - there are plenty of troubleshooting steps
> so I'm not really asking at the moment. Banshee had written songs to
> the iPod but nothing would play. At that time I switched to the
> Windows box running iTunes and let it wipe and re-create the database,
> loaded it up, and it's been working fine.
> 
> Since that time there's been a lot of updates on Banshee and Ubuntu
> (Feisty) and that Windows computer used before has since... become
> Vista (bleh). If I used it under Windows again iTunes would force me
> to erase it (didn't back up her songs - oops) so I decided to try out
> Banshee. That's why I've kind of gone back and forth. I give the
> information just in case anything is relevant here.
> 
> Ubuntu sees the iPod, mounts it to the desktop, and launches Banshee
> when I plug it in. Banshee complains that it couldn't recognize it and
> asks me to report (no model number is listed so I just put what the
> command ipod shows: (null) in the report on the website. The website
> page also needs updating to include which ever version this iPod
> Shuffle is... it came out after the Silver one with all the other
> colors.
> 
> Banshee, despite the warning, imported everything just fine from the
> iPod and syncs without any problem. Maybe the information just isn't
> there like it should be... but if it helps at all, here's the output
> of running the debug script:
> 
>  ./ipod-debug-dump.sh
> [[------------ Output of 'ipod --list' ------------]]
> 
> Path Info
>    Device Path:      /dev/sda
>    Mount Point:      /media/IPOD
>    Control Path:     /media/IPOD/iPod_Control/
>    HAL ID:           /org/freedesktop/Hal/devices/volume_uuid_408A_B040
> Device Info
>    Model Number:     (null)
>    Device Model:     Unknown
>    iPod Generation:  Unknown
>    Adv. Capacity:    (null)
>    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:      166805504
>    Available         848216064
>    UUID:             408A-B040
>    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_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_408A_B040'
>   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_408A_B040'  (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 = 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/IPOD'  (string)
>   volume.label = 'IPOD'  (string)
>   volume.uuid = '408A-B040'  (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)
> 
> I'm not sure if there's anything that really needs to happen since
> everything works fine, but I wanted to make sure that all the
> information got to the proper place just in case it ultimately helps
> out for a future version.
> 
> Matt
> _______________________________________________
> 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]