[linux-usb-devel] OOPS in kernel 2.4.21, ./linux/drivers/usb/host/uhci.c

2003-07-18 Thread James Courtier-Dutton
See attached file for details. Description: Kernel oops when unplugging the usb cable of an active usb device. It has some explanations of the "uhci.c-oops" attachment, together with extract from the source code identifying the oops position, together with the ksymoops output from the oops. Can

Re: [linux-usb-devel] OOPS in kernel 2.4.21, ./linux/drivers/usb/host/uhci.c

2003-07-18 Thread James Courtier-Dutton
Greg KH wrote: On Fri, Jul 18, 2003 at 08:22:50PM +0100, James Courtier-Dutton wrote: This is produced by using an audio usb device, with alsa driving it. Hm, alsa isn't in the main kernel tree, can you duplicate this with the usb audio driver in the 2.4.21 tree? How about the alsa usb

Re: [linux-usb-devel] Re: [Linux-usb-users] dsc v1 problem

2003-07-19 Thread James Courtier-Dutton
Siddhartha Jain wrote: welcome to the club of wanna-be linux-usb developers :) I am trying to do the same for my ISDN TA. Let me know if you find some good starter on Linux USB device driver writing. - Original Message - From: "Stephen D" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent:

Re: [linux-usb-devel] Patch: (as66) Changes to usb_device_remove()

2003-07-21 Thread James Courtier-Dutton
Oliver Neukum wrote: Am Montag, 21. Juli 2003 23:26 schrieb David Brownell: Alan Stern wrote: As far as names go, maybe we can all agree on usb_unbind_driver_interface(). How about drop the "driver", since nothing else gets unbound? And the "usb_" prefix, since it's internal to usbcore? So: unb

Re: [linux-usb-devel] Mounting other machine's disk partition asa storage device via USB?

2003-07-23 Thread James Courtier-Dutton
Balaji Raghavan wrote: Hello, Is there a way to mount a remote disk partition as a mass USB storage device? Thanks. --Balaji. Why bother? Just use nfs or smb mounts or similar. --- This SF.Net email sponsored by: Free pre-built ASP.NET

[linux-usb-devel] [PATCH] Add support for Pentax Still Camera to linux kernel.

2002-10-14 Thread James Courtier-Dutton
s well unchanged for 2.4.19. Patching to 2.5.x has not been tested. Please include this patch with all future kernels. Cheers James Courtier-Dutton --- unusual_devs.h.org Mon Oct 14 16:55:30 2002 +++ unusual_devs.h Mon Oct 14 16:55:17 2002 @@ -451,6 +451,19 @@ US_SC_

[linux-usb-devel] Problem with drivers/usb/input/hid-core.c

2006-08-05 Thread James Courtier-Dutton
Hi, /* * Analyse a received field, and fetch the data from it. The field * content is stored for next report processing (we do differential * reporting to the layer). */ static void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data, int interrupt, struct pt_regs *re

Re: [linux-usb-devel] Problem with drivers/usb/input/hid-core.c

2006-08-05 Thread James Courtier-Dutton
Adam Kropelin wrote: > > We already do deliver all events to hiddev, as of 2.6.12-rc1. I remember > specifically because the change broke userspace. > > PROTECTED]|src/.|src/drivers|src/drivers/usb|src/drivers/usb/input|hi

Re: [linux-usb-devel] Problem with USB2.0 and USB-Storage writing to DVD+-R

2004-05-02 Thread James Courtier-Dutton
Sergio Vergata wrote: Hi list, I want to report a problem that occured to me. I have an USB2.0 DVD Recorder attached to my Laptop. ehci_hcd ist loaded and detect the new device! usb 4-3: new high speed USB device using address 2 Initializing USB Mass Storage driver... scsi0 : SCSI emulation for U

Re: [linux-usb-devel] Building 2.5/2.6 under a 2.4 kernel

2003-08-15 Thread James Courtier-Dutton
Simon Block wrote: Hi All, I am attempting to get setup for the kernel development of a USB serial driver. I am currently running on RH-9. Please bear with me as I have tried posting to the kernel-newbies.com list but the list appears to be read-only and no HOWTO's I have looked at are relevant.

Re: [linux-usb-devel] Problem changing usb external disk

2003-08-26 Thread James Courtier-Dutton
Alessandro Fiorino wrote: I have a problem with kernel 2.4.21 and an external usb disk enclousure. If i plug the enclousure, unplug it, change the hard disk inside it and then replug it the kernel correctly sees the new partition table, but still sees the old disk size. I'm doing something wrong

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-04 Thread James Courtier-Dutton
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] root]# lsusb -v Unknown line at line 3340 Unknown line at line 3341 Unknown line at line 3342 Unknown line at line 3343 Unknown line at line 3344 Does anyone know what this is about? I get the samething on my systems? It is complaining about line numb

[linux-usb-devel] [PATCH] for "usb.ids"

