NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libusb-1.0, does it even work?



Rhialto <rhialto%falu.nl@localhost> writes:

> On Sun 23 Jan 2022 at 09:50:20 -0500, Greg Troxel wrote:
>>   just mount it and then run calibre
>
> Yes you can do that. It's a bit hidden: Toolbar icon "Connect/share" ->
> sub-item "connect to folder".
>
> However then you miss the knowledge that calibre might have about the
> reader.
>
> I think the way it goes is like this: the driver for each device
> has the vendor/product codes. If one of those is recognized (and that's
> why it scans for arbitrary usb devices), the driver also knows the name
> which is typically used to mount its file systems (automatic mounters
> generally find some volume name to use for that).

I see. In that case, I think it makes sense to have a quirk for the
device not to be attached otherwise.    What might be missing in NetBSD
is a way to load such quirks at boot time, and to have loading them
detach (and ugen re-attach), rather than having them only compiled in.
Here, the quirk is not so much as "this device is broken with driver X"
as much as "user Y prefers ugen over driver X".

> It also often has device-specific code, for example to access the
> reader's book database (typically it's in some file on the file system).
> An example is in /usr/pkg/lib/calibre/calibre/devices/prst1/ .
>
> There is also a scan for MTP devices and wireless Bonjour/zeroconf
> ("smart_device_app") (I haven't tested either of those).

I started up calibre, imported an epub I had, and local reading seemed
to work.

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index