You are not logged in.
Hi! I got my Tolino Shine 4 E-Reader today and tried connecting it to my laptop.
It shows up in dmesg:
[ 305.639172] usb 3-1: new high-speed USB device number 6 using xhci_hcd
[ 305.780516] usb 3-1: New USB device found, idVendor=4173, idProduct=8000, bcdDevice= 4.40
[ 305.780526] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 305.780529] usb 3-1: Product: tolino shine 4
[ 305.780532] usb 3-1: Manufacturer: Rakuten Kobo Inc.
[ 305.780534] usb 3-1: SerialNumber: 26097254,f17ae6a14128405baf00c4debc7b614a
And in lsusb:
Bus 003 Device 006: ID 4173:8000 Rakuten Kobo Inc. tolino shine 4
But it doesn't show up in lsblk.
I already rebooted my laptop.
Last edited by Brain (2023-09-17 21:46:44)
Offline
Google says it uses https://wiki.archlinux.org/title/Mtp
My personal biased and opinionated experience is that everything but https://wiki.archlinux.org/title/Media_ … MPLE-MTPFS sucks.
Offline
Thanks. I tried simple-mtpfs and could list the files on my reader, but when I tried copying some file to it, everything crashed. Now I can't even connect to it. I tried aft-mtp-mount, mtp-detect and simple-mtpfs. Is there maybe some other way to work around this? Or some tool that will definitely work?
Offline
Replug the device after a crash.
MTP simply sucks - I never had any problems w/ simple-mtpfs, but if it doesn't work for you, that's oc not helpful.
If you can access the device by any other means (removable SD card, ftp, smb, etc) that's always gonna be preferable.
Do you have a system journal for the boot where mtpfs crashed?
Eg.
sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st
for the previous boot.
Offline
I don't have any other means of uploading files other than through using the web browser on my E-Reader, however, I wan't to be able to upload files offline, so that isn't really a long-term solution.
Here are some of the errors I get when running different programs:
$ mtp-detect
libmtp version: 1.1.21
Listing raw device(s)
Device 0 (VID=4173 and PID=8000) is a Tolino Tolino Vision 6.
Found 1 device(s):
Tolino: Tolino Vision 6 (4173:8000) @ bus 3, dev 9
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
$ simple-mtpfs -l
1: TolinoTolino Vision 6
$ simple-mtpfs ./mnt
LIBMTP PANIC: Trying to dump the error stack of a NULL device!
Also, when using libmtp example-programs like mtp-detect, the Wiki says to make sure one is in the adbusers group, but that group doesn't even exist for me.
Offline
For simple-mtpfs try -o allow_other and please also use "--device 1"
Disconnect and reboot (yes, this absolutely should not be necessary) after every failed attempt to use the device before trying something else, at least it looks like the mtp-detect run spoiled simple-mtpfs
Edit: I just sudo that. No, probably should not be necessary, but MTP is very frustrating and I rarely use it.
Last edited by seth (2023-09-17 11:19:59)
Offline
$ sudo simple-mtpfs --device 1 -o allow_other ~/mnt
LIBMTP PANIC: Trying to dump the error stack of a NULL device!
$ sudo simple-mtpfs --device 1 ./mnt
Last command seems to work, I can list my files on my E-Reader again.
But when I try to cp something, I get an IO error.
Offline
sudo mkdir /run/media/MTP
sudo simple-mtpfs -o allow_other --device 1 /run/media/$USER/MTP
Also you'll have to umount the drive before re-mounting it later
sudo fusermount -u ./mnt
sudo rm -d /run/media/$USER/MTP
And again: before you try this, disconnect the device and reboot to get rid of any impact of your previous actions.
Offline
Mounting works this way. But I can't cp anything... It hangs and then IO errors. I always reboot and disconnect.
Offline
$ touch test.txt
$ echo test > test.txt
echo: write error: Input/output error
Mounting and unmounting works consistently now though.
Offline
Did you try to reboot the ebook reader?
Offline
Still get an IO error.
Offline
Are you trying this in the "Books" directory or the root directory of the reader?
(You cannot necessarily write in every location)
Can you "echo foo | sudo tee /run/media/$USER/MTP/Books/bar"?
Offline
I'm trying to write to the Books directory.
Executing the command outputs an IO error as well and hangs my entire terminal.
Offline
I can read files and list them. I can also write empty files. As soon as I try to write some bytes to any file, everything crashes. In the manual of my E-Book, the Books directory is specified as being the one you copy files to if you're on Windows and want to download files from your computer to your E-Book.
Offline
https://forum.ubuntuusers.de/topic/cali … ino-nicht/ (german) suggests that calibre can handle the device (on top of libmtp as well)
Did you btw. actually try to simply copy a file there instead of altering a present file?
Offline
Yes, I tried copying a local file, echoing into a non-existent file and echoing into an existing file.
Calibre seems to work perfectly fine though, thanks for that.
I think I'll give up on using MTP directly. It's just terrible and doesn't work reliably enough for me.
Last edited by Brain (2023-09-17 21:19:11)
Offline
Calibre uses MTP, just not as general purpose FUSE filesystem.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline