Re: [linux-usb-devel] Re: What utilities to build over core "gadget" APIs?

2004-02-25 Thread Andrew Zabolotny
On Wed, 25 Feb 2004 11:29:52 -0800 David Brownell <[EMAIL PROTECTED]> wrote: > > Yep, it just uses if()'s instead of #ifdef's, this is the only > > difference. This doesn't overcome the first limitation you > > mentioned: the need to modify every gadget driver as new UDC drivers > > are added. >

[linux-usb-devel] help usb driver for Kodak digitalcam

2004-02-25 Thread jpyao
hi,I'm new in this area . I want to get the data in the digital camera through USB to pc. and I want to write code by myself . What should I know first? jpyao [EMAIL PROTECTED]   2004-02-26 <>

[linux-usb-devel] Re: ccid class driver?

2004-02-25 Thread Charles Lepple
Andreas Jellinghaus wrote: did anyone write a ccid class driver, either in kernel or userspace? und an open source license? CCID is the chip/smart card interface. See: http://pcsclite.alioth.debian.org/ccid.html -- Charles Lepple http://www.ghz.cc/charles/ --

Re: [linux-usb-devel] USB ISOC programming question. 2 new api calls needed.

2004-02-25 Thread David Brownell
James Courtier-Dutton wrote: usb_get_current_frame_number() returns the current frame pointer. So at any time I can tell where abouts in that urb the currently playing frame is. Now, I want to be able to detect over and under runs. Heh. So does the HCD! And I'm not sure all of them do the sam

[linux-usb-devel] ccid class driver?

2004-02-25 Thread Andreas Jellinghaus
Hi, did anyone write a ccid class driver, either in kernel or userspace? und an open source license? CCID is the chip/smart card interface. Regards, Andreas --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps &

[linux-usb-devel] usb.ids update.

2004-02-25 Thread James Courtier-Dutton
See attached patch. It adds recognition for one new device. Cheers James --- /u/usb/usb.ids 2004-02-14 09:03:16.0 + +++ usb.ids 2004-02-21 21:40:32.941952160 + @@ -34,6 +34,7 @@ 03ee Mitsumi CD-R/RW Drive 641f WIF-0402C Bluetooth Adapter + 6440 WML-C52APR Bluetooth Ada

Re: [linux-usb-devel] [PATCH] uhci - eliminate td->td_remove_list element

2004-02-25 Thread Alan Stern
On Wed, 25 Feb 2004, Stephen Hemminger wrote: > The idea is good, but something is bad about this. It works for normal i/o > to a USB device, but when I do lsusb, it ends up oops'ing. > > The earlier splice_init patch seems to be okay though. It looked okay to me too. I'll send it on up. I hav

[linux-usb-devel] USB-ID for Sharp Zaurus SL-C860

2004-02-25 Thread Sven Trampel
snipped of http://www.linux-usb.org/usb.ids 04dd Sharp Corp. 7004 VE-CG40U Digital Still Camera 8004 Zaurus SL-5000D/SL-5500 PDA 8005 Zaurus A-300 8006 Zaurus SL-B500/SL-5600/SL-C700 PDA 8007 Zaurus C-700 PDA 9014 IM-DR80 Portable NetMD Player

[linux-usb-devel] [RFC take 2] [PATCH] Driver for ATI USB/RF remote

2004-02-25 Thread Torrey Hoffman
I posted this driver to the list last week, and got back some suggestions for improvements. Those are done now. Further review and comment is requested. Anyone who has this hardware, please try the driver and give me success or failure reports. All I know for sure is it works for me. Changes

Re: [linux-usb-devel] [PATCH] uhci - eliminate td->td_remove_list element

2004-02-25 Thread Stephen Hemminger
The idea is good, but something is bad about this. It works for normal i/o to a USB device, but when I do lsusb, it ends up oops'ing. The earlier splice_init patch seems to be okay though. Oops: [#1] SMP DEBUG_PAGEALLOC CPU:0 EIP:0060:[]Not tainted EFLAGS: 00010293 EIP is at uhci

Re: [linux-usb-devel] kernel documentation lacking for the usb_submit_urb() function.

2004-02-25 Thread James Courtier-Dutton
David Brownell wrote: James Courtier-Dutton wrote: int usb_submit_urb (struct urb * urb, int mem_flags); On return from this function call, which entries in the struct urb * urb can now be examined by the application? struct urb { int start_frame; I think the only one that changes validity

[linux-usb-devel] Re: What utilities to build over core "gadget" APIs?

2004-02-25 Thread David Brownell
Alan Stern wrote: Along with all the issues involved in autoconfiguring endpoint selection, the functions in a composite gadget will have to share other resources: interface numbers and string descriptors. Right. But you can autoconfigure endpoints (at least for bulk-only drivers) and not suppor

Re: [linux-usb-devel] kernel documentation lacking for the usb_submit_urb() function.

2004-02-25 Thread David Brownell
James Courtier-Dutton wrote: int usb_submit_urb (struct urb * urb, int mem_flags); On return from this function call, which entries in the struct urb * urb can now be examined by the application? struct urb { int start_frame; I think the only one that changes validity at that time is start_fra

Re: [linux-usb-devel] Re: What utilities to build over core "gadget" APIs?

2004-02-25 Thread David Brownell
Andrew Zabolotny wrote: On Tue, 24 Feb 2004 11:56:18 -0800 David Brownell <[EMAIL PROTECTED]> wrote: - See the autoconfig() routine in that user mode driver; it handles "bulk-only" configs just fine. Yep, it just uses if()'s instead of #ifdef's, this is the only difference. This does

[linux-usb-devel] Re: usb-skeleton questions

2004-02-25 Thread Juergen Stuber
Alan Stern <[EMAIL PROTECTED]> writes: > > Here are some answers to your question. I don't know if you will find > them very helpful... Yes, they are helpful, they help me to be more ruthless w.r.t. those fringe cases :-) > On Wed, 25 Feb 2004, Juergen Stuber wrote: >> >> I'm currently working

Re: [linux-usb-devel] [Fwd: Problems with CDRECORD on HP CDWRITER 8200e (external USB)]

2004-02-25 Thread Alan Stern
On Tue, 24 Feb 2004, [windows-1252] Martin Brož wrote: > Dear people, again, > I have done some more tests and have tried to get more log information. > All results are appended as an attachements. > > - cdrecord-bug is an original description of the problem > > Other files are from 2.6.3 kerne

Re: [linux-usb-devel] first code

2004-02-25 Thread shino korah
#define USB_SKEL_VENDOR_ID 0x045e #define USB_SKEL_PRODUCT_ID 0x0039 --- DeLeTe <[EMAIL PROTECTED]> wrote: > Hi, I'm new in kernel programming and i would like > to do a simple code > witch can detect and plug/deplug usb device. So I > read usb-skeleton.c > and there is some line I don't underst

[linux-usb-devel] first code

2004-02-25 Thread DeLeTe
Hi, I'm new in kernel programming and i would like to do a simple code witch can detect and plug/deplug usb device. So I read usb-skeleton.c and there is some line I don't understand: /* Define these values to match your devices */ #define USB_SKEL_VENDOR_ID 0xfff0 #defi

[linux-usb-devel] keyspan oops on unplug/removal

2004-02-25 Thread Jim Radford
When I unplug my four port keyspan USB serial converter or remove the keyspan module I get a consistent oops. I'm running linux-2.6.3. Thanks for any help with this, -Jim Unable to handle kernel NULL pointer dereference at virtual address printing eip: e0e084b1 *pde = Oops: 00

Re: [linux-usb-devel] usb-skeleton questions

2004-02-25 Thread Alan Stern
Here are some answers to your question. I don't know if you will find them very helpful... On Wed, 25 Feb 2004, Juergen Stuber wrote: > Hi, > > I'm currently working to correct the locking problems in the > LEGO USB Tower driver. In the course of that I've read through > the current version o

[linux-usb-devel] kernel documentation lacking for the usb_submit_urb() function.

2004-02-25 Thread James Courtier-Dutton
int usb_submit_urb (struct urb * urb, int mem_flags); On return from this function call, which entries in the struct urb * urb can now be examined by the application? struct urb { struct list_head urb_list; struct usb_device * dev; unsigned int pipe; int status; unsigned int transfer_f

[linux-usb-devel] Re: What utilities to build over core "gadget" APIs?

2004-02-25 Thread Alan Stern
On Tue, 24 Feb 2004, David Brownell wrote: > Hi, > > As more folk start to use the gadget API, I've heard more > suggestions about things that would help make the gadget > drivers more flexible. Even some off-line brainstorming > with folk (notably Alan Stern) about ideas. > > So here are notes

Re: [linux-usb-devel] USB ISOC programming question. 2 new api calls needed.

2004-02-25 Thread James Courtier-Dutton
David Brownell wrote: James Courtier-Dutton wrote: I have recently relooked at the uhci11d.pdf doc. It mentions a table of 1024 frames. Each frame lasts 1 ms. So, it is possible to buffer up an entire 1 second of audio! Not really. The UHCI driver puts a ceiling in place that's I cannot find a

Re: [linux-usb-devel] Over-current change - VIA Chipset.

2004-02-25 Thread Anders Misfeldt
On Mon, 23 Feb 2004 12:24:55 -0800 David Brownell <[EMAIL PROTECTED]> wrote: > What does /proc/bus/usb/devices say about your webcam? Nothing! It's not showing up. > Does a more current kernel (preferably 2.6.3) see the > same problems? I haven't tried kernel 2.6.X on this computer yet, since I

[linux-usb-devel] usb-skeleton questions

2004-02-25 Thread Juergen Stuber
Hi, I'm currently working to correct the locking problems in the LEGO USB Tower driver. In the course of that I've read through the current version of usb-skeleton.c in 2.6.3, and I have a few questions and remarks: - Parallel read and write are impossible due to locking on dev->sem. Is that o

[linux-usb-devel] BUG probably in hub_port_connect_change

2004-02-25 Thread Stavros Markou
Hi, I am using usb_physical_reset_device and I 've noticed that with kernel 2.6.3 I don't get the port number of my usb device (it remains -1) so I am exiting abnormally from my reset device procedure. Is there a patch that solve this? Thanks In Advance, Stavros Markou. -