Tolino Vision 6 not recognized on Mac M1

Bug #2000877 reported by Axel Grewe
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

On my brand new Macbook Pro (Ventura 13.1) with M1 processor, my Tolino Vision 6 eBook reader does not show up in calibre 6.10 when connected to the computer.
What I have done so far:
* verified: Connection/Sync works on Mac with Intel Processor running Ventura 13.1 and Calibre 6.10 with the Tolino
* verified: Tolino filesystem is accessible and writable on M1 Mac via MTP tool (e.g. OpenMTP)
* verified: calibre has sufficient permissions to access removable drives (although unneeded for MTP)

Tags: mac tolino
Axel Grewe (angrest66)
tags: added: mac
summary: - Torino Vision 6 not recognized on Mac M1
+ Tolino Vision 6 not recognized on Mac M1
description: updated
Revision history for this message
Kovid Goyal (kovid) wrote :
Changed in calibre:
status: New → Incomplete
Revision history for this message
Philip (weph) wrote :

I've added this already to https://bugs.launchpad.net/calibre/+bug/1953155 but here it is again:

To address the steps in the linked section of the FAQ:

- It's the only device connected. When connecting a different ereader (Tolino Shine 3), it shows up immediately in Calibre
- It is not an Apple iDevice
- It is an Android device that uses MTP. I can transfer files using the app OpenMTP. When I open Calibre first, OpenMTP doesn't detect the device (just confirming that only one application can access one MTP device at a time). Calibre does not detect it at all, even on a freshly booted system with no applications opened.
- There are no permission errors
- I'm running Calibre 6.10.0
- The device does not show up in the Finder. This is, however, no surprise as MTP devices never show up in the Finder
- The "Ignored devices" section in Calibre is empty

Here's what I think is the relevant part of the device detection debug output:

USB devices on system:
[
  // ...
 ['0x4173',
  '0x8000',
  '0x440',
  'Rakuten Kobo Inc.',
  'tolino vision 6',
  '23158365,ff35fda3c39b4627ab377af2a4d819db']
]

No disabled plugins
Looking for devices of type: MTP_DEVICE
No MTP devices connected to system

Looking for devices of type: SMART_DEVICE_APP
All IP addresses {'lo0': [{'addr': '127.0.0.1', 'netmask': '255.0.0.0', 'peer': '127.0.0.1'}], 'en0': [{'addr': '192.168.178.23', 'netmask': '255.255.255.0', 'broadcast': '192.168.178.255'}]}
No device is connected

Looking for devices...

Devices possibly connected: None

Please let me know if there's anything else you need.

Revision history for this message
Kovid Goyal (kovid) wrote :

Post the full device debug output

Revision history for this message
Axel Grewe (angrest66) wrote :

Sorry for the dumb question, but how do I generate a device log?

Revision history for this message
Kovid Goyal (kovid) wrote :

You have it up there already just that you posted an extract, i need the full log.

Revision history for this message
Philip (weph) wrote :
Download full text (407.0 KiB)

@Axel, "If all the above steps fail, go to Preferences → Miscellaneous and click Debug device detection with your device attached and post the output as a ticket on the calibre bug tracker."

@Kovid, here's the full device output:

calibre 6.10 embedded-python: True
macOS-13.1-arm64-arm-64bit Darwin ('64bit', '')
('Darwin', '22.2.0', 'Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000')
Python 3.10.1
OSX: ('13.1', ('', '', ''), 'arm64')
Interface language: None
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3) && Extract ISBN (1, 6, 0) && Quality Check (1, 13, 3)
USB devices on system:
[['0x781',
  '0x55af',
  '0x1085',
  'SanDisk',
  'Extreme Pro 55AF',
  '323133394C35343030393234'],
 ['0x4173',
  '0x8000',
  '0x440',
  'Rakuten Kobo Inc.',
  'tolino vision 6',
  '23158365,ff35fda3c39b4627ab377af2a4d819db']]

