aboutsummaryrefslogtreecommitdiff
path: root/kernel/mpio.c
diff options
context:
space:
mode:
authorgermeier <germeier>2003-09-22 19:15:37 +0000
committergermeier <germeier>2003-09-22 19:15:37 +0000
commitce401721a26259112c7d0be8f90bb344b296b32d (patch)
tree1ae1c67b9b63a0b124d2b7086eb8fb44399e960c /kernel/mpio.c
parent4e70fad8a3472f7d8d95a32160de477ca3ea311a (diff)
downloadmpiosh-ce401721a26259112c7d0be8f90bb344b296b32d.tar.gz
mpiosh-ce401721a26259112c7d0be8f90bb344b296b32d.tar.bz2
mpiosh-ce401721a26259112c7d0be8f90bb344b296b32d.zip
added Johns patch to support the VirginPulse VP-01 player
assume VirginPulse VP-02 player is a FL100 clone small fix
Diffstat (limited to 'kernel/mpio.c')
-rw-r--r--kernel/mpio.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/kernel/mpio.c b/kernel/mpio.c
index d1e5440..79c3bad 100644
--- a/kernel/mpio.c
+++ b/kernel/mpio.c
@@ -8,6 +8,7 @@
* additions by Markus Germeier (mager@tzi.de):
* - small adaptions for Kernel 2.4.x support
* - find endpoints automagically (needed for newer players)
+ * - added ID for VirginPulse branded players
*
* based on rio500.c by Cesar Miquel (miquel@df.uba.ar)
*
@@ -58,7 +59,7 @@
/*
* Version Information
*/
-#define DRIVER_VERSION "0.0.3"
+#define DRIVER_VERSION "0.7.0"
#define DRIVER_AUTHOR "Yuji Touya <salmoon@users.sourceforge.net>"
#define DRIVER_DESC "USB MPIO driver"
@@ -307,12 +308,17 @@ static void *probe_mpio(struct usb_device *dev, unsigned int ifnum)
return NULL;
}
- if (dev->descriptor.idProduct != 0x1 /* MPIO all models??? */ ) {
+ if ((dev->descriptor.idProduct != 0x1 /* MPIO all models??? */ )
+ /* Virgin VP-01 (FY100 clone),
+ probably all VirginPulse/MPIO players */
+ && (dev->descriptor.idProduct != 0x71)) {
warn(KERN_INFO "MPIO player model not supported/tested.");
return NULL;
}
info("USB MPIO found at address %d", dev->devnum);
+ if (dev->descriptor.idProduct == 0x71)
+ info("player is a VirginPulse branded player");
as = dev->config->interface->altsetting;
mpio->bulk_in_ep = mpio->bulk_out_ep = 0;
@@ -392,6 +398,7 @@ static void disconnect_mpio(struct usb_device *dev, void *ptr)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
static struct usb_device_id mpio_table [] = {
{ USB_DEVICE(0x2735, 1) }, /* MPIO-* (all models?) */
+ { USB_DEVICE(0x2735, 0x71) }, /* Virgin VP-01 (FY100?) */
{ } /* Terminating entry */
};