Bug 148862 - Cannot sync USB-PALM: permissions wrong
Summary: Cannot sync USB-PALM: permissions wrong
Status: VERIFIED FIXED
: 146152 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Hotplug (show other bugs)
Version: Beta 3
Hardware: 32bit Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Danny Kukawka
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 21:25 UTC by Joachim Reichelt
Modified: 2007-06-05 10:36 UTC (History)
1 user (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Output from lshal, the PALM is "connecting" (139.80 KB, text/plain)
2006-02-13 18:58 UTC, Joachim Reichelt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joachim Reichelt 2006-02-07 21:25:26 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.
Comment 1 Ludwig Nussel 2006-02-13 08:28:20 UTC
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
Comment 2 Joachim Reichelt 2006-02-13 18:58:05 UTC
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.
  ------------------------------------------------
Comment 3 Ludwig Nussel 2006-02-16 09:17:11 UTC
There is no reference to ttyUSB* at all in the lshal output. Maybe the same bug as #146152 where ttyACM* is missing?
Comment 4 Joachim Reichelt 2006-02-16 10:14:06 UTC
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.
Comment 5 Joachim Reichelt 2006-02-17 08:39:38 UTC
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.
Comment 6 Danny Al-Gaaf 2006-02-22 16:25:21 UTC
*** Bug 146152 has been marked as a duplicate of this bug. ***
Comment 7 Danny Al-Gaaf 2006-02-22 16:42:27 UTC
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. 
Comment 8 Joachim Reichelt 2006-02-28 08:11:34 UTC
So it does not work in Beta5. (I tested it)
Can I get the kernel for testing?
Comment 9 Danny Al-Gaaf 2006-02-28 09:28:40 UTC
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.
Comment 10 Joachim Reichelt 2006-02-28 17:03:17 UTC
hal is in factory at 20.2.2006:
hal-0.5.6-11.i586.rpm
So it is not accessible to me at now.
Comment 11 Ihno Krumreich 2007-06-05 10:36:40 UTC
Closed.