LCD driver port (Linux -> FreeBSD) needed for car-mp3 player
Hi everyone.. I have a PC in the boot of my car running Linux (yuck) to play mp3s. I would love to use FreeBSD instead of Linux for many reasons. The only thing stopping me using FreeBSD is the lack of a driver in the style implemented for Linux (provides a /dev/lcd that u just throw data at). The reason I need this driver to be ported is so I can use Cajun (cajun.sourceforge.net) with little or no modifications on FreeBSD. If I knew C, i would port the driver myself, and If i knew perl, I would mod cajun to use /usr/share/examples/ppi/ppilcd.c's stuff. The linux driver is available at: http://www4.infi.net/~cpinkham/cajun/code/lcd-0.2c.tar.gz If you want to see some photos and a bit of a description of my mp3 player, goto http://members.nbci.com/mp3zeus/ BTW, please email me directly, as I am not subscribed to the mailing list. Thanks in advance, Shaun -- -- Shaun Dwyer [EMAIL PROTECTED] -- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
RE: LCD driver port (Linux -> FreeBSD) needed for car-mp3 player
Shaun, I looked at the Cajun pages. Very nice little box! As far as the LCD, you don't need a "driver" for it, since it uses either a serial port interface or and i2c interface. For the serial port, you can use whatever language you want to connect to it and talk to it. (Assuming you are referring to the Matrix Orbital LCDs mentioned on that page.) Patrick On 26-Apr-01 Shaun Dwyer wrote: > Hi everyone.. > > I have a PC in the boot of my car running Linux (yuck) to play mp3s. > I would love to use FreeBSD instead of Linux for many reasons. > The only thing stopping me using FreeBSD is the lack of a driver in the > style > implemented for Linux (provides a /dev/lcd that u just throw data at). > > The reason I need this driver to be ported is so I can use Cajun > (cajun.sourceforge.net) > with little or no modifications on FreeBSD. > > If I knew C, i would port the driver myself, and If i knew perl, I would > mod > cajun to use /usr/share/examples/ppi/ppilcd.c's stuff. > > The linux driver is available at: > http://www4.infi.net/~cpinkham/cajun/code/lcd-0.2c.tar.gz > > If you want to see some photos and a bit of a description of my mp3 > player, goto > http://members.nbci.com/mp3zeus/ > > BTW, please email me directly, as I am not subscribed to the mailing > list. > > Thanks in advance, > > Shaun > > > -- > -- > Shaun Dwyer > [EMAIL PROTECTED] > -- > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message Patrick -- Patrick Gardella [EMAIL PROTECTED] The Power to Serve shall not be infringed. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: LCD driver port (Linux -> FreeBSD) needed for car-mp3 player
Hi Patrick, I didn't really explain much about the LCD+Driver... Basically its a parallel port display that uses the generic Hitachi HD44780 chipset. What the driver for linux does is provide a /dev/lcd that you can address the same as you would /dev/cuaaX for a serial matrix orbital display. The reason I am using the parallel port LCD, is that it cost $80, as opposed to $400+ for the matrix orbital serial display (I am in Australia). Shaun "Patrick S. Gardella" wrote: > > Shaun, > > I looked at the Cajun pages. Very nice little box! > > As far as the LCD, you don't need a "driver" for it, since it uses either a > serial port interface or and i2c interface. For the serial port, you can use > whatever language you want to connect to it and talk to it. (Assuming you are > referring to the Matrix Orbital LCDs mentioned on that page.) > > Patrick > > On 26-Apr-01 Shaun Dwyer wrote: > > Hi everyone.. > > > > I have a PC in the boot of my car running Linux (yuck) to play mp3s. > > I would love to use FreeBSD instead of Linux for many reasons. > > The only thing stopping me using FreeBSD is the lack of a driver in the > > style > > implemented for Linux (provides a /dev/lcd that u just throw data at). > > > > The reason I need this driver to be ported is so I can use Cajun > > (cajun.sourceforge.net) > > with little or no modifications on FreeBSD. > > > > If I knew C, i would port the driver myself, and If i knew perl, I would > > mod > > cajun to use /usr/share/examples/ppi/ppilcd.c's stuff. > > > > The linux driver is available at: > > http://www4.infi.net/~cpinkham/cajun/code/lcd-0.2c.tar.gz > > > > If you want to see some photos and a bit of a description of my mp3 > > player, goto > > http://members.nbci.com/mp3zeus/ > > > > BTW, please email me directly, as I am not subscribed to the mailing > > list. > > > > Thanks in advance, > > > > Shaun > > > > > > -- > > -- > > Shaun Dwyer > > [EMAIL PROTECTED] > > -- > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > > with "unsubscribe freebsd-hackers" in the body of the message > > Patrick > -- > Patrick Gardella [EMAIL PROTECTED] > The Power to Serve shall not be infringed. -- -- Shaun Dwyer [EMAIL PROTECTED] -- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: LCD driver port (Linux -> FreeBSD) needed for car-mp3 player
> Hi Patrick, > > > I didn't really explain much about the LCD+Driver... > Basically its a parallel port display that uses the generic Hitachi > HD44780 > chipset. What the driver for linux does is provide a /dev/lcd > that you can address the same as you would /dev/cuaaX for a serial > matrix orbital display. > > The reason I am using the parallel port LCD, is that it cost $80, > as opposed to $400+ for the matrix orbital serial display (I am in > Australia). Look at /usr/share/examples/ppi; you don't need (or want) a kernel driver for this sort of thing. I wrote the ppilcd app to talk to exactly that LCD controller; the electronics involved should be the same as for the Linux interface. If you have any questions, let me know. The code's a bit old, but the ppi interface hasn't changed in the last four years. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: LCD driver port (Linux -> FreeBSD) needed for car-mp3 player
Hi Mike, The software I am using in Linux (cajun - cajun.sourceforge.net) requires a serial display to work. What the linux driver does is emulate the serial display, and provides a /dev/lcd. As I am not a perl coder, I cannot modify Cajun to use the app you wrote, And as I am not a C coder, I cannot modify what you wrote to behave like the linux driver. Unless there is something already around that can take input in the way /dev/cuaaX does, and then pump the data into what you wrote, I think that the easiest way to do this is to make a driver for FreeBSD that behaves exactly the way that the Linux driver does. Shaun Mike Smith wrote: > > > Hi Patrick, > > > > > > I didn't really explain much about the LCD+Driver... > > Basically its a parallel port display that uses the generic Hitachi > > HD44780 > > chipset. What the driver for linux does is provide a /dev/lcd > > that you can address the same as you would /dev/cuaaX for a serial > > matrix orbital display. > > > > The reason I am using the parallel port LCD, is that it cost $80, > > as opposed to $400+ for the matrix orbital serial display (I am in > > Australia). > > Look at /usr/share/examples/ppi; you don't need (or want) a kernel driver > for this sort of thing. I wrote the ppilcd app to talk to exactly that > LCD controller; the electronics involved should be the same as for the > Linux interface. > > If you have any questions, let me know. The code's a bit old, but the > ppi interface hasn't changed in the last four years. > > -- > ... every activity meets with opposition, everyone who acts has his > rivals and unfortunately opponents also. But not because people want > to be opponents, rather because the tasks and relationships force > people to take different points of view. [Dr. Fritz Todt] >V I C T O R Y N O T V E N G E A N C E -- -- Shaun Dwyer [EMAIL PROTECTED] -- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: LCD driver port (Linux -> FreeBSD) needed for car-mp3 player
On Sunday 29 April 2001 11:51, Shaun Dwyer wrote: > Hi Mike, > > The software I am using in Linux (cajun - cajun.sourceforge.net) > requires > a serial display to work. What the linux driver does is emulate the > serial > display, and provides a /dev/lcd. > > As I am not a perl coder, I cannot modify Cajun to use the app you > wrote, > And as I am not a C coder, I cannot modify what you wrote to behave like > the linux driver. > > > Unless there is something already around that can take input in the way > /dev/cuaaX > does, and then pump the data into what you wrote, I think that the > easiest way > to do this is to make a driver for FreeBSD that behaves exactly the way > that the Linux driver does. Writing a driver is not the easiest way to go and if you don't know C then you can't write the driver. I think what your getting at (IIRC from your original post) is that you are asking someone to volunteer to write it for you. This is not a small request as writing kernel drivers is not a trivial task, can be very time consuming, and most people don't have time. Anyway, this looks like a pretty cool project and hopefully someone with some extra time on their hands will take up the task. Alternatively, you could learn C, learn how to write FreeBSD device drivers by reading the source code of existing drivers, and then write it yourself. :) I'm sure folks on this list (including myself) would be willing to answer any questions you had. Good luck! -- Regards, Devin. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: LCD driver port (Linux -> FreeBSD) needed for car-mp3 player
> > The software I am using in Linux (cajun - cajun.sourceforge.net) > requires a serial display to work. What the linux driver does is emulate > the serial display, and provides a /dev/lcd. > > As I am not a perl coder, I cannot modify Cajun to use the app you > wrote, And as I am not a C coder, I cannot modify what you wrote to behave > like the linux driver. > > Unless there is something already around that can take input in the way > /dev/cuaaX does, and then pump the data into what you wrote, I think that > the easiest way to do this is to make a driver for FreeBSD that behaves > exactly the way that the Linux driver does. Er, you're no great shakes at logic, either. "I can't fix the app, so someone else should write a driver" is what you've just said. I'll give you the benefit of the doubt, and simply tell you that fixing the app will be a damn sight easier than writing this driver you're talking about. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: LCD driver port (Linux -> FreeBSD) needed for car-mp3 player
Hello, Been following this thread, and thought I would poke my nose in. We are in the process of writing a driver (heavily based on LCDProc - http://lcdproc.omnipotent.net) and the source for this seems to be pretty easy to work with. The panel and driver board we are using hooks into a serial port, I take it this is what you are looking for? We will of course be releasing the driver BSD style license when its finished :) Just letting you know, check the LCDproc code, it is pretty solid. Jamie On 2001.04.30 10:17 Mike Smith wrote: > > > > The software I am using in Linux (cajun - cajun.sourceforge.net) > > requires a serial display to work. What the linux driver does is > emulate > > the serial display, and provides a /dev/lcd. > > > > As I am not a perl coder, I cannot modify Cajun to use the app you > > wrote, And as I am not a C coder, I cannot modify what you wrote to > behave > > like the linux driver. > > > > Unless there is something already around that can take input in the way > > /dev/cuaaX does, and then pump the data into what you wrote, I think > that > > the easiest way to do this is to make a driver for FreeBSD that behaves > > exactly the way that the Linux driver does. > > Er, you're no great shakes at logic, either. > > "I can't fix the app, so someone else should write a driver" is what > you've just said. > > I'll give you the benefit of the doubt, and simply tell you that fixing > the app will be a damn sight easier than writing this driver you're > talking about. > > -- > ... every activity meets with opposition, everyone who acts has his > rivals and unfortunately opponents also. But not because people want > to be opponents, rather because the tasks and relationships force > people to take different points of view. [Dr. Fritz Todt] >V I C T O R Y N O T V E N G E A N C E > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message > > -- Jamie Heckford Network Operations Manager Psi-Domain - Innovative Linux Solutions. Ask Us How. FreeBSD - The power to serve Join our mailing list and stay informed by emailing [EMAIL PROTECTED] with the line: subscribe collective = email: [EMAIL PROTECTED] web:http://www.psi-domain.co.uk/ tel:+44 (0)1737 789 246 fax:+44 (0)1737 789 245 mobile: +44 (0)7866 724 224 = To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message