Re: [linux-usb-devel] how to format backup media for mass-storage

2005-02-18 Thread Alan Stern
On Sat, 19 Feb 2005, tong changda wrote: > Doc is Disk on Chip > Following your advice I run fdisk on my smartphone(pxa271)'s DOC to > make a partition, then using mkdosfs on this partition(mkdosfs -F 16 > /dev/tffsa1), Now there is a disk driver appear, but it is write-protect. > But I cou

Re: [linux-usb-devel] how to format backup media for mass-storage

2005-02-18 Thread tong changda
Doc is Disk on Chip Following your advice I run fdisk on my smartphone(pxa271)'s DOC to make a partition, then using mkdosfs on this partition(mkdosfs -F 16 /dev/tffsa1), Now there is a disk driver appear, but it is write-protect. But I could mount as vfat to read/write file on it. There rema

[linux-usb-devel] [2.6.10] cdc-acm.c patches

2005-02-18 Thread Alexander V. Lukyanov
Hello! I have ZyXEL UNO modem which has usb acm interface. Starting with kernel version 2.6.8 the driver cdc-acm began to hand when the modem connection was dropped due to being idle. After the hang, no data could be read from the device /dev/usb/ttyACM0, but writting was ok. The led "data" was li

Re: [linux-usb-devel] Maybe another firmware-related problem ?

2005-02-18 Thread Alan Stern
On Fri, 18 Feb 2005, Samuel Colin wrote: > Hello list, > it's me again. I report a new problem with the other disk (so the previous > problem is still solved, don't worry). > The kernel I used is a 2.6.11-rc4-bk6 with the following patches : > http://sjdcolin.free.fr/tmp/patches/ > > I did the t

Re: [linux-usb-devel] cdrecord stuck in D state with USB DVD burner

