Giter Club home page Giter Club logo

Comments (15)

hlh-restart avatar hlh-restart commented on September 23, 2024 1

The update has been committed to stable/13 and releng/13.1.

from rtsx.

hlh-restart avatar hlh-restart commented on September 23, 2024

The problem seems to be due to a suspend/resume. I try it on my on Acer Aspire E 15 E5-576-77W6 with
a RTL8411B and is working under 13.1-PRERELEASE. I know this test is not of real help for you. Maybe the suspend/resume must me completed for a RTS5227.
If you have no filesystem mounted on /dev/mmcsd0?? can you try to remove and reinsert the SD card after resume.
Note; your card is in read-only mode - see rtsx(4) in the BUG entry. (if you mount a filesystem, it must be mounted in read-only mode).

from rtsx.

dr3mro avatar dr3mro commented on September 23, 2024

I have tried to
1 ) switch the read only on and off
2 ) tried to insert card after resume and remove before suspend
3 ) even if enabled inversion the timeout is gone but the card never mounts

I am lost and cannot use freebsd now as I use the SD CARD as a storage for files across multi boot system

Reinsert card does nothing only a reboot

from rtsx.

hlh-restart avatar hlh-restart commented on September 23, 2024

Did the driver work correctly in a previous version of FreeBSD?
The read-only switch can be set to off?
After a reboot, the filesystem can be mounted? (before any suspend°
I think that the inversion is not needed in your case.

from rtsx.

hlh-restart avatar hlh-restart commented on September 23, 2024

To add the possibility of quick testing:
If you are using the GENERIC kernel, comment for now the line:
#---device rtsx

Rebuild and reinstall kernel:
rm -r /usr/obj/usr/src/amd64.amd64/sys/GENERIC
cd /usr/src
make kernel
and reboot

In a working directory, e.g.:
cd ~
git clone -b master https://github.com/hlh-restart/rtsx
cd rtsx
git patch </tmp/rtsx.txt
make
cp rtsx.ko /boot/kernel
kldload rtsx

and test

rtsx.txt

from rtsx.

dr3mro avatar dr3mro commented on September 23, 2024

Did the driver work correctly in a previous version of FreeBSD?
The read-only switch can be set to off?
After a reboot, the filesystem can be mounted? (before any suspend°
I think that the inversion is not needed in your case.

No actually this is my third trial to move to BSD on my laptop but fails
When I tied 11 and 12 before when 12 was current my laptop was not even come out of sleep after install rtsx

After a fresh boot the volume mounts successfully using ntfs-3g
And stable until a zzz is initiated

from rtsx.

dr3mro avatar dr3mro commented on September 23, 2024

To add the possibility of quick testing:
If you are using the GENERIC kernel, comment for now the line:
#---device rtsx

Rebuild and reinstall kernel:
rm -r /usr/obj/usr/src/amd64.amd64/sys/GENERIC
cd /usr/src
make kernel
and reboot

In a working directory, e.g.:
cd ~
git clone -b master https://github.com/hlh-restart/rtsx
cd rtsx
git patch </tmp/rtsx.txt
make
cp rtsx.ko /boot/kernel
kldload rtsx

and test

rtsx.txt

Ok as soon I get back to my laptop I would happily try that
Thank you for your effort

from rtsx.

dr3mro avatar dr3mro commented on September 23, 2024

SOLVED 👍
thank you .. can you please add some sysctl to activate this fix ondemand ?

from rtsx.

hlh-restart avatar hlh-restart commented on September 23, 2024

SOLVED +1 thank you .. can you please add some sysctl to activate this fix ondemand ?

I am confused, I receive this mail:

I have just finished your instrucions

1. now when I boot its detected and i can mount successfully
2. when zzz and resume the delay still there and timeout messages
3. the only differnce is that now i can kldunload and kldload rtsx and no kernel panic any more and it works only after that before I had to reboot

the only issue now is that it delays to resume because of timeout messages and i have to reload rtsx module so the device being detected again

And now you say that it is solved :-o

from rtsx.

dr3mro avatar dr3mro commented on September 23, 2024

SOLVED +1 thank you .. can you please add some sysctl to activate this fix ondemand ?

I am confused, I receive this mail:

I have just finished your instrucions

1. now when I boot its detected and i can mount successfully
2. when zzz and resume the delay still there and timeout messages
3. the only differnce is that now i can kldunload and kldload rtsx and no kernel panic any more and it works only after that before I had to reboot

the only issue now is that it delays to resume because of timeout messages and i have to reload rtsx module so the device being detected again

And now you say that it is solved :-o

sorry for that I did make a mistake and loded the modules rtsx instead of kernel rtsx so it was the same but I second looked and found out I was still loading the old ko
My great respect to you

can you please add this code to the main branch and if need it can be disables/enabled by user through sysctl ?

from rtsx.

hlh-restart avatar hlh-restart commented on September 23, 2024

I have no commit right. I will ask someone to push this update but I'm not sure it will be accepted because we are near the release date...
Anyway I will update the github and ask to update the port sysutils/rtsx-kmod which is compatible with 13, 12 and 11.
Happy to be helpful

from rtsx.

dr3mro avatar dr3mro commented on September 23, 2024

I think there is another issue but sure its related or not but if the sd card is mounted and the laptop ener sleep mode then X server will crash but if its not it wont crash
i am using automountd .. may be this fix by init the device might causes this issue ? it there something I could do !
thanks

from rtsx.

hlh-restart avatar hlh-restart commented on September 23, 2024

I think there is another issue but sure its related or not but if the sd card is mounted and the laptop enter sleep mode then X server will crash but if its not it wont crash

I am not used to automount...

If you mount the SD card with automount, can you test without automount and mounting the SD card manually.

from rtsx.

dr3mro avatar dr3mro commented on September 23, 2024

I did diasbled SDCARD from BIOS and it is not related .. it was DRM KMOD issue and was fixed by updating to drm-devel-kmod
sorry for disturbance.

from rtsx.

hlh-restart avatar hlh-restart commented on September 23, 2024

No problem. Better so!

from rtsx.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.