[PLUG] Tata Indicom Photon+ configuration (Olive V-ME101)
kundapurkar at gmail.com
Wed Dec 29 21:53:28 IST 2010
/ets/usb_modeswitch.conf contains only generic configuration options for
what you should look for, is a file called "12d1:1446" under the directory
/etc/usb_modeswitch.d/ if the USB device you want to "switch" has
idVendor=12d1 and idProduct=1446.
if your vendor id is 201e and product id is 2009, then you should use the
following command to do the "switch".
usb_modeswitch -c /etc/usb_modeswitch.d/201e:2009
usb_modeswitch needs libusb and libusb-compat. both of these libraries need
to be able to see devices under /proc/bus/usb
if you see an empty /proc/bus/usb , then your kernel has been compiled with
sysfs support (/sys/bus/usb) and NO usbfs support (/proc/bus/usb)
there is no straightforward solution to this, as (not all) usb subsystems
and devices have been moved to sysfs. so, as a hack you can compile the
usbfs support statically into the kernel (kernel config ---> device drivers
---> usb support ---> usb device file system (deprecated) ),
reboot with the new kernel and say
# mount -t usbfs none /proc/bus/usb
or add the line
none /proc/bus/usb usbfs defaults 0 0
to /etc/fstab for mounting usbfs always. please note that earlier usbdevfs
is now known as usbfs to differentiate it from devfs.
once that is done, every USB device inserted should appear under
once these devices start appearing, then you can use "lsusb -vvv" or
"usb-devices" meaningfully. thats when usb_modeswitch will work, NOT
once the USB device in question (what is idVendor=201e and idProduct=2009
????) is "switched" properly, you can modprobe its actual device driver
hope this helps.
On Wed, Dec 29, 2010 at 4:27 PM, Arindam Mukherjee <
arindam.mukerjee at gmail.com> wrote:
> >> In /ets/usb_modeswitch.conf, I don't see any entry for the Vendor Id
> >> 201e and product id 2009 under it. Apparently I need a Vendor +
> >> Product specific MessageEndpoint (something like an address or Offset
> >> I think) and a MessageContent which is written to the endpoint. This
> >> information is not there with me for Olive V-ME101. Any help is
> >> appreciated.
> > /proc/bus/usb/devices contains the enpoints registered by each device.
> On my box, it's an empty directory.
> Pune GNU/Linux Users Group Mailing List
More information about the Plug-mail