ArchPup - First Puppy with pacman for installing apps

A home for all kinds of Puppy related projects
Message
Author
pakwarung
Posts: 8
Joined: Fri 25 Jan 2013, 06:53

#161 Post by pakwarung »

hello i am newbie in here

my question is how to install modem driver sierra 598u?

thank you

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#162 Post by stifiling »

pakwarung wrote:hello i am newbie in here

my question is how to install modem driver sierra 598u?

thank you
run the command 'dmesg' and see if the usb modem is being recognized without an error.

see if the app 'wvdial' shows the modem, if 'dmesg' looks ok.

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#163 Post by Scooby »

mavrothal wrote: I do not know exactly for the specific one but this (and the link therein) should help.
simargl wrote:I don't have conky config from that screenshot, but you may look here http://vaipui.wordpress.com/2012/06/10/conky-battery/
Thank you, got a nice conky now. :)
Last edited by Scooby on Fri 25 Jan 2013, 22:47, edited 1 time in total.

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#164 Post by Scooby »

simargl

I was thinking about automatic login.

I like it but I want a failsafe, say after 10 tries it stops trying and drops out to tty.

I think this could be done via a file holding the number of tries
Maybe .xinitrc could reset it?

Is there a better way to do this?

pakwarung
Posts: 8
Joined: Fri 25 Jan 2013, 06:53

#165 Post by pakwarung »

stifiling wrote:
pakwarung wrote:hello i am newbie in here

my question is how to install modem driver sierra 598u?

thank you
run the command 'dmesg' and see if the usb modem is being recognized without an error.

see if the app 'wvdial' shows the modem, if 'dmesg' looks ok.
i dont see modem works
see this link
http://pastebin.com/KBYKdjFG

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#166 Post by stifiling »

pakwarung wrote:i dont see modem works
see this link
http://pastebin.com/KBYKdjFG
i see it's detecting...but appears to be giving off an immediate error. i don't have the hardware so won't be of much help. but i do want to ask, are you plugging the usb modem into a pcmcia usb hub, or into an integrated usb port?

if you're plugging the usb modem into a usb hub...try using one of the usb ports that's built into the motherboard. and see if dmesg reads differently after.

if that's not the case, i don't know what it could be. have you gotten it working using another linux distro?

simargl

#167 Post by simargl »

Thanks Scooby, good idea. I have added X_AUTOLOGIN_ATTEMPTS="3" in rc.conf
and while loop in /etc/profile, it will try to start Xorg 3 times and then exit if that fails.
Hope I've done this right...

Code: Select all

if [ -z "$WINDOW_MANAGER" ]; then
  echo "Sorry, cannot start X. Environment variable WINDOW_MANAGER is not set."
else
  if [ $X_AUTOLOGIN == "yes" ]; then
    ATTEMPT="1"
    while [ $ATTEMPT -le $X_AUTOLOGIN_ATTEMPTS ]; do
      archpupx
      ATTEMPT=$(( $ATTEMPT + 1 ))
    done
  fi
fi

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#168 Post by Scooby »

simargl wrote:Thanks Scooby, good idea. I have added X_AUTOLOGIN_ATTEMPTS="3" in rc.conf
and while loop in /etc/profile, it will try to start Xorg 3 times and then exit if that fails.
Hope I've done this right...

Code: Select all

if [ -z "$WINDOW_MANAGER" ]; then
  echo "Sorry, cannot start X. Environment variable WINDOW_MANAGER is not set."
else
  if [ $X_AUTOLOGIN == "yes" ]; then
    ATTEMPT="1"
    while [ $ATTEMPT -le $X_AUTOLOGIN_ATTEMPTS ]; do
      archpupx
      ATTEMPT=$(( $ATTEMPT + 1 ))
    done
  fi
fi
I dont seem to have a rc.conf in /etc but I hacked in the code in profile.
It seems to work!

pakwarung
Posts: 8
Joined: Fri 25 Jan 2013, 06:53

#169 Post by pakwarung »

stifiling wrote:
pakwarung wrote:i dont see modem works
see this link
http://pastebin.com/KBYKdjFG
i see it's detecting...but appears to be giving off an immediate error. i don't have the hardware so won't be of much help. but i do want to ask, are you plugging the usb modem into a pcmcia usb hub, or into an integrated usb port?

if you're plugging the usb modem into a usb hub...try using one of the usb ports that's built into the motherboard. and see if dmesg reads differently after.

