This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Ipod classic not recognized in amarok 2.2.0

Tags: None
(comma "," separated)
bortx
Registered Member
Posts
7
Karma
0
Hi,

I have recently updated my ubuntu distro to Karmic Koala, and so, I have updated to amarok 2.2.0. On previous amarok versions (including previous 2.x) I used to manage my ipod successfully, but now, amarok does not recognize my ipod. It does not appear even in "Local Music" tab. By the way, other music players I have installed manage the ipod without a problem, so I think it is not an ubuntu issue.

These are the packages I have installed regarding amarok:

amarok, amarok-common, amarok-utils (all of them version 2.2.2.0)
kde version 4.3.2

My ipod is a 160GB Ipod classic.

Any suggestion would be very appreciated. Thanks a lot!
bortx
Registered Member
Posts
7
Karma
0
I provide more info:

When I open amarok's file browser, Ipod appears as a file system, but when I try to browse it, it hangs.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
You are aware that scanning and searching an external media with a size of 160 Gb takes time, are you?


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
bortx
Registered Member
Posts
7
Karma
0
Sure, you're right. Now I have tested it on another computer with ubuntu 9.04 (jaunty) and amarok 2.1.1. When I plug my ipod amarok freezes for about 30 seconds (which certainly is a great response time for a 30mb Ipod 160GB database) and then shows ipod's library successfully.

The issue is that when I plug my ipod on my ubuntu 9.10 (karmic) with amarok 2.2.0 running, nothing happens, cpu is absolutely idle, it doesn't perform any attempt to read ipod's database. But when I try to browse ipod's file system through amarok's file browser, it hangs forever and cpu becomes stuck. It seems like amarok is unable to access the ipod (but other applications are, like I said).

Thanks for your fast reply!
bortx
Registered Member
Posts
7
Karma
0
I have started amarok with -d --nofork options, then I have plugged my ipod and have obtaiend this useful information

