View Single Post
Old 06-25-2024, 08:48 AM   #8
Loris
Junior Member
Loris began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2024
Device: Kobo Clara 2E
Quote:
Originally Posted by Ghostcat View Post
I'm a UNIX user/programmer from way back, so my first port of call when debugging is the command line. So, if there is a fancy GUI tool that will do the same, I don't know/care about it.

At a CLI prompt type

sudo tail -f /var/log/everything.log|tee /tmp/junk.txt

This should give something similar to the attached.

The two important lines are :

sd 2:0:0:0: [sda] Attached SCSI removable disk

which indicates the Linux has recognised the Clara and attached it as a USB device.

udisksd[20048]: Mounted /dev/sda (system) at /mnt/usb/kobo on behalf of uid 1000

which indicates that calibre has detected and mounted it.


NOTES

The -f option on tail means that log output will continue to be added until you hit CTRL-C.

The tee command splits the output and not only displays it on the screen but also writes it to a file, which I suggest you attach to a post or copy/paste it into a spoiler tag.

Spoiler:
Jun 18 15:14:03 Polgara kernel: usb 1-6: new high-speed USB device number 19 using xhci_hcd
Jun 18 15:14:03 Polgara kernel: usb 1-6: New USB device found, idVendor=2237, idProduct=4235, bcdDevice= 4.01
Jun 18 15:14:03 Polgara kernel: usb 1-6: New USB device strings: Mfr=3, Product=4, SerialNumber=5
Jun 18 15:14:03 Polgara kernel: usb 1-6: Product: eReader-4.38.21908
Jun 18 15:14:03 Polgara kernel: usb 1-6: Manufacturer: Kobo
Jun 18 15:14:03 Polgara kernel: usb 1-6: SerialNumber: N50636C318126
Jun 18 15:14:03 Polgara kernel: usb-storage 1-6:1.0: USB Mass Storage device detected
Jun 18 15:14:03 Polgara kernel: scsi host2: usb-storage 1-6:1.0
Jun 18 15:14:03 Polgara mtp-probe[27702]: checking bus 1, device 19: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6"
Jun 18 15:14:03 Polgara mtp-probe[27702]: bus: 1, device: 19 was not an MTP device
Jun 18 15:14:03 Polgara mtp-probe[27703]: checking bus 1, device 19: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6"
Jun 18 15:14:03 Polgara mtp-probe[27703]: bus: 1, device: 19 was not an MTP device
Jun 18 15:14:04 Polgara kernel: scsi 2:0:0:0: Direct-Access Linux File-Stor Gadget 0401 PQ: 0 ANSI: 2
Jun 18 15:14:04 Polgara kernel: sd 2:0:0:0: Attached scsi generic sg0 type 0
Jun 18 15:14:04 Polgara kernel: sd 2:0:0:0: Power-on or device reset occurred
Jun 18 15:14:04 Polgara kernel: sd 2:0:0:0: [sda] 29633533 512-byte logical blocks: (15.2 GB/14.1 GiB)
Jun 18 15:14:04 Polgara kernel: sd 2:0:0:0: [sda] Write Protect is off
Jun 18 15:14:04 Polgara kernel: sd 2:0:0:0: [sda] Mode Sense: 0f 00 00 00
Jun 18 15:14:04 Polgara kernel: sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jun 18 15:14:04 Polgara kernel: sda:
Jun 18 15:14:04 Polgara kernel: sd 2:0:0:0: [sda] Attached SCSI removable disk
Jun 18 15:14:09 Polgara udisksd[20048]: Mounted /dev/sda (system) at /mnt/usb/kobo on behalf of uid 1000
Thanks for the detailed answer... however I tried to enter the command in gnome-terminal but the answer was: Impossible [...] nonexistent file or directory. And there I stopped. However I can say that Kobo appears in the file manager and I can browse it. Until a few months ago I had no problems and as soon as I inserted the USB cable from Kobo to Linux, Calibre opened automatically showing the connected device. Also in a laptop with the same operating system, Calibre detects Kobo immediately. I don't know...
Loris is offline   Reply With Quote