Re: Mageia3 doesn't like my Palm Zire 72
On Sun, Aug 11, 2013 at 8:50 AM, Shlomo Solomon shlomo.solo...@gmail.comwrote: strange - I get conflicting results. [solomon@shlomo1 ~]$ id uid=500(solomon) gid=500(solomon) groups=500(solomon),418(vboxusers) [solomon@shlomo1 ~]$ groups solomon vboxusers [solomon@shlomo1 ~]$ cat /etc/group |grep solomon dialout:x:83:solomon solomon:x:500: vboxusers:x:418:solomon On the other hand, you're right - this is a permissions problem. I tried the same command as root and it worked. I take it you added yourself to the 'dialout' command only after my e-mail? If so, you need to re-login (or 're-pass' through root) in order to 'obtain' your group memberships to the active process tree. You could su to root and then su to solomon from there, for example. Both your 'group' and 'cat' commands read configuration files, while 'id' actually uses system calls to read information on the currently running process to print out whatever they print. -- Shimi ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Mageia3 doesn't like my Palm Zire 72
On Sun, Aug 11, 2013 at 9:03 AM, shimi linux...@shimi.net wrote: Both your 'group' and 'cat' commands read configuration files, while 'id' actually uses system calls to read information on the currently running process to print out whatever they print. Correcting myself (my excuse: haven't slept all night...) - only the cat reads the configuration file. 'groups', like 'id', uses the getegid() system call ... -- Shimi ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Mageia3 doesn't like my Palm Zire 72
I'm trying to connect my Palm Zire 72 (yeah - I know - who uses an 8 year old Palm device?). The following command worked on my old Mandriva 2011 but not on Mageia 3. [solomon@shlomo1 ~]$ pilot-xfer --list --port=ttyUSB1 Unable to bind to port: ttyUSB1 The correct modules are installed and the USB connection if functioning properly. I'm including info from the following commands: - lsmod - dmesg (after connecting the USB cable) - ls -laR |grep ttyUSB1 BTW - It goes without saying that based on the output I'm including, I also tried similar commands and got the same result. For example: [solomon@shlomo1 ~]$ pilot-xfer --list --port=usb-PalmOne__Inc._Palm_Handheld_303056594131363535523158-if00-port1 Unable to bind to port: usb-PalmOne__Inc._Palm_Handheld_303056594131363535523158-if00-port1 Any help would be appreciated. lsmod |grep usb usbserial 48204 1 visor usbhid 49119 0 hid 100762 2 hid_generic,usbhid usb_storage61501 1 usblp 22842 0 usbcore 218676 8 usblp,visor,usb_storage,usbserial,ehci_hcd,ehci_pci,usbhid,xhci_hcd usb_common 12581 1 usbcore lsmod |grep visor visor 17723 0 usbserial 48204 1 visor usbcore 218676 8 usblp,visor,usb_storage,usbserial,ehci_hcd,ehci_pci,usbhid,xhci_hcd dmesg [33094.053046] usb 3-12: new full-speed USB device number 56 using xhci_hcd [33094.065265] usb 3-12: New USB device found, idVendor=0830, idProduct=0061 [33094.065273] usb 3-12: New USB device strings: Mfr=1, Product=2, SerialNumber=5 [33094.065278] usb 3-12: Product: Palm Handheld [33094.065282] usb 3-12: Manufacturer: PalmOne, Inc. [33094.065286] usb 3-12: SerialNumber: 303056594131363535523158 [33094.066670] visor 3-12:1.0: Handspring Visor / Palm OS converter detected [33094.066825] usb 3-12: Handspring Visor / Palm OS converter now attached to ttyUSB0 [33094.066913] usb 3-12: Handspring Visor / Palm OS converter now attached to ttyUSB1 ls -laR |grep ttyUSB1 crw-rw-r-- 1 rootdialout 188, 1 Aug 11 06:37 ttyUSB1 lrwxrwxrwx 1 root root 10 Aug 11 06:37 188:1 - ../ttyUSB1 lrwxrwxrwx 1 root root 13 Aug 11 06:37 usb-PalmOne__Inc._Palm_Handheld_303056594131363535523158-if00-port1 - ../../ttyUSB1 lrwxrwxrwx 1 root root 13 Aug 11 06:37 pci-:00:14.0-usb-0:12:1.0-port1 - ../../ttyUSB1 snipsnip lrwxrwxrwx 1 root root 0 Aug 11 06:39 ttyUSB1 - ../../../devices/pci:00/:00:14.0/usb3/3-12/3-12:1.0/ttyUSB1/ lrwxrwxrwx 1 root root0 Aug 11 06:39 ttyUSB1 - ../../../../devices/pci:00/:00:14.0/usb3/3-12/3-12:1.0/ttyUSB1/ lrwxrwxrwx 1 root root 0 Aug 11 06:39 ttyUSB1 - ../../devices/pci:00/:00:14.0/usb3/3-12/3-12:1.0/ttyUSB1/tty/ttyUSB1/ lrwxrwxrwx 1 root root 0 Aug 11 06:39 188:1 - ../../devices/pci:00/:00:14.0/usb3/3-12/3-12:1.0/ttyUSB1/tty/ttyUSB1/ drwxr-xr-x 4 root root0 Aug 11 06:37 ttyUSB1/ ./sys/devices/pci:00/:00:14.0/usb3/3-12/3-12:1.0/ttyUSB1: ./sys/devices/pci:00/:00:14.0/usb3/3-12/3-12:1.0/ttyUSB1/power: ./sys/devices/pci:00/:00:14.0/usb3/3-12/3-12:1.0/ttyUSB1/tty: drwxr-xr-x 3 root root 0 Aug 11 06:37 ttyUSB1/ ./sys/devices/pci:00/:00:14.0/usb3/3-12/3-12:1.0/ttyUSB1/tty/ttyUSB1: lrwxrwxrwx 1 root root0 Aug 11 06:39 device - ../../../ttyUSB1/ ./sys/devices/pci:00/:00:14.0/usb3/3-12/3-12:1.0/ttyUSB1/tty/ttyUSB1/power: -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.9.0 - KDE 4.10.2 - LINUX Mageia 3 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Mageia3 doesn't like my Palm Zire 72
On Sun, Aug 11, 2013 at 6:58 AM, Shlomo Solomon shlomo.solo...@gmail.comwrote: I'm trying to connect my Palm Zire 72 (yeah - I know - who uses an 8 year old Palm device?). The following command worked on my old Mandriva 2011 but not on Mageia 3. [solomon@shlomo1 ~]$ pilot-xfer --list --port=ttyUSB1 Unable to bind to port: ttyUSB1 ls -laR |grep ttyUSB1 crw-rw-r-- 1 rootdialout 188, 1 Aug 11 06:37 ttyUSB1 lrwxrwxrwx 1 root root 10 Aug 11 06:37 188:1 - ../ttyUSB1 I notice you're not root. Is the user 'solomon' member of the group 'dialout'? check out the 'id' command. -- Shimi ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Mageia3 doesn't like my Palm Zire 72
strange - I get conflicting results. [solomon@shlomo1 ~]$ id uid=500(solomon) gid=500(solomon) groups=500(solomon),418(vboxusers) [solomon@shlomo1 ~]$ groups solomon vboxusers [solomon@shlomo1 ~]$ cat /etc/group |grep solomon dialout:x:83:solomon solomon:x:500: vboxusers:x:418:solomon On the other hand, you're right - this is a permissions problem. I tried the same command as root and it worked. On Sun, 11 Aug 2013 08:16:31 +0300 shimi linux...@shimi.net wrote: On Sun, Aug 11, 2013 at 6:58 AM, Shlomo Solomon shlomo.solo...@gmail.comwrote: I'm trying to connect my Palm Zire 72 (yeah - I know - who uses an 8 year old Palm device?). The following command worked on my old Mandriva 2011 but not on Mageia 3. [solomon@shlomo1 ~]$ pilot-xfer --list --port=ttyUSB1 Unable to bind to port: ttyUSB1 ls -laR |grep ttyUSB1 crw-rw-r-- 1 rootdialout 188, 1 Aug 11 06:37 ttyUSB1 lrwxrwxrwx 1 root root 10 Aug 11 06:37 188:1 - ../ttyUSB1 I notice you're not root. Is the user 'solomon' member of the group 'dialout'? check out the 'id' command. -- Shimi -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.9.0 - KDE 4.10.2 - LINUX Mageia 3 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il