if that's not the case, i don't know what it could be. have you gotten it working using another linux distro?
it is docking like sony vaio ux series
with puppy slacko works gui setting...

so what wrong with archpup ?

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#170 Post by stifiling »

pakwarung,

with the usb modem plugged in try,

Code: Select all

modprobe sierra
then see if:

Code: Select all

dmesg | grep -i usb
shows any signs of hope...

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#171 Post by mavrothal »

gtkdialog in Archpup is really old (0.7.2).
Arch (community) repo has 0.8.2-1 and AUR 0.8.3 (r503),
You may want to consider at least the official 0.8.2, for 132.
Many handy little puppy apps need it
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

pakwarung
Posts: 8
Joined: Fri 25 Jan 2013, 06:53

#172 Post by pakwarung »

stifiling wrote:pakwarung,

with the usb modem plugged in try,

Code: Select all

modprobe sierra
then see if:

Code: Select all

dmesg | grep -i usb
shows any signs of hope...
here is

Code: Select all

[root@archpup ~]# modprobe sierra
[root@archpup ~]# dmesg | grep -i usb
[    0.084368] ACPI: bus type usb registered
[    0.084407] usbcore: registered new interface driver usbfs
[    0.084427] usbcore: registered new interface driver hub
[    0.084456] usbcore: registered new device driver usb
[    0.241134] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.241185] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
[    0.253354] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
[    0.253415] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.253420] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.253424] usb usb1: Product: EHCI Host Controller
[    0.253430] usb usb1: Manufacturer: Linux 3.6.8 ehci_hcd
[    0.253434] usb usb1: SerialNumber: 0000:00:1d.7
[    0.253572] hub 1-0:1.0: USB hub found
[    0.253705] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.253724] uhci_hcd: USB Universal Host Controller Interface driver
[    0.253764] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
[    0.253861] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    0.253865] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.253870] usb usb2: Product: UHCI Host Controller
[    0.253874] usb usb2: Manufacturer: Linux 3.6.8 uhci_hcd
[    0.253878] usb usb2: SerialNumber: 0000:00:1d.0
[    0.253979] hub 2-0:1.0: USB hub found
[    0.254080] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
[    0.254171] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    0.254176] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.254180] usb usb3: Product: UHCI Host Controller
[    0.254185] usb usb3: Manufacturer: Linux 3.6.8 uhci_hcd
[    0.254189] usb usb3: SerialNumber: 0000:00:1d.1
[    0.254291] hub 3-0:1.0: USB hub found
[    0.254383] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
[    0.254478] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    0.254482] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.254487] usb usb4: Product: UHCI Host Controller
[    0.254491] usb usb4: Manufacturer: Linux 3.6.8 uhci_hcd
[    0.254495] usb usb4: SerialNumber: 0000:00:1d.2
[    0.254598] hub 4-0:1.0: USB hub found
[    0.254695] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
[    0.254771] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[    0.254776] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.254780] usb usb5: Product: UHCI Host Controller
[    0.254784] usb usb5: Manufacturer: Linux 3.6.8 uhci_hcd
[    0.254788] usb usb5: SerialNumber: 0000:00:1d.3
[    0.254889] hub 5-0:1.0: USB hub found
[    0.255063] usbcore: registered new interface driver uas
[    0.255066] Initializing USB Mass Storage driver...
[    0.255127] usbcore: registered new interface driver usb-storage
[    0.255129] USB Mass Storage support registered.
[    0.255143] usbcore: registered new interface driver ums-alauda
[    0.255157] usbcore: registered new interface driver ums-datafab
[    0.255173] usbcore: registered new interface driver ums_eneub6250
[    0.255186] usbcore: registered new interface driver ums-freecom
[    0.255200] usbcore: registered new interface driver ums-isd200
[    0.255216] usbcore: registered new interface driver ums-jumpshot
[    0.255235] usbcore: registered new interface driver ums-realtek
[    0.255249] usbcore: registered new interface driver ums-sddr09
[    0.255264] usbcore: registered new interface driver ums-sddr55
[    0.255278] usbcore: registered new interface driver ums-usbat
[    0.255303] usbcore: registered new interface driver ldusb
[    0.257725] usbcore: registered new interface driver usbhid
[    0.257727] usbhid: USB HID core driver
[    0.560029] usb 1-2: new high-speed USB device number 2 using ehci_hcd
[    0.684123] usb 1-2: New USB device found, idVendor=0409, idProduct=0059
[    0.684128] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    0.684133] usb 1-2: Product: USB2.0 Hub
[    0.684137] usb 1-2: Manufacturer: NECEL
[    0.684418] hub 1-2:1.0: USB hub found
[    0.950020] usb 1-6: new high-speed USB device number 5 using ehci_hcd
[    1.074500] usb 1-6: New USB device found, idVendor=05ca, idProduct=1832
[    1.074505] usb 1-6: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.406681] usb 3-1: new low-speed USB device number 2 using uhci_hcd
[    1.572171] usb 3-1: New USB device found, idVendor=0637, idProduct=0003
[    1.572176] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.572181] usb 3-1: Product: USB Touch Panel
[    1.572184] usb 3-1: Manufacturer: GUNZE
[    1.589586] input: GUNZE USB Touch Panel as /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/input/input3
[    1.589618] hid-generic 0003:0637:0003.0001: input: USB HID v1.10 Mouse [GUNZE USB Touch Panel] on usb-0000:00:1d.1-1/input0
[    1.813349] usb 4-1: new full-speed USB device number 2 using uhci_hcd
[    1.979479] usb 4-1: New USB device found, idVendor=0483, idProduct=2016
[    1.979484] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.979488] usb 4-1: Product: Biometric Coprocessor
[    1.979492] usb 4-1: Manufacturer: STMicroelectronics
[    2.206682] usb 5-2: new full-speed USB device number 2 using uhci_hcd
[    2.407775] usb 5-2: New USB device found, idVendor=044e, idProduct=300d
[    2.407780] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.407784] usb 5-2: Product: UGX
[    2.407788] usb 5-2: Manufacturer: ALPS
[    2.407792] usb 5-2: SerialNumber: 01f6be6c
[    2.850122] usb 1-2.1: new full-speed USB device number 7 using ehci_hcd
[    2.949495] usb 1-2.1: New USB device found, idVendor=046d, idProduct=c52e
[    2.949500] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.949505] usb 1-2.1: Product: USB Receiver
[    2.949509] usb 1-2.1: Manufacturer: Logitech
[    2.951419] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.1/1-2.1:1.0/input/input4
[    2.951448] hid-generic 0003:046D:C52E.0002: input: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:1d.7-2.1/input0
[    2.954421] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.1/1-2.1:1.1/input/input5
[    2.954522] hid-generic 0003:046D:C52E.0003: input,hiddev0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1d.7-2.1/input1
[    3.153496] usb 1-2.2: new full-speed USB device number 8 using ehci_hcd
[    3.251495] usb 1-2.2: New USB device found, idVendor=1199, idProduct=0fff
[    3.251500] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.251505] usb 1-2.2: Product: USB MMC Storage
[    3.251509] usb 1-2.2: Manufacturer: Sierra Wireless
[    3.251513] usb 1-2.2: SerialNumber: SWOC22905731
[    3.252503] usb-storage: probe of 1-2.2:1.0 failed with error -5
[    3.450124] usb 1-2.3: new high-speed USB device number 9 using ehci_hcd
[    3.553749] usb 1-2.3: New USB device found, idVendor=0011, idProduct=7788
[    3.553754] usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.553758] usb 1-2.3: Product: Mass Storage
[    3.553762] usb 1-2.3: Manufacturer: Generic
[    3.553766] usb 1-2.3: SerialNumber: 3DEBB876
[    3.554091] scsi3 : usb-storage 1-2.3:1.0
[    3.554497] usb 1-2.2: USB disconnect, device number 8
[    4.233747] hub 1-2:1.0: unable to enumerate USB device on port 2
[   31.002467] usbcore: registered new interface driver btusb
[   72.190686] usbcore: registered new interface driver usbserial
[   72.190898] usbcore: registered new interface driver usbserial_generic
[   72.191087] USB Serial support registered for generic
[   72.191096] usbserial: USB Serial Driver core
[   72.191804] usbcore: registered new interface driver sierra
[   72.192002] USB Serial support registered for Sierra USB modem
[root@archpup ~]# 

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#173 Post by stifiling »

