1. 01 Mar, 2004 5 commits
    • Jürgen Botz's avatar
      [PATCH] USB: visor patch for Samsung SPH-i500 · 794e227d
      Jürgen Botz authored
      Hi... here is a patch for the vendor/device codes for the
      Samsung SPH-i500 Palm phone.
      794e227d
    • Björn Brill's avatar
      [PATCH] USB Storage: unusual_devs.h entry submission · 6779df3d
      Björn Brill authored
      here is an unusual_devs.h entry which makes two different USB MP3 players
      work with Linux' USB storage driver. They share a core chip, the t33520 USB
      flash card controller by Trumpion microelectronics. They also share the same
      ID 0x090a:0x1001, which is a "generic" ID for t33520 devices using bulk-only
      protocol (0x1002 is for CB).
      
      About the MP3 players:
        - I own an apparently unbranded one (sold in masses on ebay.de) which
          needs US_FL_MODE_XLATE (and used to need US_FL_START_STOP before its
          removal).
        - Theodore Kilgore (who created the 0x090a:0x1001 record in the
          Linux-USB device overwiew) has a "Trumpion Digital Research MYMP3"
          which needs US_FL_MODE_XLATE and an explicit US_PR_BULK.
      Of course the different players report the same firmware rev. 1.00,
      despite their obviously different behaviour. Ugh.
      
      There are more players with this ID, the "Kaser Yofun 100 MP-3" (also
      rev. 1.00) being one. The proposed entry may or may not help them, but
      it shouldn't break working ones in any case. It is not unlikely they too
      will need US_FL_MODE_XLATE.
      
      Below you'll find my /proc/bus/usb/devices with mounted MP3 player and a
      patch against 2.4.25-rc3. Please apply.
      
      
      
       ----------------8<-------------------------8<--------------------
      
      T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
      B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
      D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
      P:  Vendor=0000 ProdID=0000 Rev= 0.00
      S:  Product=USB UHCI Root Hub
      S:  SerialNumber=e400
      C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
      I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
      E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
      T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
      D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
      P:  Vendor=090a ProdID=1001 Rev= 1.00
      C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 60mA
      I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
      E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
      E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
      E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
      
       ----------------8<-------------------------8<--------------------
      6779df3d
    • Per Winkvist's avatar
      [PATCH] USB Storage: unusual devs fix for Pentax cameras. · ebe947c3
      Per Winkvist authored
      Please apply the attached patches instead. People have tried it on several
      different Pentax cameras (including 330 GS)
      ebe947c3
    • Art Haas's avatar
      [PATCH] USB: C99 initializers for drivers/usb/serial/keyspan.h · 71d3b533
      Art Haas authored
      Here's a small patch changing the GNU-style initializers to C99
      initializers. The patch is against the current BK.
      71d3b533
    • Andrew Morton's avatar
      [PATCH] USB ati_remote.c: don't be a namespace hog · 0fec6053
      Andrew Morton authored
      `debug', indeed.
      0fec6053
  2. 27 Feb, 2004 13 commits
    • Torrey Hoffman's avatar
      46d520a4
    • Greg Kroah-Hartman's avatar
    • Greg Kroah-Hartman's avatar
    • Todd E. Johnson's avatar
      [PATCH] USB: add new USB Touchscreen Driver · 1d491fec
      Todd E. Johnson authored
      I have attached a patch which contains a driver and documentation for
      the MicroTouch (14-206) USB Capacitive Touchscreen controller.  It based
      on some older code that I have been using for quite some time now (since
      2.4.17).  This new version has been completely re-written, and now uses
      Linux Input.  Greg, It would be great to possibly get it into 2.6.4.
      Please let me know if I have it all wrong...
      
      Unfortunately, the X11 mouse driver only seems capable of handling
      relative data rather than absolute.  Hopefully some one will create a
      suitable X11 driver capable of accepting absolute data from Linux
      Input.  If anyone is aware of one, please let me know.  Otherwise, I
      will most likely begin some work on a patch for GPM.
      
      Calibration support will be on the way soon, but I'm not sure of the
      best way to implement.  Perhaps some abstract functions could come
      available in evdev which can call vendor specific commands for the
      calibration within this driver (and perhaps others).
      1d491fec
    • Trent Whaley's avatar
      [PATCH] USB: kbtab.c (Jamstudio Tablet) with optional pressure · d1831727
      Trent Whaley authored
      I have altered kbtab.c a bit in anticipation of an XFree86 4.3 driver
      that can accept the pressure data (as a third axis) by listening on the
      event interface.
      
      I have set it so that if the option kb_pressure_click is -1 it  reports
      pressure rather than clicks.
      d1831727
    • Torrey Hoffman's avatar
      [PATCH] USB: add driver for ATI USB/RF remotes · ae345672
      Torrey Hoffman authored
      I've taken the old GATOS version of the ati_remote driver and done
      some cleanup/rework of it while porting to 2.6 kernels.
      ae345672
    • Greg Kroah-Hartman's avatar
      633788cb
    • David Brownell's avatar
      [PATCH] USB: EHCI and full-speed ISO-OUT · 03e4f4ae
      David Brownell authored
      This is a minor update to the patch I sent out about a week ago.
      The key change is to use the I/O watchdog while doing ISO streaming.
      Bernd Porr reports that a VT8235 system needs that; it seems like
      IDE activity can interfere with the delivery of USB IRQs.
      
      
      EHCI periodic scheduling updates.
      
       - Initial version of full speed ISO transaction support.  This
         should handle OUT transactions, such as those for usb speakers.
         For now, it's controlled using an EXPERIMENTAL config option:
      
         * I've run into interesting differences in how different USB 2.0
           hub silicon (the transaction translators) handle some older
           audio devices.  Needs more investigation.
      
         * Interrupt transfer scheduling doesn't yet cope well with schedules
           where every slot already has activity.  For now, don't plug in
           devices like hubs, mice, or keyboards while EHCI is streaming.
      
       - Protect freelist for highspeed ITDs, using spinlock.  Could be
         an issue for some drivers.
      
       - Kick in the I/O watchdog timer (5 msec) for periodic transfers.
         In this case, IDE activity on a VT8235 lost the IRQs which should
         have kept the ISO stream active.  Queues shorter than 5 msec are
         not going to work on all USB hosts.
      
       - Simplified the ISO scheduler:  doesn't attempt to re-schedule
         after lossage, or to short-circuit scanning.  (Rescheduling will
         probably come back later ... for now, the "hard" error here is
         highlighting problems that need attention.)
      03e4f4ae
    • David Brownell's avatar
      [PATCH] USB Gadget: gadget config buffer utilities · 01ddaf62
      David Brownell authored
      Adds two new gadget-side utility functions, to support a declarative
      style of managing usb configuration descriptors.  The functions fill
      buffers from null-terminated vectors of usb descriptors, which are
      simple to build or update.
      
      The "ethernet" gadget driver currently has the most interesting config
      descriptors.  This uses those functions to replace some complex code with
      simpler static declarations; result, it's cleaner.  (And it'll be easier
      to add RNDIS configurations later, too.)
      
      Memory savings (or cost, depending on config) was less than 50 bytes;
      nothing worth worrying about.
      01ddaf62
    • David Brownell's avatar
      [PATCH] USB: usbnet learns about Zaurus C-860 · 545464bc
      David Brownell authored
      New Zaurus ID, from Sven Trampel <Sven.Trampel@surf-club.de>
      545464bc
    • Alan Stern's avatar
      [PATCH] USB Storage: Remove Minolta Dimage 7i from unusual_devs.h · 810057e0
      Alan Stern authored
      On Fri, 27 Feb 2004, Lenar Lõhmus wrote:
      
      > Hi,
      >
      > Got this:
      >
      > usb 3-1: new full speed USB device using address 3
      > usb-storage: This device (0686,400b,0001 S 06 P 50) has an unneeded SubClass entry in unusual_devs.h
      > Please send a copy of this message to <linux-usb-devel@lists.sourceforge.net>
      
      Well, Martin Pool notwithstanding (see
      
      http://marc.theaimsgroup.com/?l=linux-usb-devel&m=107642806303815&w=2
      
      ), it sure looks like this doesn't need an unusual_devs.h entry.
      
      Greg, please apply this patch.
      810057e0
    • Jeff Mahoney's avatar
      [PATCH] USB: Fix for kl5kusb105 driver · d890d1a6
      Jeff Mahoney authored
      I tried using the kl5kusb105 driver for a 3Com PalmConnect USB device I
      had lying around.
      
      It oopses during device detection. There is a nested loop using the same
      loop counter as the outer loop - causing the code after the nested loop
      is first executed to have an invalid counter. The counter is then used
      as an array index, causing a NULL deref.
      
      Fix attached.
      d890d1a6
    • Michal Dobrzynski's avatar
      67d27ac4
  3. 26 Feb, 2004 22 commits
    • Greg Kroah-Hartman's avatar
      [PATCH] USB Storage: remove unneeded debug message · f93f12ec
      Greg Kroah-Hartman authored
      Nothing in life is assured...
      f93f12ec
    • Matthew Dharm's avatar
      [PATCH] USB Storage: tighten sense-clearing code · cf5f7411
      Matthew Dharm authored
      This patch tightens up the conditions under which an auto-sense will be
      cleared.  It also fixes the comment associated with the code.
      cf5f7411
    • Matthew Dharm's avatar
      [PATCH] USB Storage: Remove unneeded macro · 258e21c1
      Matthew Dharm authored
      This one-liner removes an unneeded macro.
      258e21c1
    • Matthew Dharm's avatar
      [PATCH] USB Storage: Fix for Fuji Finepix 1400 · cf3b38fd
      Matthew Dharm authored
      This patch changes some error checking so that some bogus devices (like the
      Fuji Finepix 1400) will work.
      
      This is basically relaxing a test on a field that the spec says "should
      always be zero"
      cf3b38fd
    • Matthew Dharm's avatar
      [PATCH] USB Storage: DSC-T1 unusual_devs.h entry · ce6aacf0
      Matthew Dharm authored
      Our friends at sony are at it again.  The DSC-T1 needs a new entry.  Note
      that it's the same VID & PID as the last entry, but different version.
      ce6aacf0
    • Alan Stern's avatar
      [PATCH] USB: Use list_splice instead of looping over list elements · 56e695be
      Alan Stern authored
      This patch is from Stephen Hemminger.  I modified it slightly to place the
      new elements at the end of the complete_list instead of at the front.
      
      On Tue, 24 Feb 2004, Stephen Hemminger wrote:
      
      > Since the remove_list and complete_list now use the same element for
      > linking, it is possible to use the list_splice inline to avoid
      > having to loop over all the urb's
      56e695be
    • Alan Stern's avatar
      [PATCH] USB: Remove name obfuscation in UHCI · c09f3a22
      Alan Stern authored
      On Mon, 23 Feb 2004, Stephen Hemminger wrote:
      > Bulk and interrupt urb's share common irq processing, why does the
      > code try to obfuscate it?
      
      Quite right; this is needless complexity.  (But note you left in a couple
      of lines that should have been deleted.)
      c09f3a22
    • Alan Stern's avatar
      [PATCH] USB: Return better result codes in UHCI · a32564f2
      Alan Stern authored
      This patch changes the result code returned by the UHCI driver for a
      certain class of errors.  Under a number of circumstances a USB device is
      obliged to send a response packet within a fairly short turn-around time,
      typically 1 - 10 microseconds depending on the bus speed.  Failure to do
      so is a protocol error and should be reported as such, not as a timeout,
      which is really a higher-level concept.  I believe the EHCI driver already
      does this.
      
      I trust nobody will object to the update this patch adds to
      Documentation/usb/error-codes.txt, making this more explicit.
      
      In a vaguely related change, the patch corrects the terminology in a few
      comments.  The parts of a control transfer are called "stages", not
      "phases".
      a32564f2
    • Alan Stern's avatar
      [PATCH] USB: Enable interrupts in UHCI after PM resume · ff4e68e9
      Alan Stern authored
      On Mon, 23 Feb 2004, Chip Salzenberg wrote:
      
      > It works ... perfectly!  I can now suspend and resume my A30 with
      > impunity, and the USB keyboard works fine after each resume.
      >
      > Thanks much, Alan.
      >
      > (Now if I could just get the alsa guys to fix snd-intel8x0...)
      
      This patch re-initializes the UHCI Interrupt Enable register following a
      PM resume.  Apparently some systems clear the register during suspend,
      which causes obvious problems later on.
      ff4e68e9
    • Alan Stern's avatar
      [PATCH] USB: Fix a bug in the UHCI dequeueing code · b86a731c
      Alan Stern authored
      On Mon, 23 Feb 2004, Stephen Hemminger wrote:
      
      > Great, the kernel with this patch ran successfully all weekend.  Looks like no
      > more races in the unlink path.
      
      Wonderful.  Thanks a lot for all your SMP testing, it's been a big help.
      
      
      This patch corrects an error in the dequeueing code for UHCI.  Improper
      locking caused it to hang in the oddball case where an URB was unlinked
      even before it had been queued.
      b86a731c
    • Alan Stern's avatar
      [PATCH] USB Storage: update unusual_devs.h comments · c03edb1b
      Alan Stern authored
      On Tue, 24 Feb 2004, Matthew Dharm wrote:
      
      > We should also put a comment into the unusual_devs.h file to make sure
      > nobody tries to remove the protocol override in the future.
      
      How about this?
      c03edb1b
    • Alan Stern's avatar
      [PATCH] USB Storage: unusual_devs.h update · eab1f00c
      Alan Stern authored
      On Thu, 19 Feb 2004, Evan Felix wrote:
      
      > I plugged a Cyclades AlterPath BIO USb device into my linux 2.6.2 laptop
      > and it asked me to send you this:
      >
      >
      > hub 1-1.2:1.0: new USB device on port 3, assigned address 6
      > hub 1-1.2.3:1.0: USB hub found
      > hub 1-1.2.3:1.0: 4 ports detected
      > hub 1-1.2.3:1.0: new USB device on port 1, assigned address 7
      > hub 1-1.2.3:1.0: new USB device on port 2, assigned address 8
      > Initializing USB Mass Storage driver...
      > usb-storage: This device (05dc,0001,0001 S 06 P 50) has an unneeded
      > SubClass entry in unusual_devs.h
      >    Please send a copy of this message to
      > <linux-usb-devel@lists.sourceforge.net>
      > scsi0 : SCSI emulation for USB Mass Storage devices
      >   Vendor: Lexar     Model: Jumpshot USB CF   Rev: 0001
      >   Type:   Direct-Access                      ANSI SCSI revision: 02
      
      Thank you for sending this.  Greg, here's the patch.
      eab1f00c
    • Marcelo Tosatti's avatar
      [PATCH] cyclades async driver update · 9eb3a8d0
      Marcelo Tosatti authored
      This patch is the first of several planned fixes for the cyclades
      multiserial cards driver.
      
      Its mostly a sync with in-house driver:
      
      - Prevent users from opening non-existing Z ports
      - Implement special XON/XOFF character handling in Z cards
      - Prevent data-loss on Z cards
      - Throttling fix for Z card
      - Only throttle if CTS/RTS are set
      - Fix accounting of received data
      
      Kudos to Cyclades R&D
      9eb3a8d0
    • Bartlomiej Zolnierkiewicz's avatar
    • Bartlomiej Zolnierkiewicz's avatar
    • Bartlomiej Zolnierkiewicz's avatar
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] explicitly define PRD_ENTRIES to 256 · 632c6868
      Bartlomiej Zolnierkiewicz authored
      From: William Lee Irwin III <wli@holomorphy.com>
      
      PRD_ENTRIES is specified to be precisely 256; on platforms where
      PAGE_SIZE varies from 4KB the calculation in the current expression
      defining it is inaccurate, which may cause crashes. This patch changes
      it to the constant literal 256.
      632c6868
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] ide-io.c: CONFIG_LBD fix · af59721c
      Bartlomiej Zolnierkiewicz authored
      From: Andrew Morton <akpm@osdl.org>
      
      Use sector_t for the block number.
      af59721c
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] fix ide_system_bus_speed() causing "Badness in pci_find_subsys..." · 437c3b21
      Bartlomiej Zolnierkiewicz authored
      Noticed by Marcel Cotta <mc123@mail.ru>.
      
      ide_init() always initializes system_bus_speed variable
      so system_bus_clock() should never call ide_system_bus_speed()
      and no driver is calling ide_system_bus_speed() directly.
      
      Bug was that if no IDE kernel parameter was given during boot
      system_bus_speed will be zeroed in init_ide_data().
      
      This patch should fix the problem
      (as a bonus -> no need to zero these variables they are static).
      437c3b21
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] add UDMA6 support to ALi PCI IDE driver · c3e2569b
      Bartlomiej Zolnierkiewicz authored
      From: Vojtech Pavlik <vojtech@suse.cz>
      
      Add UDMA6 support to ALi PCI IDE driver.
      Forward port from 2.4 and a patch from ALi.
      
      Was in -mm for a long time...
      c3e2569b
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] siimage.c: limit requests to 15kB only for Seagate SATA drives · fe8e3118
      Bartlomiej Zolnierkiewicz authored
      Fix from jgarzik's sata_sil.c libata driver.
      
      This was in -mm for a long time...
      fe8e3118
    • Jakub Bogusz's avatar
      [PATCH] switch alpha to use drivers/Kconfig · a2c14d8c
      Jakub Bogusz authored
      This switches alpha to use drivers/Kconfig instead of including most of
      files included by drivers/Kconfig, thus enabling previously omitted i2c
      (already used in some drivers available on alpha) and telephony drivers.
      
      Because drivers/message/fusion/Kconfig was included only conditionally
      ("if PCI"), this patch also changes CONFIG_FUSION to depend on PCI.
      
      (these changes were consulted with Christoph Hellwig in "i2c on alpha
      - used but not available in 2.6.3" thread on LKML)
      a2c14d8c