Code: Select all
amarok: BEGIN: void MediaDeviceCache::slotAddSolidDevice(const QString&)
amarok:   [MediaDeviceCache] Found new Solid device with udi =  "/org/freedesktop/Hal/devices/usb_device_5ac_1261_000A2700134A0731"
amarok:   [MediaDeviceCache] Device name is =  "iPod Classic"  and was made by  "Apple, Inc."
amarok:   [MediaDeviceCache] udi  "/org/freedesktop/Hal/devices/usb_device_5ac_1261_000A2700134A0731"  does not describe a portable media player or storage volume
amarok: END__: void MediaDeviceCache::slotAddSolidDevice(const QString&) - Took 0.049s
amarok: BEGIN: void MountPointManager::deviceAdded(const QString&)
amarok: END__: void MountPointManager::deviceAdded(const QString&) - Took 0.00086s
amarok: BEGIN: void MediaDeviceCache::slotAddSolidDevice(const QString&)
amarok:   [MediaDeviceCache] Found new Solid device with udi =  "/org/freedesktop/Hal/devices/usb_device_5ac_1261_000A2700134A0731_if0"
amarok:   [MediaDeviceCache] Device name is =  "USB Mass Storage Interface"  and was made by  ""
amarok:   [MediaDeviceCache] udi  "/org/freedesktop/Hal/devices/usb_device_5ac_1261_000A2700134A0731_if0"  does not describe a portable media player or storage volume
amarok: END__: void MediaDeviceCache::slotAddSolidDevice(const QString&) - Took 0.0047s
amarok: BEGIN: void MountPointManager::deviceAdded(const QString&)
amarok: END__: void MountPointManager::deviceAdded(const QString&) - Took 0.00061s
amarok: BEGIN: void MediaDeviceCache::slotAddSolidDevice(const QString&)
amarok:   [MediaDeviceCache] Found new Solid device with udi =  "/org/freedesktop/Hal/devices/usb_device_5ac_1261_000A2700134A0731_if0_scsi_host"
amarok:   [MediaDeviceCache] Device name is =  "SCSI Host Adapter"  and was made by  ""
amarok:   [MediaDeviceCache] udi  "/org/freedesktop/Hal/devices/usb_device_5ac_1261_000A2700134A0731_if0_scsi_host"  does not describe a portable media player or storage volume
amarok: END__: void MediaDeviceCache::slotAddSolidDevice(const QString&) - Took 0.0054s
amarok: BEGIN: void MountPointManager::deviceAdded(const QString&)
amarok: END__: void MountPointManager::deviceAdded(const QString&) - Took 0.00066s
amarok: BEGIN: void MediaDeviceCache::slotAddSolidDevice(const QString&)
amarok:   [MediaDeviceCache] Found new Solid device with udi =  "/org/freedesktop/Hal/devices/usb_device_5ac_1261_000A2700134A0731_if0_scsi_host_0"
amarok:   [MediaDeviceCache] Device name is =  "SCSI Host Adapter"  and was made by  ""
amarok:   [MediaDeviceCache] udi  "/org/freedesktop/Hal/devices/usb_device_5ac_1261_000A2700134A0731_if0_scsi_host_0"  does not describe a portable media player or storage volume
amarok: END__: void MediaDeviceCache::slotAddSolidDevice(const QString&) - Took 0.019s
amarok: BEGIN: void MountPointManager::deviceAdded(const QString&)
amarok: END__: void MountPointManager::deviceAdded(const QString&) - Took 0.00069s
amarok: BEGIN: void MediaDeviceCache::slotAddSolidDevice(const QString&)
amarok:   [MediaDeviceCache] Found new Solid device with udi =  "/org/freedesktop/Hal/devices/usb_device_5ac_1261_000A2700134A0731_if0_scsi_host_0_scsi_device_lun0"
amarok:   [MediaDeviceCache] Device name is =  "SCSI Device"  and was made by  ""
amarok:   [MediaDeviceCache] udi  "/org/freedesktop/Hal/devices/usb_device_5ac_1261_000A2700134A0731_if0_scsi_host_0_scsi_device_lun0"  does not describe a portable media player or storage volume
amarok: END__: void MediaDeviceCache::slotAddSolidDevice(const QString&) - Took 0.0054s
amarok: BEGIN: void MountPointManager::deviceAdded(const QString&)
amarok: END__: void MountPointManager::deviceAdded(const QString&) - Took 0.001s
amarok: BEGIN: void MediaDeviceCache::slotAddSolidDevice(const QString&)
amarok:   [MediaDeviceCache] Found new Solid device with udi =  "/org/freedesktop/Hal/devices/usb_device_5ac_1261_000A2700134A0731_if0_scsi_host_0_scsi_device_lun0_scsi_generic"
amarok:   [MediaDeviceCache] Device name is =  "SCSI Generic Interface"  and was made by  ""
amarok:   [MediaDeviceCache] udi  "/org/freedesktop/Hal/devices/usb_device_5ac_1261_000A2700134A0731_if0_scsi_host_0_scsi_device_lun0_scsi_generic"  does not describe a portable media player or storage volume
amarok: END__: void MediaDeviceCache::slotAddSolidDevice(const QString&) - Took 0.0055s
amarok: BEGIN: void MountPointManager::deviceAdded(const QString&)
amarok: END__: void MountPointManager::deviceAdded(const QString&) - Took 0.00077s
amarok: BEGIN: void MediaDeviceCache::slotAddSolidDevice(const QString&)
amarok:   [MediaDeviceCache] Found new Solid device with udi =  "/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A2700134A0731_0_0"
amarok:   [MediaDeviceCache] Device name is =  "iPod"  and was made by  "Apple"
amarok:   [MediaDeviceCache] device is a Storage drive, still need a volume
amarok:   BEGIN: void MediaDeviceMonitor::deviceAdded(const QString&)
amarok:     BEGIN: void MediaDeviceMonitor::checkDevice(const QString&)
amarok:       BEGIN: virtual bool IpodConnectionAssistant::identify(const QString&)
amarok:          Device udi:  "/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A2700134A0731_0_0"
amarok:          Device name:  "Apple - iPod"
amarok:         BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const
amarok:           [MediaDeviceCache] Not able to convert to StorageAccess or not accessible, returning empty
amarok:         END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const - Took 0.00012s
amarok:          Mount point:  ""
amarok:          vendor:  "Apple" , product:  "iPod"
amarok:          Supported protocols:  ("storage", "ipod")
amarok:          Supported drivers:  ()
amarok:       END__: virtual bool IpodConnectionAssistant::identify(const QString&) - Took 0.0026s
amarok:       [MediaDeviceMonitor] Device identified with udi:  "/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A2700134A0731_0_0"
amarok:       BEGIN: virtual void ConnectionAssistant::tellIdentified(const QString&)
amarok:         BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const
amarok:           [MediaDeviceCache] Not able to convert to StorageAccess or not accessible, returning empty
amarok:         END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const - Took 9.5e-05s
amarok:         BEGIN: IpodCollection::IpodCollection(MediaDeviceInfo*)
amarok:           [IpodCollection] Mounted at:  ""
amarok:           BEGIN: Meta::MediaDeviceHandler::MediaDeviceHandler(QObject*)
amarok:           END__: Meta::MediaDeviceHandler::MediaDeviceHandler(QObject*) - Took 9.6e-05s
amarok:           BEGIN: Meta::IpodHandler::IpodHandler(IpodCollection*, const QString&)
amarok:           END__: Meta::IpodHandler::IpodHandler(IpodCollection*, const QString&) - Took 7.2e-05s
amarok:         END__: IpodCollection::IpodCollection(MediaDeviceInfo*) - Took 0.00068s
amarok:         [IpodHandler] Error: empty mountpoint, probably an unmounted iPod, aborting
amarok:         BEGIN: void MediaDeviceCollection::slotAttemptConnectionDone(bool)
amarok:           [MediaDeviceCollection] connection failed, not scanning
amarok:           BEGIN: void MediaDeviceCollectionFactoryBase::slotDeviceDisconnected(const QString&)
amarok:             BEGIN: void MediaDeviceCollection::deleteCollection()
amarok:             END__: void MediaDeviceCollection::deleteCollection() - Took 8.8e-05s
amarok:           END__: void MediaDeviceCollectionFactoryBase::slotDeviceDisconnected(const QString&) - Took 0.00019s
amarok:         END__: void MediaDeviceCollection::slotAttemptConnectionDone(bool) - Took 0.00033s
amarok:       END__: virtual void ConnectionAssistant::tellIdentified(const QString&) - Took 0.0014s
amarok:       [MediaDeviceMonitor] Device already identified with udi:  "/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A2700134A0731_0_0"
amarok:       [MediaDeviceMonitor] Device already identified with udi:  "/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A2700134A0731_0_0"
amarok:       [MediaDeviceMonitor] Device already identified with udi:  "/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A2700134A0731_0_0"
amarok:     END__: void MediaDeviceMonitor::checkDevice(const QString&) - Took 0.0044s
amarok:   END__: void MediaDeviceMonitor::deviceAdded(const QString&) - Took 0.0045s
amarok: END__: void MediaDeviceCache::slotAddSolidDevice(const QString&) - Took 0.036s
amarok: BEGIN: void MountPointManager::deviceAdded(const QString&)
amarok: END__: void MountPointManager::deviceAdded(const QString&) - Took 0.00085s
amarok: BEGIN: void Meta::MediaDeviceHandler::slotDeletingHandler()
amarok:   BEGIN: void PlaylistManager::removeProvider(PlaylistProvider*)
amarok:   END__: void PlaylistManager::removeProvider(PlaylistProvider*) - Took 5.6e-05s
amarok: END__: void Meta::MediaDeviceHandler::slotDeletingHandler() - Took 0.00018s
amarok: BEGIN: void MediaDeviceCache::slotAddSolidDevice(const QString&)
amarok:   [MediaDeviceCache] Found new Solid device with udi =  "/org/freedesktop/Hal/devices/volume_uuid_05D1_41B2"
amarok:   [MediaDeviceCache] Device name is =  "IBORTX"  and was made by  ""
amarok:   [MediaDeviceCache] volume is generic storage
amarok:   [MediaDeviceCache] storage volume is not accessible right now, not adding.
amarok: END__: void MediaDeviceCache::slotAddSolidDevice(const QString&) - Took 0.026s
amarok: BEGIN: void MountPointManager::deviceAdded(const QString&)
amarok: END__: void MountPointManager::deviceAdded(const QString&) - Took 0.0014s
amarok: BEGIN: void ScanManager::startIncrementalScan()
amarok:   BEGIN: QStringList ScanManager::getDirsToScan()
amarok:   END__: QStringList ScanManager::getDirsToScan() - Took 0.00085s
amarok:    GOING TO SCAN:
amarok:    Scanning nothing, return.
amarok:   BEGIN: void ScanManager::writeBatchIncrementalInfoFile()
amarok:   END__: void ScanManager::writeBatchIncrementalInfoFile() - Took 0.00041s
amarok: END__: void ScanManager::startIncrementalScan() - Took 0.0018s
amarok: BEGIN: void ScanManager::startIncrementalScan()
amarok:   BEGIN: QStringList ScanManager::getDirsToScan()
amarok:   END__: QStringList ScanManager::getDirsToScan() - Took 0.00039s
amarok:    GOING TO SCAN:
amarok:    Scanning nothing, return.
amarok:   BEGIN: void ScanManager::writeBatchIncrementalInfoFile()
amarok:   END__: void ScanManager::writeBatchIncrementalInfoFile() - Took 0.00038s
amarok: END__: void ScanManager::startIncrementalScan() - Took 0.0014s
amarok: BEGIN: void ScanManager::startIncrementalScan()
amarok:   BEGIN: QStringList ScanManager::getDirsToScan()
amarok:   END__: QStringList ScanManager::getDirsToScan() - Took 0.00041s
amarok:    GOING TO SCAN:
amarok:    Scanning nothing, return.
amarok:   BEGIN: void ScanManager::writeBatchIncrementalInfoFile()
amarok:   END__: void ScanManager::writeBatchIncrementalInfoFile() - Took 0.00038s
amarok: END__: void ScanManager::startIncrementalScan() - Took 0.0013s


