Re: [linux-usb-devel] usb_device_id id_table[]

2003-09-03 Thread David Findlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Why care about the version number at all? > What's wrong with just using USB_DEVICE()? Well it doesn't really matter to my device as far as I know, so I might just do that instead. *looks up docs* Thanks, David - -- It's not that engineers are b

[linux-usb-devel] Delivery Status Notification

2003-09-03 Thread Mail Delivery Service
- These recipients of your message have been processed by the mail server: [EMAIL PROTECTED]; Action: Failed; Status: 5.7.0 (other or undefined security status) Reporting-MTA: dns; mail.ajato.com.br Received-from-MTA: dns; COMPUTER (68.158.35.153) Arrival-Date: Thu, 4 Sep 2003 03:04:01 -0300 Fi

Re: [linux-usb-devel] USB Gadget - serial?

2003-09-03 Thread Al Borchers
Joshua Wise wrote: > > We certainly should have a serial "gadget". > In progress. Progress is in the handhelds.org CVS repository, as 'char.c'. I have also started writing a USB gadget serial device. It has the usual tty driver interface so it will look like a normal serial port to user space. Lo

Re: [linux-usb-devel] usb_device_id id_table[]

2003-09-03 Thread Greg KH
On Thu, Sep 04, 2003 at 10:32:09AM +1000, David Findlay wrote: > > > You need to familiarize yourself with the linux/include/linux/usb*.h files. > > > > From 2.4.21, usb.h says: > > > > #define USB_DEVICE_VER(vend,prod,lo,hi) \ > > match_flags: USB_DEVICE_ID_MATCH_DEVICE_AND_VERSION, idVendor:

[linux-usb-devel] Antigen found VIRUS= Win32/Mimail.A.Worm (CA(InoculateIT)) virus

2003-09-03 Thread Antigen
Antigen for Exchange found Unknown infected with VIRUS= Win32/Mimail.A.Worm (CA(InoculateIT)) virus. The file is currently Removed. The message, "[linux-usb-devel] your account izgicaec", was sent from [EMAIL PROTECTED] and was discovered in First Storage Group\Kári Daví

[linux-usb-devel] Norton AntiVirus detected a virus in a message you sent. The infected attachment was deleted.

2003-09-03 Thread NAV for Microsoft Exchange-NEPTUN
Recipient of the infected attachment: Mesaje pentru site web\Inbox Subject of the message: Your details One or more attachments were deleted Attachment your_details.pif was Deleted for the following reasons: Virus [EMAIL PROTECTED] was found. <>

Re: [linux-usb-devel] usb_device_id id_table[]

2003-09-03 Thread David Findlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > You need to familiarize yourself with the linux/include/linux/usb*.h files. > > From 2.4.21, usb.h says: > > #define USB_DEVICE_VER(vend,prod,lo,hi) \ > match_flags: USB_DEVICE_ID_MATCH_DEVICE_AND_VERSION, idVendor: (vend), > idProduct: (prod),

Re: [linux-usb-devel] Bug in uhci driver?

2003-09-03 Thread Greg KH
On Wed, Sep 03, 2003 at 03:34:45PM +0200, Bas Wijnen wrote: > Hi, > > I'm writing a device driver for a spectrometer that can be connected to > the computer via usb. It has one bulk in endpoint and one bulk out > endpoint, so I thought I could get away with using the scanner driver and > not d

Re: [linux-usb-devel] USB modem no longer detected in -test4

2003-09-03 Thread David Brownell
Pavel Machek wrote: Hi! In 2.6.0-test4, USB ELSA modem no longer works. This is UHCI (on toshiba 4030cdt). Relevant messages seem to be: PM: Adding info for usb:1-1.2 drivers/usb/class/cdc-acm.c: need inactive config#2 PM: Adding info for usb:1-1.2:0 drivers/usb/class/cdc-acm.c: need inactive con

Re: [linux-usb-devel] High speed interrupt polling interval

2003-09-03 Thread David Brownell
Mostly just making urb->interval work right: Full/low speed: urb->interval = desc->bInterval; High speed: urb->interval = (1 << desc->bInterval); I am doing this, except it is urb->interval = 1 << (desc->bInterval - 1); right? Yes, that's what I meant. What's a factor of

[linux-usb-devel] Re: USB modem no longer detected in -test4

