Re: issue with usb device in arm linux

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

 



On Mon, Nov 29, 2004 at 03:31:22PM +0530, sudharsan wrote:
> Dear All,
> 
> 	I am new to the embedded linux development i am using a sa1100 based
> PDA that runs 2.4.18-rmk7 kernel.

That is a _very_ old kernel.  I suggest you upgrade to a newer one if
you want support from the opensource community.

> When i insert the USB smart card reader(VID/PID 04e6,4116),I get the
> following message in the system log after starting klogd.(The driver
> is not loaded)
> 
> Nov 25 18:07:32 myPDA syslog.debug klogd: usbdevfs: USBDEVFS_CONTROL
> failed dev 2 rqt 128 rq 6 len 18 ret -110
> Nov 25 18:07:32 myPDA syslog.warn klogd: usb_control/bulk_msg: timeout
> Nov 25 18:07:32 myPDA syslog.debug klogd: usbdevfs: USBDEVFS_CONTROL
> failed dev 2 rqt 128 rq 6 len 18 ret -110
> Nov 25 18:07:32 myPDA syslog.warn klogd: usb_control/bulk_msg: timeout
> Nov 25 18:07:32 myPDA syslog.debug klogd: usbdevfs: USBDEVFS_CONTROL
> failed dev 2 rqt 128 rq 6 len 18 ret -110
> Nov 25 18:07:32 myPDA user.notice /etc/hotplug/usb.agent: Setup cannot
> get config descriptor: Connection timed out for USB product
> 4e6/5115/416

This is the usbmodules utility.  Just delete it and your problem should
go away.

> I hope this message is because the usb system did not get the
> configuration descriptor for the device.But when i analysed with the
> CATC analyser the configuration descriptor is actually sent from the
> device to the host.

USB Linux specific questions like this should be sent to the
linux-usb-devel mailing list instead of kernelnewbies.

> I compiled the USB Skeleton driver (usb-skeleton.c) with the VID PID
> modifications for my device.

Which version of the usb-skeleton driver?  Older versions had a number
of bugs in them, and it has been totally rewritten for the 2.6 kernel.

> Then with the driver loaded (explicitly by insmod command)i got the
> following oops

Please run that through ksymoops in order to provide useful information
(and don't have your email client wrap the lines, it makes it
unreadable.

Good luck,

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