Seems like for any reason ipod is not accesible, why?
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Well, it is not mounted apparently. The relevant part is that one:

Code: Select all
amarok:       [MediaDeviceMonitor] Device identified with udi:  "/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A2700134A0731_0_0"
amarok:       BEGIN: virtual void ConnectionAssistant::tellIdentified(const QString&)
amarok:         BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const
amarok:           [MediaDeviceCache] Not able to convert to StorageAccess or not accessible, returning empty
amarok:         END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const - Took 9.5e-05s
amarok:         BEGIN: IpodCollection::IpodCollection(MediaDeviceInfo*)
amarok:           [IpodCollection] Mounted at:  ""
amarok:           BEGIN: Meta::MediaDeviceHandler::MediaDeviceHandler(QObject*)
amarok:           END__: Meta::MediaDeviceHandler::MediaDeviceHandler(QObject*) - Took 9.6e-05s
amarok:           BEGIN: Meta::IpodHandler::IpodHandler(IpodCollection*, const QString&)
amarok:           END__: Meta::IpodHandler::IpodHandler(IpodCollection*, const QString&) - Took 7.2e-05s
amarok:         END__: IpodCollection::IpodCollection(MediaDeviceInfo*) - Took 0.00068s
amarok:         [IpodHandler] Error: empty mountpoint, probably an unmounted iPod, aborting
amarok:         BEGIN: void MediaDeviceCollection::slotAttemptConnectionDone(bool)
amarok:           [MediaDeviceCollection] connection failed, not scanning
amarok:           BEGIN: void MediaDeviceCollectionFactoryBase::slotDeviceDisconnected(const QString&)
amarok:             BEGIN: void MediaDeviceCollection::deleteCollection()
amarok:             END__: void MediaDeviceCollection::deleteCollection() - Took 8.8e-05s
amarok:           END__: void MediaDeviceCollectionFactoryBase::slotDeviceDisconnected(const QString&) - Took 0.00019s

