[linux-usb-devel] urb->status = -EPROTOCOL with sending data through control pipe.

2005-07-27 Thread Subbu
Hi alan Thanx a lot.once again sorry to disturb you. Please tell me in the practical scenario when urb->status will be -EPROTOCOL ..? I am sending some control commonds through control pipe and in the callback i am getting urb->status error as -EPROTOCOL .and in the documentation it says that i

RE: [linux-usb-devel] about g_file_storage for omap730

2005-07-27 Thread jinzhcheng
> It seems that host is waiting something. > Please try to check after the CLEAR_HALT, whether your ep reset the data > toggle correctly data toggle? clear toggle is not a separate bit for omap730. --- SF.Net email is Sponsored by the Be

RE: [linux-usb-devel] about g_file_storage for omap730

2005-07-27 Thread Jiang Bo-r61859
> > Hello, > the control transfer is compeleted successfully, but from dmesg, show > that file_storage called ep2in-bulk's set-halt function after > some bulk > transfer, and next host send "Clear Feature" control transfer > to device, > so udc set CLR_HALT in CTRL register. after a long time

Re: [linux-usb-devel] about g_file_storage for omap730

2005-07-27 Thread jinzhcheng
> Try using g_file_storage with the "stall=n" option, telling it not to > use endpoint halts. There have been some annoying DMA races in those > "halt" paths, which nobody's yet fixed ... but disabling those paths > (or maybe just forcing PIO?) worked just fine, the last time I used that. > > Al

[linux-usb-devel] about g_file_storage for omap730

2005-07-27 Thread jinzhcheng
Hello, I ported 2.6.12-omap1/omap_udc to 2.4.31 for omap730(TI P2 Board), and i insmod g_file_storage.o when connected the P2 Board to windows2000 host. the control transfer is compeleted successfully, but from dmesg, show that file_storage called ep2in-bulk's set-halt function after some bulk t

Re: [linux-usb-devel] usb_host_config.string no kfree?

2005-07-27 Thread Pete Zaitcev
On Wed, 27 Jul 2005 17:04:39 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > Until recently we didn't fetch the iConfiguration string at all, IIRC. Right, this is why FC2 worked for them. Anyway, there's nothing wrong with the string fetch. My current hypothesis is that the particular UHCI

Re: [linux-usb-devel] [patch] fix in usb_calc_bus_time (updated patch)

2005-07-27 Thread Dan Streetman
Ok, here is a slight update, sorry I didn't catch this the first time. I am assuming the first patch hasn't made it into any tree yet... This patch does the same swap, i.e. use the ISO macro if (isoc). Additionally, it fixes the return value - the usb_calc_bus_time function returns the time

[linux-usb-devel] Re: [PATCH] usbcore: real nodes instead of usbfs