2003-09-03 Thread Greg KH
On Thu, Sep 04, 2003 at 12:44:12AM +0200, Pavel Machek wrote: > Hi! > > > > In 2.6.0-test4, USB ELSA modem no longer works. This is UHCI (on > > > toshiba 4030cdt). > > > > > > Relevant messages seem to be: > > > > > > PM: Adding info for usb:1-1.2 > > > drivers/usb/class/cdc-acm.c: need inactiv

[linux-usb-devel] Re: USB modem no longer detected in -test4

2003-09-03 Thread Pavel Machek
Hi! > > In 2.6.0-test4, USB ELSA modem no longer works. This is UHCI (on > > toshiba 4030cdt). > > > > Relevant messages seem to be: > > > > PM: Adding info for usb:1-1.2 > > drivers/usb/class/cdc-acm.c: need inactive config#2 > > PM: Adding info for usb:1-1.2:0 > > drivers/usb/class/cdc-acm.c:

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

2003-09-03 Thread William L. Thomson Jr.
On Wed, 2003-09-03 at 17:50, James Courtier-Dutton wrote: > > I still need the output from lsusb -v Sorry. I sent it once but here it is again from the actual PC I will be running the POS on. The other one was from my laptop [EMAIL PROTECTED] root]# lsusb -v Unknown line at line 58 Unknown line a

[linux-usb-devel] Re: USB modem no longer detected in -test4

2003-09-03 Thread Greg KH
On Wed, Sep 03, 2003 at 09:17:01PM +0200, Pavel Machek wrote: > Hi! > > In 2.6.0-test4, USB ELSA modem no longer works. This is UHCI (on > toshiba 4030cdt). > > Relevant messages seem to be: > > PM: Adding info for usb:1-1.2 > drivers/usb/class/cdc-acm.c: need inactive config#2 > PM: Adding info

[linux-usb-devel] Returned mail: User unknown

2003-09-03 Thread Mail Delivery Subsystem
The original message was received at Wed, 3 Sep 2003 18:20:59 -0400 (EDT) from [163.180.127.185] *** ATTENTION *** Your e-mail is being returned to you because there was a problem with its delivery. The address which was undeliverable is listed in the section labeled: "- The following addr

[linux-usb-devel] USB modem no longer detected in -test4

2003-09-03 Thread Pavel Machek
Hi! In 2.6.0-test4, USB ELSA modem no longer works. This is UHCI (on toshiba 4030cdt). Relevant messages seem to be: PM: Adding info for usb:1-1.2 drivers/usb/class/cdc-acm.c: need inactive config#2 PM: Adding info for usb:1-1.2:0 drivers/usb/class/cdc-acm.c: need inactive config#2

[linux-usb-devel] Undeliverable: Re: Re: My details

2003-09-03 Thread System Administrator
Your message To: [EMAIL PROTECTED] Subject: Re: Re: My details Sent:Wed, 3 Sep 2003 17:22:59 -0400 did not reach the following recipient(s): [EMAIL PROTECTED] on Wed, 3 Sep 2003 17:23:03 -0400 The recipient name is not recognized The MTS-ID of the original message is:

[linux-usb-devel] ALERT - GroupShield ticket number OA4755_1062624183_ATL-NT-EX5_3was generated

2003-09-03 Thread GroupShield for Exchange (ATL-NT-EX5)
Action Taken: The attachment was quarantined from the message and replaced with a text file informing the recipient of the action taken. To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Sent: -1898867328,29586017 Subject: Re: My details Attachment Details:-

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

2003-09-03 Thread William L. Thomson Jr.
On Wed, 2003-09-03 at 11:24, James Courtier-Dutton wrote: > James Courtier-Dutton wrote: > > I have looked further at this, and also read the PDF files from the web > site. > It acts as a USB HID device. see /usr/src/linux/Documentation/usb/hiddev.txt Ok, read both the pdfs and the txt file. >

Re: [linux-usb-devel] Re: [PATCH] USB fixes for 2.6.0-test4

2003-09-03 Thread Pete Zaitcev
On Wed, Sep 03, 2003 at 09:06:36PM +0200, Oliver Neukum wrote: > As far as I can tell, the problem is that the reference count is not per > device, but per struct file. Thus you can get several calls to release() > for a single device. The question that needs to be answered is whether > the number

Re: [linux-usb-devel] Re: [PATCH] USB fixes for 2.6.0-test4

2003-09-03 Thread Oliver Neukum
Am Mittwoch, 3. September 2003 17:59 schrieb Greg KH: > On Wed, Sep 03, 2003 at 01:19:39PM +0200, Oliver Neukum wrote: > > Am Dienstag, 2. September 2003 22:09 schrieb Greg KH: > > > ChangeSet 1.1276.1.66, 2003/08/29 14:39:40-07:00, [EMAIL PROTECTED] > > > > > > [PATCH] USB: usb-skeleton bugfix >

[linux-usb-devel] [patch 2.6.0-test4] usb "gadgetfs" (2/2)

2003-09-03 Thread David Brownell
This adds the kconfig/kbuild hooks needed to build the driver. - Dave --- 1.4/drivers/usb/gadget/Kconfig Mon May 12 09:56:45 2003 +++ edited/drivers/usb/gadget/Kconfig Wed Sep 3 10:40:09 2003 @@ -147,6 +147,30 @@ depends on USB_ETH && USB_SA1100 default y +config USB_GADG

[linux-usb-devel] [patch 2.6.0-test4] usb "gadgetfs" (1/2)

2003-09-03 Thread David Brownell
This is another "gadget" driver -- one that lets user mode code implement usb device functions, with all the classic advantages of such solutions. There's an example driver at the linux-usb "gadget" web page, which uses pthreads and handles several control requests in user mode. This capability is

Re: [linux-usb-devel] [ PATCH] usb_epnum_to_ep_desc only look atthe active alt setting

2003-09-03 Thread David Brownell
So either we should add accessor functions for configurations and altsettings, or we remove the accessor for interfaces and verify that the data structures are correct at the time they are created. I lean toward the latter, although it might end up being too hard to deal with really messed-up de

[linux-usb-devel] [patch 2.6.0-test4] usb_set_configuration() rework

2003-09-03 Thread David Brownell
This patch is an update of one I sent around for test3, resolving some feedback about locking. Basically it resolves some bugs in the way changing device configurations were reflected in the driver model: - Moves code around so that usb_set_configuration() updates sysfs to reflect the current

Re: [linux-usb-devel] [ PATCH] usb_epnum_to_ep_desc only look atthe active alt setting

2003-09-03 Thread Alan Stern
On Wed, 3 Sep 2003, David Brownell wrote: > There are devices that send interface descriptors in other orders. > For example, the AMBIT USB Cable modem passes interface 1 then 0. Okay. So this really is something we have to watch out for. > The only reason I've been able to come up with prevent

[linux-usb-devel] Oops: alsa cvs, 2.4.23-pre2, USB iMic

2003-09-03 Thread Andrew Burgess
Takashi Iwai said (on alsa-devel nailing list): >>On Sun, 31 Aug 2003 14:30:38 -0700, Andrew Burgess wrote: >> >> NULL pointer dereference >> >> Trace; f09b16bf <[usb-ohci]dl_del_list+40f/460> >> Trace; c0119619 >> Trace; f09b255b <[usb-ohci]hc_interrupt+10b/1a0> >> Trace; c0109080 >> Trace; c

Re: [linux-usb-devel] usb_device_id id_table[]

2003-09-03 Thread Randy.Dunlap
On Wed, 3 Sep 2003 19:18:35 +1000 David Findlay <[EMAIL PROTECTED]> wrote: | | I'm writing my device driver for a webcam here, using usbvideo.h. I'm using | ibmcam.c as an example of how to build a usb video driver. | | This is my id_table: | | static struct usb_device_id id_table[] = { |

Re: [linux-usb-devel] Re: [PATCH] USB fixes for 2.6.0-test4

2003-09-03 Thread Greg KH
On Wed, Sep 03, 2003 at 01:19:39PM +0200, Oliver Neukum wrote: > Am Dienstag, 2. September 2003 22:09 schrieb Greg KH: > > ChangeSet 1.1276.1.66, 2003/08/29 14:39:40-07:00, [EMAIL PROTECTED] > > > > [PATCH] USB: usb-skeleton bugfix > > > > > > drivers/usb/usb-skeleton.c |2 +- > > 1 files c

Re: [linux-usb-devel] [ PATCH] usb_epnum_to_ep_desc only look atthe active alt setting

2003-09-03 Thread David Brownell
Alan Stern wrote: Apropos of the change to usb_epnum_to_ep_desc(), what about the function usb_ifnum_to_if()? It includes a comment saying (in a slightly misleading fashion) that devices are not required to transmit interface descriptors in order by interface number, and it performs a search for t

Re: [linux-usb-devel] [ PATCH] usb_epnum_to_ep_desc only look atthe active alt setting

2003-09-03 Thread Alan Stern
Apropos of the change to usb_epnum_to_ep_desc(), what about the function usb_ifnum_to_if()? It includes a comment saying (in a slightly misleading fashion) that devices are not required to transmit interface descriptors in order by interface number, and it performs a search for the requested inter

Re: [linux-usb-devel] USB Audio/SB Extigy

2003-09-03 Thread Stephen J. Gowdy
Hi Yaron, I had a look in the archive of the User list and found a reference to a hacked version of the normal "audio" driver (nothing to do with ALSA); http://www.cs.umass.edu/~cochran/ Sounds like he had it working. regard

[linux-usb-devel] Norton AntiVirus 在您发送的消息中发现了病毒。受感染附件已被删除。

2003-09-03 Thread NAVMSE-MAILSOHO
受感染附件的收件人: MAILSOHO, First Storage Group\Staff Storage, shaoshuai(邵帅)/收件箱 邮件的主题: Thank you! 删除了一个或多个附件。 由于下列原因,附件 document_all.pif 被删除: 发现病毒 [EMAIL PROTECTED] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://t

[linux-usb-devel] USB Audio/SB Extigy

2003-09-03 Thread Yaron
Hey there, Well, my kernel told me to email this list... so I am (; I recently got an SB Extigy audio device. It's an external USB audio thinggie. When I boot up (or power it on) I get this long message, at the end of which I'm told to contact the list. Oh, I can't get the Extigy to work right,

[linux-usb-devel] Bug in uhci driver?

2003-09-03 Thread Bas Wijnen
Hi, I'm writing a device driver for a spectrometer that can be connected to the computer via usb. It has one bulk in endpoint and one bulk out endpoint, so I thought I could get away with using the scanner driver and not doing any kernel-space programming. It seems to work... a bit. At some

Re: [linux-usb-devel] Re: [PATCH] USB fixes for 2.6.0-test4

2003-09-03 Thread Martin Diehl
On Wed, 3 Sep 2003, Oliver Neukum wrote: > > Aehm - are you really sure? I was always assuming what you say is true as > > far as it refers to "not every close(2) invokes fops->release", f.e. if a > > process has cloned fd's. However, if there are several process reading > > from the same file

RE: [linux-usb-devel] High speed interrupt polling interval

2003-09-03 Thread Borchers, Al (C)(STP)
Dave -- > The general rule of thumb is that full (and low) speed > transfers haven't changed interpretation -- except that > as of 2.6, full speed iso periods may be multiple frames. > High speed is (as above) in microframes. Full speed interrupt transfers work for me, but high speed do not. Thi

[linux-usb-devel] Segfault in pppd (patch)

2003-09-03 Thread Thomas Leonard
Hi, I sent this message to <[EMAIL PROTECTED]>, but it bounced. Then I sent it to <[EMAIL PROTECTED]>, but that bounced too. So I'm sending it to you instead. Hope that's OK... (perhaps the project could set up a bug/patch tracker?) pppd exits whenever the connection is lost because it tries to

[linux-usb-devel] n in 1 usb card reader problem

2003-09-03 Thread Timmy Li
I got a 3 in 1 usb card reader(CF, MMC/SD, memory stick). I want to know if I can get any notification message in Linux kernel when I insert a card seperately(That is, insert the card reader first and then the CF card(OR any other card)). __ Do you Yahoo!? Yahoo!

Re: [linux-usb-devel] Re: [PATCH] USB fixes for 2.6.0-test4

2003-09-03 Thread Oliver Neukum
Am Mittwoch, 3. September 2003 14:18 schrieb Martin Diehl: > On Wed, 3 Sep 2003, Oliver Neukum wrote: > > > Am Dienstag, 2. September 2003 22:09 schrieb Greg KH: > > > ChangeSet 1.1276.1.66, 2003/08/29 14:39:40-07:00, [EMAIL PROTECTED] > > > > > > [PATCH] USB: usb-skeleton bugfix > > > > > > >

Re: [linux-usb-devel] Re: [PATCH] USB fixes for 2.6.0-test4

2003-09-03 Thread Alan Cox
On Mer, 2003-09-03 at 12:13, Oliver Neukum wrote: > > function a little bit - removing some unnecessary paranoid checks > > and scheduling a soft interrupt regardless of the port's open count > > (for consistency with other usb serial drivers). > > Wouldn't it be better for latency to have the kfr

[linux-usb-devel] URGENT REPONSE

2003-09-03 Thread DR BEN MBOYE
My Dear Friend, My name is Dr. Ben Mboye, a Uganda national. I was the Permanent Secretary of Defense & Accounting Officer in Uganda. One of my reasons for contacting you is to share my joy with you that I have been exonerated and cleared by Hon Justice Julie Sebuntinde from the probe that inv

Re: [linux-usb-devel] Re: [PATCH] USB fixes for 2.6.0-test4

2003-09-03 Thread Oliver Neukum
Am Dienstag, 2. September 2003 22:09 schrieb Greg KH: > ChangeSet 1.1276.1.66, 2003/08/29 14:39:40-07:00, [EMAIL PROTECTED] > > [PATCH] USB: usb-skeleton bugfix > > > drivers/usb/usb-skeleton.c |2 +- > 1 files changed, 1 insertion(+), 1 deletion(-) > > > diff -Nru a/drivers/usb/usb-skele

Re: [linux-usb-devel] Re: [PATCH] USB fixes for 2.6.0-test4

2003-09-03 Thread Oliver Neukum
Am Dienstag, 2. September 2003 22:11 schrieb Greg KH: > ChangeSet 1.1276.22.30, 2003/08/22 16:18:53-07:00, [EMAIL PROTECTED] > > [PATCH] USB: ftdi_sio - fix memory leak and tidy up write bulk callback > > The patch frees the bulk write urb's transfer buffer in the write > bulk callback (the buffe

[linux-usb-devel] Volcano DG640E Driver Development Hilarity thread!!

2003-09-03 Thread David Findlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Please forgive me for asking all these stupid questions. Okay here's another round of useless stupid questions: When I register a driver with usbvideo, what happens? I've got printk's in my probe function and it never seems to get called. What do

[linux-usb-devel] Undeliverable: Re: Thank you!

2003-09-03 Thread System Administrator
Your message To: [EMAIL PROTECTED] Subject: Re: Thank you! Sent:Wed, 3 Sep 2003 02:40:20 -0700 did not reach the following recipient(s): [EMAIL PROTECTED] on Wed, 3 Sep 2003 02:40:41 -0700 The recipient name is not recognized The MTS-ID of the original message is: c=us

[linux-usb-devel] usb_device_id id_table[]

2003-09-03 Thread David Findlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm writing my device driver for a webcam here, using usbvideo.h. I'm using ibmcam.c as an example of how to build a usb video driver. This is my id_table: static struct usb_device_id id_table[] = { { USB_DEVICE_VER(VOLCANO_DG640E_VENDOR_ID

[linux-usb-devel] [PATCH] Lego USB Infrared Tower driver for 2.6.0-test4

2003-09-03 Thread David Glance
I would like to submit this driver for inclusion as a usb/misc driver for 2.6.0-test5 The Lego usb IR tower is used with Lego Mindstorms kits and this is used by a number of Universities (including mine) and schools for teaching computer science, robotics, software engineering, etc. It was in 2.4

Re: [linux-usb-devel] pl2303 / linux-2.6.0-test4 bug report

2003-09-03 Thread Norbert Federa
this patch from greg k-h fixes this problem. thx! (the patch also works on 2.4.17 ...) # USB: fix data toggle problem for pl2303 driver. diff -Nru a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c --- a/drivers/usb/serial/pl2303.c Tue Sep 2 16:49:31 2003 +++ b/drivers/usb/serial/

[linux-usb-devel] Virus Warning

2003-09-03 Thread administrator
The message you emailed to [EMAIL PROTECTED], dated 09/03/03 03:00:42, contains the W32/Sobig-F virus in the your_details.pif attachment. The action taken was: deleted the attachment. --- This sf.net email is sponsored by:ThinkGeek Welcome t