[lkml]   [2008]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] USB: add USB test and measurement class driver - round 2
On Thu, Aug 28, 2008 at 06:58:41PM +0200, Marcel Janssen wrote:
> On Thursday 28 August 2008 01:47:20 Greg KH wrote:
> > Great, all done now.
> >
> > Here's the updated version.
> I've just installed this version.
> Here's what I see so far :
> The driver inserts well and when I connect my device it shows /dev/usbtmc0
> with major 180 and minor 176.
> It only creates one device (Stefan's driver created two) but I'm not sure if
> that has changed for a reason so just let you know.

Yes, the old driver had a "control and debug " channel at minor 0, which
isn't needed anymore.

> When I disconnect my device, usbtmc0 will not be destroyed. After connecting
> the device a couple of times I have a lot of /dev/usbtmc.. files.

Hm, that's not good, something's wrong here.

Can you enable CONFIG_USB_DEBUG and rebuild the driver and send me the
kernel log messages when you plug the device in and then remove it?

> I would expect the following to work :
> echo :*IDN?>/dev/usbtmc0
> But it returns : No such device

Yeah, I would expect that to work as well. The debug information might
be helpful here also.

> Using echo and cat to test the device is quite convenient, but is this
> supposed to work yet ?

Yes it should.

> I checked /sys a bit and found that the endpoints are correctly found.

Good, how about the capability information? That should be in sysfs as
well, does that show the proper values?


greg k-h

 \ /
  Last update: 2008-08-29 00:11    [W:0.083 / U:6.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site