* [Bluez-devel] uart driver
@ 2005-11-15 15:11 Matthieu CASTET
2005-11-15 15:26 ` Peter Wippich
2005-11-22 11:23 ` Marcel Holtmann
0 siblings, 2 replies; 6+ messages in thread
From: Matthieu CASTET @ 2005-11-15 15:11 UTC (permalink / raw)
To: bluez-devel
Hi,
I have a uart driver that use non-standard read/write and can't be used by
the hci_ldisc.c driver.
A hack was done in the hci_ldisc.c driver to use these non-standard
read/write functions and remove all the tty stuff.
I want to clean it and write a standard uart driver for 2.6.
But I don't know how to write it and what callbacks are needed.
I look some example in driver/serial, but I don't how to implement all the
uart_ops callback and which are needed/optional.
Have you got some pointers for how to write uart driver or an example uart
driver that is not too complex?
Thanks,
Matthieu
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-devel] uart driver
2005-11-15 15:11 [Bluez-devel] uart driver Matthieu CASTET
@ 2005-11-15 15:26 ` Peter Wippich
2005-11-22 11:23 ` Marcel Holtmann
2005-11-22 11:23 ` Marcel Holtmann
1 sibling, 1 reply; 6+ messages in thread
From: Peter Wippich @ 2005-11-15 15:26 UTC (permalink / raw)
To: bluez-devel
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1753 bytes --]
Hi Mattieu,
you may use the PCMCIA card driver (btuart_cs) as a base and remove all
the PCMCIA specific stuff. Than modify the UART access for your hardware.
You may also use our PCI driver and removed all PCI specific stuff.
this is based on the PCMCIA driver as well.
The attached version is for 2.6.x. For 2.4.x you can find one on our
website.
Good luck,
Peter
On Tue, 15 Nov 2005, Matthieu CASTET wrote:
> Hi,
>
> I have a uart driver that use non-standard read/write and can't be used by
> the hci_ldisc.c driver.
> A hack was done in the hci_ldisc.c driver to use these non-standard
> read/write functions and remove all the tty stuff.
>
> I want to clean it and write a standard uart driver for 2.6.
>
> But I don't know how to write it and what callbacks are needed.
>
> I look some example in driver/serial, but I don't how to implement all the
> uart_ops callback and which are needed/optional.
>
> Have you got some pointers for how to write uart driver or an example uart
> driver that is not too complex?
>
>
> Thanks,
>
> Matthieu
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
> Register for a JBoss Training Course. Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
| Peter Wippich Voice: +49 30 46776411 |
| G&W Instruments GmbH fax: +49 30 46776419 |
| Gustav-Meyer-Allee 25, Geb. 12 Email: pewi@gw-instruments.de |
| D-13355 Berlin / Germany |
[-- Attachment #2: Type: APPLICATION/x-gtar, Size: 9311 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-devel] uart driver
@ 2005-11-15 16:10 Matthieu CASTET
0 siblings, 0 replies; 6+ messages in thread
From: Matthieu CASTET @ 2005-11-15 16:10 UTC (permalink / raw)
To: bluez-devel
> Good luck,
Thanks, I will look the driver you sent me.
Matthieu
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-devel] uart driver
2005-11-15 15:26 ` Peter Wippich
@ 2005-11-22 11:23 ` Marcel Holtmann
2005-11-22 13:32 ` Peter Wippich
0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2005-11-22 11:23 UTC (permalink / raw)
To: bluez-devel
Hi Peter,
> you may use the PCMCIA card driver (btuart_cs) as a base and remove all
> the PCMCIA specific stuff. Than modify the UART access for your hardware.
>
> You may also use our PCI driver and removed all PCI specific stuff.
> this is based on the PCMCIA driver as well.
> The attached version is for 2.6.x. For 2.4.x you can find one on our
> website.
it will break on the latest 2.6 kernel, because the skb->pkt_type field
is no longer used.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-devel] uart driver
2005-11-15 15:11 [Bluez-devel] uart driver Matthieu CASTET
2005-11-15 15:26 ` Peter Wippich
@ 2005-11-22 11:23 ` Marcel Holtmann
1 sibling, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2005-11-22 11:23 UTC (permalink / raw)
To: bluez-devel
Hi Matthieu,
> I have a uart driver that use non-standard read/write and can't be used by
> the hci_ldisc.c driver.
> A hack was done in the hci_ldisc.c driver to use these non-standard
> read/write functions and remove all the tty stuff.
>
> I want to clean it and write a standard uart driver for 2.6.
>
> But I don't know how to write it and what callbacks are needed.
>
> I look some example in driver/serial, but I don't how to implement all the
> uart_ops callback and which are needed/optional.
>
> Have you got some pointers for how to write uart driver or an example uart
> driver that is not too complex?
send in more details what this driver is about.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-devel] uart driver
2005-11-22 11:23 ` Marcel Holtmann
@ 2005-11-22 13:32 ` Peter Wippich
0 siblings, 0 replies; 6+ messages in thread
From: Peter Wippich @ 2005-11-22 13:32 UTC (permalink / raw)
To: bluez-devel
Hi Marcel,
thank you for this information. I'll update the driver as soon as I find
some free time.
Ciao,
Peter
On Tue, 22 Nov 2005, Marcel Holtmann wrote:
> Hi Peter,
>
> > you may use the PCMCIA card driver (btuart_cs) as a base and remove all
> > the PCMCIA specific stuff. Than modify the UART access for your hardware.
> >
> > You may also use our PCI driver and removed all PCI specific stuff.
> > this is based on the PCMCIA driver as well.
> > The attached version is for 2.6.x. For 2.4.x you can find one on our
> > website.
>
> it will break on the latest 2.6 kernel, because the skb->pkt_type field
> is no longer used.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
> Register for a JBoss Training Course. Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
| Peter Wippich Voice: +49 30 46776411 |
| G&W Instruments GmbH fax: +49 30 46776419 |
| Gustav-Meyer-Allee 25, Geb. 12 Email: pewi@gw-instruments.de |
| D-13355 Berlin / Germany |
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-11-22 13:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-15 15:11 [Bluez-devel] uart driver Matthieu CASTET
2005-11-15 15:26 ` Peter Wippich
2005-11-22 11:23 ` Marcel Holtmann
2005-11-22 13:32 ` Peter Wippich
2005-11-22 11:23 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2005-11-15 16:10 Matthieu CASTET
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).