What's the difference between placing a rule in etc/udev/rules.d or in /lib/udev/rules.d???
2009/6/4 aldo <[email protected]> > when i do what you say Michiel appears this: > > *a...@aldo-laptop:/etc/udev/rules.d$ /etc/init.d/udev reload > * Reloading kernel event > manager... No /sbin/udevd found > running; none killed. > > [fail] > a...@aldo-laptop:/etc/udev/rules.d$ * > > and in dmesg: > > [ 1241.820055] usb 2-2: new full speed USB device using uhci_hcd and > address 2 > [ 1242.073796] usb 2-2: configuration #1 chosen from 1 choice > [ 1252.149330] /build/buildd/linux-2.6.28/drivers/hid/usbhid/hid-core.c: > usb_submit_urb(ctrl) failed > [ 1252.149365] generic-usb 0003:0451:F432.0002: timeout initializing > reports > [ 1252.150862] generic-usb 0003:0451:F432.0002: hiddev96,hidraw1: USB HID > v1.01 Device [Texas Instruments Texas Instruments MSP-FET430UIF] on > usb-0000:00:1d.0-2/input1 > [ 1252.162785] cdc_acm 2-2:1.0: This device cannot do calls on its own. It > is no modem. > [ 1252.162840] usbcore: registered new interface driver cdc_acm > [ 1252.162850] cdc_acm: v0.26:USB Abstract Control Model driver for USB > modems and ISDN adapters > > the same as always... > > > 2009/6/3 Michiel Konstapel <[email protected]> > > You need to specify an additional parameter to make it pick the correct >> configuration. The easiest way to do this automatically is to add a udev >> rule. Create the following file: >> >> >> >> /etc/udev/rules.d/26-ti.rules >> >> >> >> With the contents: >> >> >> >> SUBSYSTEM=="usb_device" ACTION=="add" SYSFS{product}=="MSP-FET430UIF JTAG >> Tool", SYSFS{bNumConfigurations}=="2", SYSFS{bConfigurationValue}=="1", >> RUN+="/bin/sh -c 'echo 2 >/sys%p/device/bConfigurationValue'" >> >> >> >> Then, reload udev (/etc/init.d/udev reload) and replug the device. That >> should result in a /dev/ttyUSB0. >> >> >> >> HTH, >> >> Michiel >> >> >> >> *From:* [email protected] [mailto: >> [email protected]] *On Behalf Of *aldo >> *Sent:* dinsdag 2 juni 2009 21:31 >> *To:* [email protected] >> *Subject:* [Tinyos-help] Problems setting up MSP430 >> >> >> >> Hello, >> >> I'm very dissapointed. I can't do the driver ti_usb_3410_5052 to work. >> when i plug the eZ430-RF2500 i see in dmesg: >> >> new full speed USB device using uhci_hcd and address 8 >> [10543.862495] usb 2-2: configuration #1 chosen from 1 choice >> [10543.866150] cdc_acm 2-2:1.0: This device cannot do calls on its own. It >> is no modem. >> [10553.925325] /build/buildd/linux-2.6.28/drivers/hid/usbhid/hid-core.c: >> usb_submit_urb(ctrl) failed >> [10553.925901] generic-usb 0003:0451:F432.0008: timeout initializing >> reports >> [10553.927537] generic-usb 0003:0451:F432.0008: hiddev96,hidraw1: USB HID >> v1.01 Device [Texas Instruments Texas Instruments MSP-FET430UIF] on >> usb-0000:00:1d.0-2/input1 >> >> I'll tried a lot of things to achieve this in dmesg: >> >> usb 1-2: TI USB 3410 1 port adapter converter now attached to ttyUSB0 >> >> >> Anyone can help me? any idea? >> >> Thank you in advance. >> -- >> aldo >> > > > > -- > aldo > -- aldo
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