2005-02-18 Thread David Brownell
On Friday 18 February 2005 1:23 pm, Chuck Berg wrote: > On Fri, Feb 18, 2005 at 08:36:57AM -0800, David Brownell wrote: > > > > I have a system with two USB DVD burners. If I burn a disc on both at > > > > the > > > > same time, one of the dvdrecord processes hangs (unkillably stuck in the > > >

Re: [linux-usb-devel] cdrecord stuck in D state with USB DVD burner

2005-02-18 Thread Chuck Berg
On Fri, Feb 18, 2005 at 08:36:57AM -0800, David Brownell wrote: > > > I have a system with two USB DVD burners. If I burn a disc on both at the > > > same time, one of the dvdrecord processes hangs (unkillably stuck in the > > > > http://marc.theaimsgroup.com/?l=linux-usb-devel&m=110859441830485&w

[linux-usb-devel] Maybe another firmware-related problem ?

2005-02-18 Thread Samuel Colin
Hello list, it's me again. I report a new problem with the other disk (so the previous problem is still solved, don't worry). The kernel I used is a 2.6.11-rc4-bk6 with the following patches : http://sjdcolin.free.fr/tmp/patches/ I did the tests with usb-storage debug and usb debug activated, the

Re: [linux-usb-devel] Re: [PATCH] zd1201 wireless lan driver

2005-02-18 Thread Jeroen Vreeken
Oliver Neukum wrote: + urb->status = 0; + urb->dev = zd->usb; + if(usb_submit_urb(urb, GFP_ATOMIC)) + free = 1; Aren't you missing a wake_up in the error case? + unsigned int gfp_mask = wait ? GFP_KERNEL : GFP_ATOMIC; GFP_NOIO please. You might run nfs over the

Re: [linux-usb-devel] Re: urb timeout with bluetooth HCI on ARM (take 2)

2005-02-18 Thread Thibaut VARENE
On Fri, 18 Feb 2005 11:59:41 -0800, David Brownell <[EMAIL PROTECTED]> wrote: > On Friday 18 February 2005 3:03 am, Thibaut VARENE wrote: > > On rare occasions, error -71 (-EPROTO) shows up for the same endpoint > > (ie: the only thing that changes in the logmessage is the error > > value), which

Re: [linux-usb-devel] Re: [PATCH] zd1201 wireless lan driver

2005-02-18 Thread Oliver Neukum
+ urb->status = 0; + urb->dev = zd->usb; + if(usb_submit_urb(urb, GFP_ATOMIC)) + free = 1; Aren't you missing a wake_up in the error case? + unsigned int gfp_mask = wait ? GFP_KERNEL : GFP_ATOMIC; GFP_NOIO please. You might run nfs over the link. R

Re: [linux-usb-devel] Re: urb timeout with bluetooth HCI on ARM (take 2)

2005-02-18 Thread David Brownell
On Friday 18 February 2005 3:03 am, Thibaut VARENE wrote: > Hi again > > On rare occasions, error -71 (-EPROTO) shows up for the same endpoint > (ie: the only thing that changes in the logmessage is the error > value), which seems coherent with the timeout issue ("-EPROTO: > bitstuff error during

Re: [linux-usb-devel] Re: [PATCH] zd1201 wireless lan driver

2005-02-18 Thread Jeroen Vreeken
Greg KH wrote: On Wed, Feb 16, 2005 at 12:33:34AM +0100, Jeroen Vreeken wrote: + +#define host2zd16(n) (__cpu_to_le16((__u16)(n))) +#define host2zd32(n) (__cpu_to_le32((__u32)(n))) +#define zd2host16(n) (__le16_to_cpu((__u16)(n))) +#define zd2host32(n) (__le32_to_cpu((__u32)(n))) The usage

[linux-usb-devel] Re: [patch] mtouchusb report hw-calibrated coordinates instead of raw

2005-02-18 Thread Greg KH
On Fri, Feb 18, 2005 at 02:24:44PM -0500, Dan Streetman wrote: > > Ok, so I think that all are in agreement that this patch is ok. This > allows people to use hw-calibration. This should not effect people using > software calibration at all (besides having to do a one-time > software recalibr

[linux-usb-devel] [patch] mtouchusb report hw-calibrated coordinates instead of raw

2005-02-18 Thread Dan Streetman
Ok, so I think that all are in agreement that this patch is ok. This allows people to use hw-calibration. This should not effect people using software calibration at all (besides having to do a one-time software recalibration). Signed-off-by: Dan Streetman <[EMAIL PROTECTED]> --- linux

Re: [linux-usb-devel] hcd->state

2005-02-18 Thread Alan Stern
On Thu, 17 Feb 2005, David Brownell wrote: > On Wednesday 09 February 2005 12:23 pm, Alan Stern wrote: > > > As far as usbcore is concerned, the states an HC can be in are: > > > > a. Running normally. > > > > b. Root hub suspended. > > > > c. Root hub and HC both suspended. > > >

Re: [linux-usb-devel] cdrecord stuck in D state with USB DVD burner

2005-02-18 Thread David Brownell
On Friday 18 February 2005 7:23 am, Alan Stern wrote: > On Thu, 17 Feb 2005, Chuck Berg wrote: > > > I have a system with two USB DVD burners. If I burn a disc on both at the > > same time, one of the dvdrecord processes hangs (unkillably stuck in the > > D state). The usb-storage kernel thread wa

Re: [linux-usb-devel] USB 2.0 keys badly recognized

2005-02-18 Thread Alan Stern
On Fri, 18 Feb 2005, Cedric Pellerin wrote: > Hi, > > Just a little mail to tell you I found a (ugly) way to have all my usb > 2.0 keys well recognized by kernel. Before I had a lot of errors and my > keys were recognized about once on ten times. I just add a little delay > in drivers/usb/core

Re: [linux-usb-devel] cdrecord stuck in D state with USB DVD burner

2005-02-18 Thread Alan Stern
On Thu, 17 Feb 2005, Chuck Berg wrote: > I have a system with two USB DVD burners. If I burn a disc on both at the > same time, one of the dvdrecord processes hangs (unkillably stuck in the > D state). The usb-storage kernel thread was also stuck in the D state. > > I power-cycled both burners. T

Re: [linux-usb-devel] how to format backup media for mass-storage

2005-02-18 Thread Alan Stern
On Fri, 18 Feb 2005, tong changda wrote: > Hi, > Build Mass-storage based on pxa271, Now I want to format DOC as fat32 > filesystem. What is DOC? > First I run fdisk on Mobile on /dev/tffsa , What is Mobile? > add a new partition, > change filesystem type as 0xb(fat32) then write, Now

Re: [linux-usb-devel] Re: mtouchusb coordinates - raw vs. hw-calibrated

2005-02-18 Thread Paulo Marques
David Brownell wrote: On Thursday 17 February 2005 10:10 am, Dan Streetman wrote: How does my plan have any effect at all on you creating a software calibration library? And -- speaking as someone ignorant of such things -- how would such a library be different from the existing "tslib"? Other

[linux-usb-devel] Re: urb timeout with bluetooth HCI on ARM (take 2)

2005-02-18 Thread Thibaut VARENE
Hi again I've investigated both the issue and the code, and thanks to the help of LDD3 Ch13 (currently online at oreilly.com, btw), I now have a better understanding of how that (doesn't) work :) (kudos to Greg KH btw, I guess that chapter is his work) So the error messages I already mentioned i

[linux-usb-devel] Re: cdc-acm module problem with netmod

2005-02-18 Thread Oliver Neukum
Am Freitag, 18. Februar 2005 04:55 schrieb Red Neuron: > netmod - usb isdn modem built into terminal adapter; made by intracom; > widely used in many european countries > > uses > /usr/src/linux/drivers/usb/class/cdc-acm.c > > didn't work through kernel 2.6.7 - 2.6.9 > > now works partially in

Re: [linux-usb-devel] [PATCH] Add US_FL_GO_SLOW flag, and associated entries

2005-02-18 Thread Phil Dibowitz
Matthew Dharm wrote: On Thu, Feb 17, 2005 at 10:13:03PM -0800, Phil Dibowitz wrote: So I decided to try to take a leap into BK. It took some fiddling to get it to make a patch, so this *should* work, but I make no promises. I haven't figured out how to test this since I haven't figured out how to "

[linux-usb-devel] USB 2.0 keys badly recognized

2005-02-18 Thread Cedric Pellerin
Hi, Just a little mail to tell you I found a (ugly) way to have all my usb 2.0 keys well recognized by kernel. Before I had a lot of errors and my keys were recognized about once on ten times. I just add a little delay in drivers/usb/core/hub.c (after line 2147 for 2.6.10 kernel) with a msleep(