summaryrefslogtreecommitdiff
path: root/www/irc/rockbox-20020327.log
diff options
context:
space:
mode:
Diffstat (limited to 'www/irc/rockbox-20020327.log')
-rw-r--r--www/irc/rockbox-20020327.log563
1 files changed, 563 insertions, 0 deletions
diff --git a/www/irc/rockbox-20020327.log b/www/irc/rockbox-20020327.log
new file mode 100644
index 0000000000..902770b85e
--- /dev/null
+++ b/www/irc/rockbox-20020327.log
@@ -0,0 +1,563 @@
1
2**** BEGIN LOGGING AT Wed Mar 27 08:23:32 2002
3
4--> Bagder (~daniel@as3-3-2.ras.s.bonet.se) has joined #rockbox
5--- Topic for #rockbox is rock the box http://bjorn.haxx.se/rockbox/
6--- Topic for #rockbox set by adiamas at Tue Mar 26 09:53:55
7<Bagder> hey
8<adiamas> welcome back
9--- adiamas gives channel operator status to Bagder
10<Bagder> thanks ;-)
11<Bagder> we had quite a gathering here yesterday
12<Bagder> as your logs might have shown
13<adiamas> heheh let me scroll and see ;)
14<adiamas> seems like it...
15<adiamas> i wanted to play with the uisimulator on my home machine... but having issues...
16<adiamas> seems that rh7.1 doesn't install the X11 headers for somereason.
17<Bagder> :-(
18<Bagder> btw, you should get the latest uisimulator sources
19<Bagder> I updated them all day yesterday
20<adiamas> yeah.. grabbed it this afternoon at work...
21<Bagder> ah, ok
22<adiamas> pops up a little black window..
23<adiamas> white boarder with text?
24<Bagder> yes
25<adiamas> nods
26<adiamas> i gotta take time to read the source.. no time at work...
27<Bagder> most of the lcd-code is generic as it works on a buffer
28<Bagder> the lcd_update() reads the buffer and makes X11-calls to draw in the window
29<adiamas> damn it.. think i may have to download the neweest x
30<Bagder> ouch, that's a *lot*
31<Bagder> isn't there any rh7.1 rpm with x11 headers?
32<adiamas> i don't know rpms all that well :(
33<adiamas> i pulled out the source from the source cd.. but not sure wtf im looking at...
34<adiamas> so im playing with diff ideas
35--> wavey (~wavey@dlan1431.dircon.co.uk) has joined #rockbox
36<Bagder> morning wavey
37<wavey> hiya bagder
38<wavey> i keep reading your name as badger
39<wavey> is there a meaning behind bagder?
40<Bagder> hehe, I don't hold that against you ;-)
41--- adiamas gives channel operator status to wavey
42<Bagder> once upon the time..
43<Bagder> back in.. 1987
44<Bagder> I was about to pick myself a nick name
45<Bagder> and this is what it turned out to be ;-)
46<wavey> heh
47<Bagder> I've stuck with it since
48<wavey> same here, but it was 1991
49<wavey> i was asked to give a name for a MUD
50<wavey> and this one came out of nowhere
51<wavey> and it stuck
52<Bagder> I actually *did* intend to spell it badger
53<Bagder> but I was a bad reader or writer or something ;-)
54<wavey> heh excellent
55<Bagder> then I thought the dyslexic style was kinda fun
56<wavey> should reduce the number of nick collisions, etc :)
57<Bagder> yeps
58<wavey> except on #dyslexic-animals
59<Bagder> bwahaha
60<adiamas> okay.. are you guys familar with rpms?
61<Bagder> somewhat
62* wavey is more of a debian man, but go on
63<adiamas> well.. i don't ever use them...
64<adiamas> im a jedi, i use the source luke
65<wavey> heh
66<adiamas> anyways... i have like 20 rpms for various forms of X11.. all i want are the friggin headers since rh7.1 didn't install witht hem...
67<adiamas> is there and easy way to get at them?
68<Bagder> isn't there like a x11-devel package or something?
69<adiamas> and an easier question ;) when charging your players.. have you run the batteries all the way down? and if so, how long did it take charging for you before it held the charge?
70<wavey> you can unpack an rpm without installing it to get files out, yes
71<wavey> and i've run the batteries down a few times
72<wavey> but never in one continuous go
73<wavey> and i always charge overnight
74<wavey> or even continuously
75<wavey> so dunno
76<adiamas> nods
77<adiamas> it seems like its taking forever for this to take a charge again...
78<Bagder> me neither, I haven't even had mine a week yet
79<adiamas> and yeah.. theres a dev version...
80<adiamas> but 7.1 is so bitch slapped i think im just going to pick up a new distro tomorrow...
81<adiamas> think i might borrow a buds suse...
82<adiamas> 7.1 shipped with a dev snap shot of gcc that was fucked.
83<wavey> isn't 7.x really old?
84<wavey> i haven't looked at rh for yearsa
85<Bagder> 7.2 is the most recent, there's a 7.3 beta available
86<wavey> ok, my bad
87<adiamas> yeah...
88<adiamas> but im starting to really dislike the rh distro...
89<adiamas> Bagder: what distro are you runnin?
90<Bagder> rh 6.1 I believe, patched and upgraded beyond recognition ;-)
91--> Zagor (~bjst@labb.contactor.se) has joined #rockbox
92<wavey> ad: how long is 'forever'? to take a charge?
93<Bagder> hej Zagor
94<Zagor> morning
95<wavey> morning
96<Bagder> Zagor: I feel a need for some source code organization from you ;-)
97<Zagor> bagder, don't put those dir in the root. make a 'firmware' top dir to put them in
98<adiamas> morning...
99<Bagder> you mean uisimulator root?
100<Zagor> no, the ones you mailed about. the target code.
101<adiamas> wavey im looking at hmmm.. i was home by 23:30 est, and it's now 3:30 est
102<Zagor> uisimulator is fine in the root, i think
103<adiamas> so 4 hrs?
104<Bagder> ah, right I didn't intend to put them in the root
105<Zagor> ok, good
106<adiamas> but i _really_ drained the batteries.
107<Bagder> I thought of having a 'rockbox' module, as a name for the firmware
108<Zagor> maybe a bit too general?
109<Bagder> Zagor: but I was actually thinking of leaving that task to you ;-)
110<Zagor> ah :)
111<Bagder> as head of the team
112<Bagder> I'm getting confused of all the various source code archives now ;-)
113<Zagor> hehe
114* adiamas pokes zagor
115<adiamas> so.. should i antagonize you about getting added to source forge team?
116* adiamas grins wildly
117<Zagor> hmm, did you send me your sourceforge user name?
118<adiamas> nods
119<adiamas> same one as here "adiamas"
120<Zagor> ok. sorry, i must have missed it. i'll add you right away
121<adiamas> and should we call this room "everyone gets op status bu Tumm"?
122--- Bagder gives channel operator status to Zagor
123<adiamas> hehe no prob..
124<adiamas> just want to post ver. 1 of FAQ
125<adiamas> its really basic and typo ridden.
126<adiamas> i can't spell for crap.
127<Zagor> no problem
128<adiamas> but i figure once your happy, you post it where you see fit.
129<Zagor> yup
130<adiamas> Bagder btw.. when i was looking at the code for uisim, something odd...
131<adiamas> the first function in screenhack.c, merge_options...
132<adiamas> i was playing with the structs, just to test something we've been doing at work
133<adiamas> you do a memcpy, and i was playing with structure copies... they are a bit faster, but when i did it the size of the displyed box (not the white box, the surrounding box) tripled...
134<Bagder> as the header of that file explains, it's been ripped-out from xscreensaver
135<adiamas> any idea why?
136<Bagder> no I don't, I'm not that well aquinted with those functions
137<adiamas> hehehe k... ill go back then... was just the first thing i played with.
138<Zagor> adiamas: you
139<Zagor> are added now
140<adiamas> ?
141<adiamas> sweet.
142<Zagor> "Doc Writer" :-)
143<Bagder> Zagor: suggestion for a new page: cvs info, that sourceforge one is too hard to find and too generic
144<Zagor> good point
145<Zagor> i'll see if i can fix all the cvs issues today
146<Zagor> including putting the web page in cvs
147<adiamas> hehe Doc Writer works for me till i get my <insert profane insult here> box working better.
148<Bagder> that would be really neat
149<Zagor> tumm, who are you? i haven't seen you before.
150<Bagder> I think he's asleep
151<Zagor> ok
152<Zagor> well, the more the merrier :)
153<Bagder> Gary sure is one active guy
154<Zagor> yeah
155<Zagor> we have attracted a wonderfully productive crowd!
156<Bagder> indeed
157<Zagor> maybe i'm the exception. i spent last night playing cstrike :*)
158<Bagder> we might consider putting named people in charge of various sub modules
159<Bagder> haha
160<Bagder> I got some really stupid problems with my Archos mounted filesystem yesterday
161<Zagor> ok?
162<adiamas> what problems?
163<Bagder> when cp -r'ing
164<Bagder> it failed, saying that the filesystem is read-only
165<Zagor> whoa!
166<Bagder> several times
167<Zagor> sounds bad
168<Bagder> I umunted and re-mounted and I could do it again
169<Zagor> did you have usb-storage debug on?
170<Bagder> no
171<Bagder> it copies maybe a hundred files before it bails out
172<adiamas> ive actually had that...
173<adiamas> but it happened when i was in win, not linux... :(
174<Zagor> hmmm, i can't remember how much i've copied to the recorder
175<adiamas> thats when i got that corrupted file.
176<Bagder> this is a 2.4.18 kernel
177<adiamas> i did 500+ files today in one shot
178<adiamas> hmmm same here.
179<Zagor> i have a 2.4.17
180<Zagor> but i only use ehci (usb 2.0) since i got it
181<Bagder> my card arrived yesterday (at Contactor) so I'm soon gonna be there too ;-)
182<Zagor> it's schweet! :)
183<wavey> i xferred 32 cds of mp3 to my recorder in 1 1/2 hours with usb2
184<wavey> that's 3500 songs
185<wavey> 350 cd
186<wavey> fuckin' a.
187<Bagder> :-)
188<adiamas> small house keeping question, cause im anal... umm... logging, will we be relying on printf to the screen, or an actual log file?
189<Bagder> in uisimulator you mean?
190<adiamas> cause i see you have a Logf() in uibasic.c
191<adiamas> nods
192<adiamas> kinda pointless to keep a log on the player ;)
193<Bagder> my original intent was to use the log function
194<Bagder> but then I lost my dicipline ;-)
195<Bagder> also, some of the printf() things are placed in "actual" code, and we need to define how to deal with that
196<adiamas> hehe well.. for what its worth... dicipline may be what we want to set this early :) its gonna be a pain in the arse to break habits later :)
197<Bagder> on a global basis
198<Bagder> you're right
199<adiamas> i have a suggestion on that
200<adiamas> something that seemed to work for me...
201<adiamas> since we are doing "functionname(char *format, ...)
202<adiamas> we just #define the function name, use that... then when/if you want to tear it out its a bit easier
203<Zagor> i don't get it. what's the gain?
204<adiamas> nothing significant.. i was just refering ot the "actual" code bit...
205<Zagor> oh
206<adiamas> doing dev, having it there is fine, but if you want to bring it o the player you want and easy way to remove it.
207<Bagder> a #define macro can't use a variable amount of parameters, in ansi
208<adiamas> and config files are out of the question in this case.
209<adiamas> thats not what i mean...
210<adiamas> i mean: #define PRINTFUNC printf
211<Bagder> aha
212<adiamas> then just: PRINTFUNC("%s", "we are cool")
213<adiamas> then you want to turn it off, then you just have PRINTFUNC point to an empty funciton
214<adiamas> *poof*, no more output
215<Bagder> but that still makes calls to code
216<adiamas> nah, optimized out
217<Bagder> only if in the same source
218<Zagor> #define PRINTFUNC //
219<Zagor> :)
220<Bagder> hehe
221<adiamas> yeah...
222<adiamas> heheh
223<Zagor> ugly, i know
224<Bagder> that's a bit "brual" ;-)
225<adiamas> i like that better :)
226<adiamas> brual?
227<Bagder> why not just PRINTF(("%s", "rockboxk")); ?
228<Bagder> then you can #define PRINTF
229<Bagder> completely
230<Zagor> it gives really weird errors if you do a multi-line PRINTFUNC call
231<adiamas> i don't get it.
232<Bagder> #define PRINT printf x
233<adiamas> oh, got ya
234<adiamas> honestly, id just have issues with that on a readablity level
235<adiamas> but thats just me
236<Bagder> I have no strong feelings about either way really
237<Bagder> we should define a single way to do it, and stick with it
238* adiamas defers all decision making to you european types ;)
239<adiamas> that i agree with...
240<adiamas> and please please please, someone post preferences on how code is to be indented/spaced etc...
241<adiamas> i get enough of 19 diff ppls ideas of formating at work...
242<wavey> code layout is so unimportant
243<adiamas> be nice to have something everyone is expected to stick with.
244<wavey> as long as it's readable
245<wavey> and runnable
246<Bagder> we could have a "prefered" style, but allow stubborn people to use their own
247<adiamas> readable is the problem.
248<adiamas> nods.. thats what i ment.
249<wavey> readable is common sense
250<adiamas> i dont mean we take a LART to someone for putting a { on the wrong line.
251<wavey> and no two people agree on styles
252<Bagder> true
253* adiamas thinks wavey hasn't seen what passes for 'readable' in his office
254<Bagder> heheh
255<wavey> and code beautifiers can be built into a makefile
256<Bagder> beautifiers are no good for versioning
257* adiamas watches cvs explode
258<wavey> no, you beautify locally
259<Bagder> right
260<wavey> according to how you like code
261<wavey> and you can do a 'standard' beautify before the check-in
262<wavey> if these things matter to you
263<wavey> cvs sucks ass, anyhow
264<Bagder> it's the best we have...
265<adiamas> how do you do a standard beautify before check in? rely on the person remembering?
266<wavey> i don't like non-exclusive versioning systems
267<adiamas> define non-exclusive?
268<wavey> adiamas incorporate it into the makefile
269<Bagder> wavey: when doing global development, that's the only thing that works
270<wavey> make checkin
271<adiamas> nods
272<wavey> bag: alas, yes
273<adiamas> thought so.. tired, so checking :)
274<wavey> non-exclusive == if i have it checked out, you can't touch it
275<Zagor> wavey: i wouldn't want to admin a global project with exclusive checkout... :)
276<wavey> zag: depends on the numbers, not the geographical distribution.. ;)
277<Zagor> correct
278<Bagder> I don't think the problem with CVS is the non-exclusiveness
279--> alkorr (jbcoax@srs07v-1-85.n.club-internet.fr) has joined #rockbox
280<wavey> hey alan
281<alkorr> hi
282<alkorr> well i'm planning to do an ARCHOS.MOD as a loader for a not scrambled rockbox.bin binary
283* Bagder needs more coffee
284<wavey> cvs will work fine for us - and i'm not ungrateful for sourceforge providing it..
285--> linus (~linus@labb.contactor.se) has joined #rockbox
286<wavey> hey linus
287<linus> Yo!
288<alkorr> yo Linus
289<linus> I just dug up my FAT code. It isn't that much really. It was originally intended to be a general FAT12/16/32 driver, with emphasis on FAT16. It was for another project.
290<linus> It is only working in a simulated environment, in Linux.
291<alkorr> yes, ok I retrieve some of my FAT32 source but a little bit old compared with the last I've lost
292<alkorr> so it could be interresting to merge
293<linus> Yup. I'll give it to Björn, and he will upload it to the web site.
294<Bagder> hey linus
295<linus> hey Bagder
296<alkorr> well tell me if you are okay for what follows :
297<alkorr> - only FAT32
298<alkorr> - filesystem directly use ATA, no generic device
299<alkorr> - ATA only handle primary controller and the master device (our HD)
300<alkorr> are you okay with that ?
301<alkorr> or do you want something else ?
302<Bagder> I believe in incremental development
303<Bagder> anything is fine
304<Bagder> we improve it later if need be
305<linus> It's perfectly OK. There's no need to develop any code that we won't use. I was planning to rip out the FAT12/16 stuff anyway, since the project it was intended for died.
306<alkorr> must we handle only one partition ?
307<linus> I don't see a problem handling several partitions, but let's start with only one primary partition.
308<alkorr> ok
309<alkorr> it is not a problem for me, it's just some code to add for having them
310<alkorr> the only problem is how the user will see all the partition on his/her JB
311<linus> That's why we should wait with that feature.
312<alkorr> ok
313<alkorr> i'm not sure about that, but did you know for people who have a recent JBR if their hd have a MBR or a direct FAT32 (true removable hd)
314<alkorr> ?
315<linus> I have no idea.
316<Bagder> then you have to add that feature
317<Bagder> we can't know all at once anyway
318<alkorr> the old JBP and JBR cannot read direct FAT32 because of their old firmware
319<alkorr> badger ? your hd on you JBR is the original ?
320<linus> I'm not sure I follow you. What is "direct FAT32"?
321<Bagder> yes
322<Bagder> I just got mine
323<alkorr> can you have a look on the first sector to see its signature, a MBR or a FAT32 ?
324<alkorr> unless you did format it
325<Bagder> what tool can show the first sector like that?
326<linus> My Recorder HD had one primary FAT32 partionaccording to FDISK, before I reformatted it... :-(
327<alkorr> mc
328<Bagder> ok, I'll try to remember to do that tonight
329<alkorr> linus : a normal hd has a MBR with a partition table
330* adiamas growls at CVS
331<alkorr> mc, look for /dev/sda, press F3, switch to hexa mode, that's all
332<linus> FDISK seemed to recognize a partition table when I put the recorder HD in my laptop yesterday.
333<Bagder> alkorr: will do, I don't have access to it now
334<alkorr> linus : a removable disk can have no MBR, i.e, it has no partition at all. Instead, it has a FAT32 boot sector at the very first physical sector
335<linus> I just gave the FAT code to Björn. Be aware, it is undocumented, and implemented straight from the Microsoft specification, so it is in no way optimized. It cad create empty files and directories.
336<alkorr> Badger : yes I know, I just gave you the instructions to check
337<Bagder> ok
338* Bagder logs everything said here, saves him from taking notes ;-)
339<alkorr> :)
340<alkorr> linus : no problem :), Windows can read that kind of removable hd
341<alkorr> linus : but old firmware don't know that
342<alkorr> for those who used Windows 98 SE, it is very complicated to format
343<alkorr> because you need to put the hd as removable to access it, but not removable to format it :/
344<alkorr> Björn ? how must I do to take Linus'source ?
345<Zagor> wait :)
346<alkorr> oh okay :)
347<linus> Interesting. I just did that yesterday. I attached the redorder with an empty HD and partitioned it using FDISK. Was that the wrong way to do it?
348<alkorr> are you interested with a simple ARCHOS.MOD as a loader for our rockbox.bin which wouldn't need to be scrambled ?
349<alkorr> linus : an empty hd ?
350<alkorr> linus : via USB or a ATA converter cable ?
351<Zagor> alan: http://bjorn.haxx.se/rockbox/tmp/fat.tar
352<linus> Well, brand new HD, via USB.
353<alkorr> okay
354<alkorr> it's strange, because Windows can only reckonize USB disk as logical disk...
355<alkorr> at least it is what happens when I use WinHex...
356<linus> So you mean that FDISK shouldn't be able to access the partition table of the Recorder?
357<alkorr> DOS Fdisk ? Windows FDISK ?
358<alkorr> or linux fdisk ?
359<alkorr> a logical disk is a partition
360<alkorr> a physical disk is the entire hd
361<alkorr> with WinHex i cannot access USB disk as physical disk, So i cannot retrieve the MBR for USB disk, even I know it exists
362<linus> Sorry. I ran FDISK in a DOS windows in Win98SE
363<alkorr> was it an Archos disk using the chipset ISD200 ?
364<linus> I created a primary partition (man those "integrity checks" tokk some time...) and then formatted it in Explorer.
365<linus> I would have done it in Linux if it hadn't hung badly when I connected the Recorder... :-(
366<adiamas> hmmmmm
367<alkorr> So your BIOS is able to read the recorder HD !? i thought ISD200 was not totally compliant with USB Mass Storage
368<adiamas> i had that issue today to...
369<adiamas> matter of fact..
370<adiamas> my recorder battery died.. caused linux to hang so bad i had to hard reboot
371<linus> Alan: remember. The Recorder is an ISD300 device.
372<alkorr> oh yes !!!!
373<alkorr> okay i'm speaking about ISD200 !!!
374<linus> Now we're talking. I had to use Linux when I did the same thing with my Player.
375<alkorr> okay okay you don't even need a driver for Windows with ISD300 i suppose
376<adiamas> okay.. sorry all you european studs you.. but this american needs sleep..
377<adiamas> see you in a few
378adiamas alkorr <Bagder> night adiamas
379--- adiamas is now known as adiamas|sleeping
380<linus> I really don't know. When I connected my Recorder the first time, Windows asked for a driver disk, and I inserted the CD that came with the Recorder.
381<alkorr> Zagor ? what do you think about ?
382<alkorr> well, if your DOS is able to access your recorder, that means your BIOS has capability to see USB hd (i.e, those which are really compliant with USB Mass Storage)
383<alkorr> Maybe if you don't give the CD, Windows will find another driver in its database
384<alkorr> maybe maybe
385<alkorr> anyway it is good for you not to be blocked :)
386* Zagor thinks windows wants drivers for everything...
387<alkorr> linus : i'm looking at your work
388<alkorr> your fat entry cache is one sector ?
389<linus> Nope. It is as many sectors as you need.
390<alkorr> the reason why you use a malloc...
391<linus> Actually it's 256 sectors. Look at line 71.
392<alkorr> ok
393<linus> As you see, a lot can be removed, since we don't intend to support FAT16. And in many places, I only have support for FAT12/16. We have work to do.
394<alkorr> lfn ?
395<alkorr> i must leave you. CU
396<-- alkorr has quit ()
397<wavey> can we get the logs of this channel sent to the website?
398<wavey> they're very interesting
399<wavey> any many people would be interested
400<Zagor> good idea
401<Bagder> I can collect my logs so far
402<linus> Daniel! Don't press DELE*...
403<linus> Off for lunch. CU in a few.
404<Zagor> same here
405--- Tumm is now known as coyote
406<Bagder> he's alive! ;-)
407<wavey> if uncommunicative ;)
408--> alkorr (jbcoax@srs04m-8-243.n.club-internet.fr) has joined #rockbox
409<alkorr> re-hi
410<Bagder> alkorr: what's your surname? I'm typing up a little nick => real name list for posting the logs
411<alkorr> i've no nickname. Alkorr is not enough ?
412<wavey> alan korr, i think, yes?
413<Bagder> people might want to know the real name, who's behind the nick
414<alkorr> Alan Korr, my nickmane : Alkorr
415<Bagder> ok, thanks
416<alkorr> Alan Korr
417<alkorr> just a question for Linus : did my rockbox work with serial ?
418<Bagder> he's away, eating
419<alkorr> right
420<Bagder> now, as soon as Björn has made the web updated vis CVS, I can just add the log there ;-)
421<Bagder> s/vis/via
422<alkorr> arf :)
423<alkorr> you'r a fan of GREP ;)
424<alkorr> okay i'll be here in one or two hours
425<alkorr> good lunch
426<-- alkorr has quit ()
427<-- coyote has quit (zahn.openprojects.net irc.openprojects.net)
428--> coyote (coyote@dreamhosted.borlange.se) has joined #rockbox
429<Zagor> hey, coyote
430<Bagder> Zagor: how's the www cvs going?
431<Zagor> it's just about ready
432<Zagor> i'm just reorganising a few things. the scramble tools, for instance, gets a cvs dir of their own
433<Zagor> also, I need to fix something about the load balancer
434<Zagor> which of .html and .cgi has priority by default in apache?
435<Bagder> I think it checks them in the order used in the config
436<Bagder> index.cgi vs index.html that is
437<Zagor> yeah. but that's not what I want to head :-)
438<Zagor> hear
439<Zagor> ok, so we'll have to remove index.cgi in the cron job on sourceforge.net. not a problem
440<Bagder> or, you can just don't add it to cvs
441<Zagor> yup. but i wanted it in cvs, so it's already there
442<Bagder> :-)
443<Bagder> btw, we could also use a new mailing list for cvs commits
444<Bagder> its a great way to keep up with development
445<Zagor> yes
446<Bagder> if you name a directory within www, I could put yesterday's irc log there :-)
447<-- wavey has quit (Read error: 110 (Connection timed out))
448--> alkorr (jbcoax@srs06m-7-196.n.club-internet.fr) has joined #rockbox
449<alkorr> linus : are you here ?
450<linus> Helooooo!
451<alkorr> hi linus
452<Zagor> bagder: 'irc' sounds good to me
453<linus> I'm sitting with your code trying to get it to run on my jukebox
454<Zagor> we'll make an index page with info about server/channel, and then links to the logs
455<alkorr> okay, if you have some questions, don't fear to ask
456<linus> UIE6A at 900014be
457<alkorr> you caught an exception ?
458<linus> Yup.
459<Bagder> Zagor: I added the dir and put the log there just now
460<alkorr> exception 106 : TXI1
461<Zagor> ok
462<Bagder> Zagor: there's a short nick => real name list at the top of the log, it could probably be put on the main page too
463<Zagor> ok
464<alkorr> is abnormal, you shouldn't get it because I don't use interrupt when transmitting
465<linus> You might have turned it on by mistake, since you do use it for receiving.
466<alkorr> SH1 tries to call an interrupt TXI1 but as i don't code an interupt TXI1, it defaults to a UIE
467<alkorr> yes but it's strange, because I never caught this interrupt
468<alkorr> let me have a look on SH1 hardware manual
469<alkorr> SCI1SCR is set to 0x70, which means only RIE,TE and RE is set
470<alkorr> RIE = Receive Interrupt Enable
471<linus> Yeah, I saw that too...
472<alkorr> TE = Transmit Enable (nothing to do with interrupt)
473<alkorr> etc.
474<linus> By the way, you never called serial_setup() in the code you sent me.
475<alkorr> yes because I did in setup ()
476<alkorr> setup () contains all the initial setup for most ports
477<alkorr> included SCI1
478<alkorr> setup is in main.c
479<linus> Now I see. Why do you do that instead of using serial_setup()?
480<alkorr> well serial_setup was just an extra in case we need it elsewhere
481<Zagor> bagder: doesn't "cvs update" make new dirs?
482<Zagor> i just updated the sf page, and didn't get the irc dir
483<Bagder> no, make a habit of using "up -dP"
484<alkorr> I prefer concentrate all initialisation in one setup () with direct access on port for a smaller code
485<Zagor> ah
486<Bagder> -d for make dir, -P for delete removed files
487<alkorr> quite now i never use serial_setup (a old code)
488<linus> I understand. I have another opinion, but never mind. Let's find out whywe get that interrupt...
489<alkorr> my intention is to have the smallest code possible for the final rockbox so we can have the largest space for buffer
490<alkorr> a choice to do
491<linus> Good idea
492<Bagder> me like inlined functions then, best of both worlds
493<alkorr> so, without changing my code, you caught this interrupt ?
494<alkorr> that's true, Badger, i should try do so too to check i didn't lose space that way
495<Zagor> btw, alan. he's "bagder", not "badger". it
496<alkorr> sorry :)
497<Zagor> 's an old story :)
498<Bagder> it proves he's not using tab completion ;-)
499<Zagor> haha
500<alkorr> Bagder, are you sure ?
501<alkorr> :)
502<Bagder> that would be french tab complettion then :-)
503<Zagor> tab completion to a dictionary, perhaps ;)
504<alkorr> yes i forget this capability :)
505<alkorr> very practical indeed
506<alkorr> ok, linus, can you tell if you made a change before catching this interrupt ?
507<alkorr> linus, add a new interrupt in serial.c
508<alkorr> or let me change my serial.c and i will send it to you
509<linus> Alan, I removed my extra call to serial_setup(). Now I get "OK WORKING", but no serial communication seems to work
510<alkorr> ok, it looks as if my software is no good
511<alkorr> if only i could remember what i did to make it work before my hd crashing :(
512<linus> I'll look into it. Hang on.
513<alkorr> linus : we must check if REI1 is called
514<alkorr> add : " }
515<alkorr> add : "lcd_goto (0,0); lcd_puthex (QI(SCISSR1),2);" in REI1
516<alkorr> it will display in hexa the byte read for Serial Status Register (overrun,frame or parity error)
517<Bagder> Zagor: you should add Gary to the activity table
518<Zagor> ok
519<alkorr> oh wait, and if PB10 and PB11 is not set as serial pins in setup () ? i'm checking them
520<Zagor> bagder: ui simulator?
521<Bagder> lcd code and ui sim for windows at least
522<Zagor> ok
523<Zagor> did rob ever put his faq anywhere?
524<Bagder> I don't think so
525<alkorr> Linus, check for BAUDRATE and PHY at the begining of system.h
526<linus> 12MHz and 9600
527<alkorr> 9600 is okay for you ?
528<linus> Yup.
529<alkorr> well, when there is no serial jack pllugged on my JBP, it displays "OK WORKING!"
530<alkorr> the same thing when pluged but nothing in my serial terminal
531<linus> Are you sure that you don't loop the serial data in your PC?
532<alkorr> what do you mean by looping ?
533<linus> Echoing
534<alkorr> i echo what I get not what i put
535<alkorr> I = sh1
536<alkorr> there is no echo from the PC side
537<linus> Got it!
538<alkorr> so ?
539<linus> You have to insert a small delay before enabling TX and RX (SCR1 = 0x70). I made a while(i++ < 30000);
540<alkorr> ok
541<alkorr> good to know
542<linus> As the manual says: "one bit time"
543* Bagder grins
544<linus> I spent quite a few hurs myself with exactly the same problem. I should have remembered that... :-)
545<alkorr> ok you know what i did ?
546<alkorr> i just put the last SCISCR1 = 0x70 just after setting interrupt priorities and it woks now
547<alkorr> so we don't need a very long delay
548<alkorr> very good now i can display messages on my serial terminal :)))))))
549<alkorr> thanks to you Linus, I thought about that but i was sceptical :) finally you did the right thing
550* Bagder hoorays
551<alkorr> ok i will see later
552<alkorr> bye
553<-- alkorr has quit ()
554<linus> Gotta go now. CU!
555<-- linus has quit ("Leaving")
556--> alkorr (jbcoax@srs08m-5-139.n.club-internet.fr) has joined #rockbox
557<alkorr> oh linus is left, well okay.
558<-- alkorr has quit (Client Quit)
559<Zagor> gotta run. see you guys
560<Bagder> bye!
561<Bagder> I figure the day is over now, I'll clear off as well
562**** ENDING LOGGING AT Wed Mar 27 16:27:55 2002
563