Supernote ax5

Bug #1954460 reported by Ale Man
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Won't Fix
Undecided
Unassigned

Bug Description

Hello,
thanks for Calibre, it is indeed a useful application.

I have the following problem with my new Supernote ax5.
When I connect it to my PC (Windows 10), the PC detects it correcly, and I can manage to move file from/to the device via Explorer application.
Anyway, when I launch Calibre it gives immediately this error:

calibre, version 5.33.2
ERRORE: Errore: Errore di comunicazione col dispositivo // Communication error with the device

C:\r\src\src\calibre\devices\mtp\windows\content_enumeration.cpp:707:Cannot write to file:[hr=0x80004005 wCode=0] Errore non specificato. // Unspecified error

Traceback (most recent call last):
  File "calibre\gui2\device.py", line 87, in run
  File "calibre\gui2\device.py", line 513, in _books
  File "calibre\devices\mtp\driver.py", line 220, in books
  File "calibre\devices\mtp\driver.py", line 192, in get_driveinfo
  File "calibre\devices\mtp\driver.py", line 182, in _update_drive_info
  File "calibre\devices\mtp\driver.py", line 153, in put_calibre_file
  File "calibre\devices\mtp\windows\driver.py", line 36, in check_thread
  File "calibre\devices\mtp\windows\driver.py", line 445, in put_file
wpd.WPDError: C:\r\src\src\calibre\devices\mtp\windows\content_enumeration.cpp:707:Cannot write to file:[hr=0x80004005 wCode=0] Errore non specificato.

