lkml.org 
[lkml]   [2011]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Problem with writing virtual serial device driver.
From
2011/8/25 Alan Cox <alan@lxorguk.ukuu.org.uk>:
> The first question would be what error code you get when you try and open
> your new device, that would tell you much, and help identify your problem.

I don't get any error. I can open the device with minicom and
everything appears to be fine but non of ops registered for the device
get's called -- the device is not doing anything. The "dbg()" calls
that I've put all around are not being triggered. The only time dbg()
is printed is init function, which is successful.

I have no clue what can be wrong. As the device is purly virtual I
leave a lot of fields in the original structure empty so this might be
a problem, but how do I know which ones should I fill with some dummy
values? (if this would be a problem of course).

--
Dawid Ciężarkiewicz
B-Labs. http://b-labs.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-08-26 06:31    [W:0.062 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site