pakwarung,

not sure what the problem is but googling:

sierra usb-storage: probe of failed with "error -5"

exactly like that, returned a lot of results.

if i had the hardware i could test it better but i don't. it would be nice though if you'd continue to test the modem, using ArchPup, with the google results and find the issue with it. in so many words, don't give up. Make it work.

if it works on Slacko, it 'can' work on ArchPup as well.

but once again, it would be nice if you can find the fix, and report the fix, so that the fix can be implemented.

pakwarung
Posts: 8
Joined: Fri 25 Jan 2013, 06:53

#174 Post by pakwarung »

stifiling wrote:pakwarung,

not sure what the problem is but googling:

sierra usb-storage: probe of failed with "error -5"

exactly like that, returned a lot of results.

if i had the hardware i could test it better but i don't. it would be nice though if you'd continue to test the modem, using ArchPup, with the google results and find the issue with it. in so many words, don't give up. Make it work.

if it works on Slacko, it 'can' work on ArchPup as well.

but once again, it would be nice if you can find the fix, and report the fix, so that the fix can be implemented.
now that is works
i am creat a file and editing

Code: Select all

nano /etc/wvdial.conf
and then paste script

Code: Select all

[Dialer Defaults]
    Modem = /dev/ttyUSB0
    Modem Type = USB Modem
    Init1 = ATZE0Q0V1
    Init2 = ATE0Q0V1
    Init3 = AT
    Init4 = ATQ0 V1 E1 S0=0 +FCLASS=0
    Baud = 460800
    FlowControl = CRTSCTS
    ISDN = 0
    Dial Command = ATDT
    Phone = #777
    Ask Password = 0
    Username = typeusernamehere
    Password = typepasswordhere
    Stupid Mode = 1
    Auto DNS = 1
    New PPPD = yes
    Compuserve = 0
    Auto Reconnect = on
