lkml.org 
[lkml]   [2008]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 01/18] lirc core device driver infrastructure
Date
On Thursday 11 September 2008 14:30:00 Christoph Bartelmus wrote:
> Hi,
>
> on 09 Sep 08 at 13:03, Jarod Wilson wrote:
> > On Tuesday 09 September 2008 03:40:18 Sebastian Siewior wrote:
>
> [...]
>
> >>>+EXTRA_CFLAGS =-DIRCTL_DEV_MAJOR=61 -DLIRC_SERIAL_TRANSMITTER -I$(src)
> >>
> >> Do you rely on this specific major? Since your daemon opens /dev/lirc0
> >> you don't need a fixed major do you?
> >
> > Good question. Quite honestly, I'm not sure. Christoph?
>
> LIRC does not rely on a specific major. But to be honest, the last time I
> looked into this issue, was when devfs was bleeding-edge...
>
> So, we need some advice here how to proceed. Should we try to register an
> official major number for LIRC? Should we try to have a minor number
> mapping, e.g.
> /dev/lirc/serial/0 LIRC device on 1st UART serial port
> ...
> /dev/lirc/serial/n LIRC device on n-th UART serial port
> /dev/lirc/parallel/0 LIRC device on 1st parallel port
> ...
> /dev/lirc/parallel/n LIRC device on n-th parallel port
> /dev/lirc/usb/0 1st LIRC USB device
> ...

Janne took a crack at dynamic device allocation earlier today, committed into
my git tree:

http://git.wilsonet.com/linux-2.6-
lirc.git/?a=commitdiff;h=ea74897bf7b03e2ed2401df3815637caa0702eab

Haven't yet tested it out, that's on tap for tonight...

--
Jarod Wilson
jarod@redhat.com



\
 
 \ /
  Last update: 2008-09-11 21:15    [W:0.081 / U:1.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site