No disabled plugins
Looking for devices of type: MTP_DEVICE
No MTP devices connected to system

Looking for devices of type: SMART_DEVICE_APP
All IP addresses {'lo0': [{'addr': '127.0.0.1', 'netmask': '255.0.0.0', 'peer': '127.0.0.1'}], 'en0': [{'addr': '192.168.2.175', 'netmask': '255.255.255.0', 'broadcast': '192.168.2.255'}]}
No device is connected

Looking for devices...

Devices possibly connected: None

IOREG Output
Output from mount:
b'/dev/disk5s2s1 on / (apfs, sealed, local, read-only, journaled)'
b'devfs on /dev (devfs, local, nobrowse)'
b'/dev/disk5s5 on /System/Volumes/VM (apfs, local, noexec, journaled, noatime, nobrowse)'
b'/dev/disk5s3 on /System/Volumes/Preboot (apfs, local, journaled, nobrowse)'
b'/dev/disk1s2 on /System/Volumes/xarts (apfs, local, noexec, journaled, noatime, nobrowse)'
b'/dev/disk1s1 on /System/Volumes/iSCPreboot (apfs, local, journaled, nobrowse)'
b'/dev/disk1s3 on /System/Volumes/Hardware (apfs, local, journaled, nobrowse)'
b'/dev/disk5s1 on /System/Volumes/Data (apfs, local, journaled, nobrowse)'
b'/dev/disk3s1 on /Volumes/Macintosh HD (apfs, sealed, local, read-only, journaled)'
b'map auto_home on /System/Volumes/Data/home (autofs, automounted, nobrowse)'
b'/dev/disk3s4 on /private/tmp/tmp-mount-zlP1el (apfs, local, journaled, nobrowse)'
b'/dev/disk3s5 on /Volumes/Data (apfs, local, journaled, nobrowse, protect)'

Output from osx_get_usb_drives:
[]

+-o Root <class IORegistryEntry, id 0x100000100, retain 36>
  +-o J314cAP <class IOPlatformExpertDevice, id 0x10000026f, registered, matched, active, busy 0 (167085 ms), retain 38>
    +-o options <class IODTNVRAM, id 0x100000113, registered, matched, active, busy 0 (75 ms), retain 18>
    | +-o IODTNVRAMDiags <class IODTNVRAMDiags, id 0x100000270, registered, matched, active, busy 0 (55 ms), retain 6>
    | +-o IODTNVRAMPlatformNotifier <class IODTNVRAMPlatformNotifier, id 0x100000271, registered, matched, active, busy 0 (55 ms), retain 6>
    | +-o options-system <class IODTNVRAMVariables, id 0x100000272, registered, matched, active, busy 0 (54 ms), retain 6>
    | +-o options-common <class IODTNVRAMVariables, id 0x100000273, registered, matched, active, busy 0 (55 ms), retain 6>
    +-o AppleARMPE <class AppleARMPE, id 0x100000274, registered, matched, ...

Revision history for this message
Axel Grewe (angrest66) wrote :
Download full text (348.7 KiB)

calibre 6.10 embedded-python: True
macOS-13.1-arm64-arm-64bit Darwin ('64bit', '')
('Darwin', '22.2.0', 'Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000')
Python 3.10.1
OSX: ('13.1', ('', '', ''), 'arm64')
Interface language: de
USB devices on system:
[['0x4173',
  '0x8000',
  '0x440',
  'Rakuten Kobo Inc.',
  'tolino vision 6',
  '23084817,cf417d60e2674efe862cd23b0ec56fda']]

No disabled plugins
Looking for devices of type: MTP_DEVICE
No MTP devices connected to system

Looking for devices of type: SMART_DEVICE_APP
All IP addresses {'lo0': [{'addr': '127.0.0.1', 'netmask': '255.0.0.0', 'peer': '127.0.0.1'}], 'en0': [{'addr': '10.128.0.87', 'netmask': '255.255.255.0', 'broadcast': '10.128.0.255'}]}
No device is connected

