D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Mobile phone cameras

 

On 8/1/06, Julian Hall <lists@xxxxxxxxxxxx> wrote:

> # modprobe usbserial vendor=0xYOURVENDOR product=0xYOURPRODID
>
> Problem is I can't find Sagem in the devices.  Several with hex codes
> for the manufacturer.  Could someone give me a hint what their mobile
> shows up as in /proc/bus/usb/devices please?

Start with the phone unplugged, plug in the USB wait a few seconds
then issue a "dmseg" command in a terminal window, this will show you
what the system has detected if it has loaded any drivers for you etc.
It might also tell you the VID and PID.

To find the VID and PID (another way) use the "lsusb" command, if the
device has a nice friendly string you will be able to see it in the
list, ("lsusb -v" for loads of info), if you are having a problem
finding the device do "lsusb" without and with the device plugged in
and spot the difference.

You now know if any drivers have loaded and what the VID and PID are,
you can then try the usbserial module, this produces a device
/dev/ttyUSB0 which you need to point some program at to talk to the
phone. If its not use serial then this won't work!

Regards

Robin

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html