Re: libusb and usbdevfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 13, 2006 at 12:41:26PM +0530, pradeep singh wrote:
> On 10/12/06, Greg KH <greg@xxxxxxxxx> wrote:
> [snip]
> >> Does it mean USB host controller didnt recognize it at all.
> >> Depends, what did the kernel log messages say?
> yes it recognizes now after i gave it external power.
> I am able to have a look at the device through lsusb and through sysfs
> interface :).
> >
> >> Shouldnt it atleast assign some ID to the device on USB.
> >
> >In a way, yes, but your terms are a little off here.
> >
> >> Without a driver i may not be able to communicate to the device like
> >> normal read write etc. But shouldnt it be visible to me through sysfs
> >> interface?
> >
> >Yes it should.
> Yes it is now visible. But problem is now it recognizes it as webcam
> :(. Though it is not. How big is this problem?

What is it really?  Why would the kernel be confused this way?

> or is it a problem at all? On the other hand can question specially to
> Greg :). You rewrote ezusb.c in the source tree for 2.6.x kernel. I
> want to use it but i somehow cant. Can i somehow use cypress_m8 module
> instead of ezusb module?

Please provide specifics as to why you can not use the ezusb.c calls in
your driver.  It works for me.

> I tried but cypress_m8 module doesnot identifies the card at all :(.

I don't understand, why would different random drivers work with this
device.  What type of device is it?  What is the output of
/proc/bus/usb/devices with the device plugged in?

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux