* IrDA-patched binaries
@ 2001-11-01 22:24 Jonas Smedegaard
2001-11-01 22:30 ` [Debian] " Jonas Smedegaard
2001-11-11 23:10 ` Jason E. Stewart
0 siblings, 2 replies; 9+ messages in thread
From: Jonas Smedegaard @ 2001-11-01 22:24 UTC (permalink / raw)
To: debian; +Cc: linuxppc-dev, debian-powerpc
Hi all,
I have made available kernel and irda-packages with the irda-hacks added
to make .
Also, according to BenH the IDE tweaks should be alright now (but who
knows what other "features" have been thrown into this bleeding edge
kernel as well ;-)
Haven't had time to test myself, bu they are at
http://debian.jones.dk/auryn/ as usual:
deb http://debian.jones.dk sid misc tibook
Remember to also lower the speed as described in the mail-thread
(http://lists.linuxppc.org/linuxppc-dev/200110/msg00168.html):
> 3) When applying 1) and 2), IRCOMM works provided that
> /proc/sys/net/irda/max_baud_rate is clamped to 57600.
- Jonas
P.S.
Please Cc me or debian@jones.dk - I am not on other lists I am
crossposting
- --
Jonas Smedegaard (+45 40843136) http://dr.jones.dk/~jonas/
Spiff ApS (= IT-guide dr. Jones ApS) http://dr.jones.dk/
Debian GNU/Linux developer http://people.debian.org/~js/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Debian] IrDA-patched binaries
2001-11-01 22:24 IrDA-patched binaries Jonas Smedegaard
@ 2001-11-01 22:30 ` Jonas Smedegaard
2001-11-11 23:10 ` Jason E. Stewart
1 sibling, 0 replies; 9+ messages in thread
From: Jonas Smedegaard @ 2001-11-01 22:30 UTC (permalink / raw)
To: debian; +Cc: linuxppc-dev, debian-powerpc
On Thu, 1 Nov 2001, Jonas Smedegaard wrote:
> I have made available kernel and irda-packages with the irda-hacks
> added to make .
...to make IrDA work on the Apple G4 "TiBook" PowerBook.
(sorry, I got ahead of myself and let it out before finished writing it)
- Jonas
- --
Jonas Smedegaard (+45 40843136) http://dr.jones.dk/~jonas/
Spiff ApS (= IT-guide dr. Jones ApS) http://dr.jones.dk/
Debian GNU/Linux developer http://people.debian.org/~js/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IrDA-patched binaries
2001-11-01 22:24 IrDA-patched binaries Jonas Smedegaard
2001-11-01 22:30 ` [Debian] " Jonas Smedegaard
@ 2001-11-11 23:10 ` Jason E. Stewart
2001-11-12 9:52 ` Jonas Smedegaard
2001-11-12 10:00 ` Michel Dänzer
1 sibling, 2 replies; 9+ messages in thread
From: Jason E. Stewart @ 2001-11-11 23:10 UTC (permalink / raw)
To: Jonas Smedegaard; +Cc: debian, linuxppc-dev, debian-powerpc
"Jonas Smedegaard" <dr@jones.dk> writes:
> I have made available kernel and irda-packages with the irda-hacks added
> to make .
I was totally thrilled to see this. Because of reiserfs, I need to
compile my own kernel, so I grabbed the patches a couple of weeks
ago. I just had time to look at them and it seems that parameters.h
has changed a *lot* since this patch was made.
>From BenH's latest kernel:
typedef union {
char *c;
__u32 i;
__u32 *ip;
} irda_pv_t;
from the patch:
+#if defined(__BIG_ENDIAN) /* TODO: not 64bit safe (when casting __u32 to ptr) */
typedef union {
char *c;
- __u8 b;
- __u16 s;
+ struct {
+ __u8 mm,ml,lm,ll; /* most to least significant */
+ } b;
+ struct {
+ __u16 m,l; /* most to least significant */
+ } s;
__u32 i;
__u8 *bp;
__u16 *sp;
__u32 *ip;
} irda_pv_t;
+#elif defined(__LITTLE_ENDIAN) /* TODO: not 64bit safe */
+typedef union {
+ char *c;
+ struct {
+ __u8 ll,lm,ml,mm; /* least to most significant */
+ } b;
+ struct {
+ __u16 l,m; /* least to most significant */
+ } s;
+ __u32 i;
+ __u8 *bp;
+ __u16 *sp;
+ __u32 *ip;
+} irda_pv_t;
+#else
+#error "unknown endianness"
+#endif
So it looks like the irda_pv_t has lost the *sp,*bp,s, and b fields
since the patch was made. Since the primary change of the patch is to
make the b and s fields into structs, I don't really have a clue how
to procede.
Can someone suggest anything?
Thanks,
jas.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: IrDA-patched binaries
2001-11-11 23:10 ` Jason E. Stewart
@ 2001-11-12 9:52 ` Jonas Smedegaard
2001-11-12 10:00 ` Michel Dänzer
1 sibling, 0 replies; 9+ messages in thread
From: Jonas Smedegaard @ 2001-11-12 9:52 UTC (permalink / raw)
To: Jason E. Stewart; +Cc: debian, linuxppc-dev, debian-powerpc
On 11 Nov 2001, Jason E. Stewart wrote:
> "Jonas Smedegaard" <dr@jones.dk> writes:
>
> > I have made available kernel and irda-packages with the irda-hacks added
> > to make .
>
> I was totally thrilled to see this. Because of reiserfs, I need to
> compile my own kernel, so I grabbed the patches a couple of weeks ago.
> I just had time to look at them and it seems that parameters.h has
> changed a *lot* since this patch was made.
[cut]
> So it looks like the irda_pv_t has lost the *sp,*bp,s, and b fields
> since the patch was made. Since the primary change of the patch is to
> make the b and s fields into structs, I don't really have a clue how
> to procede.
>
> Can someone suggest anything?
Hi Jason,
My suggestion is have a look at the latest snapshot from
http://debian.jones.dk/auryn/kernels/patches/ with the irda patch
included: 2.4.15-pre1ben0rsync20011108irda20011030
I was lazy that day and didn't archive the snapshot without ida, but there
was no hackery, just a clean patch, so you can undo the pach if you
like...
I am no kernel hacker, so for the current situation what I do myself is
sit tight until someone pops up with a new diff and claims that it works.
Regarding my own testing: I managed to see my Nokia phone in
discovery-mode, but not communicate with it (using libgsm). Might be other
problems, I haven't succeeded recently on my Sony Vaio either, but have
had positive results way back (with 2.4.2 as I recall...).
- Jonas
- --
Jonas Smedegaard (+45 40843136) http://dr.jones.dk/~jonas/
Spiff ApS (= IT-guide dr. Jones ApS) http://dr.jones.dk/
Debian GNU/Linux developer http://people.debian.org/~js/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IrDA-patched binaries
2001-11-11 23:10 ` Jason E. Stewart
2001-11-12 9:52 ` Jonas Smedegaard
@ 2001-11-12 10:00 ` Michel Dänzer
2001-11-12 10:39 ` Jonas Smedegaard
2001-11-12 16:39 ` Jason E. Stewart
1 sibling, 2 replies; 9+ messages in thread
From: Michel Dänzer @ 2001-11-12 10:00 UTC (permalink / raw)
To: Jason E. Stewart; +Cc: Jonas Smedegaard, debian, linuxppc-dev, debian-powerpc
"Jason E. Stewart" wrote:
>
> "Jonas Smedegaard" <dr@jones.dk> writes:
>
> > I have made available kernel and irda-packages with the irda-hacks
> > added to make .
>
> I was totally thrilled to see this. Because of reiserfs, I need to
> compile my own kernel, so I grabbed the patches a couple of weeks
> ago. I just had time to look at them and it seems that parameters.h
> has changed a *lot* since this patch was made.
>
> >From BenH's latest kernel:
>
> typedef union {
> char *c;
> __u32 i;
> __u32 *ip;
> } irda_pv_t;
Yup, 2.4.15-pre2 has my better fix. :)
Now we're working on fixing macserial such that the 'cat /dev/ttyS1
trick' isn't needed anymore...
--
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member / CS student, Free Software enthusiast
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: IrDA-patched binaries
2001-11-12 10:00 ` Michel Dänzer
@ 2001-11-12 10:39 ` Jonas Smedegaard
2001-11-12 16:39 ` Jason E. Stewart
1 sibling, 0 replies; 9+ messages in thread
From: Jonas Smedegaard @ 2001-11-12 10:39 UTC (permalink / raw)
To: daenzer; +Cc: Jason E. Stewart, debian, linuxppc-dev, debian-powerpc
On Mon, 12 Nov 2001, Michel Dänzer wrote:
> "Jason E. Stewart" wrote:
> > has changed a *lot* since this patch was made.
> Yup, 2.4.15-pre2 has my better fix. :)
>
> Now we're working on fixing macserial such that the 'cat /dev/ttyS1
> trick' isn't needed anymore...
_That_ was quick response :-)
I have now uploaded BenH as of today to debian.jones.dk, if anyone's
interested...
- Jonas
--
Jonas Smedegaard (+45 40843136) http://dr.jones.dk/~jonas/
Spiff ApS (= IT-guide dr. Jones ApS) http://dr.jones.dk/
Debian GNU/Linux developer http://people.debian.org/~js/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IrDA-patched binaries
2001-11-12 10:00 ` Michel Dänzer
2001-11-12 10:39 ` Jonas Smedegaard
@ 2001-11-12 16:39 ` Jason E. Stewart
2001-11-12 20:47 ` Michel Dänzer
1 sibling, 1 reply; 9+ messages in thread
From: Jason E. Stewart @ 2001-11-12 16:39 UTC (permalink / raw)
To: linuxppc-dev, debian-powerpc
"Michel Dänzer" <michdaen@iiic.ethz.ch> writes:
> "Jason E. Stewart" wrote:
> >
> > "Jonas Smedegaard" <dr@jones.dk> writes:
> >
> > > I have made available kernel and irda-packages with the irda-hacks
> > > added to make .
> >
> > I was totally thrilled to see this. Because of reiserfs, I need to
> > compile my own kernel, so I grabbed the patches a couple of weeks
> > ago. I just had time to look at them and it seems that parameters.h
> > has changed a *lot* since this patch was made.
> >
> > >From BenH's latest kernel:
> >
> > typedef union {
> > char *c;
> > __u32 i;
> > __u32 *ip;
> > } irda_pv_t;
>
> Yup, 2.4.15-pre2 has my better fix. :)
sorry Michel, I don't understand. Is the irda_pv_t listed above your
fix? Or will your fix being showing up in BenH's kernel soon, or???
> Now we're working on fixing macserial such that the 'cat /dev/ttyS1
> trick' isn't needed anymore...
Hmmm.. Sorry, must have missed that one. What is the trick, and why is
it needed?
Thanks,
jas.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: IrDA-patched binaries
2001-11-12 16:39 ` Jason E. Stewart
@ 2001-11-12 20:47 ` Michel Dänzer
2001-11-12 21:16 ` Jason E. Stewart
0 siblings, 1 reply; 9+ messages in thread
From: Michel Dänzer @ 2001-11-12 20:47 UTC (permalink / raw)
To: Jason E. Stewart; +Cc: linuxppc-dev, debian-powerpc
"Jason E. Stewart" wrote:
>
> "Michel Dänzer" <michdaen@iiic.ethz.ch> writes:
>
> > "Jason E. Stewart" wrote:
> > >
> > > "Jonas Smedegaard" <dr@jones.dk> writes:
> > >
> > > > I have made available kernel and irda-packages with the
> > > > irda-hacks added to make .
> > >
> > > I was totally thrilled to see this. Because of reiserfs, I need to
> > > compile my own kernel, so I grabbed the patches a couple of weeks
> > > ago. I just had time to look at them and it seems that
> > > parameters.h has changed a *lot* since this patch was made.
> > >
> > > >From BenH's latest kernel:
> > >
> > > typedef union {
> > > char *c;
> > > __u32 i;
> > > __u32 *ip;
> > > } irda_pv_t;
> >
> > Yup, 2.4.15-pre2 has my better fix. :)
>
> sorry Michel, I don't understand. Is the irda_pv_t listed above your
> fix?
Yes, it's in Linus' 2.4.15-pre2 and thus of course also in Ben's.
> > Now we're working on fixing macserial such that the 'cat /dev/ttyS1
> > trick' isn't needed anymore...
>
> Hmmm.. Sorry, must have missed that one. What is the trick, and why is
> it needed?
The macserial driver was missing a delay so you had to open the device
(most easily with cat) for a while before running irattach, or it
wouldn't work.
I've verified an idea from Ben for a possible solution today, he'll
hopefully integrate something soon.
--
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member / CS student, Free Software enthusiast
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: IrDA-patched binaries
2001-11-12 20:47 ` Michel Dänzer
@ 2001-11-12 21:16 ` Jason E. Stewart
0 siblings, 0 replies; 9+ messages in thread
From: Jason E. Stewart @ 2001-11-12 21:16 UTC (permalink / raw)
To: linuxppc-dev, debian-powerpc
"Michel Dänzer" <michdaen@iiic.ethz.ch> writes:
> > > Yup, 2.4.15-pre2 has my better fix. :)
> >
> > sorry Michel, I don't understand. Is the irda_pv_t listed above your
> > fix?
>
> Yes, it's in Linus' 2.4.15-pre2 and thus of course also in Ben's.
Ah.. Thanks. So I assume that I can use BenH's kernel as is with my
Pismo and my Palm, with no patch needed?
Thanks,
jas.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2001-11-12 21:16 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-01 22:24 IrDA-patched binaries Jonas Smedegaard
2001-11-01 22:30 ` [Debian] " Jonas Smedegaard
2001-11-11 23:10 ` Jason E. Stewart
2001-11-12 9:52 ` Jonas Smedegaard
2001-11-12 10:00 ` Michel Dänzer
2001-11-12 10:39 ` Jonas Smedegaard
2001-11-12 16:39 ` Jason E. Stewart
2001-11-12 20:47 ` Michel Dänzer
2001-11-12 21:16 ` Jason E. Stewart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).