Now why it is not mounted I don't know, Did you try mounting the iPod before starting Amarok?


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
bortx
Registered Member
Posts
7
Karma
0
Well I have done this (mounting the ipod before starting amarok) and this is what I have noticed:

- Amarok takes 11 minutes to start, and it recognizes the ipod successfully (on amarok 2.1.1 only took 30 seconds)
- During those 11 minutes, amarok seems to be parsing ipod database, as no access is performed against any hard disk
- During those 11 minutes cpu is on 100% usage.
- My ipod database is version 25.

Do you know if there is any existing issue with ipod database version 25? Maybe I should update to a more recent ipod database version...

Additionally, this is the point where amarok gets stucked for 11 minutes

Code: Select all
 BEGIN: virtual bool IpodConnectionAssistant::identify(const QString&)
amarok:                    Device udi:  "/org/freedesktop/Hal/devices/volume_uuid_05D1_41B2"
amarok:                    Device name:  "/media/IBORTX"
amarok:                   BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const
amarok:                   END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const - Took 0.00013s
amarok:                    Mount point:  "/media/IBORTX"
amarok:                    vendor:  "Apple" , product:  "iPod"
amarok:                    Supported protocols:  ("storage", "ipod")
amarok:                    Supported drivers:  ()
amarok:                 END__: virtual bool IpodConnectionAssistant::identify(const QString&) - Took 0.0019s
amarok:                 [MediaDeviceMonitor] Device identified with udi:  "/org/freedesktop/Hal/devices/volume_uuid_05D1_41B2"
amarok:                 BEGIN: virtual void ConnectionAssistant::tellIdentified(const QString&)
amarok:                   BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const
amarok:                   END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const - Took 0.00011s
amarok:                   BEGIN: IpodCollection::IpodCollection(MediaDeviceInfo*)
amarok:                     [IpodCollection] Mounted at:  "/media/IBORTX"
amarok:                     BEGIN: Meta::MediaDeviceHandler::MediaDeviceHandler(QObject*)
amarok:                     END__: Meta::MediaDeviceHandler::MediaDeviceHandler(QObject*) - Took 0.00014s
amarok:                     BEGIN: Meta::IpodHandler::IpodHandler(IpodCollection*, const QString&)
amarok:                     END__: Meta::IpodHandler::IpodHandler(IpodCollection*, const QString&) - Took 0.00011s
amarok:                   END__: IpodCollection::IpodCollection(MediaDeviceInfo*) - Took 0.00079s
amarok:                   [IpodHandler] Calling the db parser
amarok:                   [IpodHandler] Getting model information
amarok:                   BEGIN: void Meta::IpodHandler::detectModel()
amarok:                     [IpodHandler] Attempting to get info...
amarok:                     [IpodHandler] Got ipodinfo
amarok:                     [IpodHandler] Supports Artwork:  true
amarok:                     [IpodHandler] Musicdirs:  "50"
amarok:                     [IpodHandler] Checking info...
amarok:                     [IpodHandler] Capacity is:  160
amarok:                     [IpodHandler] Ipod model:  "Classic (Black)"
amarok:                     [IpodHandler] detected iPod classic
amarok:                     [IpodHandler] detected video-capable iPod
amarok:                     [IpodHandler] Generation is:  18
amarok:                   END__: void Meta::IpodHandler::detectModel() - Took 0.002s
amarok:                   [IpodHandler] Succeeded:  true
amarok:                   BEGIN: void MediaDeviceCollection::slotAttemptConnectionDone(bool)
amarok:                     [MediaDeviceCollection] starting full scan
amarok:                     BEGIN: virtual void MediaDeviceCollection::startFullScanDevice()
amarok:                       BEGIN: void Meta::MediaDeviceHandler::parseTracks()
amarok:                         BEGIN: void Meta::MediaDeviceHandler::setupReadCapability()
amarok:                            RCB does not exist
amarok:                            Has read capability interface
amarok:                            Making read capability
amarok:                            Created rc
amarok:                         END__: void Meta::MediaDeviceHandler::setupReadCapability() - Took 0.00017s


