You are not logged in.

#1 2023-09-16 15:16:56

Brain
Member
Registered: 2020-07-29
Posts: 54

[SOLVED] lsblk does not show Tolino Shine 4 E-Reader

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

#2 2023-09-16 15:26:22

seth
Member
Registered: 2012-09-03
Posts: 42,873

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

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

#3 2023-09-16 16:45:26

Brain
Member
Registered: 2020-07-29
Posts: 54

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

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

#4 2023-09-16 18:32:33

seth
Member
Registered: 2012-09-03
Posts: 42,873

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

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

#5 2023-09-17 11:12:02

Brain
Member
Registered: 2020-07-29
Posts: 54

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

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

#6 2023-09-17 11:18:16

seth
Member
Registered: 2012-09-03
Posts: 42,873

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

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

#7 2023-09-17 11:28:07

Brain
Member
Registered: 2020-07-29
Posts: 54

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

$ 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

#8 2023-09-17 11:34:40

seth
Member
Registered: 2012-09-03
Posts: 42,873

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

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

#9 2023-09-17 11:48:07

Brain
Member
Registered: 2020-07-29
Posts: 54

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

Mounting works this way. But I can't cp anything... It hangs and then IO errors. I always reboot and disconnect.

Offline

#10 2023-09-17 11:51:31

Brain
Member
Registered: 2020-07-29
Posts: 54

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

$ touch test.txt
$ echo test > test.txt
echo: write error: Input/output error

Mounting and unmounting works consistently now though.

Offline

#11 2023-09-17 12:15:21

seth
Member
Registered: 2012-09-03
Posts: 42,873

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

Did you try to reboot the ebook reader?

Offline

#12 2023-09-17 12:29:25

Brain
Member
Registered: 2020-07-29
Posts: 54

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

Still get an IO error.

Offline

#13 2023-09-17 12:37:15

seth
Member
Registered: 2012-09-03
Posts: 42,873

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

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

#14 2023-09-17 12:42:44

Brain
Member
Registered: 2020-07-29
Posts: 54

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

I'm trying to write to the Books directory.
Executing the command outputs an IO error as well and hangs my entire terminal.

Offline

#15 2023-09-17 12:47:57

Brain
Member
Registered: 2020-07-29
Posts: 54

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

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

#16 2023-09-17 13:00:57

seth
Member
Registered: 2012-09-03
Posts: 42,873

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

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

#17 2023-09-17 21:18:43

Brain
Member
Registered: 2020-07-29
Posts: 54

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

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

#18 2023-09-17 21:31:11

seth
Member
Registered: 2012-09-03
Posts: 42,873

Re: [SOLVED] lsblk does not show Tolino Shine 4 E-Reader

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

Board footer

Powered by FluxBB