Re: [Banshee-List] ipod nano null model

P.G. Richardson wrote:
> Hi all,
> I am new to the list so my regards to everyone and thanks for the hard work, 
> especially on libipoddevice.
> I have been trying to set up the library on both my laptop (mandy 2007) and my 
> desktop (FC5) for use with my own java (JNI) app and gtkpod. Through my 
> general rummaging of the source in trying to understand how libipoddevice 
> performs its magic, I noticed that ipod --list only returns null for the 
> model and generation.
> I understand from the code the WriteIpodInfo is the thing responsible for the 
> gleening of this info and I have been able to run hal-ipod-info on its own 
> and return the extended-sysinfo file. However, despite my best efforts on 
> both machines, hal seems to just ignore the existence of the WriteIpodInfo 
> function and the fdi file. Indeed sticking some debugging into the 
> libipoddevice source shows that the dbus_connection_send function always 
> fails and interrogating the dbus error indicates the function WriteIpodInfo 
> doesnt exist.
> reply = dbus_connection_send_with_reply_and_block(dbus_connection, dmesg, -1, 
> &error)))
> Would someone mind shedding any light on where the problem may lie. The only 
> commonality between the 2 machines is of course my ipod nano (4GB). If this 
> is the problem, is it possible to explain why.
> Thanks for your time.
> Regards
> Paul

Paul, How new is your ipod? I recently apple formatted my ipod using
iTunes to ipod software version 1.3. When I run ipod --list i get this
> $ ipod --list
> glibtop: This machine has 1 CPUs, 1 are being monitored.
> (process:9495): GLib-CRITICAL **: g_ascii_strtoull: assertion `nptr != NULL' failed
> Path Info
>    Device Path:      /dev/sdc3
>    Mount Point:      /media/Wing
>    Control Path:     /media/Wing/iPod_Control/
>    HAL ID:           /org/freedesktop/Hal/devices/volume_uuid_35C0EA70876D989F
> 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:      4028592128
>    Volume Used:      197726208
>    Available         3830865920
>    UUID:             35C0EA70876D989F
>    Label             Wing
> User-Provided Info
>    Device Name:      (null)
>    User Name:        (null)
>    Host Name:        (null)

I remember when my ipod was windows formated (with an older software
version) ipod --list was able to retrieve a lot more info. I believe
Apple just changed around where the ipod keeps its information and HAL
just hasn't updated its databases yet. Unfortunately in the mean time,
banshee is unable to sync the ipod. "Failed to save database". Hope this
gives you some insight.


Attachment: signature.asc
Description: OpenPGP digital signature

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