2003-09-04 Thread James Courtier-Dutton
Here is a patch for usb.ids. It adds some extra items for usb cash drawers used in point of sale devices. Cheers James --- usb.ids 2003-09-04 04:53:32.0 +0100 +++ usb.ids.new 2003-09-04 04:08:04.0 +0100 @@ -4537,11 +4537,6 @@ HUT 8d Scale Page (POS) HUT 90 Camera Control P

Re: [linux-usb-devel] USB sniffer under linux

2003-09-13 Thread James Courtier-Dutton
Andries Brouwer wrote: On Thu, Sep 11, 2003 at 11:41:31AM -0700, Greg KH wrote: On Thu, Sep 11, 2003 at 05:33:25PM +0200, Ubaldi Fabio wrote: Hi all, I'm looking for a USB sniffer for linux; but i found in google only sniffer USB for Windows (as usbsnoopy). Does anybody know any USB sniffer sofw

[linux-usb-devel] USB Descriptor Types

2003-09-13 Thread James Courtier-Dutton
I have a USB device with descriptor type 7. The current lsusb only handles up to 5, So it just prints: - unknown descriptor type: 07 21 07 88 13 ff 03 I have looked through all the usb docs I can find on the web, but no luck. Can anyone point me to a document that enumerates the descriptor types,

Re: [linux-usb-devel] USB Descriptor Types

2003-09-13 Thread James Courtier-Dutton
Alan Stern wrote: On Sat, 13 Sep 2003, James Courtier-Dutton wrote: I have a USB device with descriptor type 7. The current lsusb only handles up to 5, So it just prints: - unknown descriptor type: 07 21 07 88 13 ff 03 I have looked through all the usb docs I can find on the web, but no luck

Re: [linux-usb-devel] [PATCH] ehci isoc. transfer

2003-10-12 Thread James Courtier-Dutton
Michal Sojka wrote: Hi, I tried to rewrite USB 2.0 isochronous transfer support and here is the patch against 2.6.0-test7. I tested this code with our measuring device and I was able to do high-speed high-bandwidth transfer (IN transactions) continuously for very long time. In my opinion there

Re: [linux-usb-devel] help me driving a Primax camera

2003-10-13 Thread James Courtier-Dutton
rain.wang wrote: Hi all, I bought a Primax digital camera which is not supported by linux, I tried but I can't drive it still. I found it use a Datafab MMC reader from its windows driver info file: MSFT="Microsoft" MfgName="Microsoft" USB\VID_07C4&PID_B004.DeviceDesc="USB Mass Storage Driver"

Re: [linux-usb-devel] unusual_devs.h: patch for Pentax Optio 330/430 RS

2003-12-08 Thread James Courtier-Dutton
As I am the original person who posted the patch, I would like to use this opertunity to fix a few things. I have looked at the windows driver .inf, and according to it, we should have the following: - UNUSUAL_DEV( 0x0a17, 0x0004, 0x, 0x, "Pentax", "USB DI

Re: [linux-usb-devel] unusual_devs.h: patch for Pentax Optio 330/430 RS

2003-12-08 Thread James Courtier-Dutton
Alan Stern wrote: On Mon, 8 Dec 2003, Christian Strauf wrote: Hi Alan, Does your patch work if you leave out the FIX_INQUIRY flag or is that flag necessary? Also, do you get any messages in your kernel log about I need to test what happens if I leave out the FIX_INQUIRY flag. If I set this t

Re: [linux-usb-devel] Problem with drivers/usb/input/hid-core.c

2006-10-21 Thread James Courtier-Dutton
James Courtier-Dutton wrote: > Adam Kropelin wrote: >> We already do deliver all events to hiddev, as of 2.6.12-rc1. I remember >> specifically because the change broke userspace. >> >> <http://linux.bkbits.net:8080/linux-2.6/diffs/drivers/usb/input/[EMAIL >&

Re: [linux-usb-devel] Difference between Linux and WinXP/2000

2007-01-03 Thread James Courtier-Dutton
Greg KH wrote: > On Tue, Dec 19, 2006 at 11:00:26AM +0800, [EMAIL PROTECTED] wrote: >> Hi, >> We have a USB audio device's product. I want to control speak's volume >> with HID(i.e. useexternal button), but the function in Linux is >> not available. I searched some about that in Internet

Re: [linux-usb-devel] usb_submit_urb -> unplug -> timeout -> replug -> kernel panic

2004-01-15 Thread James Courtier-Dutton
Axel Waggershauser wrote: Hi, I am still working on my driver for our proprietary usb-device. I get a kernel panic under the following condition: 1. usb_submit_urb // bulk in endpoint, urb with usb_complete_t set 2. wait_event_interruptible_timeout // about 3 seconds timeout 3. unplug the device

Re: [linux-usb-devel] Re: [PATCH] USB fixes for 2.4.25-pre7

2004-02-05 Thread James Courtier-Dutton
I thought that all this was fixed by a patch for transport.c from Alan Stern, see quoted email. With the patch, no unusual dev entries are needed for Pentax cameras. Was it rejected for some reason? Cheers James Alan Stern wrote: On 12 Dec 2003, Pat LaVarre wrote: I sent Alan a trace of what t

[linux-usb-devel] USB ISOC programming question.

2004-02-24 Thread James Courtier-Dutton
Hello, Are there any documents regarding how one should use USB ISOC endpoints in linux 2.6 ? I need answers to questions like: - 1) set alternate interface then submit urb, or submit the urb on initialisation, then set alternate interfaces on the fly. 2) How many urb's should one use per ISOC