Looking for devices...

Devices possibly connected: None

IOREG Output
Output from mount:
b'/dev/disk3s3s1 on / (apfs, sealed, local, read-only, journaled)'
b'devfs on /dev (devfs, local, nobrowse)'
b'/dev/disk3s6 on /System/Volumes/VM (apfs, local, noexec, journaled, noatime, nobrowse)'
b'/dev/disk3s4 on /System/Volumes/Preboot (apfs, local, journaled, nobrowse)'
b'/dev/disk3s2 on /System/Volumes/Update (apfs, local, journaled, nobrowse)'
b'/dev/disk1s2 on /System/Volumes/xarts (apfs, local, noexec, journaled, noatime, nobrowse)'
b'/dev/disk1s1 on /System/Volumes/iSCPreboot (apfs, local, journaled, nobrowse)'
b'/dev/disk1s3 on /System/Volumes/Hardware (apfs, local, journaled, nobrowse)'
b'/dev/disk3s1 on /System/Volumes/Data (apfs, local, journaled, nobrowse, protect)'
b'map auto_home on /System/Volumes/Data/home (autofs, automounted, nobrowse)'
b'/dev/disk3s5 on /Volumes/Recovery (apfs, local, journaled, nobrowse)'

Output from osx_get_usb_drives:
[]

+-o Root <class IORegistryEntry, id 0x100000100, retain 36>
  +-o J314sAP <class IOPlatformExpertDevice, id 0x10000024d, registered, matched, active, busy 0 (24390 ms), retain 38>
    +-o options <class IODTNVRAM, id 0x100000113, registered, matched, active, busy 0 (75 ms), retain 16>
    | +-o IODTNVRAMDiags <class IODTNVRAMDiags, id 0x10000024e, registered, matched, active, busy 0 (54 ms), retain 6>
    | +-o IODTNVRAMPlatformNotifier <class IODTNVRAMPlatformNotifier, id 0x10000024f, registered, matched, active, busy 0 (54 ms), retain 6>
    | +-o options-system <class IODTNVRAMVariables, id 0x100000250, registered, matched, active, busy 0 (54 ms), retain 6>
    | +-o options-common <class IODTNVRAMVariables, id 0x100000251, registered, matched, active, busy 0 (54 ms), retain 6>
    +-o AppleARMPE <class AppleARMPE, id 0x100000252, registered, matched, active, busy 0 (22586 ms), retain 48>
    | +-o IOSystemStateNotification <class IOSystemStateNotification, id 0x100000256, registered, matched, active, busy 0 (19 ms), retain 6>
    | +-o IOPMrootDomain <class IOPMrootDomain, id 0x100000257, registered, matched, active, busy 0 (1046 ms), retain 179>
    | | +-o IORootParent <class IORootParent, id 0x100000258, !registered, !matched, active, busy 0, retain 7>
    | | +-o RootDomainUserClient <class RootDomainUserClient, id 0x100000904, !registered, !matched, active, busy 0, retain 5>
    | | +-o RootDomain...

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: Incomplete → Fix Released
Revision history for this message
Axel Grewe (angrest66) wrote :

If you like, you could provide me with a test build

Revision history for this message
Mateus Araújo (iris-n) wrote :
Download full text (3.8 KiB)

I'm afraid the fix didn't work. I have just tried to detect a Tolino Vision 6 with Calibre 6.11. The debug information follows:

