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

Re: [MiNT] zView



2015-02-14 16:47 GMT+01:00 Miro Kropáček <miro.kropacek@gmail.com>:
>
> On Sat, Feb 14, 2015 at 4:16 PM, Peter Slegg <p.slegg@scubadivers.co.uk>
> wrote:
>>
>> > > While testing usb-pci I noticed that zView browser is not aware of the
>> > > mounted usb drive.
>> > >
>> >
>> > Even if you mount the drive before running zView?
>>
>> Yes, if I insert the USB memstick and mount it and then start zView,
>> the USB partition is not visible in the zView browser.
>
>
> I've taken a look -- as far as zView is concerned, there's nothing strange:
>
>
>         /* read contents of directory and build list */
>         drives = Drvmap();
>
>         tmp_d = drives;
>
>         for ( current_drv = 0; current_drv < 32; current_drv++, tmp_d >>= 1)
>         {
>                 if ( tmp_d & 0x1)
>                 {
>                         drv = 'A' + current_drv;
>
>                         if ( strchr( skip_drive, drv))
>                                 continue;
>
> i.e. as long as you don't have it marked as 'skip' in the preferences, you
> should be fine. Maybe Drvmap() doen't work correctly for usb? David?
>

USB mass storage driver updates __drvbits global variable, I guess
Drvmap() ends reading this variable, also the XHDI equivalent function
XHDrvMap is supported by the driver.

ZView browser has been working with USB, I even made a video some
years ago, it should be on youtube. I'm going to test with Aranym to
see if it's something that I can reproduce.