On Fri, Sep 15, 2006 at 09:20:25PM +1000, [EMAIL PROTECTED] wrote:
> Thanks Greg. Please see attached file which is identical to your 
> skeleton.c except changed the name to mx (for my experimental and learning).
> 
> What I did was following commands:
> 
> /sbin/insmod mx.o
> mknod /dev/mx0 c 180 0
> chmod 644 /dev/mx0
> 
> usb.c: registered new driver MX
> 
> I can see mx module by lsmod and I can see /dev/mx0 as well.
> 
> Then to call fd = open("dev/mx0", O_RDWR), it return an error of "No 
> such device".
> 
> When I pluged a serial adapter UC-232A:
> 
> hub.c: new USB device not_pci-3, assigned address 2
> usb.c: USB device not accepting new address=2 (error=-110)
> hub.c: new USB device not_pci-3, assigned address 3
> usb.c: USB device not accepting new address=3 (error=-110)

As the usb core isn't even registering your device, your driver will
never get called.  I'd suggest fixing this first before worrying about
your code :)

Do any USB devices work on this system?  Does this device work on any
other machine?

thanks,

greg k-h

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to