Mailing List Archive


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

Re: [tlug] Here we go with the Palm Pilot



Dave M G wrote:
> There was also a recommendation to edit a udev rules file:
> dave@example.com:/dev$ more /etc/udev/rules.d/10-udev.rules #Dave Palm 
> Pilot  BUS="usb", SYSFS{serial}=="PN70UBL5V099", NAME="pilot"
>   
You would be better to create pilot as a symbolic link to the actual
device /dev/ttyUSB*.
> dave@example.com:$ udevinfo -p /sys/class/tty/ttyUSB1 -a
>   looking at the device chain at 
> '/sys/devices/pci0000:00/0000:00:1d.2/usb3/3-1':
>     BUS=="usb"
>     ID=="3-1"
>     DRIVER=="usb"
>     SYSFS{bConfigurationValue}=="1"
>     SYSFS{bDeviceClass}=="00"
>     SYSFS{bDeviceProtocol}=="00"
>     SYSFS{bDeviceSubClass}=="00"
>     SYSFS{bMaxPacketSize0}=="16"
>     SYSFS{bMaxPower}=="500mA"
>     SYSFS{bNumConfigurations}=="1"
>     SYSFS{bNumInterfaces}==" 1"
>     SYSFS{bcdDevice}=="0100"
>     SYSFS{bmAttributes}=="c0"
>     SYSFS{configuration}==""
>     SYSFS{devnum}=="10"
>     SYSFS{idProduct}=="0061"
>     SYSFS{idVendor}=="0830"
>     SYSFS{manufacturer}=="Palm_ Inc."
>     SYSFS{maxchild}=="0"
>     SYSFS{product}=="Palm Handheld"
>     SYSFS{serial}=="PN70UBL5V099"
>     SYSFS{speed}=="12"
>     SYSFS{version}==" 1.00"  
the appropriate way is to create a link to the ttyUSB device[1], i.e.

BUS=="usb", SYSFS{product}=="Palm Handheld", KERNEL=="ttyUSB*", SYMLINK="pilot"


1. http://reactivated.net/writing_udev_rules.html




Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links