btw i get problem when i am restart or reboot the system doesnot change what i am make a new file :(
how to save it?
Attachments
archpup-20130128060836.jpg
(63.16 KiB) Downloaded 349 times

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#175 Post by stifiling »

pakwarung wrote:now that is works
i am creat a file and editing
was it 'modprobe sierra' that got it to work?
pakwarung wrote:btw i get problem when i am restart or reboot the system doesnot change what i am make a new file :(
how to save it?
none of your changes are being saved? did you create a save file? if not create one and your settings will be saved.

pakwarung
Posts: 8
Joined: Fri 25 Jan 2013, 06:53

#176 Post by pakwarung »

@stifiling

modprobe may be doesnt work
i am turn off wifi and start with the nano /etc/wvdial.conf
may be this issue network manager [ double connection ]


i have save personal settting but it doesnt work i dont know why
after my system reboot i am must create wvdial.conf file again

how to change time? my time error
and how change display? my display is big

sorry my english bad [ not my primary language]

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#177 Post by Scooby »

I had a problem with boot so I couldnt start archpup

So I had to start the market leading OS and found that it felt
alien to me. To my surprise I had been weened of it :D

Thats how good archpup is! 8)

I have a problem that usb stick gets unmounted during work.
Some files did go blank after restart. One time the usb was mounted
read-only after restart
.
I think maybe the usb stick is broken but I want to ask if
anybody else has come across the same behaviour?

I have changed USB stick, lets see if it happens again

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#178 Post by mavrothal »

Scooby wrote: I have a problem that usb stick gets unmounted during work.
Some files did go blank after restart. One time the usb was mounted
read-only after restart
Any chance that this is on a laptop with power management enabled?
Some laptops cut off power to the USB ports at sleep/suspend, and this can mess up things.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

simargl

#179 Post by simargl »

Steam Screenshots running in ArchPup. Installed it from AUR, and seems like only free
game for linux is Team Fortress which is 10GB :shock: A bit too much for me :lol:
If you want to try first move /root/.local/share/Steam to /mnt/home and then symlink it
to its original location.

Code: Select all

ln -s /mnt/home/Steam /root/.local/share/Steam
@mavrothal: I removed gtkdialog3 because sfs_load and grub4dos-config both work with
gtkdialog4. Did not know about that, until I've found info somewhere on this forum. So, I will
use original gtkdialog from Arch and just add links gtkdialog3 and 4 pointing to the same file (version 0.8.3).
Attachments
archpup-20130128140617_e.jpg
(86.96 KiB) Downloaded 269 times
archpup-20130127201301_e.jpg
(91.75 KiB) Downloaded 265 times

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#180 Post by mavrothal »

simargl wrote: @mavrothal: I removed gtkdialog3 because sfs_load and grub4dos-config both work with
gtkdialog4. Did not know about that, until I've found info somewhere on this forum. So, I will
use original gtkdialog from Arch and just add links gtkdialog3 and 4 pointing to the same file (version 0.8.3).
That's fine.

BTW BarryK updated probart and probart_init that are also in ArchPup. You may want to update too for 132.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

Post Reply