[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: J-Pilot and Handspring Visor



From: Florian Kulzer <florian.kulzer+debian@icfo.es>


>On Sat, Jul 03, 2010 at 19:34:04 -0700, Marc Shapiro wrote:

>> I  have the Vendor and Product IDs from dmesg.

> Then why did you not include this information in your mail?

This is the output from dmesg:

[637797.771076] usb 2-3.1: New USB device found, idVendor=082d, idProduct=0100
[637797.771083] usb 2-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[637797.771087] usb 2-3.1: Product: Handspring Visor
[637797.771090] usb 2-3.1: Manufacturer: Handspring Inc

>> How do I set up udev to create /dev/pilot when the hotsync button on
>> the cradle is pressed?

> The first step is to check if your combination of USB vendor and USB
> device ID is listed in one of the alias lines of "modinfo visor".   Udev
> tricks will most likely be useless if the kernel module does not
> recognize your device as being supported.

This is from the output from 'modinfo visor' (a command of which I was not aware.  Thanks, Florian):

filename:       /lib/modules/2.6.32-bpo.3-686/kernel/drivers/usb/serial/visor.ko
license:        GPL
description:    USB HandSpring Visor / Palm OS driver
author:         Greg Kroah-Hartman <greg@kroah.com>
alias:          usb:v0E67p0002d*dc*dsc*dp*ic*isc*ip*
<SNIP>
alias:          usb:v082Dp0100d*dc*dsc*dp*ic*isc*ip*
depends:        usbserial,usbcore
vermagic:       2.6.32-bpo.3-686 SMP mod_unload modversions 686
parm:           debug:Debug enabled or not (bool)
parm:           stats:Enables statistics or not (bool)
parm:           vendor:User specified vendor ID (ushort)
parm:           product:User specified product ID (ushort)

That last alias line matches the vendor and product ID, so that looks good.  So, is there a way to have udev created /dev/pilot when the hotsync button is pressed?

 -- 
Marc Shapiro
mshapiro_42@yahoo.com



-- 
Marc Shapiro
mshapiro_42@yahoo.com


Reply to: