forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unassign/Assign flash0/1 problem on Slim PSP

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Slash



Joined: 07 Jan 2007
Posts: 26

PostPosted: Sun Oct 07, 2007 10:22 am    Post subject: Unassign/Assign flash0/1 problem on Slim PSP Reply with quote

I've heard problems about reassigning flashes on Slim PSP. Is this true? If so, is there a solution?
Back to top
View user's profile Send private message
moonlight



Joined: 26 Oct 2005
Posts: 567

PostPosted: Sun Oct 07, 2007 8:22 pm    Post subject: Reply with quote

I have not had any problems in doing so.
You of course need the privileges to do it: vsh mode or kernel mode, user mode can't.
Back to top
View user's profile Send private message
Slash



Joined: 07 Jan 2007
Posts: 26

PostPosted: Mon Oct 08, 2007 1:50 pm    Post subject: Reply with quote

moonlight wrote:
I have not had any problems in doing so.
You of course need the privileges to do it: vsh mode or kernel mode, user mode can't.


I see. I'm trying to reassign flash0 and flash1 on a plugin so sometimes it works and sometimes it does not.
Back to top
View user's profile Send private message
moonlight



Joined: 26 Oct 2005
Posts: 567

PostPosted: Mon Oct 08, 2007 3:10 pm    Post subject: Reply with quote

Slash wrote:
moonlight wrote:
I have not had any problems in doing so.
You of course need the privileges to do it: vsh mode or kernel mode, user mode can't.


I see. I'm trying to reassign flash0 and flash1 on a plugin so sometimes it works and sometimes it does not.


Unassign can't work if a file descriptor of the flash device is opened in the system, even if is read only Maybe that's the problem if you have a plugin in the XMB.
Back to top
View user's profile Send private message
Cpasjuste



Joined: 29 May 2005
Posts: 214

PostPosted: Mon Oct 15, 2007 4:33 am    Post subject: Reply with quote

Same here, can't reassign flash0 in write mode on psp slim while the same code is working on 1.50 kernel.

Edit : Was again an error in my code it's working :x
Back to top
View user's profile Send private message
Slash



Joined: 07 Jan 2007
Posts: 26

PostPosted: Sat Oct 20, 2007 10:55 am    Post subject: Reply with quote

Cpasjuste wrote:
Same here, can't reassign flash0 in write mode on psp slim while the same code is working on 1.50 kernel.

Edit : Was again an error in my code it's working :x


If you're doing a plugin, try putting the flash0/1 assigning to the very top of your code. This works for me.
Back to top
View user's profile Send private message
Cpasjuste



Joined: 29 May 2005
Posts: 214

PostPosted: Sat Oct 20, 2007 7:46 pm    Post subject: Reply with quote

Thanks Slash. In fact was assigning "flash0" instead of "flash0:" ... :$
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group