calibre 6.11 embedded-python: True
Linux-5.15.0-56-generic-x86_64-with-glibc2.35 Linux ('64bit', 'ELF')
('Linux', '5.15.0-56-generic', '#62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022')
Python 3.10.1
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 2, 1)
USB devices on system:
[['0x4f2',
  '0xb52c',
  '0x29',
  'Chicony Electronics Co.,Ltd.',
  'Integrated Camera',
  '0001'],
 ['0x138a', '0x90', '0x164', '', '', 'ff3288ed5492'],
 ['0x4173',
  '0x8000',
  '0x440',
  'Rakuten Kobo Inc.',
  'tolino vision 6',
  '23141109,2790c36a2e644969b8a46699e82160da'],
 ['0x58f', '0x9540', '0x120', 'Generic', 'EMV Smartcard Reader', '']]

No disabled plugins
Looking for devices of type: MTP_DEVICE
MTP devices connected:
USBDevice(busnum=1, devnum=10, vendor_id=0x4173, product_id=0x8000, bcd=0x0440, manufacturer=Rakuten Kobo Inc., product=tolino vision 6, serial=23141109,2790c36a2e644969b8a46699e82160da)

Trying to open: USBDevice(busnum=1, devnum=10, vendor_id=0x4173, product_id=0x8000, bcd=0x0440, manufacturer=Rakuten Kobo Inc., product=tolino vision 6, serial=23141109,2790c36a2e644969b8a46699e82160da)
Opening device failed:
Traceback (most recent call last):
  File "calibre/devices/mtp/unix/driver.py", line 214, in open
  File "calibre/devices/mtp/base.py", line 24, in synchronizer
  File "calibre/devices/mtp/unix/driver.py", line 166, in create_device
libmtp.MTPError: Unable to open MTP device with busnum=1 and devnum=10, tried 1 such devices

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre/devices/mtp/unix/driver.py", line 144, in debug_managed_device_detection
  File "calibre/devices/mtp/driver.py", line 127, in open
  File "calibre/devices/mtp/base.py", line 24, in synchronizer
  File "calibre/devices/mtp/unix/driver.py", line 217, in open
calibre.devices.errors.OpenFailed: Failed to open USBDevice(busnum=1, devnum=10, vendor_id=0x4173, product_id=0x8000, bcd=0x0440, manufacturer=Rakuten Kobo Inc., product=tolino vision 6, serial=23141109,2790c36a2e644969b8a46699e82160da): Error: Unable to open MTP device with busnum=1 and devnum=10, tried 1 such devices

Looking for devices of type: SMART_DEVICE_APP
All IP addresses {'lo': [{'addr': '127.0.0.1', 'netmask': '255.0.0.0', 'peer': '127.0.0.1'}], 'wlp4s0': [{'addr': '192.168.0.80', 'netmask': '255.255.255.0', 'broadcast': '192.168.0.255'}]}
No device is connected

Looking for devices...
USBDevice(busnum=1, devnum=10, vendor_id=0x4173, product_id=0x8000, bcd=0x0440, manufacturer=Rakuten Kobo Inc., product=tolino vision 6, serial=23141109,2790c36a2e644969b8a46699e82160da)
  Detected possible device USER_DEFINED

Devices possibly connected: User Defined USB driver,
Trying to open User Defined USB driver ... failed
Opening of the following devices failed
<calibre.devices.user_defined.driver.USER_DEFINED object at 0x7f99636c6e90>
Traceback (most recent call last):
  File "calibre/devices/usbms/device.py", line 713, in open
  File "calibre/devices/usbms/device.py", line 577, in op...

Read more...

Revision history for this message
Kovid Goyal (kovid) wrote :

Only one program can access an MTP device at a time. Prevent your
filemanager/desktop environmnet from automounting it and it will work
fine.

Revision history for this message
Axel Grewe (angrest66) wrote :

For me, it works - I had an error message about problems accessing the device on first connect, but at the second time I connected the device, it worked.

Revision history for this message
Mateus Araújo (iris-n) wrote :

Indeed, that worked, thanks for the answer. If anybody else has this problem, perhaps it would be useful to note that it is enough to unmount it, one does not need to prevent it from automounting in the first place.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.