Thanks.
bortx
Registered Member
Posts
7
Karma
0
and this is what it shows after getting stuck those 11 minutes.

Code: Select all
amarok:                         BEGIN: MediaDeviceUserPlaylistProvider::MediaDeviceUserPlaylistProvider(MediaDeviceCollection*)
amarok:                         END__: MediaDeviceUserPlaylistProvider::MediaDeviceUserPlaylistProvider(MediaDeviceCollection*) - Took 0.00013s
amarok:                         BEGIN: void PlaylistManager::addProvider(PlaylistProvider*, int)
amarok:                         END__: void PlaylistManager::addProvider(PlaylistProvider*, int) - Took 9e-05s
amarok:                         BEGIN: void SqlUserPlaylistProvider::checkTables()
amarok:                         END__: void SqlUserPlaylistProvider::checkTables() - Took 0.00018s
amarok:                         BEGIN: void PlaylistManager::addProvider(PlaylistProvider*, int)
amarok:                         END__: void PlaylistManager::addProvider(PlaylistProvider*, int) - Took 6.3e-05s
amarok:                         BEGIN: void PlaylistManager::addProvider(PlaylistProvider*, int)
amarok:                         END__: void PlaylistManager::addProvider(PlaylistProvider*, int) - Took 6e-05s
amarok:                         BEGIN: void PlaylistManager::addProvider(PlaylistProvider*, int)
amarok:                         END__: void PlaylistManager::addProvider(PlaylistProvider*, int) - Took 5.6e-05s
amarok:                         BEGIN: void PlaylistManager::slotUpdated()
amarok:                         END__: void PlaylistManager::slotUpdated() - Took 5.1e-05s
amarok:                       END__: void Meta::MediaDeviceHandler::parseTracks() - Took 6.5e+02s
amarok:                     END__: virtual void MediaDeviceCollection::startFullScanDevice() - Took 6.5e+02s
amarok:                   END__: void MediaDeviceCollection::slotAttemptConnectionDone(bool) - Took 6.5e+02s
amarok:                 END__: virtual void ConnectionAssistant::tellIdentified(const QString&) - Took 6.5e+02s


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]