Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: Questions about the Rockbox Simulator USB insertion simulation

Re: Questions about the Rockbox Simulator USB insertion simulation

From: pouly amaury <amaury.pouly_at_gmail.com>
Date: Sun, 7 Feb 2010 13:14:57 +0100

I have update my patch on FS, it should now acknowledge all threads
correctly. There also was a little issue with the disk/mount system but it
should not be a problem now.

Amaury Pouly


2010/2/7 pouly amaury <amaury.pouly_at_gmail.com>

> You're right for the threads. I think most threads don't pay attention to
> SYS_USB_* messages under the simulator. I'll have a look at it. It's
> probably only a matter of removing #ifdef.
>
> Amaury Pouly
>
>
> 2010/2/7 Alex Bennee <kernel-hacker_at_bennee.com>
>
> On 6 February 2010 13:11, pouly amaury <amaury.pouly_at_gmail.com> wrote:
>> > Hello,
>> > I'm been working on a usb driver...
>> <snip>
>> > If you want to test, you can look at my patch (FS#10916). Even if you
>> don't
>> > have the linux driver, perhaps the usb insertion chain is similar enough
>> to
>> > a real device to make your autobookmarking thing work. But there's no
>> > warranty.
>>
>> Well it's closer as it sends the messages to all threads. However it
>> looks like the assumption that all threads are paying attention is
>> wrong:
>>
>> [ipodsim.build] >./rockboxui
>> usb_init
>> Skin buffer usage: 371744/630784
>> Resume index 0 offset 0
>> USB inserted. Waiting for ack from 7 threads...
>> usb: got ack, 6 to go...
>>
>> I'll see if I can figure out why.
>>
>> > In a more general way, I don't recommend you to experiment with
>> simulator
>> > and usb because rockbox what not designed to have usb under simulator.
>> You
>> > should experiment with a real device.
>>
>> I fully intend to once I've got something working. I'm generally
>> hesitant to break the firmware on my iPod as it is my only portable
>> audio device so I like to keep it stablish ;-)
>>
>> Plus it allows me to experiment with other builds.
>>
>> --
>> Alex, homepage: http://www.bennee.com/~alex/<http://www.bennee.com/%7Ealex/>
>> http://www.half-llama.co.uk
>>
>
>
Received on 2010-02-07

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy