Re: [linux-usb-devel] Is there a plan to develop USB video class driver for Linux?

2005-01-30 Thread Oliver Neukum
Am Montag, 31. Januar 2005 08:12 schrieb Hou Xiang ZHU: > Hi , > > I am little confused. Do you all mean that I can't use any Webcam under > linux now? or usb video class > is different from webcam stuff? I am going to buy a webcam to be used under > linux, so I am concerned about this. > what am

[linux-usb-devel] Re: [usb-storage] PATCH: devices which don't process PREVENT-ALLOW MEDIUM REMOVAL

2005-01-30 Thread Phil Dibowitz
Matthew Dharm wrote: This patch started life as as423, and has been re-generated against the current tip. Some storage devices don't like PREVENT-ALLOW MEDIUM REMOVAL commands; rather than returning an Invalid Command ASC they just die or imagine that the medium has actually been removed. Until no

Re: [linux-usb-devel] [PATCH] another broken usb floppy

2005-01-30 Thread Phil Dibowitz
Olaf Hering wrote: This floppy needs the multilun flag, like all the other listed Sony devices. I'm not sure about the Revision tag, how do I handle 6.01? I dont have the /proc/bus/usb/devices output from the customer. Olaf, Sorry to take so long to write back, the 9am - 4am hours at work are takin

Re: [linux-usb-devel] Trumpion mp3 player does not work with usb-storage

2005-01-30 Thread Phil Dibowitz
Alan Stern wrote: On Sat, 29 Jan 2005, Olaf Hering wrote: I got this toy, which works ok on a G5, but just hangs and times out with Linux. There are 2 related entries in unusual_devs.h, but no matter what combination of flags I try, it doesnt work[tm]. Any ideas? T: Bus=01 Lev=01 Prnt=01 Port=00

RE: [linux-usb-devel] Is there a plan to develop USB video class driver for Linux?

2005-01-30 Thread Hou Xiang ZHU
Hi , I am little confused. Do you all mean that I can't use any Webcam under linux now? or usb video class is different from webcam stuff? I am going to buy a webcam to be used under linux, so I am concerned about this. what am I missing here? any brand (webcam) recommanded? thanks! Houxiang Zhu

[linux-usb-devel] USB m8xxhci driver transmision errors and I/O error

2005-01-30 Thread IGOR LURI
Dear Sir, We have a custom board based on PowerPC 823 with 16 Mbyte of RAM, ethernet, USB host mode and direct PCMCIA - IDE iterface with a Compact Flash running Linux kernel 2.4.4, downloaded from Denx site. To have USB working in host mode, we have a external 48Mhz signal aplied in PA7 (CLK1

[linux-usb-devel] Re: [PATCH 3/3] USB: Add USBAT-based CompactFlash storage support

2005-01-30 Thread Matthew Dharm
On Tue, Jan 25, 2005 at 12:29:45AM +, Daniel Drake wrote: > Adds long overdue support for 12 CompactFlash card reader/writers based on > the USBAT02 chip! > > See http://usbat2.sourceforge.net > > Signed-off-by: Daniel Drake <[EMAIL PROTECTED]> Looks good. Tho, I would like to see a future

[linux-usb-devel] ANNOUNCE: usbutils-0.70

2005-01-30 Thread David Brownell
WHAT The "usbutils" package is most useful for the "lsusb" utility, which can provide considerable detail about the USB devices connected to your Linux system. (It's like "pciutils" is for PCI.) When making bug reports, or otherwise troubleshooting, "lsusb -v" output is very u

[linux-usb-devel] Re: [PATCH 1/3] USB: shuttle_usbat cleanups and generalisations

2005-01-30 Thread Matthew Dharm
On Tue, Jan 25, 2005 at 12:29:33AM +, Daniel Drake wrote: > Misc cleanups, a few more annotations, some function name/usage > generalisation, and preparation for addition of support for flash-reader > devices. > > Signed-off-by: Daniel Drake <[EMAIL PROTECTED]> Looks good to me. Nice use o

[linux-usb-devel] Re: [PATCH 2/3] USB: Add USBAT02 storage support

2005-01-30 Thread Matthew Dharm
On Tue, Jan 25, 2005 at 12:29:39AM +, Daniel Drake wrote: > Adds support for USBAT02-based devices. A few HP cd writers came out with > this chip. > A lot of flash-readers also share these ID numbers: this will be addressed > in the next patch. > > Signed-off-by: Daniel Drake <[EMAIL PROTECT

[linux-usb-devel] PATCH: devices which don't process PREVENT-ALLOW MEDIUM REMOVAL

2005-01-30 Thread Matthew Dharm
This patch started life as as423, and has been re-generated against the current tip. Some storage devices don't like PREVENT-ALLOW MEDIUM REMOVAL commands; rather than returning an Invalid Command ASC they just die or imagine that the medium has actually been removed. Until now people have been r

[linux-usb-devel] Re: [PATCH] sn9c102: reduce ioctl stack usage

2005-01-30 Thread Randy.Dunlap
Randy.Dunlap wrote: sn9c102_v4l2_ioctl() is the second largest stack user that I find (on i386, after joydump_connect()). This patch just moves the large stack items to separate functions so that gcc does not accumulate all of them onto the stack at one time. Signed-off-by: Randy Dunlap <[EMAIL PRO

[linux-usb-devel] [PATCH] sn9c102: reduce ioctl stack usage

2005-01-30 Thread Randy.Dunlap
sn9c102_v4l2_ioctl() is the second largest stack user that I find (on i386, after joydump_connect()). This patch just moves the large stack items to separate functions so that gcc does not accumulate all of them onto the stack at one time. Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> diffstat:=

Re: [linux-usb-devel] Fw: Re: 2.6.11-rc2-mm2

2005-01-30 Thread Daniel Drake
Andrew Morton wrote: Did someone break usb input? Begin forwarded message: Date: Sun, 30 Jan 2005 15:45:04 -0500 From: Paul Blazejowski <[EMAIL PROTECTED]> To: Andrew Morton <[EMAIL PROTECTED]> Cc: LKML Subject: Re: 2.6.11-rc2-mm2 Here's another one, my USB keyboard is not functioning properly, ie

[linux-usb-devel] Re: Fw: Re: 2.6.11-rc2-mm2

2005-01-30 Thread Dmitry Torokhov
On Sunday 30 January 2005 16:01, Andrew Morton wrote: > > Did someone break usb input? > > > Begin forwarded message: > > Date: Sun, 30 Jan 2005 15:45:04 -0500 > From: Paul Blazejowski <[EMAIL PROTECTED]> > To: Andrew Morton <[EMAIL PROTECTED]> > Cc: LKML > Subject: Re: 2.6.11-rc2-mm2 > > >

Re: [linux-usb-devel] Non-working USB port on Compaq Aramada 7400

2005-01-30 Thread Chris Clayton
On Sunday 30 Jan 2005 17:08, Chris Clayton wrote: > Thanks for the reply David. > > On Saturday 29 Jan 2005 22:01, David Brownell wrote: > > On Wednesday 26 January 2005 7:55 am, Chris Clayton wrote: > > > I'm having trouble getting on on-board USB port working on my Compaq > > > Aramada 7400. Well

Re: [linux-usb-devel] [PATCH] hid-core: possible buffer overflow in hid-core.c

2005-01-30 Thread Michael Tokarev
Pete Zaitcev wrote: On Sun, 30 Jan 2005 15:28:23 +0300, Michael Tokarev <[EMAIL PROTECTED]> wrote: We have sizeof(), don't we? Ie, why snprintf(hid->name, 128, "%s", buf); instead of snprintf(hid->name, sizeof(hid->name), "%s", buf); I always fight this sort of patches, because the moment hid-

Re: [linux-usb-devel] usb devices have disappeared

2005-01-30 Thread Malcolm Apps
> I've seen FC3 do that; for its own mysterious reasons, it just > removed all the USB host controllers. I think it was Kudzu. Turn off Kudzu? What's the pros and cons? Malcolm --- This SF.Net email is sponsored by: IntelliVIEW -- Interacti

[linux-usb-devel] Fw: Re: 2.6.11-rc2-mm2

2005-01-30 Thread Andrew Morton
Did someone break usb input? Begin forwarded message: Date: Sun, 30 Jan 2005 15:45:04 -0500 From: Paul Blazejowski <[EMAIL PROTECTED]> To: Andrew Morton <[EMAIL PROTECTED]> Cc: LKML Subject: Re: 2.6.11-rc2-mm2 Here's another one, my USB keyboard is not functioning properly, ie. the caps lock

Re: [linux-usb-devel] usb devices have disappeared

2005-01-30 Thread David Brownell
On Sunday 30 January 2005 12:19 pm, Alan Stern wrote: > On Sun, 30 Jan 2005, Malcolm Apps wrote: > > > I'm at a complete loss here. > > > > I'm running Fedora 2.6.9-1.681_FC3 > > > > > > ohci_hcd :00:01.2: remove, state 1 > > usb usb1: USB disconnect, address 1 > >

Re: [linux-usb-devel] -22 on usb_bulk_write

2005-01-30 Thread Alan Stern
On Sun, 30 Jan 2005, Alan Stern wrote: > On Sun, 30 Jan 2005, Antonio Vinci wrote: > > > Hi all, > > I'm new in this list and i'm approaching libusb programming. > > Trying to write a sane backend for my scanner, i do the following steps: > > > > open the device with scanner = usb_open(dev); > >

Re: [linux-usb-devel] usb devices have disappeared

2005-01-30 Thread Alan Stern
On Sun, 30 Jan 2005, Malcolm Apps wrote: > I'm at a complete loss here. > > I'm running Fedora 2.6.9-1.681_FC3 > > > Sequence of events: > > Installed an nVidia graphics card, everything was lovely, all USB > devices working fine (HP Deskjet 6540d, Epson Perfection 1670 scanner, > Belkin smart

Re: [linux-usb-devel] -22 on usb_bulk_write

2005-01-30 Thread Alan Stern
On Sun, 30 Jan 2005, Antonio Vinci wrote: > Hi all, > I'm new in this list and i'm approaching libusb programming. > Trying to write a sane backend for my scanner, i do the following steps: > > open the device with scanner = usb_open(dev); > set the device configuration with usb_set_configuration

Re: [linux-usb-devel] How to send USB packet?

2005-01-30 Thread Alan Stern
On Sun, 30 Jan 2005, Dmitry Nezhevenko wrote: > Hello, > > I am trying to write driver (but now not kernel module, only user mode) for > Motorola C380/C650 Mobile phone. After plug in in Linux (Kernel 2.6.10), it > works as ACM modem (cdc-acm module). I send "AT+MODE=8" AT command. Phone > cha

Re: [linux-usb-devel] [PATCH] Make Aldi Traveler DC-4300 work with usb-storage

2005-01-30 Thread Daniel Drake
Alan Stern wrote: +/* This is for the Aldi Traveler DC-4300 cameras */ +#define US_BULK_CS_ALDI_SIGN 0x43425355 /* Spells out 'USBR' */ It actually spells out 'USBC'. Hmm, yes, you are right. I'm beginning to wonder about all these tests for valid signatures. Note that the code always tes

Re: [linux-usb-devel] [PATCH] hid-core: possible buffer overflow in hid-core.c

2005-01-30 Thread Pete Zaitcev
On Sun, 30 Jan 2005 15:28:23 +0300, Michael Tokarev <[EMAIL PROTECTED]> wrote: > We have sizeof(), don't we? Ie, why >snprintf(hid->name, 128, "%s", buf); > instead of >snprintf(hid->name, sizeof(hid->name), "%s", buf); I always fight this sort of patches, because the moment hid->name be

Re: [linux-usb-devel] Trumpion mp3 player does not work with usb-storage

2005-01-30 Thread Alan Stern
On Sun, 30 Jan 2005, Olaf Hering wrote: > Yes, I tried that, no joy. > Is there a software snoop tool for OSX or even Windows that could help? I don't know about OS/X, but there are several tools freely available for Windows. Do a Google search for BusHound, or look on sourceforge for usbsnoop

Re: [linux-usb-devel] [PATCH] Make Aldi Traveler DC-4300 work with usb-storage

2005-01-30 Thread Alan Stern
On Sat, 29 Jan 2005, Daniel Drake wrote: > The signature of the Aldi Traveler DC-4300 camera has one bit set incorrectly > and currently don't work at all with Linux. > > This patch makes it work :) > +/* This is for the Aldi Traveler DC-4300 cameras */ > +#define US_BULK_CS_ALDI_SIGN 0x43425

Re: [linux-usb-devel] Trumpion mp3 player does not work with usb-storage

2005-01-30 Thread Olaf Hering
On Sun, Jan 30, Alan Stern wrote: > On Sat, 29 Jan 2005, Olaf Hering wrote: > > > I got this toy, which works ok on a G5, but just hangs and times out > > with Linux. There are 2 related entries in unusual_devs.h, but no matter > > what combination of flags I try, it doesnt work[tm]. > > Any ide

Re: [linux-usb-devel] Trumpion mp3 player does not work with usb-storage

2005-01-30 Thread Alan Stern
On Sat, 29 Jan 2005, Olaf Hering wrote: > I got this toy, which works ok on a G5, but just hangs and times out > with Linux. There are 2 related entries in unusual_devs.h, but no matter > what combination of flags I try, it doesnt work[tm]. > Any ideas? > T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01

[linux-usb-devel] usb devices have disappeared

2005-01-30 Thread Malcolm Apps
I'm at a complete loss here. I'm running Fedora 2.6.9-1.681_FC3 Sequence of events: Installed an nVidia graphics card, everything was lovely, all USB devices working fine (HP Deskjet 6540d, Epson Perfection 1670 scanner, Belkin smartcard read and Nokia nGage). 2 weeks later, removed nVidia gra

Re: [linux-usb-devel] Non-working USB port on Compaq Aramada 7400

2005-01-30 Thread Chris Clayton
Thanks for the reply David. On Saturday 29 Jan 2005 22:01, David Brownell wrote: > On Wednesday 26 January 2005 7:55 am, Chris Clayton wrote: > > I'm having trouble getting on on-board USB port working on my Compaq > > Aramada 7400. Well. I should qualify that and say that I can't get it to > > wo

Re: [linux-usb-devel] [PATCH] hid-core: possible buffer overflow in hid-core.c

2005-01-30 Thread Randy.Dunlap
Michael Tokarev wrote: Randy.Dunlap wrote: [] diff -Naurp ./drivers/usb/input/hid-core.c~hid_buf_over ./drivers/usb/input/hid-core.c --- ./drivers/usb/input/hid-core.c~hid_buf_over2005-01-22 17:11:12.0 -0800 +++ ./drivers/usb/input/hid-core.c2005-01-29 19:04:18.0 -0800 @@

[linux-usb-devel] Accessing hiddev-device from kernel

2005-01-30 Thread Patrick Boettcher
Hi list, For the AVerMedia USB Radio we currently have an reverse-engineered userspace utility for controlling (setting frequency and etc). This command line util accesses the radio through the raw-hiddev (/dev/usb/hiddev). Because we now want to write a v4l2-radio-driver to make it more comfo

[linux-usb-devel] [2.6 patch] usbusx2yaudio.c: remove an unused variable

2005-01-30 Thread Adrian Bunk
In 2.6.11-rc a completely unused variable was added, resulting in the following compile warning: <-- snip --> ... CC sound/usb/usx2y/usx2yhwdeppcm.o In file included from sound/usb/usx2y/usx2yhwdeppcm.c:53: sound/usb/usx2y/usbusx2yaudio.c: In function `usX2Y_urbs_allocate': sound/usb/us

Re: [linux-usb-devel] motorola mobile phone and cdc-acm

2005-01-30 Thread Oliver Neukum
Am Sonntag, 30. Januar 2005 12:00 schrieb Kostja Siefen: > Hi Oliver, > > > Am Samstag, 29. Januar 2005 23:14 schrieb Kostja Siefen: > > > drivers/usb/class/cdc-acm.c: Entering acm_softint. > > > drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr- break- ring- > > > framing- parity- overru

Re: [linux-usb-devel] [PATCH] hid-core: possible buffer overflow in hid-core.c

2005-01-30 Thread Michael Tokarev
Randy.Dunlap wrote: [] diff -Naurp ./drivers/usb/input/hid-core.c~hid_buf_over ./drivers/usb/input/hid-core.c --- ./drivers/usb/input/hid-core.c~hid_buf_over 2005-01-22 17:11:12.0 -0800 +++ ./drivers/usb/input/hid-core.c 2005-01-29 19:04:18.0 -0800 @@ -1727,7 +1727,7 @@ static struc

[linux-usb-devel] -22 on usb_bulk_write

2005-01-30 Thread Antonio Vinci
Hi all, I'm new in this list and i'm approaching libusb programming. Trying to write a sane backend for my scanner, i do the following steps: open the device with scanner = usb_open(dev); set the device configuration with usb_set_configuration(scanner, 1); claim the device with usb_claim_interface

Re: [linux-usb-devel] motorola mobile phone and cdc-acm

2005-01-30 Thread Kostja Siefen
Hi Oliver, > Am Samstag, 29. Januar 2005 23:14 schrieb Kostja Siefen: > > drivers/usb/class/cdc-acm.c: Entering acm_softint. > > drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr- break- ring- > > framing- parity- overrun- drivers/usb/class/cdc-acm.c: input control > > lines: dcd- dsr+ br

Re: [linux-usb-devel] motorola mobile phone and cdc-acm

2005-01-30 Thread Oliver Neukum
Am Samstag, 29. Januar 2005 23:14 schrieb Kostja Siefen: > drivers/usb/class/cdc-acm.c: Entering acm_softint. > drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr- break- ring- > framing- parity- overrun- > drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr+ break- ring- > framing