2005-07-27 Thread Greg KH
On Wed, Jul 27, 2005 at 09:36:13PM +0200, Kay Sievers wrote: > This patch introduces a /sys/class/usb_device/ class > where every connected usb-device will show up: > > tree /sys/class/usb_device/ > /sys/class/usb_device/ > |-- usb1.1 > | |-- dev > | `-- device -> ../../../devices/pc

Re: [linux-usb-devel] usb_host_config.string no kfree?

2005-07-27 Thread Alan Stern
On Wed, 27 Jul 2005, Pete Zaitcev wrote: > Alan & others: > > Does anyone know off-hand if the string for iConfiguration is freed > anywhere in the new code in 2.6.13-rc3? This is the allocation: > > int usb_set_configuration(struct usb_device *dev, int configuration) > { > struct usb_host

[linux-usb-devel] Re: [RFC] Eagle and 930 driver

2005-07-27 Thread matthieu castet
oops I forgot to ask you if you could CC ueagleatm-dev ML. thanks Matthieu --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven

[linux-usb-devel] [RFC] Eagle and 930 driver

2005-07-27 Thread matthieu castet
Hi, attached is the driver for USB ADSL modems based on the ADI eagle chipset using the usb_atm infrastructure. The managing part was taken from bsd ueagle driver, other parts were written from scratch. The driver uses the in-kernel firmware loader : - to load a first usb firmware when the m

Re: [linux-usb-devel] [Help] Whiteheat USB serial driver with kernerl 2.6.11 and up

2005-07-27 Thread Oliver Neukum
Am Mittwoch, 27. Juli 2005 19:32 schrieb Matterazzo Giorgio: > Then I installed 2.6.12.3 kernel and the PC locks up problem was gone but > the devices connected to the Whiteheat hub stop responding. Looks like you are calling usb_submit_urb() from command_port_write_callback() with GFP_KERNEL wher

[linux-usb-devel] Re: [PATCH 58/82] remove linux/version.h from drivers/usb

2005-07-27 Thread Greg KH
On Sun, Jul 10, 2005 at 07:36:06PM +, Olaf Hering wrote: > > changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason. > > remove code for obsolete kernels from drivers/usb/media/pwc/pwc-ctrl.c > and drivers/usb/misc/sisusbvga/sisusb.h This, and your other patches in this seri

[linux-usb-devel] [PATCH] usbcore: real nodes instead of usbfs

2005-07-27 Thread Kay Sievers
This patch introduces a /sys/class/usb_device/ class where every connected usb-device will show up: tree /sys/class/usb_device/ /sys/class/usb_device/ |-- usb1.1 | |-- dev | `-- device -> ../../../devices/pci:00/:00:1d.0/usb1 |-- usb2.1 | |-- dev | `-- device -> ../

[linux-usb-devel] usb_host_config.string no kfree?

2005-07-27 Thread Pete Zaitcev
Alan & others: Does anyone know off-hand if the string for iConfiguration is freed anywhere in the new code in 2.6.13-rc3? This is the allocation: int usb_set_configuration(struct usb_device *dev, int configuration) { struct usb_host_config *cp = NULL; for (i = 0; i < dev->descri

[linux-usb-devel] [Help] Whiteheat USB serial driver with kernerl 2.6.11 and up

2005-07-27 Thread Matterazzo Giorgio
Hi, I'm trying to modify whiteheat.c code to make it to work with kernel 2.6.11 and up. Initially with Fedora core 4, there was a firmware download problem but commenting the lines "goto no_firmware" it started working. However as soon as I quit microcom (for example) the PC locks up. Then I instal

Re: [linux-usb-devel] USB 2.0 Enumeration Intermittent

2005-07-27 Thread Pete Zaitcev
On Wed, 27 Jul 2005 20:26:38 +0530, Jayaprakash Shanmugam <[EMAIL PROTECTED]> wrote: > When we insmod ehci-hcd, the hub sometimes enumerates as 2.0 device. > But most of the times it gives protocol error (-71) while reading the > device descriptor. Most of the time it is a signal integrity issu

[linux-usb-devel] USB 2.0 Enumeration Intermittent

2005-07-27 Thread Jayaprakash Shanmugam
Hello All, We have our custom board (running on 2.6) on which a USB Hub ( Philips ISP 1521 ) connected to the Ehci-controller ( Philips ISP 1561) . When we insmod ohci-hcd, the hub enumerates properly as 1.1 device. When we insmod ehci-hcd, the hub sometimes enumerates as 2.0 device. But most

[linux-usb-devel] Re: ftdi_sio driver

2005-07-27 Thread Ian Abbott
On 27/07/2005 09:53, ramya b.b wrote: I am using a usb-serial converter from ftdi. When I select the ftdi-sio driver in the menuconfig And build the kernel cat /proc/bus/usb/devices does not show the driver field when the device is hotplugged (hotplug enabled in kernel config) But when I d

Re: [linux-usb-devel] isp116x

2005-07-27 Thread Olav Kongas
On Wed, 27 Jul 2005, Fukumoto Akira wrote: > Great Stuff !! > dmesg looks much better now. It was my fault: it turns out that I had put up on the webpage the 2.6.13-rc1 version of the driver instead of the intended 2.6.12 version. I will change the driver on the web. Sorry about wasting you

[linux-usb-devel] ftdi_sio driver

2005-07-27 Thread ramya b.b
Note: forwarded message attached. Start your day with Yahoo! - make it your home page --- Begin Message ---  Hi,   I am using a usb-serial converter from ftdi. When I select the ftdi-sio driver in the menuconfig And build the kernel cat /proc/bus/usb/devices does not show the driver field when

[linux-usb-devel] ftdi_sio driver

2005-07-27 Thread ramya b.b
Note: forwarded message attached.__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- Begin Message ---  Hi,   I am using a usb-serial converter from ftdi. When I select the ftdi-sio driver in the

[linux-usb-devel] Fwd: ftdi_sio driver

2005-07-27 Thread ramya b.b
Note: forwarded message attached. Yahoo! Mail for Mobile Take Yahoo! Mail with you! Check email on your mobile phone.--- Begin Message ---  Hi,   I am using a usb-serial converter from ftdi. When I select the ftdi-sio driver in the menuconfig And build the kernel cat /proc/bus/usb/devices does

AW: AW: [linux-usb-devel] isp116x

2005-07-27 Thread Fukumoto Akira
Great Stuff !! dmesg looks much better now. My problem is still on the SCSI side. The SCSI side will not support sda1 device-node. I do not get: 'SCSI emulation for USB Mass Storage devices' emmited in scsiglue.c Are there any methods to test the driver alone? Which event in the system should