According to a post on reddit (https://www.reddit.com/r/Supernote/comments/l0z284/calibre_and_supernote/) I changed the destination folder to "Documents".
Now I can transfer files from Calibre to the device, but the error above still occurs, and if I click on the Device button the list is empty.

Here's the device information provided by Calibre:
{'device_version': '1.0',
 'friendly_name': '',
 'has_bulk_properties': True,
 'has_storage': True,
 'manufacturer_name': 'rockchip',
 'model_name': 'Supernote A5 X',
 'protocol': 'MTP: 1.00',
 'serial_number': '7F35A2427F97296BB8E5967C81D84C63',
 'storage': [{'capacity': 23743934464,
              'capacity_objects': 0,
              'description': 'Supernote',
              'filesystem': 'Generico gerarchico',
              'free_objects': 1073741824,
              'free_space': 22642249728,
              'id': 's10001',
              'name': 'Supernote',
              'rw': True,
              'type': 'fixed_ram'}],
 'type': 'unknown'}

Thanks for your time and excellent job.
Regards
Alessandro

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1954460

Open a command prompt and with the device connected (and calibre not
running) run

calibre-debug -d

and post the output

 status incomplete

Changed in calibre:
status: New → Incomplete
Revision history for this message
Ale Man (mansut) wrote :

Here we go.
Thanks
Alessandro

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
Ale Man (mansut) wrote (last edit ):

Hello again,
I installed the the versione 5.34, which was supposed to fix the bug.
Unfortunately the problem persists, at least for me.
I attach the debug log.
Thanks for your time.
Alessandro

PS: Here' the error details from the application:

calibre, version 5.34.0
ERRORE: Errore: Errore di comunicazione col dispositivo

C:\r\src\src\calibre\devices\mtp\windows\content_enumeration.cpp:707:Cannot write to file:[hr=0x80004005 wCode=0] Errore non specificato.

Traceback (most recent call last):
  File "calibre\gui2\device.py", line 87, in run
  File "calibre\gui2\device.py", line 512, in _books
  File "calibre\devices\mtp\driver.py", line 220, in books
  File "calibre\devices\mtp\driver.py", line 192, in get_driveinfo
  File "calibre\devices\mtp\driver.py", line 182, in _update_drive_info
  File "calibre\devices\mtp\driver.py", line 153, in put_calibre_file
  File "calibre\devices\mtp\windows\driver.py", line 36, in check_thread
  File "calibre\devices\mtp\windows\driver.py", line 445, in put_file
wpd.WPDError: C:\r\src\src\calibre\devices\mtp\windows\content_enumeration.cpp:707:Cannot write to file:[hr=0x80004005 wCode=0] Errore non specificato.

Changed in calibre:
status: Fix Released → Incomplete
status: Incomplete → New
Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1954460

There are lots of variations of this device, which one do you have?
Connect it and post the output of running

calibre-debug -d

in a command prompt

Revision history for this message
Ale Man (mansut) wrote :
Download full text (3.7 KiB)

In the "About" section of the device's settings it just says "Supernote A5 X - Display size: 10.3 inch".
The device received a firmware update few days ago, the current version is "Chauvet 2.1.6".
Please find attached the calibre-debug -d output.
I'll paste it here below, just in case.
Thanks
Alessandro

calibre 5.34 embedded-python: True is64bit: False
Windows-10-10.0.19041 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: it
USB devices on system:
(USBDevice(vendor_id=0x1a2c product_id=0x2124 bcd=0x110 devid=usb\vid_1a2c&pid_2124&rev_0110 devinst=2),
 USBDevice(vendor_id=0xbda product_id=0x57de bcd=0x14 devid=usb\vid_0bda&pid_57de&rev_0014&mi_00 devinst=3),
 USBDevice(vendor_id=0x1a2c product_id=0x2124 bcd=0x110 devid=usb\vid_1a2c&pid_2124&rev_0110&mi_01 devinst=4),
 USBDevice(vendor_id=0x2207 product_id=0x11 bcd=0x310 devid=usb\vid_2207&pid_0011&rev_0310&mi_01 devinst=5),
 USBDevice(vendor_id=0xbda product_id=0x57de bcd=0x14 devid=usb\vid_0bda&pid_57de&rev_0014 devinst=6),
 USBDevice(vendor_id=0x2207 product_id=0x11 bcd=0x310 devid=usb\vid_2207&pid_0011&rev_0310 devinst=7),
 USBDevice(vendor_id=0xbda product_id=0x5411 bcd=0x104 devid=usb\vid_0bda&pid_5411&rev_0104 devinst=8),
 USBDevice(vendor_id=0x93a product_id=0x2510 bcd=0x100 devid=usb\vid_093a&pid_2510&rev_0100 devinst=9),
 USBDevice(vendor_id=0x4ca product_id=0x3018 bcd=0x1 devid=usb\vid_04ca&pid_3018&rev_0001 devinst=10),
 USBDevice(vendor_id=0xbda product_id=0x129 bcd=0x3960 devid=usb\vid_0bda&pid_0129&rev_3960 devinst=11),
 USBDevice(vendor_id=0x1a2c product_id=0x2124 bcd=0x110 devid=usb\vid_1a2c&pid_2124&rev_0110&mi_00 devinst=12),
 USBDevice(vendor_id=0x2207 product_id=0x11 bcd=0x310 devid=usb\vid_2207&pid_0011&rev_0310&mi_00 devinst=1),
 USBDevice(vendor_id=None product_id=None bcd=None devid=usb\root_hub30&vid8086&pid9d2f&rev0021 devinst=13))

No disabled plugins
Looking for devices of type: MTP_DEVICE
List of WPD PNP ids:
['\\\\?\\usb#vid_2207&pid_0011&mi_00#7&377db9a1&0&0000#{6ac27878-a6fa-4155-ba85-f98f491d4f33}']
MTP device: \\?\usb#vid_2207&pid_0011&mi_00#7&377db9a1&0&0000#{6ac27878-a6fa-4155-ba85-f98f491d4f33}
{'device_version': '1.0',
 'friendly_name': '',
 'has_bulk_properties': True,
 'has_storage': True,
 'manufacturer_name': 'rockchip',
 'model_name': 'Supernote A5 X',
 'protocol': 'MTP: 1.00',
 'serial_number': '7F35A2427F97296BB8E5967C81D84C63',
 'storage': [{'capacity': 23743934464,
              'capacity_objects': 0,
              'description': 'Supernote',
              'filesystem': 'Generico gerarchico',
              'free_objects': 1073741824,
              'free_space': 21975793664,
              'id': 's10001',
              'name': 'Supernote',
              'rw': True,
              'type': 'fixed_ram'}],
 'type': 'unknown'}

Trying to open: \\?\usb#vid_2207&pid_0011&mi_00#7&377db9a1&0&0000#{6ac27878-a6fa-4155-ba85-f98f491d4f33}
Opened Supernote A5 X successfully
Device info:
{'device_version': '1.0',
 'friendly_name': '',
 'has_bulk_properties': True,
 'has_storage': True,
 'manufacturer_name': 'rockchip',
 '...

Read more...

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

Is there a folder named "Document" on the device? And can you copy files into it?

Revision history for this message
Ale Man (mansut) wrote :

Yes, definitely and absolutely. I can do it from Windows.

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

Then I am out of ideas, sorry.

Revision history for this message
Ale Man (mansut) wrote :

Ok, no problem at all.
Thanks for all your time and for this wonderful application.
Best regards and have a nice 2022! :-)

Kovid Goyal (kovid)
Changed in calibre:
status: New → Won't Fix
Revision history for this message
Ale Man (mansut) wrote :

Hello again,
I just want to tell you that this week Supernote got an update, and now it works perfectly with Calibre.
Thanks again for the support.

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

Cool, good to hear.

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.