From: Florian Kulzer <florian.kulzer+deb...@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 <g...@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...@yahoo.com



-- 
Marc Shapiro
mshapiro...@yahoo.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/817947.84540...@web55504.mail.re4.yahoo.com

Reply via email to