Bugzilla – Bug 148862
Cannot sync USB-PALM: permissions wrong
Last modified: 2007-06-05 10:36:40 UTC
I want to sync my PALM 515/USB it fails: l /dev/ttyUSB* crw-rw---- 1 root uucp 188, 0 2006-02-07 22:21 /dev/ttyUSB0 crw-rw---- 1 root uucp 188, 1 2006-02-07 22:21 /dev/ttyUSB1 jre@joachim:~> id uid=1000(jre) gid=100(users) Gruppen=16(dialout),33(video),100(users) So I'm not allowed to read/write to my PALM KDE's kpilotd crashes gnome's gpilotd just does nothing.
I suppose the palm is either not recognized at all or classed as modem due to the serial devices. Please provide the following information: - do you need access to ttyUSB0 or ttyUSB1? - output of 'lshal' as attachment
Created attachment 68142 [details] Output from lshal, the PALM is "connecting" The PALM get synced using /dev/ttyUSB0 When the Paln is not on, i got (later) the diff: *** /tmp/lshal1.txt Mon Feb 13 19:44:52 2006 --- /tmp/lshal2.txt Mon Feb 13 19:50:34 2006 *************** *** 1,5 **** ! Dumping 132 device(s) from the Global Device List: ------------------------------------------------- udi = '/org/freedesktop/Hal/devices/computer' info.callouts.add = {'hal-system-storage-cleanup-mountpoints'} (string list) --- 1,5 ---- ! Dumping 129 device(s) from the Global Device List: ------------------------------------------------- udi = '/org/freedesktop/Hal/devices/computer' info.callouts.add = {'hal-system-storage-cleanup-mountpoints'} (string list) *************** *** 2014,2100 **** linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-2' (string) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-2' (string) - udi = '/org/freedesktop/Hal/devices/usb_device_830_3_00RPP6X2A162' - info.udi = '/org/freedesktop/Hal/devices/usb_device_830_3_00RPP6X2A162' (string) - linux.subsystem = 'usb' (string) - linux.hotplug_type = 1 (0x1) (int) - usb_device.bus_number = 1 (0x1) (int) - usb_device.can_wake_up = false (bool) - usb_device.is_self_powered = true (bool) - usb_device.version_bcd = 256 (0x100) (int) - usb_device.speed_bcd = 4608 (0x1200) (int) - usb_device.serial = '00RPP6X2A162' (string) - usb_device.linux.device_number = 6 (0x6) (int) - usb_device.num_ports = 0 (0x0) (int) - usb_device.max_power = 2 (0x2) (int) - usb_device.device_revision_bcd = 256 (0x100) (int) - info.product = 'Palm M515' (string) - usb_device.product = 'Palm M515' (string) - info.vendor = 'Palm, Inc.' (string) - usb_device.vendor = 'Palm, Inc.' (string) - usb_device.product_id = 3 (0x3) (int) - usb_device.vendor_id = 2096 (0x830) (int) - usb_device.device_protocol = 0 (0x0) (int) - usb_device.device_subclass = 0 (0x0) (int) - usb_device.device_class = 0 (0x0) (int) - usb_device.num_interfaces = 1 (0x1) (int) - usb_device.num_configurations = 1 (0x1) (int) - usb_device.configuration_value = 1 (0x1) (int) - usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-2/1-2.3' (string) - info.linux.driver = 'usb' (string) - info.bus = 'usb_device' (string) - info.parent = '/org/freedesktop/Hal/devices/usb_device_5e3_606_noserial' (string) - linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-2/1-2.3' (string) - linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-2/1-2.3' (string) - - udi = '/org/freedesktop/Hal/devices/usb_device_830_3_00RPP6X2A162_usbraw' - info.udi = '/org/freedesktop/Hal/devices/usb_device_830_3_00RPP6X2A162_usbraw' (string) - linux.device_file = '/dev/bus/usb/001/006' (string) - linux.subsystem = 'usb_device' (string) - linux.hotplug_type = 2 (0x2) (int) - usbraw.device = '/dev/bus/usb/001/006' (string) - info.product = 'USB Raw Device Access' (string) - info.capabilities = {'usbraw'} (string list) - info.category = 'usbraw' (string) - info.parent = '/org/freedesktop/Hal/devices/usb_device_830_3_00RPP6X2A162' (string) - linux.sysfs_path = '/sys/class/usb_device/usbdev1.6' (string) - - udi = '/org/freedesktop/Hal/devices/usb_device_830_3_00RPP6X2A162_if0' - info.udi = '/org/freedesktop/Hal/devices/usb_device_830_3_00RPP6X2A162_if0' (string) - linux.subsystem = 'usb' (string) - linux.hotplug_type = 1 (0x1) (int) - info.product = 'USB Vendor Specific Interface' (string) - usb.interface.protocol = 0 (0x0) (int) - usb.interface.subclass = 0 (0x0) (int) - usb.interface.class = 255 (0xff) (int) - usb.interface.number = 0 (0x0) (int) - info.linux.driver = 'visor' (string) - usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-2/1-2.3/1-2.3:1.0' (string) - usb.configuration_value = 1 (0x1) (int) - usb.num_configurations = 1 (0x1) (int) - usb.num_interfaces = 1 (0x1) (int) - usb.device_class = 0 (0x0) (int) - usb.device_subclass = 0 (0x0) (int) - usb.device_protocol = 0 (0x0) (int) - usb.vendor_id = 2096 (0x830) (int) - usb.product_id = 3 (0x3) (int) - usb.vendor = 'Palm, Inc.' (string) - usb.product = 'USB Vendor Specific Interface' (string) - usb.device_revision_bcd = 256 (0x100) (int) - usb.max_power = 2 (0x2) (int) - usb.num_ports = 0 (0x0) (int) - usb.linux.device_number = 6 (0x6) (int) - usb.serial = '00RPP6X2A162' (string) - usb.speed_bcd = 4608 (0x1200) (int) - usb.version_bcd = 256 (0x100) (int) - usb.is_self_powered = true (bool) - usb.can_wake_up = false (bool) - usb.bus_number = 1 (0x1) (int) - info.bus = 'usb' (string) - info.parent = '/org/freedesktop/Hal/devices/usb_device_830_3_00RPP6X2A162' (string) - linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-2/1-2.3/1-2.3:1.0' (string) - linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/usb1/1-2/1-2.3/1-2.3:1.0' (string) - udi = '/org/freedesktop/Hal/devices/usb_device_5e3_606_noserial_if0' info.udi = '/org/freedesktop/Hal/devices/usb_device_5e3_606_noserial_if0' (string) linux.subsystem = 'usb' (string) --- 2014,2019 ---- *************** *** 2871,2876 **** linux.sysfs_path = '/sys/class/sound/mixer1' (string) ! Dumped 132 device(s) from the Global Device List. ------------------------------------------------ --- 2790,2795 ---- linux.sysfs_path = '/sys/class/sound/mixer1' (string) ! Dumped 129 device(s) from the Global Device List. ------------------------------------------------
There is no reference to ttyUSB* at all in the lshal output. Maybe the same bug as #146152 where ttyACM* is missing?
I will try the hald things as in #146152 tonight hald --retain-privileges --daemon=yes --verbose=yes --use-syslog Even root cannot access the pilot at now.
I did some more testing: Updated kernel to rc3 (from factory) tested it using pilot-xfer -p /dev/ttyUSB1 -l I could wait forever. On 10.0 und 9.3 it works this way. So it seems to be a kernel problem.
*** Bug 146152 has been marked as a duplicate of this bug. ***
I checked this here with a HP Jornada 548 and this is the same as within bug #146152. I get the same error from the probe-serial.c. probe-serial.c fails with non ACM devices: open("/dev/ttyUSB0", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 3 ioctl(3, TIOCGSERIAL, 0xbff5029c) = -1 EINVAL (Invalid argument) The problem is the complete probe-serial. I deactivated this prober for all devices other than ttyS* for Beta 6.
So it does not work in Beta5. (I tested it) Can I get the kernel for testing?
if you read #7 this is fixed for Beta6 and has nothing to do with the kernel. You maybe can try the hal packages from factory.
hal is in factory at 20.2.2006: hal-0.5.6-11.i586.rpm So it is not accessible to me at now.
Closed.