Re: [linux-usb-devel] USB ISOC programming question.

2004-02-24 Thread James Courtier-Dutton
David Brownell wrote: James Courtier-Dutton wrote: Hello, Are there any documents regarding how one should use USB ISOC endpoints in linux 2.6 ? Did you look at the USB API doc you get by "make pdfdocs"? 1) set alternate interface then submit urb, or submit the urb on initialisa

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

[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

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] 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] Re: VIA workaround for UHCI port reset

2004-02-27 Thread James Courtier-Dutton
Duncan Sands wrote: On Sunday 22 February 2004 21:47, Alan Stern wrote: On Sun, 22 Feb 2004, Duncan Sands wrote: I should mention (down here at the bottom of the email where hopefully no-one from VIA is going to notice :) ), that I did quite a bit of rummaging around inside VIA's "filter driver"

[linux-usb-devel] Some ideas to ease usb driver developement.

2004-03-03 Thread James Courtier-Dutton
When someone is writing a kernel module that uses the usb core, and one makes a call to the usb core that gets rejected for some reason. e.g. usb core returns -EINVAL. It would be nice if the usb core could printk a kernel message explaining which parameter was invalid. I recently was getting -

Re: [linux-usb-devel] Some ideas to ease usb driver developement.

2004-03-03 Thread James Courtier-Dutton
Greg KH wrote: On Wed, Mar 03, 2004 at 10:45:24PM +, James Courtier-Dutton wrote: When someone is writing a kernel module that uses the usb core, and one makes a call to the usb core that gets rejected for some reason. e.g. usb core returns -EINVAL. It would be nice if the usb core could

Re: [linux-usb-devel] W996[87]CF decoder in kernel space as optional module

2004-06-03 Thread James Courtier-Dutton
Luca Risolia wrote: I am going to submit a patch for the Linux 2.6 adding the jpeg frame decoding feature (with integer arithmetics) to the w996[87]cf USB drivers. It is an _optional_ module, meaning that, even if compiled, the user can (load and) unload it whenever he wants to. I've not seen any o

Re: [linux-usb-devel] W996[87]CF decoder in kernel space as optional module

2004-06-03 Thread James Courtier-Dutton
Tuukka Toivonen wrote: On Thu, 3 Jun 2004, James Courtier-Dutton wrote: I think that it would be greatly improved is there was a user land lib that applications talked to. With the kernel just doing the interface Have you looked at the GStreamer? It tries to be like this. It also tries to be

[linux-usb-devel] Problem with lots of junk emails on this list.

2004-06-13 Thread James Courtier-Dutton
Is it just me, or are we getting a lot of junk mail on this list. Example subject line: [linux-usb-devel] Returned mail: see transcript for details in bunches of about 25 at a time. James --- This SF.Net email is sponsored by the new InstallShield

[linux-usb-devel] USB attached DVD-ROM drives.

2004-07-13 Thread James Courtier-Dutton
DVD-ROM drives need special IOCTLs to handle the DVD-Video encryption. Currently, those IOCTLs are present in linux for SCSI and IDE attached DVD-ROM hardware, but it does not seem to work with USB attached DVD-ROM drives. Are there any plans to add these to the usb-storage driver ? Thanks James

Re: [linux-usb-devel] iso transfer problem

2004-08-23 Thread James Courtier-Dutton
Manoj Bhatta wrote: Hi list , I have one full speed usb 1.1 specific device .Which is having iso OUT endpoint of packet length 840 . I try to read data from my device(fingerprint scanner ) through iso read. But i get data by using iso transfer but all data are not actual data which i am able to se

Re: [linux-usb-devel] Re: ehci-hcd reload

2005-12-22 Thread James Courtier-Dutton
Brown, Len wrote: As an alternate experiment, first manually insmod ohci-hcd.ko and then insmod ehci-hcd.ko. keyboard started working when ohci-hcd was loaded, loading ehci-hcd broke it unloading ehci-hcd fixed it loaded ehci-hcd and this time keyboard continued to work, but kbd interrupts

Re: [linux-usb-devel] Re: ehci-hcd reload

2005-12-22 Thread James Courtier-Dutton
Randy.Dunlap wrote: Load ehci-hcd OR ohci-hcd, but not both at the same time. What's the reasoning for that? EHCI needs a "companion" controller and driver (like UHCI or OHCI) for non-high-speed devices. Since when? --- This SF.net ema

Re: [linux-usb-devel] Re: ehci-hcd reload

2005-12-22 Thread James Courtier-Dutton
Greg KH wrote: On Thu, Dec 22, 2005 at 08:12:02PM +, James Courtier-Dutton wrote: Randy.Dunlap wrote: Load ehci-hcd OR ohci-hcd, but not both at the same time. What's the reasoning for that? EHCI needs a "companion" controller and driver (like UHCI or OHCI) for non-hig